Available Attributes
The private class attribute GS_ATTRIBUTES of the class /SHIP/CCO_CL_CARRIER contains various already-read data, which can be read using the method /SHIP/CCOCL_CARRIER ->GET_ATTRIBUTES. The /SHIP/CCO_CL_CARRIER ->SET_ATTRIBUTES method can be used to set the attributes and also to fill customer-specific attributes.
Please note that the "Get method" should always be called before calling the "Set method".
MANUAL:
This field can be used to identify that the coding was called manually and not via the PPF action. The DATA_PREPARE method of the /SHIP/EX_ESI BAdI sets this indicator if the importing parameter is maintained accordingly.
DELV_HEADER_TAB:
The DELV_HEADER_TAB table is read in the fallback class of the /SHIP/EX_CCO_GET_DELIVERY BAdI using a standard method (/SCWM/CL_DLV_MANAGEMENT_PRD->QUERY).
This attribute contains the delivery header information of the calling HU.
DELV_ITEM_TAB:
The DELV_ITEM_TAB table is read in the fallback class of the /SHIP/EX_CCO_GET_DELIVERY BAdI using a standard method (/SCWM/CL_DLV_MANAGEMENT_PRD->QUERY).
This table contains the delivery item information of the calling HU.
HU_HEADERS_TAB:
The HU_HEADERS_TAB table is read in the fallback class of the /SHIP/EX_CCO_GET_DELIVERY BAdI via a standard method (/SCWM/CL_DLV_MANAGEMENT_PRD->QUERY). This table contains the HU header information of the calling HU.
HU_ITEMS_TAB:
The HU_ITEMS_TAB table is read in the fallback class of the /SHIP/EX_CCO_GET_DELIVERY BAdI using a standard method (/SCWM/CL_DLV_MANAGEMENT_PRD->QUERY). This table contains the HU position information of the calling HU.
DELV_ITEM_S:
A relevant delivery item is written in the DELV_ITEM_S structure.
LOGH:
The log handle can be added to the CONSTRUCTOR method and is used for logging.
WORKSTATION_ID:
The client ID and the warehouse number are written in the WORKSTATION_ID. It is transferred as the workstation for the shipment.
EXPORT:
EXPORT is set to either "true" or "false" depending on whether the delivery is an export.
CONSTANTS:
All entries are read from the database table /SHIP/CCO_CONST and written to the CONSTANTS table.
CARRIER_DET_TAB:
All entries are read from the database table /SHIP/CARRIERDET and written to the table CARRIER_DET_TAB.
SCU:
Contains the supply chain unit in which the HU is located.
CARRIER_DET_S:
In the GET_CARRIER_DET method, an entry is written from the CARRIER_DET_TAB table to the CARRIER_DET_S structure to match the standard key factors warehouse number, forwarding agent and delivery conditions.
SHIP_EXISTING:
SHIP_EXISTING is set to "true" in the SET_SHIPMENT method if a shipping order already exists for the HU.
SCHED_COND:
This structure is set in the fallback class of the BAdI /SHIP/EX_CCO_GET_SCHED_COND_RE using the condition records maintained in transaction /SCWM/PRHU6. The set work centre is written to the Terminal field in table /SCWM/ESI_HDR.
DG_RELEVANT:
Can be used to mark a delivery as relevant for hazardous goods. Is not filled by default.
HU_QVALUE:
Can be used to transfer the dangerous goods Q value of an HU. Is not filled by default.
Updated 2 months ago