Hierarchy

⤷

⤷

IMG Activity
ID | WRF_REF_BADI_001 | BAdI: References for Materials Without Histories |
Transaction Code | S_XEN_65000050 | (empty) |
Created on | 20050801 | |
Customizing Attributes | WRF_REF_OH_OHI | Enhancements Using Business Add-Ins |
Customizing Activity | WRF_REF_BADI_001 | BAdI: References for Materials Without Histories |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | WRF_REF_BADI |
Use
This Business Add-In (BAdI) is used in the References (SCM-FRE-REF) component.
You can use this BAdI in order to enhance the standard functionality of the programs Automatic Assignment of References and References for Materials without History. You can implement the following enhancements:
- The reference determination type BAdI.
This BAdI is called during the automatic assignment of references to a material/plant combination whose reference determination schema contains the reference determination type BAdI. Your BAdI implementation must return a list of references which then will be assigned to that material/plant combination by the system. The BAdI is called also in the dialog program References for Materials without History when you choose Select References and the option Use Setting in Reference Determination Schema for that material/plant combination.
Use the BAdI method DETERMINE_REFERENCES for this enhancement. - Selection of plants using option Find Plants using BAdI for the functionality Transfer to Other Plants.
This BAdI is called if you select plants for the transfer of a reference assignment to other plants using the option Find Plants using BAdI in the dialog program. Your BAdI implementation should return a list of plants which then will be displayed on the screen.
Use the BAdI-method GET_SITE_LIST for this enhancement. - Change of the new reference assignments during the functionality Transfer to Other Plants.
This BAdI is called during the transfer of a reference assignment to other plants which can be carried out with the dialog program References for Materials without History. Your BAdI implementation can change the reference assignment for the plants to which the assignment is transferred. The source target assignment always remains unchanged.
Use the BAdI method CHANGE_TARGET_ASSIGNMENT for this enhancement.
Requirements
Standard settings
This Business Add-In
- Is not active in the standard and contains no default coding
- Cannot be used multiple times
- Is not filter-dependent.
Activities
After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.
If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:
- In the dialog box, enter a name for the implementation of the Add-In 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>.
andendmethod.
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
Methods:
Determine the references via determination type BAdI
Select plants using BAdI for the transfer to other plants
Change the new assignments during the transfer to other plants
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 | 20050801 |
SAP Release Created in | 600 |