Ansicht
Dokumentation

/FRE/MD_BADI_016 - BAdI: Mass Maintenance for Tr. Lanes for Products - Add Data to the Grid

/FRE/MD_BADI_016 - BAdI: Mass Maintenance for Tr. Lanes for Products - Add Data to the Grid

PERFORM Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

This BAdI (/FRE/FU_MASS_TRPROD2_FILL_DATA) is used in the mass maintenance transaction for transportation lanes for products to add or change a grid column.

This BAdI is part of the enhancement spot /FRE/FU_BADI.

If you want to add a new column to the grid, you must expand the /FRE/MASS_TRPROD2 structure to include the new field prior to implementing this BAdI.

If you just want to change the appearanceof the grid (for example, the colors displayed), you do not need to update any structures.

When you create the implementation, the system displays all the BAdIs that are part of the enhancement spot /FRE/FU_BADI. To implement the BAdI for enhancing the mass maintenance for transportation lanes for products grid, make sure you select /FRE/FU_MASS_TRPROD2_FILL_DATA as the BAdI definition.

There is an example implementation defined for this BAdI. You can select it and have examples automatically copied to your methods. This is a good way to implement a custom BAdI.

This BAdI contains the following methods:

  • FILL_CUSTOMER_FIELDS: In this method, all the records selected in the tree are passed to the internal table CT_TRPROD2, where you can subsequently change the field values.
  • CHANGE_FIELDCATALOG: In this method, the field catalog definition is passed to the internal table CT_FIELDCATALOG, where you can subsequently change any parameters. The field catalog holds the metadata for each column displayed in the grid.

IMPORTANT NOTE:By changing the field catalog, you can change the behavior of the master data object. Be especially careful when changing the field catalog: if you select a display-only field and make it available for user input, it could lead to unstable behavior and data inconsistencies.






CL_GUI_FRONTEND_SERVICES - Frontend Services   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 2004 Date: 20240607 Time: 052535     sap01-206 ( 43 ms )