SAP Function Modules

BBP_PD_INDEX_UPDATE SAP Function module







BBP_PD_INDEX_UPDATE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name BBP_PD_INDEX_UPDATE into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: BBP_PD_INDEX
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM BBP_PD_INDEX_UPDATE - BBP PD INDEX UPDATE





CALL FUNCTION 'BBP_PD_INDEX_UPDATE' "
  EXPORTING
    iv_method = SPACE           " bbp_pd_method
*   iv_no_buffer = SPACE        " xfeld
    it_x_hdradm =               " bbpt_pd_hdr_ic
    it_y_hdradm =               " bbpt_pd_hdr_ic
    it_x_hdrhgp =               " bbpt_pd_hgp_ic
    it_y_hdrhgp =               " bbpt_pd_hgp_ic
    it_x_hdrhsb =               " bbpt_pd_hsb_ic
    it_y_hdrhsb =               " bbpt_pd_hsb_ic
    it_x_hdrhsc =               " bbpt_pd_hsc_ic
    it_y_hdrhsc =               " bbpt_pd_hsc_ic
    it_x_hdrhss =               " bbpt_pd_hss_ic
    it_y_hdrhss =               " bbpt_pd_hss_ic
    it_x_itmadm =               " bbpt_pd_itm_ic
    it_y_itmadm =               " bbpt_pd_itm_ic
    it_x_itmigp =               " bbpt_pd_igp_ic
    it_y_itmigp =               " bbpt_pd_igp_ic
    it_x_orgdata =              " bbpt_pd_org_ic
    it_y_orgdata =              " bbpt_pd_org_ic
    it_x_bup =                  " bbpt_pd_bup_ic
    it_y_bup =                  " bbpt_pd_bup_ic
    it_x_status =               " bbpt_status
    it_y_status =               " bbpt_status
*   it_x_link =                 " bbpt_crmd_link
  IMPORTING
    et_messages =               " bbpt_messages
  EXCEPTIONS
    ERROR_OCCURED = 1           "
    .  "  BBP_PD_INDEX_UPDATE

ABAP code example for Function Module BBP_PD_INDEX_UPDATE





The ABAP code below is a full code listing to execute function module BBP_PD_INDEX_UPDATE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_et_messages  TYPE BBPT_MESSAGES .

DATA(ld_iv_method) = 'Check type of data required'.
DATA(ld_iv_no_buffer) = 'Check type of data required'.
DATA(ld_it_x_hdradm) = 'Check type of data required'.
DATA(ld_it_y_hdradm) = 'Check type of data required'.
DATA(ld_it_x_hdrhgp) = 'Check type of data required'.
DATA(ld_it_y_hdrhgp) = 'Check type of data required'.
DATA(ld_it_x_hdrhsb) = 'Check type of data required'.
DATA(ld_it_y_hdrhsb) = 'Check type of data required'.
DATA(ld_it_x_hdrhsc) = 'Check type of data required'.
DATA(ld_it_y_hdrhsc) = 'Check type of data required'.
DATA(ld_it_x_hdrhss) = 'Check type of data required'.
DATA(ld_it_y_hdrhss) = 'Check type of data required'.
DATA(ld_it_x_itmadm) = 'Check type of data required'.
DATA(ld_it_y_itmadm) = 'Check type of data required'.
DATA(ld_it_x_itmigp) = 'Check type of data required'.
DATA(ld_it_y_itmigp) = 'Check type of data required'.
DATA(ld_it_x_orgdata) = 'Check type of data required'.
DATA(ld_it_y_orgdata) = 'Check type of data required'.
DATA(ld_it_x_bup) = 'Check type of data required'.
DATA(ld_it_y_bup) = 'Check type of data required'.
DATA(ld_it_x_status) = 'Check type of data required'.
DATA(ld_it_y_status) = 'Check type of data required'.
DATA(ld_it_x_link) = 'Check type of data required'. . CALL FUNCTION 'BBP_PD_INDEX_UPDATE' EXPORTING iv_method = ld_iv_method * iv_no_buffer = ld_iv_no_buffer it_x_hdradm = ld_it_x_hdradm it_y_hdradm = ld_it_y_hdradm it_x_hdrhgp = ld_it_x_hdrhgp it_y_hdrhgp = ld_it_y_hdrhgp it_x_hdrhsb = ld_it_x_hdrhsb it_y_hdrhsb = ld_it_y_hdrhsb it_x_hdrhsc = ld_it_x_hdrhsc it_y_hdrhsc = ld_it_y_hdrhsc it_x_hdrhss = ld_it_x_hdrhss it_y_hdrhss = ld_it_y_hdrhss it_x_itmadm = ld_it_x_itmadm it_y_itmadm = ld_it_y_itmadm it_x_itmigp = ld_it_x_itmigp it_y_itmigp = ld_it_y_itmigp it_x_orgdata = ld_it_x_orgdata it_y_orgdata = ld_it_y_orgdata it_x_bup = ld_it_x_bup it_y_bup = ld_it_y_bup it_x_status = ld_it_x_status it_y_status = ld_it_y_status * it_x_link = ld_it_x_link IMPORTING et_messages = ld_et_messages EXCEPTIONS ERROR_OCCURED = 1 . " BBP_PD_INDEX_UPDATE
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_et_messages  TYPE BBPT_MESSAGES ,
ld_iv_method  TYPE BBP_PD_METHOD ,
ld_iv_no_buffer  TYPE XFELD ,
ld_it_x_hdradm  TYPE BBPT_PD_HDR_IC ,
ld_it_y_hdradm  TYPE BBPT_PD_HDR_IC ,
ld_it_x_hdrhgp  TYPE BBPT_PD_HGP_IC ,
ld_it_y_hdrhgp  TYPE BBPT_PD_HGP_IC ,
ld_it_x_hdrhsb  TYPE BBPT_PD_HSB_IC ,
ld_it_y_hdrhsb  TYPE BBPT_PD_HSB_IC ,
ld_it_x_hdrhsc  TYPE BBPT_PD_HSC_IC ,
ld_it_y_hdrhsc  TYPE BBPT_PD_HSC_IC ,
ld_it_x_hdrhss  TYPE BBPT_PD_HSS_IC ,
ld_it_y_hdrhss  TYPE BBPT_PD_HSS_IC ,
ld_it_x_itmadm  TYPE BBPT_PD_ITM_IC ,
ld_it_y_itmadm  TYPE BBPT_PD_ITM_IC ,
ld_it_x_itmigp  TYPE BBPT_PD_IGP_IC ,
ld_it_y_itmigp  TYPE BBPT_PD_IGP_IC ,
ld_it_x_orgdata  TYPE BBPT_PD_ORG_IC ,
ld_it_y_orgdata  TYPE BBPT_PD_ORG_IC ,
ld_it_x_bup  TYPE BBPT_PD_BUP_IC ,
ld_it_y_bup  TYPE BBPT_PD_BUP_IC ,
ld_it_x_status  TYPE BBPT_STATUS ,
ld_it_y_status  TYPE BBPT_STATUS ,
ld_it_x_link  TYPE BBPT_CRMD_LINK .

ld_iv_method = 'Check type of data required'.
ld_iv_no_buffer = 'Check type of data required'.
ld_it_x_hdradm = 'Check type of data required'.
ld_it_y_hdradm = 'Check type of data required'.
ld_it_x_hdrhgp = 'Check type of data required'.
ld_it_y_hdrhgp = 'Check type of data required'.
ld_it_x_hdrhsb = 'Check type of data required'.
ld_it_y_hdrhsb = 'Check type of data required'.
ld_it_x_hdrhsc = 'Check type of data required'.
ld_it_y_hdrhsc = 'Check type of data required'.
ld_it_x_hdrhss = 'Check type of data required'.
ld_it_y_hdrhss = 'Check type of data required'.
ld_it_x_itmadm = 'Check type of data required'.
ld_it_y_itmadm = 'Check type of data required'.
ld_it_x_itmigp = 'Check type of data required'.
ld_it_y_itmigp = 'Check type of data required'.
ld_it_x_orgdata = 'Check type of data required'.
ld_it_y_orgdata = 'Check type of data required'.
ld_it_x_bup = 'Check type of data required'.
ld_it_y_bup = 'Check type of data required'.
ld_it_x_status = 'Check type of data required'.
ld_it_y_status = 'Check type of data required'.
ld_it_x_link = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BBP_PD_INDEX_UPDATE or its description.