SAP Function Modules

SAMPLE_PROCESS_00002211 SAP Function module - Beschreibung der Prozess-Schnittstelle 00002211







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

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


Pattern for FM SAMPLE_PROCESS_00002211 - SAMPLE PROCESS 00002211





CALL FUNCTION 'SAMPLE_PROCESS_00002211' "Beschreibung der Prozess-Schnittstelle 00002211
  TABLES
    t_vbkpf =                   " fvbkpf
    t_vbsec =                   " fvbsec
    t_vbseg =                   " fvbseg
    t_vbset =                   " fvbset
    t_actor =                   " swhactor
    .  "  SAMPLE_PROCESS_00002211

ABAP code example for Function Module SAMPLE_PROCESS_00002211





The ABAP code below is a full code listing to execute function module SAMPLE_PROCESS_00002211 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:
it_t_vbkpf  TYPE STANDARD TABLE OF FVBKPF,"TABLES PARAM
wa_t_vbkpf  LIKE LINE OF it_t_vbkpf ,
it_t_vbsec  TYPE STANDARD TABLE OF FVBSEC,"TABLES PARAM
wa_t_vbsec  LIKE LINE OF it_t_vbsec ,
it_t_vbseg  TYPE STANDARD TABLE OF FVBSEG,"TABLES PARAM
wa_t_vbseg  LIKE LINE OF it_t_vbseg ,
it_t_vbset  TYPE STANDARD TABLE OF FVBSET,"TABLES PARAM
wa_t_vbset  LIKE LINE OF it_t_vbset ,
it_t_actor  TYPE STANDARD TABLE OF SWHACTOR,"TABLES PARAM
wa_t_actor  LIKE LINE OF it_t_actor .


"populate fields of struture and append to itab
append wa_t_vbkpf to it_t_vbkpf.

"populate fields of struture and append to itab
append wa_t_vbsec to it_t_vbsec.

"populate fields of struture and append to itab
append wa_t_vbseg to it_t_vbseg.

"populate fields of struture and append to itab
append wa_t_vbset to it_t_vbset.

"populate fields of struture and append to itab
append wa_t_actor to it_t_actor. . CALL FUNCTION 'SAMPLE_PROCESS_00002211' TABLES t_vbkpf = it_t_vbkpf t_vbsec = it_t_vbsec t_vbseg = it_t_vbseg t_vbset = it_t_vbset t_actor = it_t_actor . " SAMPLE_PROCESS_00002211
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:
it_t_vbkpf  TYPE STANDARD TABLE OF FVBKPF ,
wa_t_vbkpf  LIKE LINE OF it_t_vbkpf,
it_t_vbsec  TYPE STANDARD TABLE OF FVBSEC ,
wa_t_vbsec  LIKE LINE OF it_t_vbsec,
it_t_vbseg  TYPE STANDARD TABLE OF FVBSEG ,
wa_t_vbseg  LIKE LINE OF it_t_vbseg,
it_t_vbset  TYPE STANDARD TABLE OF FVBSET ,
wa_t_vbset  LIKE LINE OF it_t_vbset,
it_t_actor  TYPE STANDARD TABLE OF SWHACTOR ,
wa_t_actor  LIKE LINE OF it_t_actor.


"populate fields of struture and append to itab
append wa_t_vbkpf to it_t_vbkpf.

"populate fields of struture and append to itab
append wa_t_vbsec to it_t_vbsec.

"populate fields of struture and append to itab
append wa_t_vbseg to it_t_vbseg.

"populate fields of struture and append to itab
append wa_t_vbset to it_t_vbset.

"populate fields of struture and append to itab
append wa_t_actor to it_t_actor.

SAP Documentation for FM SAMPLE_PROCESS_00002211


People with release authorization for the account assignment release approval are determined. If people with release authorization are ...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_00002211 or its description.