Ansicht
Dokumentation

S2P_PLNG_ITEM_EXTEN - BAdI: Extending Output Structure for Planning Elements

S2P_PLNG_ITEM_EXTEN - BAdI: Extending Output Structure for Planning Elements

Addresses (Business Address Services)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

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).

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

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.

Implement method GET_DETAILS.

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.






CL_GUI_FRONTEND_SERVICES - Frontend Services   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 1399 Date: 20240523 Time: 193001     sap01-206 ( 33 ms )