SAMPLE_PROCESS_00708101 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_00708101 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RECNBTESMPLZ
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'SAMPLE_PROCESS_00708101' "Interface Description for Process 00708101
EXPORTING
i_recnscsrhnr = " recnscsrhnr Accounting Number
i_recnflds = " recnflds Contract Header
* i_display = ' ' " Display Mode
* i_post = ' ' " Post Settlement
IMPORTING
e_accept = " Service Charge Settlement Accepted
e_posted = " Service Charge Settlement Posted
e_post_bukrs = " bkpf-bukrs Company Code
e_post_belnr = " bkpf-belnr Accounting Document Number
e_post_gjahr = " bkpf-gjahr Fiscal Year
TABLES
t_recnvicnscs = " recnvicnscs Service Charge Assignment "Service Charge Key"
t_recnvicnscsau = " recnvicnscsau Service Charge Assignment "Apportionment Units"
t_recnvicnscsrh = " recnvicnscsrh Service Charge Settlement "Header"
t_recnvicnscsrp = " recnvicnscsrp Service Charge Settlement "Item"
t_ap_stream = " gvibepp Change Document Structure: Generated by RSSCD000
. " SAMPLE_PROCESS_00708101
The ABAP code below is a full code listing to execute function module SAMPLE_PROCESS_00708101 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).
| ld_e_accept | TYPE STRING , |
| ld_e_posted | TYPE STRING , |
| ld_e_post_bukrs | TYPE BKPF-BUKRS , |
| ld_e_post_belnr | TYPE BKPF-BELNR , |
| ld_e_post_gjahr | TYPE BKPF-GJAHR , |
| it_t_recnvicnscs | TYPE STANDARD TABLE OF RECNVICNSCS,"TABLES PARAM |
| wa_t_recnvicnscs | LIKE LINE OF it_t_recnvicnscs , |
| it_t_recnvicnscsau | TYPE STANDARD TABLE OF RECNVICNSCSAU,"TABLES PARAM |
| wa_t_recnvicnscsau | LIKE LINE OF it_t_recnvicnscsau , |
| it_t_recnvicnscsrh | TYPE STANDARD TABLE OF RECNVICNSCSRH,"TABLES PARAM |
| wa_t_recnvicnscsrh | LIKE LINE OF it_t_recnvicnscsrh , |
| it_t_recnvicnscsrp | TYPE STANDARD TABLE OF RECNVICNSCSRP,"TABLES PARAM |
| wa_t_recnvicnscsrp | LIKE LINE OF it_t_recnvicnscsrp , |
| it_t_ap_stream | TYPE STANDARD TABLE OF GVIBEPP,"TABLES PARAM |
| wa_t_ap_stream | LIKE LINE OF it_t_ap_stream . |
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_e_accept | TYPE STRING , |
| ld_i_recnscsrhnr | TYPE RECNSCSRHNR , |
| it_t_recnvicnscs | TYPE STANDARD TABLE OF RECNVICNSCS , |
| wa_t_recnvicnscs | LIKE LINE OF it_t_recnvicnscs, |
| ld_e_posted | TYPE STRING , |
| ld_i_recnflds | TYPE RECNFLDS , |
| it_t_recnvicnscsau | TYPE STANDARD TABLE OF RECNVICNSCSAU , |
| wa_t_recnvicnscsau | LIKE LINE OF it_t_recnvicnscsau, |
| ld_e_post_bukrs | TYPE BKPF-BUKRS , |
| ld_i_display | TYPE STRING , |
| it_t_recnvicnscsrh | TYPE STANDARD TABLE OF RECNVICNSCSRH , |
| wa_t_recnvicnscsrh | LIKE LINE OF it_t_recnvicnscsrh, |
| ld_e_post_belnr | TYPE BKPF-BELNR , |
| ld_i_post | TYPE STRING , |
| it_t_recnvicnscsrp | TYPE STANDARD TABLE OF RECNVICNSCSRP , |
| wa_t_recnvicnscsrp | LIKE LINE OF it_t_recnvicnscsrp, |
| ld_e_post_gjahr | TYPE BKPF-GJAHR , |
| it_t_ap_stream | TYPE STANDARD TABLE OF GVIBEPP , |
| wa_t_ap_stream | LIKE LINE OF it_t_ap_stream. |
DEFINE TEXT = 'General Contract: Check SCS/Post Vendor'
DEFINE EVENT = '00708101'
...See here for full SAP fm documentation
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_00708101 or its description.