Ansicht
Dokumentation

S2P_PLNG_SEG_EXTEN - BAdI: Extending Output Structure for Supply Segments

S2P_PLNG_SEG_EXTEN - BAdI: Extending Output Structure for Supply Segments

ROGBILLS - Synchronize billing plans   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Using the business add-in S2L_PLNG_SEG_EXTEN, you can extend the output structure for the supply segments by customer-specific field 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 may want to display aditional control cycle data for a supply segment in the supply-to-production table. (See example coding.)

If you want to extend the output structure, you must first extend structure S2L_PLNG_SEG_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 "SEGMENT" 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   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1409 Date: 20240523 Time: 202945     sap01-206 ( 38 ms )