Ansicht
Dokumentation

/FRE/MD_BADI_017 - BAdI: Add a Column in the Sub-Range Search Help

/FRE/MD_BADI_017 - BAdI: Add a Column in the Sub-Range Search Help

rdisp/max_wprun_time - Maximum work process run time   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

This BAdI (/FRE/FU_SHLP_SLSNR) is used in any screen where the user presses F4 on the Subrangefield. For example, in the selection screen of the Mass Maintenance for Transportation Lanes for Products transaction, if you press F4 on the Subrangefield, this BAdI is called to enhance the display of the subrange list.

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

This BAdI allows you to add a description column to the list. You can put whatever you want in this column -- it is not necessary that it be a description. However, the field name DESCR must be used to save data. See below for more information.

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 subrange F4 help screen, make sure you select /FRE/FU_SHLP_SLSNR as the BAdI definition.

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

This BAdI contains the following method:

  • ENRICH_OUTPUT: This is where you add the column to be displayed on the F4 help list.
  • Parameter CS_SHLP: The metadata for the columns is passed to this structure. This is where you can define the name of the new column as well as other parameters, such as length.

  • Parameter CT_SLSNR2: This is the actual list of subranges to be displayed in the outpu list. There is an empty column in this internal table called DESCR -- this is where you can add the description.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1930 Date: 20240419 Time: 094227     sap01-206 ( 41 ms )