Hierarchy

⤷

⤷

IMG Activity
ID | ID_OFF_NUM_DOCU_CHK | BAdI: Change Document Class and Transaction Code |
Transaction Code | S_EBS_44000447 | (empty) |
Created on | 20110503 | |
Customizing Attributes | ID_OFF_NUM_DOCU_CHK | BAdI: Change Document Class and Transaction Code |
Customizing Activity | ID_OFF_NUM_DOCU_CHK | BAdI: Change Document Class and Transaction Code |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | BADI_ID_OFF_NUM_DOCUMENT_CHECK |
Use
This Business Add-In (BAdI) is used in the Sales and Distribution component. You use this BAdI to change the document class and the transaction code of an official document number.
Requirements
Standard settings
The BAdI is filter-dependent and non-reusable. The BAdI definition is activated in the standard system. However, modification is required for the program to be influenced. No default logic is provided. Create your own implementation and activate it to change the document class and the transaction code of an official document number. For information on how to implement a BAdI, see below under Activities.
Activities
After you call the Customizing activity, the system displays a dialog box where you enter a name for the implementation. Choose Create, and continue as follows:
- In the Business Add-In Builder: Create Implementation dialog box, enter a name for the implementation and choose Create.
The system displays the initial screen for creating Business Add-In implementations.
- On this screen, enter a short description for your implementation in the Implementation Short Text field.
- If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
- Save your entries and assign the Add-In to a package.
- To edit a method, double-click its name.
- Enter your implementation code between the method <Interface Name>~<Name of Method>. and endmethod. statements.
- Save and activate your code. Navigate back to the Change Implementation screen.
Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step.
- Choose Activate.
When the application program is executed, the code you created is run through.
Example
See also
Interface: IF_EX_BADI_ID_ODN_DOCCLS
Methods: CHANGE_DOCCLS
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 1 | Mandatory activity |
Critical / Non-Critical | 1 | Critical |
Country-Dependency | I | Valid for countries specified |
Customizing Attributes | Country Key | Country Name |
---|---|---|
ID_OFF_NUM_DOCU_CHK | ID | Indonesia |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20110503 |
SAP Release Created in | 606 |