Hierarchy

⤷

⤷

IMG Activity
ID | MILL_BEFORE_BATCH_CL | Business Add-In: Original Batch At Goods Receipt |
Transaction Code | S_KA5_12001422 | (empty) |
Created on | 20030205 | |
Customizing Attributes | MILL_BEFORE_BATCH_CL | Original Batch at Goods Receipt |
Customizing Activity | MILL_BEFORE_BATCH_CL | Original Batch at Goods Receipt |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | MILL_BEFORE_BATCH_CL |
Use
You can use the business add-in (BAdI) MILL_BEFORE_BATCH_CL to automate the creation of an original batch at goods receipt and pass on the classification of the original batch to a stock batch.
The BAdI is called when goods are received for a batch. The BADI is called directly before the characteristics from the original and process batch are merged with the batch characteristics that already existed.
Requirements
You have activated enhancement batch classification in Customizing for Batch Management under Batch Valuation -> Valuation for Goods Movements in Inventory Management -> Activate Batch Classification for Goods Movements in IM.
Standard settings
- The business add-in is not active in the standard system.
- The business add-in is filter-independent.
- Multiple use of the business add-in is possible.
Activities
After calling up the IMG activity, a dialog box appears, in which you can enter a name for the implementation.
If you have already made other implementations for this BAdI, another dialog box appears, in which the existing implementations are displayed. In this case, choose Create, and proceed as follows:
- In the dialog box, enter a name for the BAdI implementation in the Implementation field, and choose Create.
The screen for creating BAdI implementations is now displayed.
- Enter a short text for the implementation in the Short text for implementation field.
- From the tab index, choose Interface.
The Name of implemented class field is already filled on the tab page, as a class name was automatically assigned to the implementation when you named it.
- Save your entries, and assign the implementation to a development class.
- Place the cursor on the method, and double-click to enter method processing.
- Enter the code for the implementation between the statements
method <Interface name> ~ <Name of method>
andendmethod
. - Save and implement your code. Return to the Edit Implementation screen.
- Save the entries on the Edit Implementation screen.
Note: You can also create an implementation, and then activate it at a later time. In such a case, end the processing stage at this point.
- Choose Activate
The code you stored in the method will be run when the application program is executed.
Example
Note 521505 contains a sample implementation for AdI MILL_BEFORE_BATCH_CL.
Notes
Business Attributes
ASAP Roadmap ID | ||
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 1 | Critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | MILL_BEFORE_BATCH_CL | 0 | KA50002501 | Logistics - General (LO) Enhancements |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20030205 |
SAP Release Created in | 471 |