SAP BBP_TAX_MAP_BBP_TO_TTE_40 Function Module for Mapping von BBP Strukturen auf die TTE Strukturen









BBP_TAX_MAP_BBP_TO_TTE_40 is a standard bbp tax map bbp to tte 40 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Mapping von BBP Strukturen auf die TTE Strukturen processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for bbp tax map bbp to tte 40 FM, simply by entering the name BBP_TAX_MAP_BBP_TO_TTE_40 into the relevant SAP transaction such as SE37 or SE38.

Function Group: BBP_PDH_TAX
Program Name: SAPLBBP_PDH_TAX
Main Program: SAPLBBP_PDH_TAX
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function BBP_TAX_MAP_BBP_TO_TTE_40 pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'BBP_TAX_MAP_BBP_TO_TTE_40'"Mapping von BBP Strukturen auf die TTE Strukturen
EXPORTING
IS_HEADER = "Schnittstelle Kopf-Daten Beschaffungs-Beleg
I_ECI_LOGICAL_SYSTEM = "Business Document Service: ID des logischen Systems

IMPORTING
E_TTEDOCUMENTID = "TTE-Beleg-ID

TABLES
IT_ITEM = "Schnittstelle Positions-Daten Beschaffungs-Beleg
* ET_PRICEL = "
* ET_TAXDATE = "
* ET_TAXEVENT = "
* ET_TAXEL = "
* ET_TAXVALUE = "
* ET_PRODUCT = "
* ET_PRTAXCL = "
* ET_PRPROP = "
* ET_PARTNER = "
* ET_PATAXCL = "
IT_TAX = "Steuern
* ET_PAPROP = "
* ET_PATAXNUM = "
* ET_CURRCONV = "
* ET_TAXCODEVALUE = "
IT_PARTNER = "Geschftspartner
IT_ACCOUNT = "Kontierung
* ET_HEADER = "
* ET_ITEM = "
* ET_TRANPROP = "
* ET_ORGUNIT = "
* ET_ITEMPART = "
.



IMPORTING Parameters details for BBP_TAX_MAP_BBP_TO_TTE_40

IS_HEADER - Schnittstelle Kopf-Daten Beschaffungs-Beleg

Data type: BBP_PDS_HEADER
Optional: No
Call by Reference: Yes

I_ECI_LOGICAL_SYSTEM - Business Document Service: ID des logischen Systems

Data type: BBP_LOGSYS
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for BBP_TAX_MAP_BBP_TO_TTE_40

E_TTEDOCUMENTID - TTE-Beleg-ID

Data type: TTET_TTEDOCUMENTID_COM_PD
Optional: No
Call by Reference: Yes

TABLES Parameters details for BBP_TAX_MAP_BBP_TO_TTE_40

IT_ITEM - Schnittstelle Positions-Daten Beschaffungs-Beleg

Data type: BBP_PDS_ITEM
Optional: No
Call by Reference: No ( called with pass by value option)

ET_PRICEL -

Data type: TTEPDT_PRICEL_COM_TT
Optional: Yes
Call by Reference: Yes

ET_TAXDATE -

Data type: TTEPDT_TAXDATE_COM_TT
Optional: Yes
Call by Reference: Yes

ET_TAXEVENT -

Data type: TTEPDT_TAXEVENT_COM_TT
Optional: Yes
Call by Reference: Yes

ET_TAXEL -

Data type: TTEPDT_TAXEL_COM_TT
Optional: Yes
Call by Reference: Yes

ET_TAXVALUE -

Data type: TTEPDT_TAXVALUE_COM_TT
Optional: Yes
Call by Reference: Yes

ET_PRODUCT -

Data type: TTEPDT_PRODUCT_COM_TT
Optional: Yes
Call by Reference: Yes

ET_PRTAXCL -

Data type: TTEPDT_PRTAXCL_COM_TT
Optional: Yes
Call by Reference: Yes

ET_PRPROP -

Data type: TTEPDT_PRPROP_COM_TT
Optional: Yes
Call by Reference: Yes

ET_PARTNER -

Data type: TTEPDT_PARTNER_COM_TT
Optional: Yes
Call by Reference: Yes

ET_PATAXCL -

Data type: TTEPDT_PATAXCL_COM_TT
Optional: Yes
Call by Reference: Yes

IT_TAX - Steuern

Data type: BBP_PDS_TAX
Optional: No
Call by Reference: No ( called with pass by value option)

ET_PAPROP -

Data type: TTEPDT_PAPROP_COM_TT
Optional: Yes
Call by Reference: Yes

ET_PATAXNUM -

Data type: TTEPDT_PATAXNUM_COM_TT
Optional: Yes
Call by Reference: Yes

ET_CURRCONV -

Data type: TTEPDT_CURRCONV_COM_TT
Optional: Yes
Call by Reference: Yes

ET_TAXCODEVALUE -

Data type: TTEPDT_TAXCODEVALUE_COM_TT
Optional: Yes
Call by Reference: Yes

IT_PARTNER - Geschftspartner

Data type: BBP_PDS_PARTNER
Optional: No
Call by Reference: No ( called with pass by value option)

IT_ACCOUNT - Kontierung

Data type: BBP_PDS_ACC
Optional: No
Call by Reference: No ( called with pass by value option)

ET_HEADER -

Data type: TTEPDT_HEADER_COM_TT
Optional: Yes
Call by Reference: Yes

ET_ITEM -

Data type: TTEPDT_ITEM_COM_TT
Optional: Yes
Call by Reference: Yes

ET_TRANPROP -

Data type: TTEPDT_TRANPROP_COM_TT
Optional: Yes
Call by Reference: Yes

ET_ORGUNIT -

Data type: TTEPDT_ORGUNIT_COM_TT
Optional: Yes
Call by Reference: Yes

ET_ITEMPART -

Data type: TTEPDT_ITEMPART_COM_TT
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for BBP_TAX_MAP_BBP_TO_TTE_40 Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lt_it_item  TYPE STANDARD TABLE OF BBP_PDS_ITEM, "   
lv_is_header  TYPE BBP_PDS_HEADER, "   
lv_e_ttedocumentid  TYPE TTET_TTEDOCUMENTID_COM_PD, "   
lt_et_pricel  TYPE STANDARD TABLE OF TTEPDT_PRICEL_COM_TT, "   
lt_et_taxdate  TYPE STANDARD TABLE OF TTEPDT_TAXDATE_COM_TT, "   
lt_et_taxevent  TYPE STANDARD TABLE OF TTEPDT_TAXEVENT_COM_TT, "   
lt_et_taxel  TYPE STANDARD TABLE OF TTEPDT_TAXEL_COM_TT, "   
lt_et_taxvalue  TYPE STANDARD TABLE OF TTEPDT_TAXVALUE_COM_TT, "   
lt_et_product  TYPE STANDARD TABLE OF TTEPDT_PRODUCT_COM_TT, "   
lt_et_prtaxcl  TYPE STANDARD TABLE OF TTEPDT_PRTAXCL_COM_TT, "   
lt_et_prprop  TYPE STANDARD TABLE OF TTEPDT_PRPROP_COM_TT, "   
lt_et_partner  TYPE STANDARD TABLE OF TTEPDT_PARTNER_COM_TT, "   
lt_et_pataxcl  TYPE STANDARD TABLE OF TTEPDT_PATAXCL_COM_TT, "   
lt_it_tax  TYPE STANDARD TABLE OF BBP_PDS_TAX, "   
lv_i_eci_logical_system  TYPE BBP_LOGSYS, "   
lt_et_paprop  TYPE STANDARD TABLE OF TTEPDT_PAPROP_COM_TT, "   
lt_et_pataxnum  TYPE STANDARD TABLE OF TTEPDT_PATAXNUM_COM_TT, "   
lt_et_currconv  TYPE STANDARD TABLE OF TTEPDT_CURRCONV_COM_TT, "   
lt_et_taxcodevalue  TYPE STANDARD TABLE OF TTEPDT_TAXCODEVALUE_COM_TT, "   
lt_it_partner  TYPE STANDARD TABLE OF BBP_PDS_PARTNER, "   
lt_it_account  TYPE STANDARD TABLE OF BBP_PDS_ACC, "   
lt_et_header  TYPE STANDARD TABLE OF TTEPDT_HEADER_COM_TT, "   
lt_et_item  TYPE STANDARD TABLE OF TTEPDT_ITEM_COM_TT, "   
lt_et_tranprop  TYPE STANDARD TABLE OF TTEPDT_TRANPROP_COM_TT, "   
lt_et_orgunit  TYPE STANDARD TABLE OF TTEPDT_ORGUNIT_COM_TT, "   
lt_et_itempart  TYPE STANDARD TABLE OF TTEPDT_ITEMPART_COM_TT. "   

  CALL FUNCTION 'BBP_TAX_MAP_BBP_TO_TTE_40'  "Mapping von BBP Strukturen auf die TTE Strukturen
    EXPORTING
         IS_HEADER = lv_is_header
         I_ECI_LOGICAL_SYSTEM = lv_i_eci_logical_system
    IMPORTING
         E_TTEDOCUMENTID = lv_e_ttedocumentid
    TABLES
         IT_ITEM = lt_it_item
         ET_PRICEL = lt_et_pricel
         ET_TAXDATE = lt_et_taxdate
         ET_TAXEVENT = lt_et_taxevent
         ET_TAXEL = lt_et_taxel
         ET_TAXVALUE = lt_et_taxvalue
         ET_PRODUCT = lt_et_product
         ET_PRTAXCL = lt_et_prtaxcl
         ET_PRPROP = lt_et_prprop
         ET_PARTNER = lt_et_partner
         ET_PATAXCL = lt_et_pataxcl
         IT_TAX = lt_it_tax
         ET_PAPROP = lt_et_paprop
         ET_PATAXNUM = lt_et_pataxnum
         ET_CURRCONV = lt_et_currconv
         ET_TAXCODEVALUE = lt_et_taxcodevalue
         IT_PARTNER = lt_it_partner
         IT_ACCOUNT = lt_it_account
         ET_HEADER = lt_et_header
         ET_ITEM = lt_et_item
         ET_TRANPROP = lt_et_tranprop
         ET_ORGUNIT = lt_et_orgunit
         ET_ITEMPART = lt_et_itempart
. " BBP_TAX_MAP_BBP_TO_TTE_40




ABAP code using 7.40 inline data declarations to call FM BBP_TAX_MAP_BBP_TO_TTE_40

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!