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 ABAP 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 GC_KEYNAME_ADDRESSGUID Constant Public Type reference (TYPE) NAME_KOMP 'ADDRESSGUID' Component name 20111011
2 GC_KEYNAME_ADDRESSTYPE Constant Public Type reference (TYPE) NAME_KOMP 'ADDRESSTYPE' Component name 20111011
3 GC_KEYNAME_BANKDETAILID Constant Public Type reference (TYPE) NAME_KOMP 'BANKID' Component name 20111011
4 GC_KEYNAME_CONSNUMBER Constant Public Type reference (TYPE) NAME_KOMP 'CONSNUMBER' Component name 20111011
5 GC_KEYNAME_IDCATEGORY Constant Public Type reference (TYPE) NAME_KOMP 'IDCATEGORY' Component name 20111011
6 GC_KEYNAME_IDNUMBER Constant Public Type reference (TYPE) NAME_KOMP 'IDNUMBER' Component name 20111011
7 GC_KEYNAME_INDSECTOR Constant Public Type reference (TYPE) NAME_KOMP 'INDSECTOR' Component name 20111011
8 GC_KEYNAME_INDSYSTEM Constant Public Type reference (TYPE) NAME_KOMP 'INDSYSTEM' Component name 20111011
9 GC_KEYNAME_NATION Constant Public Type reference (TYPE) NAME_KOMP 'NATION' Component name 20111011
10 GC_KEYNAME_ROLEID Constant Public Type reference (TYPE) NAME_KOMP 'ROLE' Component name 20111011
11 GC_KEYNAME_TAXTYPE Constant Public Type reference (TYPE) NAME_KOMP 'TAXTYPE' Component name 20111011
12 GO_OBJ_EX_ADDR_TXJCD_CHECK Static Attribute Private Object reference (TYPE REF TO) IF_EX_ADDR_TXJCD_CHECK BAdI Interface IF_EX_ADDR_TXJCD_CHECK 20110207
13 GT_TBZ3Y Static Attribute Private Type reference (TYPE) TBZ3Y_T 20110311
14 GT_TBZ3Y_01 Static Attribute Private Type reference (TYPE) TBZ3Y_01_T 20110310
15 GV_ACT_IMP_ADDR_TXJCD_CHECK Static Attribute Private Type reference (TYPE) ABAP_BOOL 20110207
16 GV_TXJCD_CHECKFUNCTION_EXISTS Static Attribute Private Type reference (TYPE) ABAP_BOOL 20110207
17 GV_XTXJCD_CHECKFUNCTION_CHECK Static Attribute Private Type reference (TYPE) ABAP_BOOL 20110207
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_REQUIRED_FIELDS Static method Public Method Required field checks for data identified by supplied struc 20110201
2 CHECK_REQUIRED_FIELDS_ALL Static method Public Method Execute required field checks for supplied data 20110211
3 CHECK_TAXJURCODE Static method Public Method 20110207
4 COMBINE_FLDSTAT Static method Public Method Merge and calculate fional fldstat. for 2 tables 20110310
5 DETERMINE_TAXJURCODE_FOR Static method Public Method Determine taxjurcode for address data 20110207
6 EXCEPTION_MESSAGE_MAP_STORE Static method Private Method Enhance BAPIRET2 message with additional information 20111006
7 EXCEPTION_MESSAGE_STORE Static method Private Method Insert SY-message to BAPIRET2 message table 20110207
8 FILTER_STRUCNAMES Static method Public Method Adjust dedicated BAPI-structures in transfered list 20110216
9 GET_FIELD_PROPERTIES Static method Public Method Get required fields for data identified by supplied struct. 20110222
10 GET_PARTNER_NUMBER Static method Private Method 20110215
11 RESET_MEMORY Static method Public Method Reset API-memory 20110208
12 VALIDATE_DATA Static method Public Method Data validation for data identified by supplied structure 20110204
13 VALIDATE_DATA_ALL 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 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Messages 20110201
2 Exporting ET_RETURN_MAP Call by reference Type reference (TYPE) MDG_BS_BP_MSGMAP_T Mapping BAPI structure field to message 20110201
3 Importing IS_DATA Call by reference Type reference (TYPE) ANY Data (delta/ current state) 20110201
4 Importing IS_DATA_DB Call by reference Type reference (TYPE) ANY Data (DB state) 20110201
5 Importing IT_STRUCNAMES Call by reference Type reference (TYPE) MDG_BS_BP_STRUCNAMES_T Transfer to perform check based on multiple structures 20110401
6 Importing 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 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Messages 20110211
2 Importing IS_DATA Call by reference Type reference (TYPE) ANY Data (delta/ current state) 20110211
3 Importing 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 Changing CS_ADDRESS1_DATA Call by reference Type reference (TYPE) ADDR1_DATA Address data as used in the API class 20110207
2 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20110207
3 Exporting ET_RETURN_MAP Call by reference Type reference (TYPE) MDG_BS_BP_MSGMAP_T Table type for structure MDG_BS_BP_MSGMAP 20110926
4 Importing IV_ADDRESSGUID Call by reference Type reference (TYPE) SYSUUID_C GUID of address 20110926
5 Importing IV_ADDRESS_NUMBER Call by reference Type reference (TYPE) AD_ADDRNUM Address number 20110207
6 Importing IV_NATION Call by reference Type reference (TYPE) AD_NATION International address version ID 20110207
7 Importing 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 Importing IF_LINKRULE_DIFFERENT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110311
2 Importing IT_FLDSTATUS1 Call by reference Type reference (TYPE) MDG_BS_BP_FLDSTATUS_T Field status list 1 20110310
3 Importing IT_FLDSTATUS2 Call by reference Type reference (TYPE) MDG_BS_BP_FLDSTATUS_T Field status list 1 20110310
4 Returning 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 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20110207
2 Exporting EV_TAXJURCODE Call by reference Type reference (TYPE) AD_TXJCD Tax Jurisdiction 20110207
3 Importing IS_ADDRESS Call by reference Type reference (TYPE) BAPIBUS1006_ADDRESS BAPI Structure for Address Data 20110207
4 Importing IV_ADDRESS_NUMBER Call by reference Type reference (TYPE) AD_ADDRNUM Address number 20110207
5 Importing 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 Changing CT_RETURN_MAP Call by reference Type reference (TYPE) MDG_BS_BP_MSGMAP_T Return parameter table 20111006
2 Importing IF_NO_MAPPING Call by reference Type reference (TYPE) ABAP_BOOL TRUE = no exchange of message-var. with BAPIFLDNM 20111006
3 Importing IS_RETURN Call by reference Type reference (TYPE) BAPIRET2 Original message 20111006
4 Importing IT_DATAKEYS Call by reference Type reference (TYPE) MDG_BS_BP_MSGMAP_KEY_T Key-value-pairs for message mapping 20111006
5 Importing IV_BAPIFLDNM Call by reference Type reference (TYPE) BU_BAPIFLDNM Name of BAPI-field 20111006
6 Importing 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 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20110207
2 Exporting ES_RETURN Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20110207
3 Importing 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 Changing 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 Importing IS_DATA Call by reference Type reference (TYPE) ANY Data (delta/ current state) 20110222
2 Importing IS_DATA_DB Call by reference Type reference (TYPE) ANY Data (DB state) 20110222
3 Importing IV_STRUCNAME Call by reference Type reference (TYPE) BU_BAPISTRC BP: BAPI Structure Name in Database 20110222
4 Returning 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 Exporting EF_CHECK_EXT_NUMBERING Call by reference Type reference (TYPE) ABAP_BOOL 20110215
2 Exporting EV_PARTNER Call by reference Type reference (TYPE) BU_PARTNER Business Partner Number 20110215
3 Importing 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 Importing 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 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Messages 20110204
2 Exporting ET_RETURN_MAP Call by reference Type reference (TYPE) MDG_BS_BP_MSGMAP_T Mapping BAPI structure field to message 20110204
3 Importing IS_DATA Call by reference Type reference (TYPE) ANY Data (delta/ current state) 20110204
4 Importing IS_DATA_DB Call by reference Type reference (TYPE) ANY Data (DB state) 20110204
5 Importing IT_STRUCNAMES Call by reference Type reference (TYPE) MDG_BS_BP_STRUCNAMES_T Transfer to perform check based on multiple structures 20110401
6 Importing 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 Importing 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 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Messages 20110211
2 Importing IS_DATA Call by reference Type reference (TYPE) ANY Data (delta/ current state) 20110211
3 Importing 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