SAP BBP_HEADER_DB_UPDATE Function Module for









BBP_HEADER_DB_UPDATE is a standard bbp header db update SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 header db update FM, simply by entering the name BBP_HEADER_DB_UPDATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: BBP_PDHAD
Program Name: SAPLBBP_PDHAD
Main Program: SAPLBBP_PDHAD
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1



Function BBP_HEADER_DB_UPDATE 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_HEADER_DB_UPDATE'"
EXPORTING
* I_METHOD = ' ' "

TABLES
I_X_HDRADM = "
I_Y_HDRHSS = "
I_X_HDRPSET = "
I_Y_HDRPSET = "
I_X_HDRBEH = "
I_Y_HDRBEH = "
* I_X_HDRHIER = "
* I_Y_HDRHIER = "
I_Y_HDRADM = "
I_X_HDRHGP = "
I_Y_HDRHGP = "
I_X_HDRHSB = "
I_Y_HDRHSB = "
I_X_HDRHSC = "
I_Y_HDRHSC = "
I_X_HDRHSS = "
.



IMPORTING Parameters details for BBP_HEADER_DB_UPDATE

I_METHOD -

Data type: BBP_PD_METHOD
Default: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for BBP_HEADER_DB_UPDATE

I_X_HDRADM -

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

I_Y_HDRHSS -

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

I_X_HDRPSET -

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

I_Y_HDRPSET -

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

I_X_HDRBEH -

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

I_Y_HDRBEH -

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

I_X_HDRHIER -

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

I_Y_HDRHIER -

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

I_Y_HDRADM -

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

I_X_HDRHGP -

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

I_Y_HDRHGP -

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

I_X_HDRHSB -

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

I_Y_HDRHSB -

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

I_X_HDRHSC -

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

I_Y_HDRHSC -

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

I_X_HDRHSS -

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

Copy and paste ABAP code example for BBP_HEADER_DB_UPDATE 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_i_method  TYPE BBP_PD_METHOD, "   SPACE
lt_i_x_hdradm  TYPE STANDARD TABLE OF BBP_PDS_HDR_IC, "   
lt_i_y_hdrhss  TYPE STANDARD TABLE OF BBP_PDS_HSS_IC, "   
lt_i_x_hdrpset  TYPE STANDARD TABLE OF BBP_PDS_PSET_IC, "   
lt_i_y_hdrpset  TYPE STANDARD TABLE OF BBP_PDS_PSET_IC, "   
lt_i_x_hdrbeh  TYPE STANDARD TABLE OF BBP_PDS_BEH_IC, "   
lt_i_y_hdrbeh  TYPE STANDARD TABLE OF BBP_PDS_BEH_IC, "   
lt_i_x_hdrhier  TYPE STANDARD TABLE OF BBP_PDS_HIER_IC, "   
lt_i_y_hdrhier  TYPE STANDARD TABLE OF BBP_PDS_HIER_IC, "   
lt_i_y_hdradm  TYPE STANDARD TABLE OF BBP_PDS_HDR_IC, "   
lt_i_x_hdrhgp  TYPE STANDARD TABLE OF BBP_PDS_HGP_IC, "   
lt_i_y_hdrhgp  TYPE STANDARD TABLE OF BBP_PDS_HGP_IC, "   
lt_i_x_hdrhsb  TYPE STANDARD TABLE OF BBP_PDS_HSB_IC, "   
lt_i_y_hdrhsb  TYPE STANDARD TABLE OF BBP_PDS_HSB_IC, "   
lt_i_x_hdrhsc  TYPE STANDARD TABLE OF BBP_PDS_HSC_IC, "   
lt_i_y_hdrhsc  TYPE STANDARD TABLE OF BBP_PDS_HSC_IC, "   
lt_i_x_hdrhss  TYPE STANDARD TABLE OF BBP_PDS_HSS_IC. "   

  CALL FUNCTION 'BBP_HEADER_DB_UPDATE'  "
    EXPORTING
         I_METHOD = lv_i_method
    TABLES
         I_X_HDRADM = lt_i_x_hdradm
         I_Y_HDRHSS = lt_i_y_hdrhss
         I_X_HDRPSET = lt_i_x_hdrpset
         I_Y_HDRPSET = lt_i_y_hdrpset
         I_X_HDRBEH = lt_i_x_hdrbeh
         I_Y_HDRBEH = lt_i_y_hdrbeh
         I_X_HDRHIER = lt_i_x_hdrhier
         I_Y_HDRHIER = lt_i_y_hdrhier
         I_Y_HDRADM = lt_i_y_hdradm
         I_X_HDRHGP = lt_i_x_hdrhgp
         I_Y_HDRHGP = lt_i_y_hdrhgp
         I_X_HDRHSB = lt_i_x_hdrhsb
         I_Y_HDRHSB = lt_i_y_hdrhsb
         I_X_HDRHSC = lt_i_x_hdrhsc
         I_Y_HDRHSC = lt_i_y_hdrhsc
         I_X_HDRHSS = lt_i_x_hdrhss
. " BBP_HEADER_DB_UPDATE




ABAP code using 7.40 inline data declarations to call FM BBP_HEADER_DB_UPDATE

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.

DATA(ld_i_method) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!