SAP ABAP Interface /TDAG/IF_EX_CP_BADI_006 (Business add-in interface /TDAG/IF_EX_CP_BADI_006)
Hierarchy
TDAGBCA (Software Component) TechniData Basic Components
   EHS (Application Component) Environment, Health and Safety
     /TDAG/CP (Package) Compliance for products
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /TDAG/CL_DEF_IM_CP_BADI_006 Default Implementation for BAdI /TDAG/CP_BADI_006 20080710
2 Interface implementation (CLASS c. INTERFACES i_ref)  /TDAG/CL_EXM_IM_CP_BADI_006 Example Implementation for BAdI /TDAG/CP_BADI_006 20080710
3 Interface implementation (CLASS c. INTERFACES i_ref)  /TDAG/CL_EX_CP_BADI_006 BAdI class /TDAG/CL_EX_CP_BADI_006 20080710
Properties
Interface /TDAG/IF_EX_CP_BADI_006  
Short Description Business add-in interface /TDAG/IF_EX_CP_BADI_006    
General Data
Package /TDAG/CP   Compliance for products 
Created 20080710   SAP 
Last changed 20141109    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ESP1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Interface /TDAG/IF_EX_CP_BADI_006 has no interface.
Friends
Interface /TDAG/IF_EX_CP_BADI_006 has no friend.
Attributes
Interface /TDAG/IF_EX_CP_BADI_006 has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 ADDR_READ Instance method Public Method Determine business partner and personal address data 20080710
2 COUNTRY_READ Instance method Public Method Determine country/regulation data 20080710
3 OR_CREATE Instance method Public Method Create representative address data 20090720
4 OR_DELETE Instance method Public Method Delete representative address data 20090720
5 OR_LOCK Instance method Public Method Lock/unlock representative address data 20090721
6 OR_UPDATE Instance method Public Method Update representative address data 20090720
7 REPR_CHECK Instance method Public Method Check representative assignment data 20090619
8 REPR_LOCK Instance method Public Method Lock/unlock representative assignment data 20090619
9 REPR_READ Instance method Public Method Determine representative(s) of vendor 20090127
10 REPR_RECN Instance method Public Method Get RECN for new OR assignment 20090625
11 REPR_WRITE Instance method Public Method Update representative(s) assignment 20090209
Events
Interface /TDAG/IF_EX_CP_BADI_006 has no event.
Types
Interface /TDAG/IF_EX_CP_BADI_006 has no local type.
Method Signatures

Method ADDR_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ADDR_COMPANY Call by reference Type reference (TYPE) /TDAG/CPS_ADDR_COMPANY Company address data 20080710
2 Exporting ES_ADDR_PERSON Call by reference Type reference (TYPE) /TDAG/CPS_ADDR_PERSON Contact address data 20080710
3 Exporting ES_ADRD Call by reference Type reference (TYPE) /TDAG/CPS_ADRD CP: expanded data for business partner 20080710
4 Exporting ES_ADRPD Call by reference Type reference (TYPE) /TDAG/CPS_ADRPD CP: expanded data for personal partner 20080710
5 Exporting ET_ADDR_PERSON Call by reference Type reference (TYPE) /TDAG/CPY_ADDR_PERSON CP: Personal Address 20080710
6 Importing I_ADRNR Value transfer Type reference (TYPE) AD_ADDRNUM Address number of business partner to directly read business 20080710
7 Importing I_FLG_COMP Value transfer Type reference (TYPE) FLAG ESP1_FALSE Flag: Read company data 20080710
8 Importing I_FLG_DET_WITH_OR Value transfer Type reference (TYPE) FLAG ESP1_TRUE Flag: Partner determination with Only Representative 20090701
9 Importing I_FLG_DIRECT Value transfer Type reference (TYPE) FLAG ESP1_FALSE Flag: Directly read vendor (no partner detection for vendor) 20080710
10 Importing I_FLG_PERS Value transfer Type reference (TYPE) FLAG ESP1_FALSE Flag: Read personal address data 20080710
11 Importing I_FLG_WITH_ADD_INFO Value transfer Type reference (TYPE) FLAG ESP1_FALSE Flag: Read additional information (vendor/customer account) 20090723
12 Importing I_KUNNR Value transfer Type reference (TYPE) KUNNR Customer number (read with partner detection) 20080710
13 Importing I_KUNNR_EXT Value transfer Type reference (TYPE) /TDAG/CPS_KUNNR_EXT Extended customer data to read partner functions (not needed 20080710
14 Importing I_LGENT Value transfer Type reference (TYPE) BUKRS Legal entity name 20090723
15 Importing I_LIFNR Value transfer Type reference (TYPE) /TDAG/CPE_SUPPLIER Vendor number (read with partner detection or directly if I_ 20080710
16 Importing I_LIFNR_EXT Value transfer Type reference (TYPE) /TDAG/CPS_LIFNR_EXT Extended vendor data to read partner functions (not needed t 20080710
17 Importing I_MATNR Value transfer Type reference (TYPE) MATNR Material number for partner determination with OR 20100701
18 Importing I_PERSNR Value transfer Type reference (TYPE) AD_PERSNUM Personal number to directly read business partner and person 20080710
19 Importing I_UNAME Value transfer Type reference (TYPE) SY-UNAME User name (only CP) 20080710
20 Importing I_VALDAT Value transfer Type reference (TYPE) SY-DATUM SY-DATUM Validity date 20080710
# Exception Resumable Description Created on
1 INTERNAL_ERROR Internal error 20080711
2 SEL_NOT_DEFINED No selection parameter given 20080710
3 SEL_NOT_FOUND No data to selection found 20080710
4 SEL_NOT_UNIQUE No unique data to selection 20080710
5 SEL_PARAM_ERROR Invalid selection parameter 20080710

Method COUNTRY_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_COUNTRY Value transfer Type reference (TYPE) LAND1 Country of business partner 20080710
2 Exporting E_FLG_WITHIN_REGUL_AREA Value transfer Type reference (TYPE) FLAG Flag: Within regulation area? 20080710
3 Importing I_KUNNR Value transfer Type reference (TYPE) KUNNR Customer number 20080710
4 Importing I_LIFNR Value transfer Type reference (TYPE) LIFNR Vendor number 20080710
5 Importing I_REGUL_LIST Value transfer Type reference (TYPE) ESESLSTID Regulatory list (used to read determination function in Cust 20080710
# Exception Resumable Description Created on
1 CUSTOMIZING_ERROR Customizing error 20080710
2 INTERNAL_ERROR Internal error 20080710
3 PARAM_ERROR Parameter error 20080710
4 PARTNER_NOT_FOUND Given business partner not found 20080710

Method OR_CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAL_T_MSG Application Log: Table with Messages 20090720
2 Exporting EV_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Error flag 20090720
3 Importing IV_FLG_COMMIT Call by reference Type reference (TYPE) ESP1_BOOLEAN ESP1_FALSE Flag: Commit data with CALL TRANSACTION 20090720
4 Changing XT_ONLY_REP Call by reference Type reference (TYPE) /TDAG/CPYH_ONLY_REP_DATA Only representative data 20090720

Method OR_CREATE on Interface /TDAG/IF_EX_CP_BADI_006 has no exception.

Method OR_DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAL_T_MSG Application Log: Table with Messages 20090720
2 Exporting EV_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Error flag 20090720
3 Importing IV_FLG_COMMIT Call by reference Type reference (TYPE) ESP1_BOOLEAN ESP1_FALSE Flag: Commit data with CALL TRANSACTION 20090720
4 Changing XT_ONLY_REP Call by reference Type reference (TYPE) /TDAG/CPYH_ONLY_REP_DATA Only representative data 20090720

Method OR_DELETE on Interface /TDAG/IF_EX_CP_BADI_006 has no exception.

Method OR_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAL_T_MSG Error messages 20090721
2 Exporting EV_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Flag: Error occurred 20090721
3 Importing IV_FLG_LOCK Call by reference Type reference (TYPE) ESP1_BOOLEAN ESP1_FALSE Flag: Lock vendor data 20090721
4 Importing IV_FLG_UNLOCK Call by reference Type reference (TYPE) ESP1_BOOLEAN ESP1_FALSE Flag: Unlock vendor data 20090721
5 Importing IV_ONLY_REP Call by reference Type reference (TYPE) /TDAG/RCSE_UEC_ONLY_REPR Only Representative (vendor) 20090721
# Exception Resumable Description Created on
1 INTERNAL_ERROR Internal error 20090721
2 LOCK_FAILED Lock failed 20090721
3 PARAM_ERROR Parameter error 20090721
4 UNLOCK_FAILED Unlock failed 20090721

Method OR_UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAL_T_MSG Application Log: Table with Messages 20090720
2 Exporting EV_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Error flag 20090720
3 Importing IV_FLG_COMMIT Call by reference Type reference (TYPE) ESP1_BOOLEAN ESP1_FALSE Flag: Commit data with CALL TRANSACTION 20090720
4 Changing XT_ONLY_REP Call by reference Type reference (TYPE) /TDAG/CPYH_ONLY_REP_DATA Only representative data 20090720

Method OR_UPDATE on Interface /TDAG/IF_EX_CP_BADI_006 has no exception.

Method REPR_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAL_T_MSG Error messages 20090619
2 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Flag: Error occurred 20090619
3 Importing IT_REPR Call by reference Type reference (TYPE) /TDAG/CPY_REPR_UPD Representative data 20090619
# Exception Resumable Description Created on
1 CHECK_FAILED Check failed 20090625
2 INTERNAL_ERROR Internal error 20090619
3 PARAM_ERROR Parameter error 20090619

Method REPR_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAL_T_MSG Error messages 20090619
2 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Flag: Error occurred 20090619
3 Importing I_FLG_LOCK Call by reference Type reference (TYPE) ESP1_BOOLEAN ESP1_FALSE Flag: Lock representative data 20090619
4 Importing I_FLG_UNLOCK Call by reference Type reference (TYPE) ESP1_BOOLEAN ESP1_FALSE Flag: Unlock representative data 20090619
5 Changing XT_REPR Call by reference Type reference (TYPE) /TDAG/CPY_REPR_UPD Representative data 20090625
# Exception Resumable Description Created on
1 INTERNAL_ERROR Internal error 20090619
2 LOCK_FAILED Lock failed 20090625
3 PARAM_ERROR Parameter error 20090619
4 UNLOCK_FAILED Unlock failed 20090625

Method REPR_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_REPR Call by reference Type reference (TYPE) /TDAG/CPY_REPR Representatives of vendor 20090127
2 Importing I_DATE Call by reference Type reference (TYPE) DATS SY-DATUM Check date 20090127
3 Importing I_LIFNR Call by reference Type reference (TYPE) LIFNR Vendor number 20090127
4 Importing I_LIFNR_EXT Call by reference Type reference (TYPE) /TDAG/CPS_LIFNR_EXT Extended vendor data to select partner functions 20090127
5 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20090127
# Exception Resumable Description Created on
1 INTERNAL_ERROR Internal error 20090127
2 NO_REPR_FOUND No representative found 20090127
3 PARAM_ERROR Illegal parameters 20090127
4 READ_ERROR Error reading dependent data 20090127
5 VENDOR_NOT_FOUND Vendor does not exist 20090127

Method REPR_RECN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RECN Call by reference Type reference (TYPE) ESERECN RECN of new OR assignment 20090625
# Exception Resumable Description Created on
1 INTERNAL_ERROR Internal error 20090625
2 NO_RECN RECN could not be determined 20090625

Method REPR_WRITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAL_T_MSG Messages 20090209
2 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Flag: Error occurred 20090209
3 Importing IT_REPR Call by reference Type reference (TYPE) /TDAG/CPY_REPR_UPD Representative(s) assignment to update 20090209
4 Importing I_FLG_CHECK Call by reference Type reference (TYPE) ESP1_BOOLEAN ESP1_FALSE Flag: Check only? 20090210
# Exception Resumable Description Created on
1 INTERNAL_ERROR Internal error 20090209
2 LOCK_ERROR Error locking data 20090210
3 PARAM_ERROR Illegal parameters 20090209
4 WRITE_ERROR Error writing data 20090209
History
Last changed by/on SAP  20141109 
SAP Release Created in 110_470