Ansicht
Dokumentation

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

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

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

This BAdI (/FRE/FU_MASS_MATLOC_FILL_DATA) is used in the mass maintenance for product locations 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 structure /FRE/MASS_MATLOC to include the new field prior to implementing this BAdI.

If you just 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 the enhancement of the mass maintenance for product locations grid, make sure you select /FRE/FU_MASS_MATLOC_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 user-defined BAdI.

There are two methods within this BAdI :

  • FILL_CUSTOMER_FIELDS: In this method, all the records selected in the tree are passed to the internal table CT_MATLOC, where you can subsequently change the value of any fields.
  • CHANGE_FIELDCATALOG: In this method, the field catalog definitions are passed to the internal table CT_FIELDCATALOG, where you can subsequently change any parameters. The field catalog holds the metadata for each of the columns displayed in the grid.

IMPORTANT NOTE: By changing the field catalog, you can change the behavior of the master data object. Therefore you should be very careful about changing the field catalog. If you select a display-only field and then allow user input, it could lead to unstable behavior and data inconsistencies.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 1983 Date: 20240420 Time: 060114     sap01-206 ( 41 ms )