SAP Function Modules

SAMPLE_PROCESS_00001911 SAP Function module







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

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


Pattern for FM SAMPLE_PROCESS_00001911 - SAMPLE PROCESS 00001911





CALL FUNCTION 'SAMPLE_PROCESS_00001911' "
  EXPORTING
    imp_gr_crit =               " wt_gr_crit    Grouping criteria for withholding tax reporting list output
    imp_int_tabname =           " tabname       Table Name
    imp_structname =            " tabname       Table Name
    imp_inclname =              " programm      ABAP Program Name
    imp_qstrmain =              " qstrmain      Line Item Data Structure for Extended W/holding Tax Report.
  IMPORTING
    exp_pointer =               "
  EXCEPTIONS
    NOT_FOUND = 1               "
    .  "  SAMPLE_PROCESS_00001911

ABAP code example for Function Module SAMPLE_PROCESS_00001911





The ABAP code below is a full code listing to execute function module SAMPLE_PROCESS_00001911 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_exp_pointer  TYPE STRING .

DATA(ld_imp_gr_crit) = 'Check type of data required'.
DATA(ld_imp_int_tabname) = 'Check type of data required'.
DATA(ld_imp_structname) = 'Check type of data required'.
DATA(ld_imp_inclname) = 'Check type of data required'.
DATA(ld_imp_qstrmain) = 'Check type of data required'. . CALL FUNCTION 'SAMPLE_PROCESS_00001911' EXPORTING imp_gr_crit = ld_imp_gr_crit imp_int_tabname = ld_imp_int_tabname imp_structname = ld_imp_structname imp_inclname = ld_imp_inclname imp_qstrmain = ld_imp_qstrmain IMPORTING exp_pointer = ld_exp_pointer EXCEPTIONS NOT_FOUND = 1 . " SAMPLE_PROCESS_00001911
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_exp_pointer  TYPE STRING ,
ld_imp_gr_crit  TYPE WT_GR_CRIT ,
ld_imp_int_tabname  TYPE TABNAME ,
ld_imp_structname  TYPE TABNAME ,
ld_imp_inclname  TYPE PROGRAMM ,
ld_imp_qstrmain  TYPE QSTRMAIN .

ld_imp_gr_crit = 'Check type of data required'.
ld_imp_int_tabname = 'Check type of data required'.
ld_imp_structname = 'Check type of data required'.
ld_imp_inclname = 'Check type of data required'.
ld_imp_qstrmain = 'Check type of data required'.

SAP Documentation for FM SAMPLE_PROCESS_00001911



FUNCTIONALITY
This module is a pure interface description and does not contain any ...See here for full SAP fm documentation

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 SAMPLE_PROCESS_00001911 or its description.