Ansicht
Dokumentation
EXIT_SAPLJJBE_002 - IS-M-AM: BU Work Hierarchy: Definition of Sort Criteria for Sorting
TXBHW - Original Tax Base Amount in Local Currency BAL Application Log DocumentationThis documentation is copyright by SAP AG.
Functionality
You can use this function module to define the sort criterion once customer sorting with the user function exit EXIT_SAPLJJBE_001 has been deactivated.
Sorting is dependent on the text element that is returned by the changing parameter PV_USER_SORT_STRING.
You have defined the sort direction (e.g. ascending or descending) in the user function exit EXIT_SAPLJJBE_001.
Use of the BU hierarchy is available to you using the import parameter PV_BE_HIE_VRW:
- PV_BE_HIE_VRW = 'AI' for the ad insert BU hierarchy
- = 'DT' for the distribution BU hierarchy
(Constants con_jjbe_hie_work_si bzw. con_jjbe_hie_work_vt from include mjj00tbe)
This sort direction applies to all nodes. If the information for a booking unit transferred using the import parameter is not sufficient, you can import additional information subsequently. Hierarchy levels are also available to you in the importing parameter PV_ITEM_TLEVEL. This means that you can sort levels individually.
Example
If you want to sort the BU hierarchy using the booking unit long text, you must program this function module accordingly:
PV_USER_SORT_STRING = PV_ITEM_LANGTEXT.
Parameters
PV_BE_HIE_VRWPV_ITEM_BELEINH
PV_ITEM_KURZTEXT
PV_ITEM_LANGTEXT
PV_ITEM_TLEVEL
PV_USER_SORT_STRING
Exceptions
Function Group
XJJBrdisp/max_wprun_time - Maximum work process run time BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 1771 Date: 20240523 Time: 073753 sap01-206 ( 32 ms )