Ansicht
Dokumentation

/SAPAPO/TR_TL_TRANSFER_MAP - Mapping for Transfer of Transportation Lanes

/SAPAPO/TR_TL_TRANSFER_MAP - Mapping for Transfer of Transportation Lanes

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

Functionality

This function module executes mapping between external identifiers and APO-interal GUIDs for all objects of the transportation lane. This function module was written specifically for the BAPI and CIF connection of transportation lanes.

In previous releases, mapping was carried out within BAPIs and was therefore triggered by the actual transfer coding. With this function module, the mapping function is contained in the function modules for transportation lanes and is therefore part of the standard enhancement process.

The functions of this module were based on the transfer modules of the PPM, which means that one or more mapping routines exist for each transportation lane object. Depending on the semantic key, the mapping to the GUID can differ within an object. For this reason, a routine and special structures were created for each key variation. After mapping has taken place, the transferred subobjects are compiled again, which enables a single GUID to be generated for each object.

These routines are generally all formed according to the following principle:

  • Errors in mapping are generally recorded at the transportation lane itself in the highest object in the hierarchy. If an error occurs within an object of the transportation lane, processing is terminated immediately for the transportation lane provided. This check is made using routine gt_tr_err. The prerequisite is that the highest object of a transportation lane is provided, even for delta deliveries.
  • In the routine get_xxx_xfld, the corresponding X field and customer structure entry are determined.
  • Routine build_xxx_data adopts the data part unchanged in the newly converted data structure for data and X fields. Fields from the customer structure that have the same name are also included in the new structure.
  • In routine build_xxx_key, the key is adopted in the converted data structure. For certain fields of the semantic key it is necessary to determine the GUIDs or to check whether the values are valid in APO.
  • In routine build_global_xxx, global tables are created for both new and deleted entries so that subordinate objects can be checked.
  • Routine build_xxx_map_data is used to map data fields with external keys and to convert data fields for which the field type changes in the target structure. For the latter type of fields, the conversion cannot take place in the module intended for this /sapapo/tr_tl_transfer because the structure of the target field does not allow unconverted data to be received.
  • Before the data is adopted in the target table there is another check for errors in the transfer.

This function module can be used to process complete deliveries, part, and delta deliveries for a transportation lane.

Example

Notes

Further information





Parameters

ET_RETURN
ET_TR
ET_TRE
ET_TRE_X
ET_TRM
ET_TRMC
ET_TRMCARR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IT_TRPROD_SRC
IT_TRPROD_SRC_CUS
IT_TRPROD_SRC_X
IT_TR_CUS
IT_TR_X
IV_AUTO_DEL
IV_BUS_CHECK
IV_CALLER
IV_DEL_DEP
IV_DUP_CHECK
IV_LOGQS
IV_LOGSYS
IV_MAP_USE

Exceptions

Function Group

APO/SAPLOO_TR_TRANSFER

PERFORM Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 5793 Date: 20240603 Time: 232851     sap01-206 ( 119 ms )