SAP ABAP IMG Activity S2P_PLNG_ITEM_EXTEN (BAdI: Extending Output Structure for Planning Elements)
Hierarchy
ECC-DIMP (Software Component) DIMP
   IS-A-S2L (Application Component) Production Supply
     DI_S2L (Package) Production Supply
IMG Activity
ID S2P_PLNG_ITEM_EXTEN BAdI: Extending Output Structure for Planning Elements  
Transaction Code S_KA5_12001165   IMG Activity: S2P_PLNG_ITEM_EXTEN 
Created on 20020607    
Customizing Attributes S2P_PLNG_ITEM_EXTEN   BAdI: Extending Output Structure for Planning Elements 
Customizing Activity S2P_PLNG_ITEM_EXTEN   BAdI: Extending Output Structure for Planning Elements 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name S2L_PLNG_ITEM_EXTEN    

Using the business add-in S2L_PLNG_ITEM_EXTEN, you can extend the output structure for the planning elements by customer-specific fields. You can then display these customer-specific fields in the supply-to-production table, for example.

To display the data in ALV lists and grids, you can adapt the field catalog (for example, to display the fields as icons).

Example

You want to display the sales order number for a requirement in the supply-to-production table. (See example coding.)

Requirements

If you want to extend the output structure, you must first extend structure S2L_PLNG_ITEM_DETAILS by an APPEND structure which contains the customer-specific fields.

Standard settings

Recommendation

Activities

Implement method GET_DETAILS.

Further notes

The output structure is only used for display purposes. Changes to existing fields have no effect on the program logic in the supply-to-production table.

You receive access to the internal data for the supply-to-production table using the reference "ITEM" which is transferred by the method "GET_DETAILS. In future releases, incompatible changes may arise in the data structures used here.

Therefore, make sure that exceptions are always triggered in combination with a suitable message ("message....raising...."). A missing message could terminate the program.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20030120 
SAP Release Created in 471