Hierarchy

⤷

⤷

IMG Activity
ID | BIC_ADDITIONAL_DATA | Business Add-In: Additional Data/Columns |
Transaction Code | S_AC0_52000127 | (empty) |
Created on | 20041015 | |
Customizing Attributes | BIC_ADDITIONAL_DATA | Business Add-In: Additional Data/Columns |
Customizing Activity | BIC_ADDITIONAL_DATA | Business Add-In: Additional Data/Columns |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | BIC_ADDITIONAL_DATA |
Title
BAdI: Batch Information Cockpit - Additional Data/Columns
Use
You can use this Business Add-In (BAdI) to add customer-specific columns to the Selection Result: Batches and the Selection Result: Stock in the Batch Information Cockpit.
You can fill these columns with additional information about batches; for example with WM data (such as warehouse number or storage bin) or stock values.
The BAdI is called in the component Batch Information Cockpit (LO-BM-BIC).
The BAdI comprises the following methods:
- MASTER_COLUMNS_ADD - Add Columns for Additional Data to the Selection Result: Batches
- STOCK_COLUMNS_ADD - Add Columns for Additional Data to the Selection Result: Stock
- MASTER_ADD_DATA_FILL_IN - Add Additional Data to the Selection Result: Batches
- STOCK_ADD_DATA_FILL_IN - Add Additional Data to the Selection Result: Stock
- MASTER_ADD_DATA_SELECT - Select Additional Data for the Selection Result: Batches
- STOCK_ADD_DATA_SELECT - Select Additional Data for the Selection Result: Stock
The methods MASTER* apply to the Selection Result: Batches , the methods STOCK* apply to the Selection Result: Stock.
You can use the methods *COLUMS_ADD to define additional data or columns.
The methods *ADD_DATA_SELECT are used to select additional data from the database in as way that does not negatively affect performance. These methods are called together with all the selected batches or stocks (in contrast to the methods *ADD_DATA_FILL_IN which are called up per line.
The methods *ADD_DATA_FILL_IN are used to fill the additional columns with the additional data. These methods are called up per line, in other words, per batch or stock.
Note
The methods *COLUMS_ADD and *ADD_DATA_FILL_IN must be implemented.
It is not absolutely necessary to implement the corresponding method *ADD_DATA_SELECT, however, it is strongly recommended that you do so for performance reasons.
Requirements
Standard settings
As a default, this BAdI is not active.
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
To display example coding, choose Goto -> Example Coding -> Display.
See also
Methods
Add Columns for Additional Data for Selection Result: Batches (MASTER_COLUMNS_ADD)
Add Columns for Additional Data for Selection Result: Stock (STOCK_COLUMNS_ADD)
Add Additional Data to Selection Result: Batches (MASTER_ADD_DATA_FILL_IN)
Add Additional Data to Selection Result: Stock (STOCK_ADD_DATA_FILL_IN)
Select Additional Data for Selection Result: Batches (MASTER_ADD_DATA_SELECT)
Select Additional Data for Selection Result: Stock (STOCK_ADD_DATA_SELECT)
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 |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | BIC_ADDITIONAL_DATA | 0 | AL00000026 | Batch Information Cockpit |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20041015 |
SAP Release Created in | 600 |