SAP ABAP Class CL_MDG_BS_FND_BP_CHECK_SERVICE (Public checks for BP data)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-MDG-APP-BP (Application Component) MDG Business Partner (Central Part)
⤷
MDG_BS_BP_CHECK (Package) MDG: Business Partner - Checks
⤷
⤷
Properties
| Class | CL_MDG_BS_FND_BP_CHECK_SERVICE | |
| Short Description | Public checks for BP data | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | MDG_BS_BP_CHECK | MDG: Business Partner - Checks |
| Created | 20110201 | SAP |
| Last change | 20130531 | 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_BS_FND_BP_CHECK_SERVICE has no interface implemented.
Friends
Class CL_MDG_BS_FND_BP_CHECK_SERVICE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | NAME_KOMP | 'ADDRESSGUID' | Component name | 20111011 | ||
| 2 | Constant | Public | Type reference (TYPE) | NAME_KOMP | 'ADDRESSTYPE' | Component name | 20111011 | ||
| 3 | Constant | Public | Type reference (TYPE) | NAME_KOMP | 'BANKID' | Component name | 20111011 | ||
| 4 | Constant | Public | Type reference (TYPE) | NAME_KOMP | 'CONSNUMBER' | Component name | 20111011 | ||
| 5 | Constant | Public | Type reference (TYPE) | NAME_KOMP | 'IDCATEGORY' | Component name | 20111011 | ||
| 6 | Constant | Public | Type reference (TYPE) | NAME_KOMP | 'IDNUMBER' | Component name | 20111011 | ||
| 7 | Constant | Public | Type reference (TYPE) | NAME_KOMP | 'INDSECTOR' | Component name | 20111011 | ||
| 8 | Constant | Public | Type reference (TYPE) | NAME_KOMP | 'INDSYSTEM' | Component name | 20111011 | ||
| 9 | Constant | Public | Type reference (TYPE) | NAME_KOMP | 'NATION' | Component name | 20111011 | ||
| 10 | Constant | Public | Type reference (TYPE) | NAME_KOMP | 'ROLE' | Component name | 20111011 | ||
| 11 | Constant | Public | Type reference (TYPE) | NAME_KOMP | 'TAXTYPE' | Component name | 20111011 | ||
| 12 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_EX_ADDR_TXJCD_CHECK | BAdI Interface IF_EX_ADDR_TXJCD_CHECK | 20110207 | |||
| 13 | Static Attribute | Private | Type reference (TYPE) | TBZ3Y_T | 20110311 | ||||
| 14 | Static Attribute | Private | Type reference (TYPE) | TBZ3Y_01_T | 20110310 | ||||
| 15 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20110207 | ||||
| 16 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20110207 | ||||
| 17 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20110207 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Required field checks for data identified by supplied struc | 20110201 | |
| 2 | Static method | Public | Method | Execute required field checks for supplied data | 20110211 | |
| 3 | Static method | Public | Method | 20110207 | ||
| 4 | Static method | Public | Method | Merge and calculate fional fldstat. for 2 tables | 20110310 | |
| 5 | Static method | Public | Method | Determine taxjurcode for address data | 20110207 | |
| 6 | Static method | Private | Method | Enhance BAPIRET2 message with additional information | 20111006 | |
| 7 | Static method | Private | Method | Insert SY-message to BAPIRET2 message table | 20110207 | |
| 8 | Static method | Public | Method | Adjust dedicated BAPI-structures in transfered list | 20110216 | |
| 9 | Static method | Public | Method | Get required fields for data identified by supplied struct. | 20110222 | |
| 10 | Static method | Private | Method | 20110215 | ||
| 11 | Static method | Public | Method | Reset API-memory | 20110208 | |
| 12 | Static method | Public | Method | Data validation for data identified by supplied structure | 20110204 | |
| 13 | Static method | Public | Method | Execute data validation for supplied data | 20110211 |
Events
Class CL_MDG_BS_FND_BP_CHECK_SERVICE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TBZ3Y_01_T | Private | See coding | 20110310 | TBZ3Y_01_T type table of TBZ3Y_01
|
||
| 2 | TBZ3Y_T | Private | See coding | 20110311 | TBZ3Y_T type table of TBZ3Y
|
Method Signatures
Method CHECK_REQUIRED_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Messages | 20110201 | |||
| 2 | ET_RETURN_MAP | Call by reference | Type reference (TYPE) | MDG_BS_BP_MSGMAP_T | Mapping BAPI structure field to message | 20110201 | |||
| 3 | IS_DATA | Call by reference | Type reference (TYPE) | ANY | Data (delta/ current state) | 20110201 | |||
| 4 | IS_DATA_DB | Call by reference | Type reference (TYPE) | ANY | Data (DB state) | 20110201 | |||
| 5 | IT_STRUCNAMES | Call by reference | Type reference (TYPE) | MDG_BS_BP_STRUCNAMES_T | Transfer to perform check based on multiple structures | 20110401 | |||
| 6 | IV_STRUCNAME | Call by reference | Type reference (TYPE) | BU_BAPISTRC | Transfer to perform check based on single structure | 20110201 |
Method CHECK_REQUIRED_FIELDS on class CL_MDG_BS_FND_BP_CHECK_SERVICE has no exception.
Method CHECK_REQUIRED_FIELDS_ALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Messages | 20110211 | |||
| 2 | IS_DATA | Call by reference | Type reference (TYPE) | ANY | Data (delta/ current state) | 20110211 | |||
| 3 | IS_DATA_DB | Call by reference | Type reference (TYPE) | ANY | Data (DB state) | 20110211 |
Method CHECK_REQUIRED_FIELDS_ALL on class CL_MDG_BS_FND_BP_CHECK_SERVICE has no exception.
Method CHECK_TAXJURCODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_ADDRESS1_DATA | Call by reference | Type reference (TYPE) | ADDR1_DATA | Address data as used in the API class | 20110207 | |||
| 2 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20110207 | |||
| 3 | ET_RETURN_MAP | Call by reference | Type reference (TYPE) | MDG_BS_BP_MSGMAP_T | Table type for structure MDG_BS_BP_MSGMAP | 20110926 | |||
| 4 | IV_ADDRESSGUID | Call by reference | Type reference (TYPE) | SYSUUID_C | GUID of address | 20110926 | |||
| 5 | IV_ADDRESS_NUMBER | Call by reference | Type reference (TYPE) | AD_ADDRNUM | Address number | 20110207 | |||
| 6 | IV_NATION | Call by reference | Type reference (TYPE) | AD_NATION | International address version ID | 20110207 | |||
| 7 | IV_STRUCNAME | Call by reference | Type reference (TYPE) | BU_BAPISTRC | Name of a structure | 20110926 |
Method CHECK_TAXJURCODE on class CL_MDG_BS_FND_BP_CHECK_SERVICE has no exception.
Method COMBINE_FLDSTAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_LINKRULE_DIFFERENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110311 | |||
| 2 | IT_FLDSTATUS1 | Call by reference | Type reference (TYPE) | MDG_BS_BP_FLDSTATUS_T | Field status list 1 | 20110310 | |||
| 3 | IT_FLDSTATUS2 | Call by reference | Type reference (TYPE) | MDG_BS_BP_FLDSTATUS_T | Field status list 1 | 20110310 | |||
| 4 | RT_FLDSTATUS_COMBINED | Value transfer | Type reference (TYPE) | MDG_BS_BP_FLDSTATUS_T | Resulting list of fields with calc. fldstat. | 20110310 |
Method COMBINE_FLDSTAT on class CL_MDG_BS_FND_BP_CHECK_SERVICE has no exception.
Method DETERMINE_TAXJURCODE_FOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20110207 | |||
| 2 | EV_TAXJURCODE | Call by reference | Type reference (TYPE) | AD_TXJCD | Tax Jurisdiction | 20110207 | |||
| 3 | IS_ADDRESS | Call by reference | Type reference (TYPE) | BAPIBUS1006_ADDRESS | BAPI Structure for Address Data | 20110207 | |||
| 4 | IV_ADDRESS_NUMBER | Call by reference | Type reference (TYPE) | AD_ADDRNUM | Address number | 20110207 | |||
| 5 | IV_NATION | Call by reference | Type reference (TYPE) | AD_NATION | International address version ID | 20110207 |
Method DETERMINE_TAXJURCODE_FOR on class CL_MDG_BS_FND_BP_CHECK_SERVICE has no exception.
Method EXCEPTION_MESSAGE_MAP_STORE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_RETURN_MAP | Call by reference | Type reference (TYPE) | MDG_BS_BP_MSGMAP_T | Return parameter table | 20111006 | |||
| 2 | IF_NO_MAPPING | Call by reference | Type reference (TYPE) | ABAP_BOOL | TRUE = no exchange of message-var. with BAPIFLDNM | 20111006 | |||
| 3 | IS_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2 | Original message | 20111006 | |||
| 4 | IT_DATAKEYS | Call by reference | Type reference (TYPE) | MDG_BS_BP_MSGMAP_KEY_T | Key-value-pairs for message mapping | 20111006 | |||
| 5 | IV_BAPIFLDNM | Call by reference | Type reference (TYPE) | BU_BAPIFLDNM | Name of BAPI-field | 20111006 | |||
| 6 | IV_STRUCNAME | Call by reference | Type reference (TYPE) | BU_BAPISTRC | Name of a (BAPI) structure | 20111006 |
Method EXCEPTION_MESSAGE_MAP_STORE on class CL_MDG_BS_FND_BP_CHECK_SERVICE has no exception.
Method EXCEPTION_MESSAGE_STORE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20110207 | |||
| 2 | ES_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2 | Return Parameter | 20110207 | |||
| 3 | IV_FIELD | Call by reference | Type reference (TYPE) | BAPI_FLD | Field in parameter | 20110207 |
Method EXCEPTION_MESSAGE_STORE on class CL_MDG_BS_FND_BP_CHECK_SERVICE has no exception.
Method FILTER_STRUCNAMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_STRUCNAMES | Call by reference | Type reference (TYPE) | MDG_BS_BP_STRUCNAMES_T | Table type for DE BU_BAPISTRC | 20110216 |
Method FILTER_STRUCNAMES on class CL_MDG_BS_FND_BP_CHECK_SERVICE has no exception.
Method GET_FIELD_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DATA | Call by reference | Type reference (TYPE) | ANY | Data (delta/ current state) | 20110222 | |||
| 2 | IS_DATA_DB | Call by reference | Type reference (TYPE) | ANY | Data (DB state) | 20110222 | |||
| 3 | IV_STRUCNAME | Call by reference | Type reference (TYPE) | BU_BAPISTRC | BP: BAPI Structure Name in Database | 20110222 | |||
| 4 | RT_FIELDSTATUS | Value transfer | Type reference (TYPE) | MDG_BS_BP_FLDSTATUS_T | Field status for each field in IV_STRUCNAME | 20110222 |
Method GET_FIELD_PROPERTIES on class CL_MDG_BS_FND_BP_CHECK_SERVICE has no exception.
Method GET_PARTNER_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_CHECK_EXT_NUMBERING | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110215 | ||||
| 2 | EV_PARTNER | Call by reference | Type reference (TYPE) | BU_PARTNER | Business Partner Number | 20110215 | |||
| 3 | IS_DATA | Call by reference | Type reference (TYPE) | ANY | 20110215 |
Method GET_PARTNER_NUMBER on class CL_MDG_BS_FND_BP_CHECK_SERVICE has no exception.
Method RESET_MEMORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PARTNER | Call by reference | Type reference (TYPE) | BU_PARTNER | Business Partner Number | 20110208 |
Method RESET_MEMORY on class CL_MDG_BS_FND_BP_CHECK_SERVICE has no exception.
Method VALIDATE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Messages | 20110204 | |||
| 2 | ET_RETURN_MAP | Call by reference | Type reference (TYPE) | MDG_BS_BP_MSGMAP_T | Mapping BAPI structure field to message | 20110204 | |||
| 3 | IS_DATA | Call by reference | Type reference (TYPE) | ANY | Data (delta/ current state) | 20110204 | |||
| 4 | IS_DATA_DB | Call by reference | Type reference (TYPE) | ANY | Data (DB state) | 20110204 | |||
| 5 | IT_STRUCNAMES | Call by reference | Type reference (TYPE) | MDG_BS_BP_STRUCNAMES_T | Transfer to perform check based on multiple structures | 20110401 | |||
| 6 | IV_CHECK_EXT_NUM | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Flag for check of partner id and existence check | 20110207 | ||
| 7 | IV_STRUCNAME | Call by reference | Type reference (TYPE) | BU_BAPISTRC | Transfer to perform check based on single structure | 20110204 |
Method VALIDATE_DATA on class CL_MDG_BS_FND_BP_CHECK_SERVICE has no exception.
Method VALIDATE_DATA_ALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Messages | 20110211 | |||
| 2 | IS_DATA | Call by reference | Type reference (TYPE) | ANY | Data (delta/ current state) | 20110211 | |||
| 3 | IS_DATA_DB | Call by reference | Type reference (TYPE) | ANY | Data (DB state) | 20110211 |
Method VALIDATE_DATA_ALL on class CL_MDG_BS_FND_BP_CHECK_SERVICE has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 703 |