SAP ABAP Class CL_MDG_BP_2_STA (MDG: Write Business Partner into staging)
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
⤷
⤷
Properties
| Class | CL_MDG_BP_2_STA | |
| Short Description | MDG: Write Business Partner into staging | |
| 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 | 20091030 | SAP |
| Last change | 20110908 | 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) |
Interfaces
Class CL_MDG_BP_2_STA has no interface implemented.
Friends
Class CL_MDG_BP_2_STA has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | USMD_OTC | '147' | Object Type Code | 20100111 | ||
| 2 | Constant | Protected | Type reference (TYPE) | BU_TYPE | '3' | Business partner category | 20110616 | ||
| 3 | Constant | Protected | Type reference (TYPE) | BU_TYPE | '2' | Business partner category: Organization | 20091106 | ||
| 4 | Constant | Protected | Type reference (TYPE) | BU_TYPE | '1' | Business partner category: Person | 20091106 | ||
| 5 | Instance attribute | Public | Type reference (TYPE) | USMD_CREQUEST | 20091207 | ||||
| 6 | Static Attribute | Private | Type reference (TYPE) | USMD_MODEL | Data Model | 20100111 | |||
| 7 | Static Attribute | Public | Type reference (TYPE) | USMD_VALUE | Characteristic Value | 20091124 | |||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_USMD_CREQUEST_API | Change Request API Interface | 20091030 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_USMD_GOV_API | Governance API | 20101108 | |||
| 10 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_MDG_BP_2_STA | MDG: Write Business Partner into staging | 20091030 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check Change Request | 20091103 | |
| 2 | Static method | Public | Method | Check whether BP is locked already | 20100111 | |
| 3 | Static method | Public | Constructor | 20100111 | ||
| 4 | Instance method | Private | Method | Create ChangeRequest API Reference, set attribute MY_CR | 20091102 | |
| 5 | Instance method | Public | Method | Save ChangeRequest | 20091030 | |
| 6 | Static method | Public | Method | Factory method to get the object reference | 20091030 | |
| 7 | Instance method | Private | Method | SMT error handling | 20091102 | |
| 8 | Instance method | Private | Method | map BP to staging structures/tables | 20091030 | |
| 9 | Static method | Public | Method | Map usmd_t_message to BAPIRETTAB | 20091102 | |
| 10 | Instance method | Private | Method | set BP into Change Request API | 20091030 | |
| 11 | Instance method | Public | Method | write into Change Request | 20091030 | |
| 12 | Instance method | Private | Method | write Supplier into Change Request | 20091030 |
Events
Class CL_MDG_BP_2_STA has no event.
Types
Class CL_MDG_BP_2_STA has no local type.
Method Signatures
Method CHECK_CR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20091103 |
Method CHECK_CR on class CL_MDG_BP_2_STA has no exception.
Method CHECK_CREQUEST_LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CREQUEST | Call by reference | Type reference (TYPE) | USMD_TS_CREQUEST | Engineering Change Request | 20100111 | |||
| 2 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100111 | |||
| 3 | IV_BPARTNER | Call by reference | Type reference (TYPE) | BU_PARTNER | Business Partner Number | 20100111 | |||
| 4 | IV_BPARTNER_GUID | Call by reference | Type reference (TYPE) | BU_PARTNER_GUID_BAPI | GUID of a Business Partner in CHAR 32 Format for BAPIs | 20100111 |
Method CHECK_CREQUEST_LOCK on class CL_MDG_BP_2_STA has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_MDG_BP_2_STA has no parameter.
Method CLASS_CONSTRUCTOR on class CL_MDG_BP_2_STA has no exception.
Method CREATE_CR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20091102 | |||
| 2 | IV_CREQ_TEXT | Call by reference | Type reference (TYPE) | USMD_TXTLG | CR Text | 20100723 | |||
| 3 | IV_CREQ_TYPE | Call by reference | Type reference (TYPE) | USMD_CREQUEST_TYPE | CR Type | 20091120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fatal error message in Staging occurred | 20091105 |
Method DO_SAVE_CR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20091030 |
Method DO_SAVE_CR on class CL_MDG_BP_2_STA has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_MDG_BP_2_STA | MDG: Write Business Partner into staging | 20091030 |
Method GET_INSTANCE on class CL_MDG_BP_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 | IX_SMT_ERROR | Call by reference | Object reference (TYPE REF TO) | CX_SMT_ERROR | Error | 20091102 | |||
| 2 | RT_RETURN_MESSAGES | Value transfer | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20091102 |
Method HANDLE_SMT_ERROR on class CL_MDG_BP_2_STA has no exception.
Method MAP_BP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_STA_BP_CENTRL | Call by reference | Type reference (TYPE) | MDG_BS_BP_BP_CENTRL | MDG: Mapping Structure BP_CENTRL | 20091030 | |||
| 2 | ES_STA_BP_HEADER | Call by reference | Type reference (TYPE) | MDG_BS_BP_BP_HEADER | MDG: Mapping Structure BP_Header | 20091030 | |||
| 3 | ET_RETURN_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20091102 | |||
| 4 | ET_STA_ADDRESS | Call by reference | Type reference (TYPE) | TY_STA_ADDRESS | 20100823 | ||||
| 5 | ET_STA_ADDRESS_DEL | Call by reference | Type reference (TYPE) | TY_STA_ADDRESS | 20101223 | ||||
| 6 | ET_STA_AD_EMAIL | Call by reference | Type reference (TYPE) | TY_STA_AD_EMAIL | MDG: Preliminary Mapping Table AD_EMAIL | 20091030 | |||
| 7 | ET_STA_AD_EMAIL_DEL | Call by reference | Type reference (TYPE) | TY_STA_AD_EMAIL | MDG: Preliminary Mapping Table AD_EMAIL for deletion | 20101223 | |||
| 8 | ET_STA_AD_FAX | Call by reference | Type reference (TYPE) | TY_STA_AD_FAX | MDG: Preliminary Mapping Table AD_FAX | 20091030 | |||
| 9 | ET_STA_AD_FAX_DEL | Call by reference | Type reference (TYPE) | TY_STA_AD_FAX | MDG: Preliminary Mapping Table AD_FAX for deletion | 20101223 | |||
| 10 | ET_STA_AD_NAME_O | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDR_ORG | 20091106 | ||||
| 11 | ET_STA_AD_NAME_O_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDR_ORG | 20101223 | ||||
| 12 | ET_STA_AD_NAME_P | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDR_PERS | 20091106 | ||||
| 13 | ET_STA_AD_NAME_P_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDR_PERS | 20101223 | ||||
| 14 | ET_STA_AD_POSTAL | Call by reference | Type reference (TYPE) | TY_STA_AD_POSTAL | MDG: Preliminary Mapping Table AD_POSTAL | 20091030 | |||
| 15 | ET_STA_AD_POSTAL_DEL | Call by reference | Type reference (TYPE) | TY_STA_AD_POSTAL | MDG: Preliminary Mapping Table AD_POSTAL for deletion | 20101223 | |||
| 16 | ET_STA_AD_TEL | Call by reference | Type reference (TYPE) | TY_STA_AD_TEL | MDG: Preliminary Mapping Table AD_TEL | 20091030 | |||
| 17 | ET_STA_AD_TEL_DEL | Call by reference | Type reference (TYPE) | TY_STA_AD_TEL | MDG: Preliminary Mapping Table AD_TEL for deletion | 20101223 | |||
| 18 | ET_STA_AD_URL | Call by reference | Type reference (TYPE) | TY_STA_AD_URL | MDG: Preliminary Mapping Table AD_URL | 20091030 | |||
| 19 | ET_STA_AD_URL_DEL | Call by reference | Type reference (TYPE) | TY_STA_AD_URL | MDG: Preliminary Mapping Table AD_URL for deletion | 20101223 | |||
| 20 | ET_STA_BP_ADDR | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDR | MDG: Preliminary Mapping Table BP_ADDR | 20091030 | |||
| 21 | ET_STA_BP_ADDR_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDR | MDG: Preliminary Mapping Table BP_ADDR for deletion | 20101223 | |||
| 22 | ET_STA_BP_ADDUSG | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDUSG | 20091104 | ||||
| 23 | ET_STA_BP_ADDUSG_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDUSG | 20101223 | ||||
| 24 | ET_STA_BP_BKDTL | Call by reference | Type reference (TYPE) | TY_STA_BP_BKDTL | MDG: Mapping Table BP_BKDTL | 20091030 | |||
| 25 | ET_STA_BP_BKDTL_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_BKDTL | MDG: Mapping Table BP_BKDTL for deletion | 20101215 | |||
| 26 | ET_STA_BP_IDNUM | Call by reference | Type reference (TYPE) | TY_STA_BP_IDNUM | MDG: Mapping Table BP_IDNUM | 20091030 | |||
| 27 | ET_STA_BP_IDNUM_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_IDNUM | MDG: Mapping Table BP_IDNUM for deletion | 20101215 | |||
| 28 | ET_STA_BP_INDSTR | Call by reference | Type reference (TYPE) | TY_STA_BP_INDSTR | MDG: Mapping Table BP_INDSTR | 20091030 | |||
| 29 | ET_STA_BP_INDSTR_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_INDSTR | MDG: Mapping Table BP_INDSTR for deletion | 20101215 | |||
| 30 | ET_STA_BP_ROLE | Call by reference | Type reference (TYPE) | TY_STA_BP_ROLE | MDG: Mapping Table BP_ROLE | 20091030 | |||
| 31 | ET_STA_BP_TAXNUM | Call by reference | Type reference (TYPE) | TY_STA_BP_TAXNUM | MDG: Mapping Table BP_TAXNUM | 20091030 | |||
| 32 | ET_STA_BP_TAXNUM_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_TAXNUM | MDG: Mapping Table BP_TAXNUM for deletion | 20101215 | |||
| 33 | IS_BP | Call by reference | Type reference (TYPE) | BUS_EI_EXTERN | Complex External Interface of a Business Partner | 20091030 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20091210 |
Method MAP_USMD_MESS_TO_BAPIRET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_BAPIRETTAB | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20091102 | |||
| 2 | IT_USMD_MESSAGE | Call by reference | Type reference (TYPE) | USMD_T_MESSAGE | Messages | 20091102 |
Method MAP_USMD_MESS_TO_BAPIRET on class CL_MDG_BP_2_STA has no exception.
Method SET_BP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_STA_BP_CENTRL | Call by reference | Type reference (TYPE) | MDG_BS_BP_BP_CENTRL | MDG: Mapping Structure BP_CENTRL | 20091104 | |||
| 2 | CS_STA_BP_HEADER | Call by reference | Type reference (TYPE) | MDG_BS_BP_BP_HEADER | MDG: Mapping Structure BP_Header | 20091104 | |||
| 3 | ET_RETURN_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20091102 | |||
| 4 | IT_STA_ADDRESS | Call by reference | Type reference (TYPE) | TY_STA_ADDRESS | 20100823 | ||||
| 5 | IT_STA_ADDRESS_DEL | Call by reference | Type reference (TYPE) | TY_STA_ADDRESS | 20110103 | ||||
| 6 | IT_STA_AD_EMAIL | Call by reference | Type reference (TYPE) | TY_STA_AD_EMAIL | MDG: Preliminary Mapping Table AD_EMAIL | 20091103 | |||
| 7 | IT_STA_AD_EMAIL_DEL | Call by reference | Type reference (TYPE) | TY_STA_AD_EMAIL | MDG: Preliminary Mapping Table AD_EMAIL for deletion | 20110103 | |||
| 8 | IT_STA_AD_FAX | Call by reference | Type reference (TYPE) | TY_STA_AD_FAX | MDG: Preliminary Mapping Table AD_FAX | 20091103 | |||
| 9 | IT_STA_AD_FAX_DEL | Call by reference | Type reference (TYPE) | TY_STA_AD_FAX | MDG: Preliminary Mapping Table AD_FAX for deletion | 20110103 | |||
| 10 | IT_STA_AD_NAME_O | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDR_ORG | 20091106 | ||||
| 11 | IT_STA_AD_NAME_O_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDR_ORG | 20110103 | ||||
| 12 | IT_STA_AD_NAME_P | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDR_PERS | 20091106 | ||||
| 13 | IT_STA_AD_NAME_P_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDR_PERS | 20110103 | ||||
| 14 | IT_STA_AD_POSTAL | Call by reference | Type reference (TYPE) | TY_STA_AD_POSTAL | 20091104 | ||||
| 15 | IT_STA_AD_POSTAL_DEL | Call by reference | Type reference (TYPE) | TY_STA_AD_POSTAL | 20110103 | ||||
| 16 | IT_STA_AD_TEL | Call by reference | Type reference (TYPE) | TY_STA_AD_TEL | MDG: Preliminary Mapping Table AD_EMAIL | 20091103 | |||
| 17 | IT_STA_AD_TEL_DEL | Call by reference | Type reference (TYPE) | TY_STA_AD_TEL | MDG: Preliminary Mapping Table AD_EMAIL for deletion | 20110103 | |||
| 18 | IT_STA_AD_URL | Call by reference | Type reference (TYPE) | TY_STA_AD_URL | MDG: Preliminary Mapping Table AD_FAX | 20091103 | |||
| 19 | IT_STA_AD_URL_DEL | Call by reference | Type reference (TYPE) | TY_STA_AD_URL | MDG: Preliminary Mapping Table AD_FAX for deletion | 20110103 | |||
| 20 | IT_STA_BP_ADDR | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDR | MDG: Preliminary Mapping Table BP_ADDR | 20091103 | |||
| 21 | IT_STA_BP_ADDR_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDR | MDG: Preliminary Mapping Table BP_ADDR for deletion | 20110103 | |||
| 22 | IT_STA_BP_ADDUSG | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDUSG | 20091104 | ||||
| 23 | IT_STA_BP_ADDUSG_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_ADDUSG | 20110103 | ||||
| 24 | IT_STA_BP_BKDTL | Call by reference | Type reference (TYPE) | TY_STA_BP_BKDTL | MDG: Mapping Table BP_BKDTL | 20091103 | |||
| 25 | IT_STA_BP_BKDTL_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_BKDTL | MDG: Mapping Table BP_BKDTL for deletion | 20101216 | |||
| 26 | IT_STA_BP_IDNUM | Call by reference | Type reference (TYPE) | TY_STA_BP_IDNUM | MDG: Mapping Table BP_IDNUM | 20091103 | |||
| 27 | IT_STA_BP_IDNUM_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_IDNUM | MDG: Mapping Table BP_IDNUM for deletion | 20101216 | |||
| 28 | IT_STA_BP_INDSTR | Call by reference | Type reference (TYPE) | TY_STA_BP_INDSTR | MDG: Mapping Table BP_INDSTR | 20091103 | |||
| 29 | IT_STA_BP_INDSTR_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_INDSTR | MDG: Mapping Table BP_INDSTR for deletion | 20101216 | |||
| 30 | IT_STA_BP_ROLE | Call by reference | Type reference (TYPE) | TY_STA_BP_ROLE | MDG: Mapping Table BP_ROLE | 20091103 | |||
| 31 | IT_STA_BP_TAXNUM | Call by reference | Type reference (TYPE) | TY_STA_BP_TAXNUM | MDG: Mapping Table BP_TAXNUM | 20091103 | |||
| 32 | IT_STA_BP_TAXNUM_DEL | Call by reference | Type reference (TYPE) | TY_STA_BP_TAXNUM | MDG: Mapping Table BP_TAXNUM for deletion | 20101216 | |||
| 33 | IV_NO_CHECK_CREQUEST_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100111 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20091104 | ||
| 2 | Fatal error message in Staging occurred | 20091105 |
Method WRITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_BP_API | Call by reference | Type reference (TYPE) | MDG_BS_BP_S_EXTERN | Structure for business partner | 20091104 | |||
| 2 | ET_RETURN_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20091030 | |||
| 3 | IV_CREQ_TEXT | Call by reference | Type reference (TYPE) | USMD_TXTLG | CR Text | 20100723 | |||
| 4 | IV_CREQ_TYPE | Call by reference | Type reference (TYPE) | USMD_CREQUEST_TYPE | CR Type | 20091120 | |||
| 5 | IV_NO_CHECK_CREQUEST_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100111 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20091104 | ||
| 2 | Fatal error message in Staging occurred | 20091105 |
Method WRITE_SUPPLIER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20091030 | |||
| 2 | IS_BP_API | Call by reference | Type reference (TYPE) | MDG_BS_BP_S_EXTERN | Structure for business partner | 20091030 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fatal error message in Staging occurred | 20091105 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 702 |