Hierarchy

⤷

⤷

IMG Activity
ID | /SAPSLL/REFERENCE_PR | BAdI: Generate Reference Numbers for Data Exchange with Customs Authorities |
Transaction Code | /SAPSLL/94000020 | (empty) |
Created on | 20120803 | |
Customizing Attributes | /SAPSLL/REFERENCE_PR | BAdI for Generating Reference Numbers |
Customizing Activity | /SAPSLL/REFERENCE_PR | BAdI for Generating Reference Numbers |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | /SAPSLL/BADI_CDOC_REFID_PROP |
Use
This Business Add-In (BAdI) is used in the SAP Global Trade Services (SAP GTS) component.
You can use this BAdI to automate the generation of reference numbers for communicating with customs authorities. You can freely define the criteria this BAdI uses to generate reference numbers. When a reference number is generated, you need to ensure that this number is unique.
This BAdI is called during the creation of customs declarations.
Once you implement this BAdI, the system automatically generates a reference number each time you create a document. The reference number is included in data exchanges with the system of the customs authority. One of its purposes is to assist in finding the respective customs declaration when electronic replies are received from customs.
Requirements
Standard settings
For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).
Activities
For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.
Example
For example implementations, see the section for implementation example classes on the Enhancement Spot Element Definitions tab in the BAdI Builder.
The following example implementation is available:
- /SAPSLL/CL_CDOC_REFID_EXAMPLE
See also
BAdI method documentation:
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20120821 |
SAP Release Created in | 901 |