SAP BBP_UPDATE_TAXINFO Function Module for Update auf Steuer-Info für Buying Company









BBP_UPDATE_TAXINFO is a standard bbp update taxinfo SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Update auf Steuer-Info für Buying Company 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 update taxinfo FM, simply by entering the name BBP_UPDATE_TAXINFO into the relevant SAP transaction such as SE37 or SE38.

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



Function BBP_UPDATE_TAXINFO 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_UPDATE_TAXINFO'"Update auf Steuer-Info für Buying Company
EXPORTING
IV_PARTNER = "Geschäftspartner Buying Company

CHANGING
* CT_RETURN = "Return Parameter

TABLES
* IT_TAXNUM_DEL = "Zu löschende Steuernummern
* IT_TAXNUM_INS = "Einzufügende Steuernummern
* IT_TAXCLASS_DEL = "Zu löschende Steuerklassifikation
* IT_TAXCLASS_INS = "Einzufügende Steuerklassifikation

EXCEPTIONS
PARTNER_MISSING = 1 ERROR_DELETE_TAXNUM = 2 ERROR_INSERT_TAXNUM = 3 ERROR_DELETE_TAXCLASS = 4 ERROR_INSERT_TAXCLASS = 5
.



IMPORTING Parameters details for BBP_UPDATE_TAXINFO

IV_PARTNER - Geschäftspartner Buying Company

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

CHANGING Parameters details for BBP_UPDATE_TAXINFO

CT_RETURN - Return Parameter

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

TABLES Parameters details for BBP_UPDATE_TAXINFO

IT_TAXNUM_DEL - Zu löschende Steuernummern

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

IT_TAXNUM_INS - Einzufügende Steuernummern

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

IT_TAXCLASS_DEL - Zu löschende Steuerklassifikation

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

IT_TAXCLASS_INS - Einzufügende Steuerklassifikation

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

EXCEPTIONS details

PARTNER_MISSING -

Data type:
Optional: No
Call by Reference: Yes

ERROR_DELETE_TAXNUM -

Data type:
Optional: No
Call by Reference: Yes

ERROR_INSERT_TAXNUM -

Data type:
Optional: No
Call by Reference: Yes

ERROR_DELETE_TAXCLASS -

Data type:
Optional: No
Call by Reference: Yes

ERROR_INSERT_TAXCLASS -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BBP_UPDATE_TAXINFO 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:
lv_ct_return  TYPE BAPIRETTAB, "   
lv_iv_partner  TYPE BU_PARTNER, "   
lt_it_taxnum_del  TYPE STANDARD TABLE OF DFKKBPTAXNUM, "   
lv_partner_missing  TYPE DFKKBPTAXNUM, "   
lt_it_taxnum_ins  TYPE STANDARD TABLE OF DFKKBPTAXNUM, "   
lv_error_delete_taxnum  TYPE DFKKBPTAXNUM, "   
lt_it_taxclass_del  TYPE STANDARD TABLE OF BAPIBUS1006_TAX_CLASS, "   
lv_error_insert_taxnum  TYPE BAPIBUS1006_TAX_CLASS, "   
lt_it_taxclass_ins  TYPE STANDARD TABLE OF BAPIBUS1006_TAX_CLASS, "   
lv_error_delete_taxclass  TYPE BAPIBUS1006_TAX_CLASS, "   
lv_error_insert_taxclass  TYPE BAPIBUS1006_TAX_CLASS. "   

  CALL FUNCTION 'BBP_UPDATE_TAXINFO'  "Update auf Steuer-Info für Buying Company
    EXPORTING
         IV_PARTNER = lv_iv_partner
    CHANGING
         CT_RETURN = lv_ct_return
    TABLES
         IT_TAXNUM_DEL = lt_it_taxnum_del
         IT_TAXNUM_INS = lt_it_taxnum_ins
         IT_TAXCLASS_DEL = lt_it_taxclass_del
         IT_TAXCLASS_INS = lt_it_taxclass_ins
    EXCEPTIONS
        PARTNER_MISSING = 1
        ERROR_DELETE_TAXNUM = 2
        ERROR_INSERT_TAXNUM = 3
        ERROR_DELETE_TAXCLASS = 4
        ERROR_INSERT_TAXCLASS = 5
. " BBP_UPDATE_TAXINFO




ABAP code using 7.40 inline data declarations to call FM BBP_UPDATE_TAXINFO

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!