SAP Function Modules

FMCA_FPF_INDPR_UPDATE SAP Function module - FPF: Updates the Processing Indicator in a Form Bundle







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

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


Pattern for FM FMCA_FPF_INDPR_UPDATE - FMCA FPF INDPR UPDATE





CALL FUNCTION 'FMCA_FPF_INDPR_UPDATE' "FPF: Updates the Processing Indicator in a Form Bundle
  EXPORTING
    iv_return_guid =            " fmca_return_guid  Technical Key of Carrying Object
*   ix_simulation = SPACE       " xfeld         Checkbox
  IMPORTING
    ev_indpr =                  " indpr_ps      Process Indicator
    ev_fbsta =                  " fbsta_ps      FPF: Status of a Form Bundle
    ev_fbstb =                  " fbstb_ps      FPF: System Status of a Form Bundle
    ev_fbust =                  " fbust_ps      FPF: User Status of a Form Bundle
    ev_fbstz =                  " fbstz_ps      FPF: Status Information Replicated Sucessfully
  EXCEPTIONS
    ERROR_OCCURRED = 1          "
    .  "  FMCA_FPF_INDPR_UPDATE

ABAP code example for Function Module FMCA_FPF_INDPR_UPDATE





The ABAP code below is a full code listing to execute function module FMCA_FPF_INDPR_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_ev_indpr  TYPE INDPR_PS ,
ld_ev_fbsta  TYPE FBSTA_PS ,
ld_ev_fbstb  TYPE FBSTB_PS ,
ld_ev_fbust  TYPE FBUST_PS ,
ld_ev_fbstz  TYPE FBSTZ_PS .

DATA(ld_iv_return_guid) = 'Check type of data required'.
DATA(ld_ix_simulation) = 'Check type of data required'. . CALL FUNCTION 'FMCA_FPF_INDPR_UPDATE' EXPORTING iv_return_guid = ld_iv_return_guid * ix_simulation = ld_ix_simulation IMPORTING ev_indpr = ld_ev_indpr ev_fbsta = ld_ev_fbsta ev_fbstb = ld_ev_fbstb ev_fbust = ld_ev_fbust ev_fbstz = ld_ev_fbstz EXCEPTIONS ERROR_OCCURRED = 1 . " FMCA_FPF_INDPR_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_ev_indpr  TYPE INDPR_PS ,
ld_iv_return_guid  TYPE FMCA_RETURN_GUID ,
ld_ev_fbsta  TYPE FBSTA_PS ,
ld_ix_simulation  TYPE XFELD ,
ld_ev_fbstb  TYPE FBSTB_PS ,
ld_ev_fbust  TYPE FBUST_PS ,
ld_ev_fbstz  TYPE FBSTZ_PS .

ld_iv_return_guid = 'Check type of data required'.
ld_ix_simulation = '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 FMCA_FPF_INDPR_UPDATE or its description.