Ansicht
Dokumentation

EXIT_SAPLJH02_004 - M/AM: User Exit to Control Sort Sequence for AI Planning, Sortitem

EXIT_SAPLJH02_004 - M/AM: User Exit to Control Sort Sequence for AI Planning, Sortitem

General Data in Customer Master   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module can be used to define the sort criterion once customer sorting has been activated.

Sorting is dependent on the text element that is returned by the changing parameter user_sort_item.

You have already defined the sort type (ascending or descending) in the initial sorting customer exit.

This sort type applies to all nodes.

If the information for a booking unit that is transferred using the import parameter is not sufficient, additional information can be read here.

Hierarchy levels are also available to you in the importing parameter user_sort_level. This means you can sort the individual levels differently.

Example

If you want to sort using the long text, this function module should be programmed as follows:

user_sort_item = user_sort_item_langtext

Further information

You must activate the sort functions using user exit exit_saplj02_003.

User exits exit_saplj02_003 and exit_saplj02_004 are used to sort the nodes below the root nodes.

Activate AI planning function





Parameters

USER_SORT_BELEINH
USER_SORT_DATE
USER_SORT_ITEM
USER_SORT_ITEM_KURZTEXT
USER_SORT_ITEM_LANGTEXT
USER_SORT_LEVEL
USER_SORT_ROOT

Exceptions

Function Group

XJHB

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

Length: 1556 Date: 20240523 Time: 072712     sap01-206 ( 29 ms )