SAP ABAP Class CL_MDG_BS_ECC_CUST_INBOUND (Test cust. inbound)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   CA-MDG-APP (Application Component) Applications
     MDG_BS_ECC_CUSTOMER_MISC (Package) MDG Customer search and others
Properties
Class CL_MDG_BS_ECC_CUST_INBOUND  
Short Description Test cust. inbound    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MDG_BS_ECC_CUSTOMER_MISC   MDG Customer search and others 
Created 20100527   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_MDG_BS_ECC_CUST_INBOUND has no interface implemented.
Friends
Class CL_MDG_BS_ECC_CUST_INBOUND has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_BO_BP Constant Public Type reference (TYPE) MDG_OBJECT_TYPE_CODE_BS '147' BO type for BP object 20120719
2 GT_CUST_ROLES Instance attribute Private See coding Table of available customer roles 20100624
3 GV_BUS_SYSTEM_HUB Instance attribute Private Type reference (TYPE) MDG_BUSINESS_SYSTEM Business system of MDG hub 20120719
4 GV_CUSTOMER_ID Instance attribute Private Type reference (TYPE) KUNNR Local customer ID 20100527
5 GV_NEW_COPY Static Attribute Public Type reference (TYPE) BOOLE_D 'X' Flag: copy contact persons too 20120727
6 GV_OWN_LOGSYS Instance attribute Private Type reference (TYPE) LOGSYS Logical system 20100527
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CUSTOMER_ROLES Instance method Private Method Add customer role(s) to BuPa if role is not assigned 20110322
2 ADJUST_MESSAGES_AFTER_INBD_SRV Instance method Private Method Adjust message log after inbound service call 20110322
3 CALL_BPREL_INBOUND_SERVICE Instance method Protected Method Create BP relation locally by calling BPREl inbound service 20120716
4 CALL_BP_INBOUND_SERVICE Instance method Protected Method Create BP locally by calling BP service inbound 20120713
5 CONSTRUCTOR Instance method Public Constructor 20100624
6 CONVERT_GUID_EXT2INT Instance method Public Method Convert GUID from external into internal format 20120719
7 CONVERT_GUID_INT2EXT Instance method Public Method Convert GUID from internal into external format 20120720
8 CONVERT_ID_NUMBER_EXT2INT Instance method Public Method Convert ID number from external into internal format 20120719
9 CONVERT_ID_NUMBER_INT2EXT Instance method Public Method Convert ID number from internal into external format 20120720
10 CREATE_MESSAGE_LINK Instance method Protected Method Create new GUID to be used for message link 20120719
11 CUST_POSTING_ERROR_HANDLING Instance method Private Method Error handling after unsuccessful posting of customer data 20120713
12 DELETE_DUPLICATE_MESSAGES Instance method Protected Method Delete duplicate messages from BAPIRET2 table 20120110
13 DO_COPY_BPREL_SERVICE Instance method Public Method Copy BP relationship from MDG hub via service 20120725
14 DO_COPY_BP_SERVICE Instance method Public Method obsolete 20120713
15 DO_COPY_CUST Instance method Public Method Copy from MDG Hub (obsolete, do not use) 20100527
16 DO_COPY_CUST_SERVICE Instance method Public Method Copy BP from MDG Hub via service 20100531
17 DO_COPY_CUST_SERVICE2 Instance method Public Method Copy BP and BPRel from MDG hub via service (new) 20120712
18 EXCEPTION_MESSAGE_STORE Instance method Private Method Map SY-messages to BAPIRET2 20100602
19 GET_BUSINESS_SYS_BY_BO Instance method Private Method Returns name of business system by RFC destination 20110131
20 GET_LOCAL_BP_ID Instance method Protected Method Get local BP ID from BP GUID 20120713
21 GET_LOCAL_CUST_ID Instance method Protected Method Get local customer ID for BP via CVI mapping 20120713
22 IS_COPY_ALLOWED Instance method Protected Method Check if BP can be copied; iF BP is CP: copy not allowed 20120727
23 IS_ERROR_OCCURED Instance method Protected Method Set error flag, if return table contains any E/A/X message 20120713
24 ON_CUSTOMER_CHANGED Instance method Public Event handling method Handle Event 20100527
25 READ_BP_DATA_ON_HUB Instance method Protected Method Read BP / BPRel data from MDG hub 20120713
26 UPDATE_KEYMAP_IN_HUB Instance method Protected Method Update BP keymapping in MDG hub via RFC call 20120727
27 UPDATE_REPLICATION_STATUS Instance method Protected Method Update replication status on MDG hub via RFC call 20120713
Events
Class CL_MDG_BS_ECC_CUST_INBOUND has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_ROLES_TAB Public See coding Table type for BP roles 20110322 ty_roles_tab TYPE TABLE OF bu_partnerrole
2 TY_SH_RESULT_ADR Private See coding Table type for address search result 20100527 BEGIN OF ty_sh_result_adr, bu_sort1 TYPE ad_sort1, name_org1 TYPE bu_name1, name_org2 TYPE bu_name2, street TYPE ad_street, house_nr1 TYPE ad_hsnm1, post_cod1 TYPE ad_pstcd1, city1 TYPE ad_city1, rfe_post TYPE regio, ref_posta TYPE land1, similarity TYPE ad_percnt3, kunnr TYPE kunnr, partner_id TYPE bu_partner, partner_guid TYPE bu_partner_guid, END OF ty_sh_result_adr
Method Signatures

Method ADD_CUSTOMER_ROLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_BUPA Call by reference Type reference (TYPE) MDG_BP_BPSUITERPLCT_REQ_BP Proxy Structure for BPSUITERplctReqBP 20110322
2 Importing IT_CUST_ROLES Call by reference Type reference (TYPE) TY_ROLES_TAB 20110322

Method ADD_CUSTOMER_ROLES on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method ADJUST_MESSAGES_AFTER_INBD_SRV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) APPLMSGTAB Return Table for Messages 20110322

Method ADJUST_MESSAGES_AFTER_INBD_SRV on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method CALL_BPREL_INBOUND_SERVICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T 20120716
2 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLE_D 20120716
3 Importing IT_BPREL_DATA Call by reference Type reference (TYPE) MDG_BP_RELSUITERQ_MSG_T 20120716
4 Importing IV_REF_MSG_ID Call by reference Type reference (TYPE) MDG_FND_BUS_DOC_MSG_ID_CONTENT 20120716

Method CALL_BPREL_INBOUND_SERVICE on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method CALL_BP_INBOUND_SERVICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T 20120713
2 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLE_D 20120713
3 Importing IS_BP_DATA Call by reference Type reference (TYPE) MDG_BP_BPSUITEBULK_RPLCT_REQ_M 20120713
4 Importing IT_CUST_ROLES Call by reference Type reference (TYPE) TY_ROLES_TAB 20120713

Method CALL_BP_INBOUND_SERVICE on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_MDG_BS_ECC_CUST_INBOUND has no parameter.
Method CONSTRUCTOR on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method CONVERT_GUID_EXT2INT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T 20120725
2 Exporting EV_GUID_INT_C Call by reference Type reference (TYPE) SYSUUID_C 20120725
3 Exporting EV_GUID_INT_X Call by reference Type reference (TYPE) SYSUUID_X 20120725
4 Importing IV_GUID_EXT Call by reference Type reference (TYPE) CSEQUENCE 20120719

Method CONVERT_GUID_EXT2INT on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method CONVERT_GUID_INT2EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T 20120725
2 Exporting EV_GUID_EXT Call by reference Type reference (TYPE) CSEQUENCE 20120720
3 Importing IV_GUID_INT_C Call by reference Type reference (TYPE) SYSUUID_C 20120725
4 Importing IV_GUID_INT_X Call by reference Type reference (TYPE) SYSUUID_X 20120725

Method CONVERT_GUID_INT2EXT on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method CONVERT_ID_NUMBER_EXT2INT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_NUM_INT Call by reference Type reference (TYPE) CLIKE 20120719
2 Importing IV_NUM_EXT Call by reference Type reference (TYPE) CLIKE 20120719

Method CONVERT_ID_NUMBER_EXT2INT on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method CONVERT_ID_NUMBER_INT2EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_NUM_EXT Call by reference Type reference (TYPE) CLIKE 20120720
2 Importing IV_NUM_INT Call by reference Type reference (TYPE) CLIKE 20120720

Method CONVERT_ID_NUMBER_INT2EXT on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method CREATE_MESSAGE_LINK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_MESSAGE_LINK Value transfer Type reference (TYPE) DRF_MESSAGE_LINK 20120719

Method CREATE_MESSAGE_LINK on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method CUST_POSTING_ERROR_HANDLING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T 20120713
2 Importing IV_PARTNER_ID_LOC Call by reference Type reference (TYPE) BU_PARTNER 20120713

Method CUST_POSTING_ERROR_HANDLING on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method DELETE_DUPLICATE_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20120110

Method DELETE_DUPLICATE_MESSAGES on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method DO_COPY_BPREL_SERVICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T 20120725
2 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLE_D 20120725
3 Importing IT_BPREL_DATA Call by reference Type reference (TYPE) MDG_BP_RELSUITERQ_MSG_T 20120725
4 Importing IV_MSG_LINK Call by reference Type reference (TYPE) DRF_MESSAGE_LINK 20120725
5 Importing IV_REF_MSG_ID Call by reference Type reference (TYPE) MDG_FND_BUS_DOC_MSG_ID_CONTENT 20120725
6 Importing IV_RFCDEST Call by reference Type reference (TYPE) RFCDEST 20120725

Method DO_COPY_BPREL_SERVICE on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method DO_COPY_BP_SERVICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T 20120713
2 Exporting EV_PARTNER_GUID Call by reference Type reference (TYPE) BU_PARTNER_GUID 20120713
3 Exporting EV_PARTNER_LOC Call by reference Type reference (TYPE) BU_PARTNER 20120713
4 Importing IV_PARTNER_HUB Call by reference Type reference (TYPE) BU_PARTNER 20120713
5 Importing IV_RFCDEST Call by reference Type reference (TYPE) RFCDEST 20120713

Method DO_COPY_BP_SERVICE on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method DO_COPY_CUST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20100527
2 Exporting EV_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20100527
3 Importing IV_PARTNER Call by reference Type reference (TYPE) BU_PARTNER Business Partner Number 20100527

Method DO_COPY_CUST on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method DO_COPY_CUST_SERVICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20100531
2 Exporting EV_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20100531
3 Importing IT_CUST_ROLES Call by reference Type reference (TYPE) TY_ROLES_TAB Customer role(s) to be added 20110322
4 Importing IV_PARTNER Call by reference Type reference (TYPE) BU_PARTNER Business Partner Number 20100531
5 Importing IV_PARTNER_GUID Call by reference Type reference (TYPE) BU_PARTNER_GUID Business Partner GUID 20100602
6 Importing IV_RFCDEST Call by reference Type reference (TYPE) RFCDEST Logical Destination to Hub 20100608

Method DO_COPY_CUST_SERVICE on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method DO_COPY_CUST_SERVICE2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T 20120713
2 Exporting EV_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 1 20120712
3 Importing IT_CUST_ROLES Call by reference Type reference (TYPE) TY_ROLES_TAB Customer role(s) to be added 20120712
4 Importing IV_PARTNER Call by reference Type reference (TYPE) BU_PARTNER Business Partner Number 20120712
5 Importing IV_PARTNER_GUID Call by reference Type reference (TYPE) BU_PARTNER_GUID Business Partner GUID 20120712
6 Importing IV_RFCDEST Call by reference Type reference (TYPE) RFCDEST Logical Destination to Hub 20120712

Method DO_COPY_CUST_SERVICE2 on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method EXCEPTION_MESSAGE_STORE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20100602

Method EXCEPTION_MESSAGE_STORE on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method GET_BUSINESS_SYS_BY_BO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_BUSINESS_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20110131
2 Importing IV_BO Call by reference Type reference (TYPE) MDG_OBJECT_TYPE_CODE_BS 20110131

Method GET_BUSINESS_SYS_BY_BO on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method GET_LOCAL_BP_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_PARTNER_ID_LOC Value transfer Type reference (TYPE) BU_PARTNER 20120713
2 Importing IV_PARTNER_GUID Call by reference Type reference (TYPE) BU_PARTNER_GUID 20120713

Method GET_LOCAL_BP_ID on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method GET_LOCAL_CUST_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_KUNNR_LOCAL Value transfer Type reference (TYPE) KUNNR 20120713
2 Importing IV_PARTNER_GUID Call by reference Type reference (TYPE) BU_PARTNER_GUID 20120713
3 Importing IV_PARTNER_ID_LOC Call by reference Type reference (TYPE) BU_PARTNER 20120713

Method GET_LOCAL_CUST_ID on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method IS_COPY_ALLOWED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20120727
2 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120727
3 Importing IS_BP_DATA Call by reference Type reference (TYPE) MDG_BP_BPSUITEBULK_RPLCT_REQ_M 20120727
4 Importing IT_BPREL_DATA Call by reference Type reference (TYPE) MDG_BP_RELSUITERQ_MSG_T 20120727

Method IS_COPY_ALLOWED on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method IS_ERROR_OCCURED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_ERROR_OCCURED Value transfer Type reference (TYPE) BOOLE_D 20120713
2 Importing IT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T 20120713

Method IS_ERROR_OCCURED on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method ON_CUSTOMER_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CUSTOMER_NEW Value transfer Attribute reference (LIKE) 20100527
2 Importing I_CUSTOMER_OLD Value transfer Attribute reference (LIKE) 20100527

Method ON_CUSTOMER_CHANGED on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method READ_BP_DATA_ON_HUB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T 20120713
2 Exporting ES_DATA_BP Call by reference Type reference (TYPE) MDG_BP_BPSUITEBULK_RPLCT_REQ_M 20120713
3 Exporting ET_DATA_BPREL Call by reference Type reference (TYPE) MDG_BP_RELSUITERQ_MSG_T 20120713
4 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLE_D 20120713
5 Importing IV_LOGSYS Call by reference Type reference (TYPE) LOGSYS 20120713
6 Importing IV_MSG_LINK Call by reference Type reference (TYPE) DRF_MESSAGE_LINK 20120713
7 Importing IV_PARTNER Call by reference Type reference (TYPE) BU_PARTNER 20120713
8 Importing IV_READ_BPREL Call by reference Type reference (TYPE) BOOLE_D 20120713
9 Importing IV_RFCDEST Call by reference Type reference (TYPE) RFCDEST 20120713

Method READ_BP_DATA_ON_HUB on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method UPDATE_KEYMAP_IN_HUB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T 20120727
2 Importing IV_BUSINESS_SYSTEM_HUB Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM 20120727
3 Importing IV_KUNNR Call by reference Type reference (TYPE) KUNNR 20120727
4 Importing IV_NO_SAVE Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE 20120727
5 Importing IV_PARTNER Call by reference Type reference (TYPE) BU_PARTNER 20120727
6 Importing IV_PARTNER_GUID Call by reference Type reference (TYPE) BU_PARTNER_GUID 20120727
7 Importing IV_PARTNER_GUID_HUB Call by reference Type reference (TYPE) BU_PARTNER_GUID 20120727
8 Importing IV_PARTNER_HUB Call by reference Type reference (TYPE) BU_PARTNER 20120727
9 Importing IV_UPDATE_CENTRAL_REGISTRY Call by reference Type reference (TYPE) MDG_UPDATE_CENTR_REG 20120727

Method UPDATE_KEYMAP_IN_HUB on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.

Method UPDATE_REPLICATION_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T 20120713
2 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLE_D 20120713
3 Importing IV_MSG_LINK Call by reference Type reference (TYPE) DRF_MESSAGE_LINK 20120713
4 Importing IV_REP_STATUS Call by reference Type reference (TYPE) DRF_REPSTAT 20120713
5 Importing IV_RFCDEST Call by reference Type reference (TYPE) RFCDEST 20120713

Method UPDATE_REPLICATION_STATUS on class CL_MDG_BS_ECC_CUST_INBOUND has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606