Ansicht
Dokumentation

/FRE/RWB_BADI_005 - BAdI: Add Text to a Node in Tree

/FRE/RWB_BADI_005 - BAdI: Add Text to a Node in Tree

CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This BAdI (/FRE/FU_RWB_FILL_DATA) is used in the Replenishment Workbench to change a node description within the tree.

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

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 Replenishment Workbench tree, make sure you select /FRE/FU_RWB_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 own methods. This is a good way to implement a custom BAdI.

This BAdI contains the following method:

  • FILL_CUSTOMER_FIELDS: In this method, you can change the description of a node by changing the data in the internal table CT_NAV_TREE. Parameter IT_TREE_HIERA_CONF contains the Customizing settings for the tree. IT_TREE_HIERA_CONF is also passed to this BAdI to ensure that your BAdI behaves according to the tree's Customizing settings.

You can use the node_text_usage field of IT_TREE_HIERA_CONF to determine whether the user wants to display the ID, the description, or both.

Refer to the example implementation to see an example of how IT_TREE_HIERA_CONF is used.






ABAP Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 1426 Date: 20240329 Time: 055232     sap01-206 ( 35 ms )