Ansicht
Dokumentation

/SCA/AFS_HIERARCHY_SORT - AFS HIERARCHY SORT

/SCA/AFS_HIERARCHY_SORT - AFS HIERARCHY SORT

TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Requirement of the AFS industry.

1. Display sort order of products according to the AFS product and variant sizes

2. Display additional column with variant size information : Due to the master data integration btw. AFS ERP and APO no separate size information is available in SCM

AFS industry have specific requirement of managing inventory in GRID format. In this for every product is further classified in a GRID matrix, based on it's characteristics like Color, Size, de-sign etc. This means every material defined will represent number of SKUs (Stock Keeping Units) based on value matrix combination of these characteristics.

For operational convenience every cell in this GRID is assigned to a hierarchy. This determines the importance of each SKU during user interaction. This gives users a convenience of seeing more important SKUs first, reducing efforts of browsing & searching through the list of SKUs for required SKU.

To achive required Sequence in User Interface, this functional module will provide required sorting algorithm.

Example

Current Alpha-Numeric sorting will product the results ( Together with other required fields ) in following sequence. ie. Sorted in Location + Material Code order.

Location,,Material

Loc1,,Material-Red-L

Loc1,,Material-Red-M

Loc1,,Material-Red-S

Loc1,,Material-Wht-L

Loc1,,Material-Wht-M

Loc1,,Material-Wht-S

Loc2,,Material-Red-L

Loc2,,Material-Red-M

Loc2,,Material-Red-S

Loc2,,Material-Wht-L

Loc2,,Material-Wht-M

Loc2,,Material-Wht-S

AFS Industry solution have facility do define importance ( Usage ) of each color and size combination based on hierarchy value and sort sequence values

If AFS customer have given the importance in the order of Sizes M, S, L. Also to colours as Red and then Wht within each size.

After achiving the new AFS specific sorting the same information will be produced on UI in following sequence together with all other required fields ( Information )

Location,,Material,,Char Value Sort Value ( This field is shown for Understanding only and will not appear in UI )

Loc1,,Material-Red-M,, Red-M 1

Loc1,,Material-Wht-M,, Wht-M 2

Loc1,,Material-Red-S,, Red-S 3

Loc1,,Material-Wht-S,, Wht-S 4

Loc1,,Material-Red-L,,Red-L 5

Loc1,,Material-Wht-L,,Wht-L 6

Loc2,,Material-Red-M,,Red-M 1

Loc2,,Material-Wht-M,,Wht-M 2

Loc2,,Material-Red-S,,Red-S 3

Loc2,,Material-Wht-S,,Wht-S 4

Loc2,,Material-Red-L,,Red-L 5

Loc2,,Material-Wht-L,,Wht-L 6

Together with new sort, UI will display the charactery stics values of each SKU in UI like

Notes

Further information





Parameters

EV_AFS_FLAG_SET
LT_CRPR_ITEM
LT_LBIT_ITEM
LT_PRIT_ITEM
LT_PROM_ITEM
LT_REPL_ITEM
LT_VMISELRNG
LT_VTLB_ITEM

Exceptions

Function Group

/SAPLFCST_AFS

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

Length: 3508 Date: 20240329 Time: 065230     sap01-206 ( 76 ms )