SAP ABAP Class CL_MDG_BS_VEND_IDOC_TO_BP (Map Vendor Idoc to CVI Structure)
Hierarchy
MDG_APPL (Software Component) MDG Applications
   CA-MDG-APP-SUP (Application Component) MDG Supplier (Central Parts)
     MDG_BS_ECC_SUPPLIER_CREMAS (Package) Master Data Governance Data Replication CREMAS / CREMDM
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_CONTEXT Interface, a BAdI Context has to Implement 20091116
Properties
Class CL_MDG_BS_VEND_IDOC_TO_BP  
Short Description Map Vendor Idoc to CVI Structure    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MDG_BS_ECC_SUPPLIER_CREMAS   Master Data Governance Data Replication CREMAS / CREMDM 
Created 20091110   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_MDG_BS_VEND_IDOC_TO_BP has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_CONTEXT Interface, a BAdI Context has to Implement 20091116
Friends
Class CL_MDG_BS_VEND_IDOC_TO_BP has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_NO_DATA Constant Public Type reference (TYPE) CHAR1 '/' Single-Character Indicator 20101129
2 GC_ORGANIZATION Constant Private Type reference (TYPE) BU_TYPE '2' Business partner category 20101129
3 GT_STACK Static Attribute Private Type reference (TYPE) EDIDD_TT Table Type for EDIDD (IDoc Data Records) 20091110
Methods
# Method Level Visibility Method type Description Created on
1 GET_BP_FROM_IDOC Instance method Public Method 20091110
2 GET_GROUPING Static method Private Method 20091210
3 GET_LIFNR_HUB_ID Instance method Private Method Get Vendor Hub ID 20101129
4 GET_ROLES Static method Private Method 20091209
5 GET_TOP_OF_STACK Instance method Private Method 20091110
6 HANDLE_REFERENCE Instance method Private Method Handle Reference 20101129
7 HANDLE_REFERENCES_LFA1 Instance method Private Method Handle LFA1 references 20101129
8 HANDLE_REFERENCES_LFB1 Instance method Private Method Handle LFB1 references 20101130
9 HANDLE_REFERENCES_LFB5 Instance method Private Method Handle LFB5 references 20101130
10 HANDLE_REFERENCES_WYT3 Instance method Private Method Handle WYT3 references 20120322
11 MAP_DATA_FROM_CREMAS_IDOC Instance method Private Method Map data from CREMAS IDoc 20110131
12 POP_FROM_STACK Instance method Private Method 20091110
13 PUSH_TO_STACK Instance method Private Method 20091110
14 READ_KEY_MAPPING Instance method Private Method Read Key Mapping 20101222
15 READ_KEY_MAPPING_CP Instance method Private Method Read Key Mapping Contact Person 20120322
16 READ_KEY_MAPPING_KUNNR Instance method Private Method Read Key Mapping 20120323
17 SET_CURRENT_STATE Instance method Private Method Set current state 20101222
18 SET_CUR_REFERENCE Instance method Private Method Set Current Reference 20110105
19 SET_CUR_REFERENCE_OF_HUB_ID Instance method Private Method Set Current Reference of Hub ID 20110105
20 TRANSFORM_VENDOR_TO_BP Instance method Private Method Transfrom Vendor into Business Partner 20101129
Events
Class CL_MDG_BS_VEND_IDOC_TO_BP has no event.
Types
Class CL_MDG_BS_VEND_IDOC_TO_BP has no local type.
Method Signatures

Method GET_BP_FROM_IDOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PARTNER Call by reference Type reference (TYPE) MDG_BS_BP_T_EXTERN Complex External Interface of a Business Partner 20101129
2 Importing IT_EDIDD Call by reference Type reference (TYPE) EDIDD_TT Data record (IDoc) 20091110
3 Importing IV_IDOC_MESTYP Call by reference Type reference (TYPE) EDI_MESTYP Message Type 20110131
4 Importing IV_SENDER_BUS_SYS Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101129

Method GET_BP_FROM_IDOC on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method GET_GROUPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_KTOKK Call by reference Type reference (TYPE) KTOKK Vendor account group 20091210
2 Returning RV_GROUPING Value transfer Type reference (TYPE) BU_GROUP Business Partner Grouping 20091210

Method GET_GROUPING on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method GET_LIFNR_HUB_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_HUB_LIFNR Call by reference Type reference (TYPE) LIFNR Vendor Number 20101129
2 Importing IV_CLNT_LIFNR Call by reference Type reference (TYPE) LIFNR Vendor Number 20101129
3 Importing IV_SENDER_BUS_SYS Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101129

Method GET_LIFNR_HUB_ID on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method GET_ROLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_KTOKK Call by reference Type reference (TYPE) KTOKK Vendor account group 20091209
2 Returning RT_ROLE Value transfer Type reference (TYPE) BUS_EI_BUPA_ROLES_T External Interface: Role Data 20091209

Method GET_ROLES on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method GET_TOP_OF_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EDIDD Call by reference Type reference (TYPE) EDIDD Data record (IDoc) 20091110

Method GET_TOP_OF_STACK on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method HANDLE_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_API_DATA Call by reference Type reference (TYPE) ANY API data structure 20101129
2 Changing CS_API_DATAX Call by reference Type reference (TYPE) ANY API datax structure 20101129
3 Importing IS_COMPANY_KEY Call by reference Type reference (TYPE) VMDS_EI_COMPANY_KEY Ext. Interface: Company Code Data / Key Fields 20110105
4 Importing IS_DUNNING_KEY Call by reference Type reference (TYPE) CVIS_EI_DUNNING_KEY Ext. Interface: Dunning Data / Key Fields 20110105
5 Importing IS_HEADER Call by reference Type reference (TYPE) VMDS_EI_HEADER Ext. Interface: Header for Customer Data 20110104
6 Importing IV_CLNT_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101222
7 Importing IV_FIELDN Call by reference Type reference (TYPE) FIELDNAME Field Name 20101129
8 Importing IV_HUB_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101222

Method HANDLE_REFERENCE on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method HANDLE_REFERENCES_LFA1 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_API_DATA Call by reference Type reference (TYPE) ANY API data structure 20101129
2 Changing CS_API_DATAX Call by reference Type reference (TYPE) ANY API datax structure 20101129
3 Importing IS_HEADER Call by reference Type reference (TYPE) VMDS_EI_HEADER Ext. Interface: Header for Vendor Data 20110104
4 Importing IV_CLNT_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101222
5 Importing IV_HUB_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101222

Method HANDLE_REFERENCES_LFA1 on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method HANDLE_REFERENCES_LFB1 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_API_DATA Call by reference Type reference (TYPE) ANY API data structure 20101130
2 Changing CS_API_DATAX Call by reference Type reference (TYPE) ANY API datax structure 20101130
3 Importing IS_COMPANY_KEY Call by reference Type reference (TYPE) VMDS_EI_COMPANY_KEY Ext. Interface: Company Code Data / Key Fields 20110105
4 Importing IS_HEADER Call by reference Type reference (TYPE) VMDS_EI_HEADER Ext. Interface: Header for Vendor Data 20110104
5 Importing IV_CLNT_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101222
6 Importing IV_HUB_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101222

Method HANDLE_REFERENCES_LFB1 on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method HANDLE_REFERENCES_LFB5 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_API_DATA Call by reference Type reference (TYPE) ANY API data structure 20101130
2 Changing CS_API_DATAX Call by reference Type reference (TYPE) ANY API datax structure 20101130
3 Importing IS_COMPANY_KEY Call by reference Type reference (TYPE) VMDS_EI_COMPANY_KEY Ext. Interface: Company Code Data / Key Fields 20110105
4 Importing IS_DUNNING_KEY Call by reference Type reference (TYPE) CVIS_EI_DUNNING_KEY Ext. Interface: Dunning Data / Key Fields 20110105
5 Importing IS_HEADER Call by reference Type reference (TYPE) VMDS_EI_HEADER Ext. Interface: Header for Vendor Data 20110104
6 Importing IV_CLNT_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101222
7 Importing IV_HUB_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101222

Method HANDLE_REFERENCES_LFB5 on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method HANDLE_REFERENCES_WYT3 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_API_DATA Call by reference Type reference (TYPE) ANY API data structure 20120322
2 Changing CS_API_DATAX Call by reference Type reference (TYPE) ANY API datax structure 20120322
3 Importing IS_FUNCTIONS_KEY Call by reference Type reference (TYPE) VMDS_EI_FUNCTIONS_KEY Ext. Interface: Partner Roles / Key Fields 20120322
4 Importing IS_HEADER Call by reference Type reference (TYPE) VMDS_EI_HEADER Ext. Interface: Header for Vendor Data 20120322
5 Importing IV_CLNT_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20120322
6 Importing IV_HUB_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20120322

Method HANDLE_REFERENCES_WYT3 on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method MAP_DATA_FROM_CREMAS_IDOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_VENDOR Call by reference Type reference (TYPE) VMDS_EI_EXTERN Complex External Interface for Vendors 20110131
2 Changing CT_FAX Call by reference Type reference (TYPE) CVIS_EI_FAX_T Ext. Interface: Fax Numbers 20110131
3 Changing CT_PHONE Call by reference Type reference (TYPE) CVIS_EI_PHONE_T Ext. Interface: Telephone Numbers 20110131
4 Changing CT_TLX Call by reference Type reference (TYPE) CVIS_EI_TLX_T Ext. Interface: Telex Numbers 20110131
5 Changing CT_TTX Call by reference Type reference (TYPE) CVIS_EI_TTX_T Ext. Interface: Teletex Numbers 20110131
6 Importing IS_E1LFA1M Call by reference Type reference (TYPE) E1LFA1M Segment for general vendor data 20110131
7 Importing IV_VALID_FROM Call by reference Type reference (TYPE) AD_VALFROM Communication Data: Valid From (YYYYMMDDHHMMSS) 20110131
8 Importing IV_VALID_TO Call by reference Type reference (TYPE) AD_VALTO Communication Data: Valid To (YYYYMMDDHHMMSS) 20110131

Method MAP_DATA_FROM_CREMAS_IDOC on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method POP_FROM_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EDIDD Call by reference Type reference (TYPE) EDIDD Data record (IDoc) 20091110

Method POP_FROM_STACK on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method PUSH_TO_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EDIDD Call by reference Type reference (TYPE) EDIDD Data record (IDoc) 20091110

Method PUSH_TO_STACK on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method READ_KEY_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_HUB_VEND_ID Call by reference Type reference (TYPE) MDG_OBJECT_ID_BS Key Mapping: Object ID Value 20101222
2 Importing IV_CLNT_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101222
3 Importing IV_CLNT_VEND_ID Call by reference Type reference (TYPE) MDG_OBJECT_ID_BS Key Mapping: Object ID Value 20101222
4 Importing IV_HUB_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101222

Method READ_KEY_MAPPING on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method READ_KEY_MAPPING_CP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_HUB_CP_ID Call by reference Type reference (TYPE) MDG_OBJECT_ID_BS Key Mapping: Object ID Value 20120322
2 Importing IV_CLNT_CP_ID Call by reference Type reference (TYPE) MDG_OBJECT_ID_BS Key Mapping: Object ID Value 20120322
3 Importing IV_CLNT_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20120322
4 Importing IV_HUB_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20120322

Method READ_KEY_MAPPING_CP on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method READ_KEY_MAPPING_KUNNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_HUB_CUST_ID Call by reference Type reference (TYPE) MDG_OBJECT_ID_BS Key Mapping: Object ID Value 20120323
2 Importing IV_CLNT_CUST_ID Call by reference Type reference (TYPE) MDG_OBJECT_ID_BS Key Mapping: Object ID Value 20120323
3 Importing IV_CLNT_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20120323
4 Importing IV_HUB_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20120323

Method READ_KEY_MAPPING_KUNNR on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method SET_CURRENT_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PARTNER Call by reference Type reference (TYPE) MDG_BS_BP_S_EXTERN Structure for business partner 20101222

Method SET_CURRENT_STATE on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method SET_CUR_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DATA Call by reference Type reference (TYPE) ANY Customer data structure 20110105
2 Changing CS_DATAX Call by reference Type reference (TYPE) ANY Customer datax structure 20110105
3 Importing IS_COMPANY_KEY Call by reference Type reference (TYPE) VMDS_EI_COMPANY_KEY Ext. Interface: Company Code Data / Key Fields 20110105
4 Importing IS_DUNNING_KEY Call by reference Type reference (TYPE) CVIS_EI_DUNNING_KEY Ext. Interface: Dunning Data / Key Fields 20110105
5 Importing IS_HEADER Call by reference Type reference (TYPE) VMDS_EI_HEADER Ext. Interface: Header for Vendor Data 20110105
6 Importing IV_CLNT_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20110105
7 Importing IV_FIELDN Call by reference Type reference (TYPE) FIELDNAME Field Name 20110105
8 Importing IV_HUB_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20110105

Method SET_CUR_REFERENCE on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method SET_CUR_REFERENCE_OF_HUB_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DATA Call by reference Type reference (TYPE) ANY Customer data structure 20110105
2 Changing CS_DATAX Call by reference Type reference (TYPE) ANY Customer datax structure 20110105
3 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Customer data 20110105
4 Importing IV_FIELDN Call by reference Type reference (TYPE) FIELDNAME Field Name 20110105
5 Importing IV_HUB_VEND_ID Call by reference Type reference (TYPE) MDG_OBJECT_ID_BS Key Mapping: Object ID Value 20110105
6 Importing IV_MABER Call by reference Type reference (TYPE) MABER Dunning Area 20110105

Method SET_CUR_REFERENCE_OF_HUB_ID on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.

Method TRANSFORM_VENDOR_TO_BP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20101129
2 Exporting ES_PARTNER Call by reference Type reference (TYPE) MDG_BS_BP_S_EXTERN Structure for business partner 20101129
3 Importing IS_VENDOR Call by reference Type reference (TYPE) VMDS_EI_EXTERN Complex External Interface for Vendors 20101129

Method TRANSFORM_VENDOR_TO_BP on class CL_MDG_BS_VEND_IDOC_TO_BP has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 605