SAMPLE_PROCESS_00107050 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_00107050 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
F0KI
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'SAMPLE_PROCESS_00107050' "BTE 00107050: RFFMKG03 Anordnung ändern
* EXPORTING
* i_belnr = " kble-belnr Belegnummer Mittelvormerkung
* i_blpos = " kble-blpos Belegposition Mittelvormerkung
* i_bpent = " kble-bpent Belegpositionsentwicklung
* i_bkpf = " bkpf Belegkopf für Buchhaltung
* TABLES
* t_bseg = " bseg Belegsegment Buchhaltung
* t_bsec = " bsec Belegsegment CPD-Daten
* t_bset = " bset Belegsegment Steuerdaten
* t_bbkpf = " bbkpf_fm Belegkopf für Buchhaltungsbeleg (Batch-Input-Struktur)
* t_bbseg = " bbseg_fm Belegsegment Buchhaltung für IS-PS (Batch-Input-Struktur)
* t_bbtax = " bbtax_fm Belegsteuern (Batch-Input-Struktur)
. " SAMPLE_PROCESS_00107050
The ABAP code below is a full code listing to execute function module SAMPLE_PROCESS_00107050 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).
| it_t_bseg | TYPE STANDARD TABLE OF BSEG,"TABLES PARAM |
| wa_t_bseg | LIKE LINE OF it_t_bseg , |
| it_t_bsec | TYPE STANDARD TABLE OF BSEC,"TABLES PARAM |
| wa_t_bsec | LIKE LINE OF it_t_bsec , |
| it_t_bset | TYPE STANDARD TABLE OF BSET,"TABLES PARAM |
| wa_t_bset | LIKE LINE OF it_t_bset , |
| it_t_bbkpf | TYPE STANDARD TABLE OF BBKPF_FM,"TABLES PARAM |
| wa_t_bbkpf | LIKE LINE OF it_t_bbkpf , |
| it_t_bbseg | TYPE STANDARD TABLE OF BBSEG_FM,"TABLES PARAM |
| wa_t_bbseg | LIKE LINE OF it_t_bbseg , |
| it_t_bbtax | TYPE STANDARD TABLE OF BBTAX_FM,"TABLES PARAM |
| wa_t_bbtax | LIKE LINE OF it_t_bbtax . |
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_i_belnr | TYPE KBLE-BELNR , |
| it_t_bseg | TYPE STANDARD TABLE OF BSEG , |
| wa_t_bseg | LIKE LINE OF it_t_bseg, |
| ld_i_blpos | TYPE KBLE-BLPOS , |
| it_t_bsec | TYPE STANDARD TABLE OF BSEC , |
| wa_t_bsec | LIKE LINE OF it_t_bsec, |
| ld_i_bpent | TYPE KBLE-BPENT , |
| it_t_bset | TYPE STANDARD TABLE OF BSET , |
| wa_t_bset | LIKE LINE OF it_t_bset, |
| ld_i_bkpf | TYPE BKPF , |
| it_t_bbkpf | TYPE STANDARD TABLE OF BBKPF_FM , |
| wa_t_bbkpf | LIKE LINE OF it_t_bbkpf, |
| it_t_bbseg | TYPE STANDARD TABLE OF BBSEG_FM , |
| wa_t_bbseg | LIKE LINE OF it_t_bbseg, |
| it_t_bbtax | TYPE STANDARD TABLE OF BBTAX_FM , |
| wa_t_bbtax | LIKE LINE OF it_t_bbtax. |
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_00107050 or its description.