SAP ABAP Class CL_WLF_TRANS_BTD_PRODUCT (Transformation BTD Product)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-AB (Application Component) Agency Business (Global Trade)
     WZRE_XI_PROXY (Package) Agency Business: SOA proxy implementations
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_WLF_TRANSFORMATION_ABSTR General functions for transformations 20100826
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SMT_PREFETCH Prefetch Methods 20100823
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SMT_TRANSFORMATION Transformation Class 20100823
Properties
Class CL_WLF_TRANS_BTD_PRODUCT  
Short Description Transformation BTD Product    
Super Class CL_WLF_TRANSFORMATION_ABSTR General functions for transformations 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WZRE_XI_PROXY   Agency Business: SOA proxy implementations 
Created 20100823   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_SMT_PREFETCH Prefetch Methods 20100823
2 IF_SMT_TRANSFORMATION Transformation Class 20100823
Friends
Class CL_WLF_TRANS_BTD_PRODUCT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_BADI_NAME Constant Private Type reference (TYPE) ENHBADIID 'WLF_SE_MATNR_FOR_BTD_PRODUCT' Name of a BAdI in Enhancement Framework 20100910
2 CO_DOC_PARTY Constant Private See coding 20110221
3 CO_INT_MATNR_TYPE Constant Private See coding Internal Code for material number type 20100823
4 CO_PRDCT_TYPE_CODE Constant Private See coding 20110128
5 CO_PTY_PRD_ID_FIELDS Constant Private See coding Field names of PartyProductID in BTDProduct 20100823
Methods
# Method Level Visibility Method type Description Created on
1 FILL_EAN_BY_STANDARD_ID Static method Private Method Fill MATNR by ProductStandardID 20100823
2 FILL_INTERNAL_ID Static method Private Method Fill Internal ID of BTD Product 20100823
3 FILL_MATNR_BY_INTERNAL_ID Static method Private Method Fill MATNR by InternalID 20100823
4 FILL_MATNR_BY_PTY_PRD_ID Static method Private Method Fill MATNR by PartyProductID 20100823
5 FILL_MATNR_BY_PTY_PRD_ID_TY_PR Static method Private Method Fill MATNR by PartyProductID of type Product 20110725
6 FILL_PARTY_PRODUCT_ID Static method Private Method Fill PartyProductID of BTDProduct 20100823
7 FILL_STANDARD_ID Static method Private Method Fill ProductStandardID by MATNR 20100823
8 GET_BDTPRODUCT_BY_MATNR_EAN Static method Public Method Fill Business Transaction Document Product ID from MATNR etc 20100830
9 GET_CUSTOMER_MATNR Static method Private Method Get customer material number 20110221
10 GET_EAN_BY_MATNR Static method Private Method Get EAN number by material number and unit of measure 20100823
11 GET_MATNR_EAN_BY_BDTPRODUCT Static method Public Method Fill MATNR etc.from Business Transaction Document Product ID 20100823
12 GET_MATNR_EAN_BY_PRODUCT Static method Public Method Fill MATNR etc. from Product ID 20110725
13 GET_PRODUCT_BY_MATNR_EAN Static method Public Method Fill Product ID from MATNR etc 20110725
14 GET_VENDOR_MATNR Static method Private Method Get vendor material number 20110221
15 IS_MATERIAL Static method Private Method Check, if ProductTypeCode is allowed --> Material 20110128
Events
Class CL_WLF_TRANS_BTD_PRODUCT has no event.
Types
Class CL_WLF_TRANS_BTD_PRODUCT has no local type.
Method Signatures

Method FILL_EAN_BY_STANDARD_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EAN_NUMBER Call by reference Type reference (TYPE) EAN11 Material number 20100823
2 Importing IT_PRD_STANDARD_ID Call by reference Type reference (TYPE) SAPPLCO_PRODUCT_STD_ID_T BTDProductID Standard Id 20100823

Method FILL_EAN_BY_STANDARD_ID on class CL_WLF_TRANS_BTD_PRODUCT has no exception.

Method FILL_INTERNAL_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PRD_INTERNAL_ID Call by reference Type reference (TYPE) SAPPLCO_PRODUCT_INTERNAL_ID Proxy Structure (Generated) 20100823
2 Importing IV_MATERIAL_NUMBER Call by reference Type reference (TYPE) MATNR Material Number 20100823
# Exception Resumable Description Created on
1 CX_SMT_UNSUCCESSFUL_TRANS Unsuccessful Transformation 20100823

Method FILL_MATNR_BY_INTERNAL_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20100823
2 Importing IS_PRD_INTERNAL_ID Call by reference Type reference (TYPE) SAPPLCO_PRODUCT_INTERNAL_ID Proxy Structure (Generated) 20100823

Method FILL_MATNR_BY_INTERNAL_ID on class CL_WLF_TRANS_BTD_PRODUCT has no exception.

Method FILL_MATNR_BY_PTY_PRD_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_MATNR Call by reference Type reference (TYPE) MATNR Material number 20100823
2 Importing IS_BTD_PRODUCT Call by reference Type reference (TYPE) SAPPLCO_BT_DOCUMENT_PRODUCT BTDProductID 20100823
3 Importing IV_PARTY_PRODUCT_FIELD Call by reference Type reference (TYPE) FIELDNAME Field Name 20100823

Method FILL_MATNR_BY_PTY_PRD_ID on class CL_WLF_TRANS_BTD_PRODUCT has no exception.

Method FILL_MATNR_BY_PTY_PRD_ID_TY_PR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20110725
2 Importing IS_IDT_PRODUCT Call by reference Type reference (TYPE) SAPPLCO_INVC_ERPRQ1_ITM_PROD IDT InvoiceERPRequest_V1_Item_Product 20110725
3 Importing IV_PARTY_PRODUCT_FIELD Call by reference Type reference (TYPE) FIELDNAME Field Name 20110725

Method FILL_MATNR_BY_PTY_PRD_ID_TY_PR on class CL_WLF_TRANS_BTD_PRODUCT has no exception.

Method FILL_PARTY_PRODUCT_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PARTNER_MATNR Call by reference Type reference (TYPE) IDNLF Material Number Used by Vendor 20100823
2 Importing IV_PARTNER_MATNR_TYPE Call by reference Type reference (TYPE) WLF_IDNLF_TYPE AB: Article Number Type - Vendor 20100823
3 Returning RV_PRDCT_PARTY_ID Value transfer Type reference (TYPE) SAPPLCO_PRODUCT_PARTY_ID Proxy Data Element (Generated) 20110221

Method FILL_PARTY_PRODUCT_ID on class CL_WLF_TRANS_BTD_PRODUCT has no exception.

Method FILL_STANDARD_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PRD_STANDARD_ID Call by reference Type reference (TYPE) SAPPLCO_PRODUCT_STD_ID_T Proxy Table Type (Generated) 20100823
2 Importing IV_EAN_NUMBER Call by reference Type reference (TYPE) EAN11 International Article Number (EAN/UPC) 20100823
3 Importing IV_MATERIAL_NUMBER Call by reference Type reference (TYPE) MATNR Material Number 20100823
4 Importing IV_PARTNER_MATNR Call by reference Type reference (TYPE) IDNLF Material Number Used by Vendor 20100823
5 Importing IV_PARTNER_MATNR_TYPE Call by reference Type reference (TYPE) WLF_IDNLF_TYPE AB: Article Number Type - Vendor 20100823
6 Importing IV_WFKME_UOM Call by reference Type reference (TYPE) WFKME Vendor billing document: unit of measure 20100823
# Exception Resumable Description Created on
1 CX_SMT_UNSUCCESSFUL_TRANS Unsuccessful Transformation 20100823

Method GET_BDTPRODUCT_BY_MATNR_EAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_BTD_PRODUCT Call by reference Type reference (TYPE) SAPPLCO_BT_DOCUMENT_PRODUCT Proxy Structure (Generated) 20100830
2 Importing IS_KOMLFK Call by reference Type reference (TYPE) KOMLFK Comm. Structure: Vendor Billing Doc. Header 20110221
3 Importing IS_TMFK Call by reference Type reference (TYPE) TMFK Agency Business: Billing Document Types 20110221
4 Importing IV_EAN_NUMBER Call by reference Type reference (TYPE) EAN11 International Article Number (EAN/UPC) 20100830
5 Importing IV_MATERIAL_NUMBER Call by reference Type reference (TYPE) MATNR Material Number 20100830
6 Importing IV_OWN_PTY_ROLE_CC Call by reference Type reference (TYPE) CHAR2 Own Party Role: only use for B2B 20110207
7 Importing IV_PARTNER_MATNR Call by reference Type reference (TYPE) IDNLF Material Number Used by Vendor 20100830
8 Importing IV_PARTNER_MATNR_TYPE Call by reference Type reference (TYPE) WLF_IDNLF_TYPE AB: Article Number Type - Vendor 20100830
9 Importing IV_WFKME_UOM Call by reference Type reference (TYPE) WFKME Vendor billing document: unit of measure 20100830
10 Importing I_PREFETCH Call by reference Type reference (TYPE) SMT_BOOLEAN Boolean value 20100830
# Exception Resumable Description Created on
1 CX_SMT_UNSUCCESSFUL_TRANS Unsuccessful Transformation 20100830

Method GET_CUSTOMER_MATNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_KOMLFK Call by reference Type reference (TYPE) KOMLFK Comm. Structure: Vendor Billing Doc. Header 20110221
2 Importing IV_MATERIAL_NUMBER Call by reference Type reference (TYPE) MATNR Material Number 20110221
3 Returning RV_PRDCT_PARTY_ID Value transfer Type reference (TYPE) SAPPLCO_PRODUCT_PARTY_ID Material Number Used by Vendor 20110221
# Exception Resumable Description Created on
1 CX_WLF_INVC_FATAL_ERROR Agency Business: Fatal Error 20110221

Method GET_EAN_BY_MATNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EAN_NUMBER Call by reference Type reference (TYPE) EAN11 Material Number Used by Vendor 20100823
2 Importing IV_MATERIAL_NUMBER Call by reference Type reference (TYPE) MATNR Material Number 20100823
3 Importing IV_WFKME_UOM Call by reference Type reference (TYPE) WFKME Vendor billing document: unit of measure 20100823

Method GET_EAN_BY_MATNR on class CL_WLF_TRANS_BTD_PRODUCT has no exception.

Method GET_MATNR_EAN_BY_BDTPRODUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EAN_NUMBER Call by reference Type reference (TYPE) EAN11 International Article Number (EAN/UPC) 20101011
2 Exporting EV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20100823
3 Exporting EV_PARTNER_MATNR Call by reference Type reference (TYPE) IDNLF Material Number Used by Vendor 20101011
4 Exporting EV_PARTNER_MATNR_TYPE Call by reference Type reference (TYPE) WLF_IDNLF_TYPE AB: Article Number Type - Vendor 20101011
5 Importing IS_BTD_PRODUCT Call by reference Type reference (TYPE) SAPPLCO_BT_DOCUMENT_PRODUCT BTDProduct 20100823
6 Importing IS_KOMZRKE Call by reference Type reference (TYPE) KOMZRKE Payment Document: External Data Transfer Header Data 20101011
7 Importing IV_ITEM_ID Call by reference Type reference (TYPE) SAPPLCO_BUS_TRANS_ITEM_ID BusinessTransactionDocumentItemID 20101011
8 Importing IV_OWN_PTY_ROLE_CC Call by reference Type reference (TYPE) CHAR2 Own Party Role: only use for B2B 20110207
9 Importing I_PREFETCH Call by reference Type reference (TYPE) SMT_BOOLEAN Boolean value 20100823
# Exception Resumable Description Created on
1 CX_SMT_UNSUCCESSFUL_TRANS Unsuccessful Transformation 20100823

Method GET_MATNR_EAN_BY_PRODUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EAN_NUMBER Call by reference Type reference (TYPE) EAN11 International Article Number (EAN/UPC) 20110725
2 Exporting EV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20110725
3 Exporting EV_PARTNER_MATNR Call by reference Type reference (TYPE) IDNLF Material Number Used by Vendor 20110725
4 Exporting EV_PARTNER_MATNR_TYPE Call by reference Type reference (TYPE) WLF_IDNLF_TYPE AB: Article Number Type - Vendor 20110725
5 Importing IS_IDT_PRODUCT Call by reference Type reference (TYPE) SAPPLCO_INVC_ERPRQ1_ITM_PROD IDT InvoiceERPRequest_V1_Item_Product 20110725
6 Importing IS_KOMZRKE Call by reference Type reference (TYPE) KOMZRKE Payment Document: External Data Transfer Header Data 20110725
7 Importing IV_ITEM_ID Call by reference Type reference (TYPE) SAPPLCO_BUS_TRANS_ITEM_ID BusinessTransactionDocumentItemID 20110725
8 Importing IV_OWN_PTY_ROLE_CC Call by reference Type reference (TYPE) CHAR2 Version Number Component 20110725
9 Importing I_PREFETCH Call by reference Type reference (TYPE) SMT_BOOLEAN Boolean value 20110725
# Exception Resumable Description Created on
1 CX_SMT_UNSUCCESSFUL_TRANS Unsuccessful Transformation 20110725

Method GET_PRODUCT_BY_MATNR_EAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_IDT_PRODUCT Call by reference Type reference (TYPE) SAPPLCO_INVC_ERPRQ1_ITM_PROD IDT InvoiceERPRequest_V1_Item_Product 20110725
2 Importing IS_KOMLFK Call by reference Type reference (TYPE) KOMLFK Comm. Structure: Vendor Billing Doc. Header 20110725
3 Importing IS_TMFK Call by reference Type reference (TYPE) TMFK Agency Business: Billing Document Types 20110725
4 Importing IV_EAN_NUMBER Call by reference Type reference (TYPE) EAN11 International Article Number (EAN/UPC) 20110725
5 Importing IV_MATERIAL_NUMBER Call by reference Type reference (TYPE) MATNR Material Number 20110725
6 Importing IV_OWN_PTY_ROLE_CC Call by reference Type reference (TYPE) CHAR2 Version Number Component 20110725
7 Importing IV_PARTNER_MATNR Call by reference Type reference (TYPE) IDNLF Material Number Used by Vendor 20110725
8 Importing IV_PARTNER_MATNR_TYPE Call by reference Type reference (TYPE) WLF_IDNLF_TYPE AB: Article Number Type - Vendor 20110725
9 Importing IV_WFKME_UOM Call by reference Type reference (TYPE) WFKME Vendor billing document: unit of measure 20110725
10 Importing I_PREFETCH Call by reference Type reference (TYPE) SMT_BOOLEAN Boolean value 20110725
# Exception Resumable Description Created on
1 CX_SMT_UNSUCCESSFUL_TRANS Unsuccessful Transformation 20110725

Method GET_VENDOR_MATNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_KOMLFK Call by reference Type reference (TYPE) KOMLFK Comm. Structure: Vendor Billing Doc. Header 20110221
2 Importing IV_MATERIAL_NUMBER Call by reference Type reference (TYPE) MATNR Material Number 20110221
3 Returning RV_PRDCT_PARTY_ID Value transfer Type reference (TYPE) SAPPLCO_PRODUCT_PARTY_ID Material Number Used by Vendor 20110221
# Exception Resumable Description Created on
1 CX_WLF_INVC_FATAL_ERROR Agency Business: Fatal Error 20110221

Method IS_MATERIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PRDCT_TYPE_CODE Call by reference Type reference (TYPE) SAPPLCO_PRODUCT_TYPE_CODE Proxy Data Element (Generated) 20110128
2 Returning RV_RESULT Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20110128

Method IS_MATERIAL on class CL_WLF_TRANS_BTD_PRODUCT has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606