SAP ABAP Class CL_MDG_BPRELSHIP_2_STA (CL_MDG_BPRELSHIP_2_STA)
Hierarchy
MDG_FND (Software Component) MDG Foundation
   CA-MDG-APP-BP (Application Component) MDG Business Partner (Central Part)
     MDG_BS_BP_SERVICES (Package) MDG: Business Partner - Services
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20110127
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_MDG_BPRELSHIP_2_STA Interface for BAdI: MDG_BPRELSHIP_2_STA 20110127
Properties
Class CL_MDG_BPRELSHIP_2_STA  
Short Description    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MDG_BS_BP_SERVICES   MDG: Business Partner - Services 
Created 20110127   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
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20110127
2 IF_MDG_BPRELSHIP_2_STA Interface for BAdI: MDG_BPRELSHIP_2_STA 20110127
Friends
Class CL_MDG_BPRELSHIP_2_STA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_CONTACT_PERSON_REL_TYPE Constant Protected Type reference (TYPE) BU_RELTYP 'BUR001' Business Partner Relationship Category 20120316
2 GC_LOGICAL_ACTION_CHANGE_DX Instance attribute Protected Type reference (TYPE) USMD_ACTION 'CHANGE_DX' Logical Action 20120102
3 GC_LOGICAL_ACTION_CREATE_DX Instance attribute Protected Type reference (TYPE) USMD_ACTION 'CREATE_DX' Logical Action 20120102
4 GC_LOGICAL_ACTION_MASS_DX Instance attribute Protected Type reference (TYPE) USMD_ACTION 'LOAD' Logical Action 20120621
5 GC_OBJECT_TASK_INSERT Constant Protected Type reference (TYPE) BUS_EI_OBJECT_TASK 'I' External Interface: Change Indicator Object 20120102
6 GC_OBJECT_TASK_MODIFY Constant Protected Type reference (TYPE) BUS_EI_OBJECT_TASK 'M' External Interface: Change Indicator Object 20120102
7 GC_OBJECT_TASK_UPDATE Constant Protected Type reference (TYPE) BUS_EI_OBJECT_TASK 'U' External Interface: Change Indicator Object 20120102
8 GC_OTC_BP Constant Protected Type reference (TYPE) USMD_OTC '147' Business Object Type 20120102
9 GC_OTC_RELATIONSHIP Constant Protected Type reference (TYPE) USMD_OTC '1405' Business Object Type 20120102
10 GC_USMD_INSERT Constant Protected Type reference (TYPE) USMD_PROCESS 'BBPI' Business Activity 20120102
11 GC_USMD_UPDATE Constant Protected Type reference (TYPE) USMD_PROCESS 'BBPU' Business Activity 20120102
12 GO_GOV_API Instance attribute Protected Object reference (TYPE REF TO) IF_USMD_GOV_API Governance API 20120103
13 GV_CR_ID Instance attribute Protected Type reference (TYPE) USMD_CREQUEST Change Request 20120102
14 GV_CR_REUSED Instance attribute Protected Type reference (TYPE) ABAP_BOOL 20120427
15 GV_MODEL Static Attribute Protected Type reference (TYPE) USMD_MODEL Data Model 20120102
16 GV_TEMP_STA_BP_REL_ID Static Attribute Protected Type reference (TYPE) USMD_VALUE Characteristic Value 20120102
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_CR_CHANGEABLE Instance method Protected Method 20120427
2 CHECK_RELS_DATA_IN Instance method Public Method 20110127
3 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20120102
4 CREATE_CHANGE_REQUEST Instance method Protected Method Creates a new Change Request using Governance API 20120102
5 DETERMINE_CHANGE_REQUEST Instance method Protected Method 20120426
6 GET_BP_HEADER Instance method Protected Method 20120427
7 GET_CR_TYPE Instance method Protected Method Get Change Request type for Business Activity 20120621
8 HANDLE_SMT_ERROR Instance method Protected Method SMT error handling 20120103
9 MAP_RELATIONSHIP_TO_STAGING Instance method Protected Method Map Relationship API structure to Staging structure 20120103
10 MAP_USMD_MESS_TO_BAPIRET Instance method Protected Method Internal method to map USMD messages to MDG messages 20120102
11 SET_RELATIONSHIP_TO_STAGING Instance method Protected Method Set Relationship-entities into current Change Request 20120103
Events
Class CL_MDG_BPRELSHIP_2_STA has no event.
Types
Class CL_MDG_BPRELSHIP_2_STA has no local type.
Method Signatures

Method CHECK_CR_CHANGEABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CHANGE_REQUEST_TYPE Call by reference Type reference (TYPE) USMD_CREQUEST_TYPE Type of Change Request 20120427
2 Importing IV_CR_ID Call by reference Type reference (TYPE) USMD_CREQUEST Change Request 20120427
3 Returning RV_CHANGEABLE Value transfer Type reference (TYPE) ABAP_BOOL 20120427

Method CHECK_CR_CHANGEABLE on class CL_MDG_BPRELSHIP_2_STA has no exception.

Method CHECK_RELS_DATA_IN Signature

Method CHECK_RELS_DATA_IN on class CL_MDG_BPRELSHIP_2_STA has no parameter.
Method CHECK_RELS_DATA_IN on class CL_MDG_BPRELSHIP_2_STA has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_MDG_BPRELSHIP_2_STA has no parameter.
Method CLASS_CONSTRUCTOR on class CL_MDG_BPRELSHIP_2_STA has no exception.

Method CREATE_CHANGE_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20120102
2 Importing IS_BP_REL_API Call by reference Type reference (TYPE) MDG_BS_BP_REL_S_EXTERN Single Partner Relationship 20120426
3 Importing IV_CHANGE_REQUEST_TEXT Call by reference Type reference (TYPE) USMD_TXTLG Description (long text) 20120103
4 Importing IV_CHANGE_REQUEST_TYPE Call by reference Type reference (TYPE) USMD_CREQUEST_TYPE Type of Change Request 20120103
# Exception Resumable Description Created on
1 CX_MDG_BS_BP_STA_ERROR Fatal error message in Staging occurred 20120102

Method DETERMINE_CHANGE_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_BP_REL_API Call by reference Type reference (TYPE) MDG_BS_BP_REL_S_EXTERN Single Partner Relationship 20120426
2 Importing IV_CHANGE_REQUEST_TYPE Call by reference Type reference (TYPE) USMD_CREQUEST_TYPE Type of Change Request 20120427
3 Returning RV_CR_ID Value transfer Type reference (TYPE) USMD_CREQUEST Change Request 20120426

Method DETERMINE_CHANGE_REQUEST on class CL_MDG_BPRELSHIP_2_STA has no exception.

Method GET_BP_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_BP_HEADER Call by reference Type reference (TYPE) MDG_BS_BP_BP_HEADER MDG: Mapping Structure BP_Header 20120427
2 Exporting EV_ACTIVE Call by reference Type reference (TYPE) ABAP_BOOL 20120427
3 Importing IV_BP_GUID Call by reference Type reference (TYPE) BU_PARTNER_GUID_BAPI GUID of a Business Partner in CHAR 32 Format for BAPIs 20120427

Method GET_BP_HEADER on class CL_MDG_BPRELSHIP_2_STA has no exception.

Method GET_CR_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OTC Call by reference Type reference (TYPE) MDG_OBJECT_TYPE_CODE_BS '1405' Business Object Type 20120621
2 Importing IV_RELATIONSHIP_OBJECT_TASK Call by reference Type reference (TYPE) BUS_EI_OBJECT_TASK External Interface: Change Indicator Object 20120621
3 Returning RV_CHANGE_REQUEST_TYPE Value transfer Type reference (TYPE) MDG_CREQUEST_TYPE Type of Change Request 20120621

Method GET_CR_TYPE on class CL_MDG_BPRELSHIP_2_STA has no exception.

Method HANDLE_SMT_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IX_SMT_ERROR Call by reference Object reference (TYPE REF TO) CX_SMT_ERROR Error 20120103
2 Returning RT_RETURN_MESSAGES Value transfer Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20120103

Method HANDLE_SMT_ERROR on class CL_MDG_BPRELSHIP_2_STA has no exception.

Method MAP_RELATIONSHIP_TO_STAGING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_STA_BP_CPGEN Call by reference Type reference (TYPE) MDG_BS_BP_BP_CPGEN MDG: Mapping Structure BP_CPGEN 20120314
2 Exporting ES_STA_BP_REL Call by reference Type reference (TYPE) MDG_BS_BP_BP_REL MDG: Mapping Structure BP_Header 20120103
3 Exporting ES_STA_BP_REL_DEL Call by reference Type reference (TYPE) MDG_BS_BP_BP_REL MDG: Mapping Structure BP_Header 20120611
4 Exporting ET_RETURN_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20120103
5 Exporting ET_STA_BP_WPAD Call by reference Type reference (TYPE) TY_STA_BP_WPAD MDG: Preliminary Mapping Table BP_WPAD (workplace address) 20120321
6 Exporting ET_STA_BP_WPAD_DEL Call by reference Type reference (TYPE) TY_STA_BP_WPAD MDG: Preliminary Mapping Table BP_WPAD for deletion 20120321
7 Exporting ET_STA_WP_EMAIL Call by reference Type reference (TYPE) TY_STA_WP_EMAIL MDG: Preliminary Mapping Table WP_EMAIL (workpl.addr.Emails) 20120321
8 Exporting ET_STA_WP_EMAIL_DEL Call by reference Type reference (TYPE) TY_STA_WP_EMAIL MDG: Preliminary Mapping Table WP_EMAIL for deletion 20120321
9 Exporting ET_STA_WP_FAX Call by reference Type reference (TYPE) TY_STA_WP_FAX MDG: Preliminary Mapping Table WP_FAX (workpl. addr. FaxNos) 20120321
10 Exporting ET_STA_WP_FAX_DEL Call by reference Type reference (TYPE) TY_STA_WP_FAX MDG: Preliminary Mapping Table WP_FAX for deletion 20120321
11 Exporting ET_STA_WP_TEL Call by reference Type reference (TYPE) TY_STA_WP_TEL MDG: Preliminary Mapping Table WP_TEL (workpl. addr. TelNos) 20120321
12 Exporting ET_STA_WP_TEL_DEL Call by reference Type reference (TYPE) TY_STA_WP_TEL MDG: Preliminary Mapping Table WP_TEL for deletion 20120321
13 Exporting ET_STA_WP_URL Call by reference Type reference (TYPE) TY_STA_WP_URL MDG: Preliminary Mapping Table WP_URL (workplace addr. URLs) 20120321
14 Exporting ET_STA_WP_URL_DEL Call by reference Type reference (TYPE) TY_STA_WP_URL MDG: Preliminary Mapping Table WP_URL for deletion 20120321
15 Importing IS_BP_REL_API Call by reference Type reference (TYPE) MDG_BS_BP_REL_S_EXTERN Single Partner Relationship 20120103
# Exception Resumable Description Created on
1 CX_BS_SOA_EXCEPTION Error message occurred 20120103
2 CX_MDG_BS_BP_STA_ERROR Fatal error message in Staging occurred 20120103

Method MAP_USMD_MESS_TO_BAPIRET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRETTAB Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20120102
2 Importing IT_USMD_MESSAGE Call by reference Type reference (TYPE) USMD_T_MESSAGE Messages 20120102

Method MAP_USMD_MESS_TO_BAPIRET on class CL_MDG_BPRELSHIP_2_STA has no exception.

Method SET_RELATIONSHIP_TO_STAGING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_STA_BP_CPGEN Call by reference Type reference (TYPE) MDG_BS_BP_BP_CPGEN MDG: Mapping Structure BP_CPGEN 20120314
2 Changing CS_STA_BP_REL Call by reference Type reference (TYPE) MDG_BS_BP_BP_REL MDG: Mapping Structure BP_Header 20120103
3 Exporting ET_RETURN_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20120103
4 Importing IS_STA_BP_REL_DEL Call by reference Type reference (TYPE) MDG_BS_BP_BP_REL MDG: Mapping Structure BP_REL 20120611
5 Importing IT_STA_BP_WPAD Call by reference Type reference (TYPE) TY_STA_BP_WPAD MDG: Preliminary Mapping Table BP_WPAD (workplace address) 20120321
6 Importing IT_STA_BP_WPAD_DEL Call by reference Type reference (TYPE) TY_STA_BP_WPAD MDG: Preliminary Mapping Table BP_WPAD for deletion 20120321
7 Importing IT_STA_WP_EMAIL Call by reference Type reference (TYPE) TY_STA_WP_EMAIL MDG: Preliminary Mapping Table WP_EMAIL (workpl.addr.Emails) 20120321
8 Importing IT_STA_WP_EMAIL_DEL Call by reference Type reference (TYPE) TY_STA_WP_EMAIL MDG: Preliminary Mapping Table WP_EMAIL for deletion 20120321
9 Importing IT_STA_WP_FAX Call by reference Type reference (TYPE) TY_STA_WP_FAX MDG: Preliminary Mapping Table WP_FAX (workpl. addr. FaxNos) 20120321
10 Importing IT_STA_WP_FAX_DEL Call by reference Type reference (TYPE) TY_STA_WP_FAX MDG: Preliminary Mapping Table WP_FAX for deletion 20120321
11 Importing IT_STA_WP_TEL Call by reference Type reference (TYPE) TY_STA_WP_TEL MDG: Preliminary Mapping Table WP_TEL (workpl. addr. TelNos) 20120321
12 Importing IT_STA_WP_TEL_DEL Call by reference Type reference (TYPE) TY_STA_WP_TEL MDG: Preliminary Mapping Table WP_TEL for deletion 20120321
13 Importing IT_STA_WP_URL Call by reference Type reference (TYPE) TY_STA_WP_URL MDG: Preliminary Mapping Table WP_URL (workplace addr. URLs) 20120321
14 Importing IT_STA_WP_URL_DEL Call by reference Type reference (TYPE) TY_STA_WP_URL MDG: Preliminary Mapping Table WP_URL for deletion 20120321
15 Importing IV_NO_CHECK_CREQUEST_LOCK Call by reference Type reference (TYPE) ABAP_BOOL If set, lock of Change Request is not checked 20120103
# Exception Resumable Description Created on
1 CX_BS_SOA_EXCEPTION Error message occurred 20120103
2 CX_MDG_BS_BP_STA_ERROR Fatal error message in Staging occurred 20120103
History
Last changed by/on SAP  20130531 
SAP Release Created in 703