Ansicht
Dokumentation
SD_SHIPMENT_SORT_CRITERIA - NOTRANSL: VT04: Lieferungen innerhalb der Transporte nach Kriterien sortie
ROGBILLS - Synchronize billing plans rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
Functional module SD_SHIPMENT_SORT_CRITERIA
Interface
This functional module serves in the processing of sort criteria.
The sort criteria are transferred in the complex data category I_SORT_CRITERIA (laid out analogously to I_SPLIT_CRITERIA in functional module SD_SHIPMENT_SPLIT_CRITERIA).
Delivery data is specified in tables I_VTRLK and I_VTRLP. The sequence is changed in C_VTTP. C_VTTP already contains the allocation of deliveries for shipments. Only the sequence of deliveries is not yet defined.
Processing
The procedure with sort criteria is exactly the same as in the module SD_SHIPMENT_SPLIT_CRITERIA. An internal table is laid out which contains a small table for each delivery in which the sequence number stands with reference to each sort criterion.
In Form sort_deliveries_in_shipment, the shipment number is created for each delivery. If one sorts this table according to shipment number and sequence number table ('SORT C_SORT_TAB BY TKNUM SEQUENCES'), then one gets the sequence of deliveries per shipment. The resulting sequence is finally transferred into table C_VTTP.
Further information
Parameters
C_VTTPI_SORT_CRITERIA
I_VTRLK
I_VTRLP
Exceptions
Function Group
V56MCL_GUI_FRONTEND_SERVICES - Frontend Services PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 1645 Date: 20240523 Time: 064441 sap01-206 ( 37 ms )