SAP ABAP Class CL_HUM_MAPPING_INBOUND (mapping of data from XI to ERP)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LO-HU (Application Component) Handling Unit Management
⤷
OPS_SE_HUM_XI_PROXY (Package) Web Service Proxies Handling Unit Management
⤷
⤷
Properties
| Class | CL_HUM_MAPPING_INBOUND | |
| Short Description | mapping of data from XI to ERP | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | OPS_SE_HUM_XI_PROXY | Web Service Proxies Handling Unit Management |
| Created | 20080218 | SAP |
| Last change | 20100310 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_HUM_MAPPING_INBOUND has no interface implemented.
Friends
Class CL_HUM_MAPPING_INBOUND has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | HU_ST_INIT | 'C' | Physical Status of the Handling Unit | 20080226 | ||
| 2 | Constant | Private | Type reference (TYPE) | HU_ST_INIT | 'B' | Physical Status of the Handling Unit | 20080226 | ||
| 3 | Constant | Private | Type reference (TYPE) | HU_ST_INIT | 'A' | Physical Status of the Handling Unit | 20080226 | ||
| 4 | Constant | Private | Type reference (TYPE) | STRING | 'ABCDEFGH' | 20080226 | |||
| 5 | Constant | Private | Type reference (TYPE) | VELIN | '2' | Type of Handling-unit Item Content | 20080314 | ||
| 6 | Constant | Private | Type reference (TYPE) | VELIN | '3' | Type of Handling-unit Item Content | 20080314 | ||
| 7 | Constant | Private | Type reference (TYPE) | VELIN | '1' | Type of Handling-unit Item Content | 20080314 | ||
| 8 | Constant | Private | Type reference (TYPE) | SAPPLCO_HU_LIFECYCLE_STAT_CODE | '2' | Production Confirmation Record Type Code | 20080226 | ||
| 9 | Constant | Private | Type reference (TYPE) | SAPPLCO_HU_LIFECYCLE_STAT_CODE | '1' | Production Confirmation Record Type Code | 20080226 | ||
| 10 | Static Attribute | Private | Type reference (TYPE) | CHAR2 | help field for action code mapping | 20080227 | |||
| 11 | Static Attribute | Private | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Statements | 20080226 | |||
| 12 | Static Attribute | Private | Type reference (TYPE) | INT4 | Natural Number | 20080227 | |||
| 13 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | IUID functionality activated? | 20080522 | |||
| 14 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | IUID functionality error already output? | 20080522 | |||
| 15 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | IUID switch activated? | 20080522 | |||
| 16 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | IUID switch error already output? | 20080522 | |||
| 17 | Static Attribute | Private | Type reference (TYPE) | WERKS_D | SPACE | Plant | 20080227 | ||
| 18 | Static Attribute | Private | Type reference (TYPE) | LGORT_D | SPACE | Storage Location | 20080227 | ||
| 19 | Static Attribute | Private | Type reference (TYPE) | TY_T_ITEM_ACTION_CODE | table of action codes on item level | 20080314 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | maps XI fields to additional packagg material fields in ERP | 20080227 | |
| 2 | Static method | Public | Method | check validity of combination actcodes <-> unpack indicator | 20080314 | |
| 3 | Static method | Private | Method | checks consistency between IUID input and IUID settings | 20080522 | |
| 4 | Static method | Public | Method | maps the external identifier of an HU to ERP | 20080225 | |
| 5 | Static method | Private | Method | gets information about IUID switch and customizing | 20080522 | |
| 6 | Static method | Public | Method | maps codes and indicators on header level to ERP | 20080225 | |
| 7 | Static method | Public | Method | maps the char & string fields on header level to ERP | 20080221 | |
| 8 | Static method | Public | Method | responsible for all mapping to ERP data | 20080228 | |
| 9 | Static method | Public | Method | initialises certain variables, structures, itabs | 20080228 | |
| 10 | Static method | Public | Method | maps XI fields to HU item fields in ERP | 20080317 | |
| 11 | Static method | Public | Method | maps XI fields to lower level HU fields in ERP | 20080313 | |
| 12 | Static method | Public | Method | map all measure data to ERP | 20080220 | |
| 13 | Static method | Public | Method | maps travel time to ERP | 20080221 | |
| 14 | Static method | Public | Method | map one unit of measure to ERP | 20080219 | |
| 15 | Static method | Public | Method | maps XI fields to packaging material fields in ERP | 20080313 |
Events
Class CL_HUM_MAPPING_INBOUND has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | ITEM_ACTION_CODE | Public | Type reference (TYPE) | CHAR2 | action code on HU item level | 20080314 | |
| 2 | TY_S_BAPI_MEASURES | Public | See coding | 20080219 | BEGIN OF ty_s_bapi_measures,
total_wght TYPE brgew_vekp,
load_wght TYPE ntgew_vekp,
tare_wght TYPE tarag_vekp,
unit_of_wt TYPE gewei,
allowed_wght TYPE magew_vekp,
max_unit_of_wght TYPE gewei,
total_vol TYPE btvol_vekp,
load_vol TYPE ntvol_vekp,
tare_vol TYPE tavol_vekp,
volumeunit TYPE voleh,
allowed_vol TYPE mavol_vekp,
max_vol_unit TYPE voleh,
length TYPE laeng,
width TYPE breit,
height TYPE hoehe,
unit_dim TYPE meabm,
lgth_load TYPE ladlg,
lgth_load_unit TYPE ladeh,
travel_time TYPE farzt,
travel_time_unit TYPE fareh,
distance TYPE entfe,
unit_of_dist TYPE ehent,
vol_tol_hu TYPE volto,
wght_tol_hu TYPE gewto,
wght_vol_fix TYPE gewfx,
END OF ty_s_bapi_measures
|
||
| 3 | TY_T_ITEM_ACTION_CODE | Public | See coding | 20080314 | TY_T_ITEM_ACTION_CODE type standard table of item_action_code
|
Method Signatures
Method MAP_ADDLPACKGGMATL_IBD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_BAPI_ITEMPROPOSAL | Call by reference | Type reference (TYPE) | OPSHU_TY_S_BAPI_ITEMPROPOSAL | Default for HU Item Creation | 20080227 | |||
| 2 | ES_BAPI_ITEMUNPACK | Call by reference | Type reference (TYPE) | OPSHU_TY_S_BAPI_ITEMUNPACK | Handling-Unit Item to be Unpacked | 20080227 | |||
| 3 | IS_ADDLPACKGGMATL | Call by reference | Type reference (TYPE) | SAPPLCO_HU_REQ_ADDLPACKGGMATL | IDT for HndlgUnitReqMsg_sAddlPackggMatl | 20080227 |
Method MAP_ADDLPACKGGMATL_IBD on class CL_HUM_MAPPING_INBOUND has no exception.
Method MAP_CHECK_ACODE_INDICATORS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_HEADER_ACTION_CODE | Call by reference | Type reference (TYPE) | CHAR2 | action code on header level | 20080314 | |||
| 2 | IM_HEADER_UNPACK_IND | Call by reference | Type reference (TYPE) | FLAG | unpack indicator on header level | 20080314 | |||
| 3 | IT_ITEM_ACTION_CODE | Call by reference | Type reference (TYPE) | TY_T_ITEM_ACTION_CODE | action codes on item level | 20080314 |
Method MAP_CHECK_ACODE_INDICATORS on class CL_HUM_MAPPING_INBOUND has no exception.
Method MAP_CHECK_IUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_IUID | Call by reference | Type reference (TYPE) | UII_CHAR72 | Unique Item Identifier | 20080522 |
Method MAP_CHECK_IUID on class CL_HUM_MAPPING_INBOUND has no exception.
Method MAP_EXIDV_IBD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_EXIDV | Call by reference | Type reference (TYPE) | EXIDV | External Handling Unit Identification | 20080225 | |||
| 2 | IM_EXIDV | Call by reference | Type reference (TYPE) | SAPPLCO_HU_ID_CONTENT | Proxy Data Element (Generated) | 20080225 | |||
| 3 | IM_FIELDNAME | Call by reference | Type reference (TYPE) | STRING | 20080225 |
Method MAP_EXIDV_IBD on class CL_HUM_MAPPING_INBOUND has no exception.
Method MAP_GET_IUID_SETTINGS Signature
Method MAP_GET_IUID_SETTINGS on class CL_HUM_MAPPING_INBOUND has no parameter.
Method MAP_GET_IUID_SETTINGS on class CL_HUM_MAPPING_INBOUND has no exception.
Method MAP_HDR_CODES_INDICATORS_IBD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_BAPI_CODES_INDICTRS | Call by reference | Type reference (TYPE) | OPSHU_TY_S_BAPI_CODES_INDICTRS | 20080225 | ||||
| 2 | IS_FULL_HU | Call by reference | Type reference (TYPE) | SAPPLCO_HU_REQ_HNDLGUNIT | IDT for HndlgUnitReqMsg_sHndlgUnit | 20080225 |
Method MAP_HDR_CODES_INDICATORS_IBD on class CL_HUM_MAPPING_INBOUND has no exception.
Method MAP_HEADER_TEXT_FIELDS_IBD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_BAPI_TEXT_FIELDS | Call by reference | Type reference (TYPE) | OPSHU_TY_S_BAPI_TEXTS | text fields in bapi compliant format | 20080221 | |||
| 2 | IS_FULL_HU | Call by reference | Type reference (TYPE) | SAPPLCO_HU_REQ_HNDLGUNIT | IDT for HndlgUnitReqMsg_sHndlgUnit | 20080221 |
Method MAP_HEADER_TEXT_FIELDS_IBD on class CL_HUM_MAPPING_INBOUND has no exception.
Method MAP_INBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ACTION | Call by reference | Type reference (TYPE) | OPSHU_TY_S_CODE_INDIC_PUR | action code and unpack indicator -> trigger the right BAPI | 20080326 | |||
| 2 | ES_HEADERPROPOSAL_PUR | Call by reference | Type reference (TYPE) | BAPIHUHDRPROPOSAL | pure BAPI structure for header | 20080319 | |||
| 3 | ET_ITEMSPROPOSAL_PUR | Call by reference | Type reference (TYPE) | OPSHU_TY_T_BAPI_ITEMSPROP_PUR | pure BAPI structure for items | 20080319 | |||
| 4 | ET_ITEMSSERIALNO_PUR | Call by reference | Type reference (TYPE) | OPSHU_TY_T_BAPI_ITEMSSERNO_PUR | pure BAPI structure for serial numbers | 20080319 | |||
| 5 | ET_ITEMSUNPACK_PUR | Call by reference | Type reference (TYPE) | OPSHU_TY_T_BAPI_ITEMSUNPA_PUR | pure BAPI structure for unpack items | 20080319 | |||
| 6 | EX_STOP_PROCESS | Call by reference | Type reference (TYPE) | XFELD | indicates whether an error has occured during mapping | 20080228 | |||
| 7 | IS_FULL_HU_XI | Call by reference | Type reference (TYPE) | SAPPLCO_HU_REQ_HNDLGUNIT | IDT for HndlgUnitReqMsg_sHndlgUnit | 20080319 |
Method MAP_INBOUND on class CL_HUM_MAPPING_INBOUND has no exception.
Method MAP_INITIALISE_IBD Signature
Method MAP_INITIALISE_IBD on class CL_HUM_MAPPING_INBOUND has no parameter.
Method MAP_INITIALISE_IBD on class CL_HUM_MAPPING_INBOUND has no exception.
Method MAP_ITEM_IBD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_BAPI_ITEMPROPOSAL | Call by reference | Type reference (TYPE) | OPSHU_TY_S_BAPI_ITEMPROPOSAL | 20080317 | ||||
| 2 | ES_BAPI_ITEMUNPACK | Call by reference | Type reference (TYPE) | OPSHU_TY_S_BAPI_ITEMUNPACK | 20080317 | ||||
| 3 | IS_HU_ITEM | Call by reference | Type reference (TYPE) | SAPPLCO_HU_REQ_ITM | Proxy Structure (generated) | 20080317 |
Method MAP_ITEM_IBD on class CL_HUM_MAPPING_INBOUND has no exception.
Method MAP_LOWER_LEVEL_HU Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_BAPI_ITEMPROPOSAL | Call by reference | Type reference (TYPE) | OPSHU_TY_S_BAPI_ITEMPROPOSAL | 20080313 | ||||
| 2 | ES_BAPI_ITEMUNPACK | Call by reference | Type reference (TYPE) | OPSHU_TY_S_BAPI_ITEMUNPACK | 20080313 | ||||
| 3 | IS_LOWER_LEVEL_HU | Call by reference | Type reference (TYPE) | SAPPLCO_HU_REQ_LOWRLVL | IDT for HndlgUnitReqMsg_sLowrLvl | 20080313 |
Method MAP_LOWER_LEVEL_HU on class CL_HUM_MAPPING_INBOUND has no exception.
Method MAP_MEASURES_IBD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_BAPI_MEASURES | Call by reference | Type reference (TYPE) | OPSHU_TY_S_BAPI_MEASURES | all measure fields of the BAPI structure | 20080220 | |||
| 2 | IS_ALL_MEASURES | Call by reference | Type reference (TYPE) | SAPPLCO_HU_REQ_MSRS | IDT for HndlgUnitReqMsg_sMsrs | 20080220 |
Method MAP_MEASURES_IBD on class CL_HUM_MAPPING_INBOUND has no exception.
Method MAP_MEASURE_DURATION_IBD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_TRAVEL_TIME | Call by reference | Type reference (TYPE) | FARZT | Travel Time | 20080221 | |||
| 2 | CH_TRAVEL_TIME_UNIT | Call by reference | Type reference (TYPE) | FAREH | Unit of travel time | 20080221 | |||
| 3 | IM_TRAVEL_DURATION | Call by reference | Type reference (TYPE) | SAPPLCO_DURATION | Proxy Data Element (Generated) | 20080221 |
Method MAP_MEASURE_DURATION_IBD on class CL_HUM_MAPPING_INBOUND has no exception.
Method MAP_MEASURE_UOM_IBD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_UOM | Call by reference | Type reference (TYPE) | MEINS | ERP internal Unit of Measure | 20080219 | |||
| 2 | IM_FIELDNAME | Call by reference | Type reference (TYPE) | STRING | 20080220 | ||||
| 3 | IS_MEASURE_UNIT_CODE | Call by reference | Type reference (TYPE) | SAPPLCO_MEASURE_UNIT_CODE | Proxy Structure (Generated) | 20080227 |
Method MAP_MEASURE_UOM_IBD on class CL_HUM_MAPPING_INBOUND has no exception.
Method MAP_PACKGGMATL_IBD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_BAPI_PACKGGMATL | Call by reference | Type reference (TYPE) | OPSHU_TY_S_BAPI_PACKGGMATL | 20080313 | ||||
| 2 | IS_PACKGGMATL | Call by reference | Type reference (TYPE) | SAPPLCO_HU_REQ_PACKGGMATL | IDT for HndlgUnitReqMsg_sPackggMatl | 20080313 |
Method MAP_PACKGGMATL_IBD on class CL_HUM_MAPPING_INBOUND has no exception.
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 604 |