Ansicht
Dokumentation

/FRE/MD_BADI_013 - BAdI: Mass Maintenance for Location - Add Data to the Grid

/FRE/MD_BADI_013 - BAdI: Mass Maintenance for Location - Add Data to the Grid

BAL Application Log Documentation   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

This BAdI (/FRE/FU_MASS_LOC_FILL_DATA) is used in the mass maintenance transaction for location data 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 in the grid, you must extend the /FRE/MASS_LOC structure to include the new field prior to implementing this BAdI.

If you only want to change the appearanceof the grid (such as the colors displayed), you do not need to update any structures.

When you create the implementation, all the BAdIs that are part of the enhancement spot /FRE/FU_BADI are displayed. To implement the BAdI for enhancing the mass maintenance location grid, make sure you select /FRE/FU_MASS_LOC_FILL_DATA as the BAdI definition.

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

There there are two methods n this BAdI:

  • FILL_CUSTOMER_FIELDS: In this method, all the records selected in the tree are passed to the internal table CT_LOC. You can subsequently change the values of any fields in this table.
  • CHANGE_FIELDCATALOG: In this method, the field catalog definition is passed to the internal table CT_FIELDCATALOG. You can 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. However, you should be very careful about changing the field catalog. If you change a display-only field so that it can be modified by the user, it could lead to unstable system behavior and data inconsistencies.






ABAP Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 1956 Date: 20240426 Time: 235506     sap01-206 ( 48 ms )