SAP Function Modules

FPP_BPCR_DO SAP Function module







FPP_BPCR_DO 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 FPP_BPCR_DO into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM FPP_BPCR_DO - FPP BPCR DO





CALL FUNCTION 'FPP_BPCR_DO' "
  EXPORTING
    it_range_gpart =            " fkk_rt_gpart
    it_range_origin =           " fkk_rt_origin_mdc
    it_range_type =             " fkk_rt_type_mdc
    is_control =                " fpp_bpcr_control
  IMPORTING
    es_counter =                " fpp_bpcr_counter
    et_messages =               " fkk_bal_msg_t
    .  "  FPP_BPCR_DO

ABAP code example for Function Module FPP_BPCR_DO





The ABAP code below is a full code listing to execute function module FPP_BPCR_DO 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_es_counter  TYPE FPP_BPCR_COUNTER ,
ld_et_messages  TYPE FKK_BAL_MSG_T .

DATA(ld_it_range_gpart) = 'Check type of data required'.
DATA(ld_it_range_origin) = 'Check type of data required'.
DATA(ld_it_range_type) = 'Check type of data required'.
DATA(ld_is_control) = 'Check type of data required'. . CALL FUNCTION 'FPP_BPCR_DO' EXPORTING it_range_gpart = ld_it_range_gpart it_range_origin = ld_it_range_origin it_range_type = ld_it_range_type is_control = ld_is_control IMPORTING es_counter = ld_es_counter et_messages = ld_et_messages . " FPP_BPCR_DO
IF SY-SUBRC EQ 0. "All OK 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_es_counter  TYPE FPP_BPCR_COUNTER ,
ld_it_range_gpart  TYPE FKK_RT_GPART ,
ld_et_messages  TYPE FKK_BAL_MSG_T ,
ld_it_range_origin  TYPE FKK_RT_ORIGIN_MDC ,
ld_it_range_type  TYPE FKK_RT_TYPE_MDC ,
ld_is_control  TYPE FPP_BPCR_CONTROL .

ld_it_range_gpart = 'Check type of data required'.
ld_it_range_origin = 'Check type of data required'.
ld_it_range_type = 'Check type of data required'.
ld_is_control = '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 FPP_BPCR_DO or its description.