CREATE_ADDBEPP_INFORMATION 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 CREATE_ADDBEPP_INFORMATION into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
TRDB
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CREATE_ADDBEPP_INFORMATION' "Prepare ADDBEPP for Updating Parentheses and OIs
* EXPORTING
* i_flg_disb_old = 'X' " xfeld 'X' - alte Auszahlung; space - neue Auszahlung (Geschäftsvorfallworkplace)
* i_sollbu_val = 'X' " xfeld Buchungsdatum aus der Sollstellung übernehmen
TABLES
xt_vdbepp = " vdbepp
xt_addbepp = " addbepp
* xt_vdausz = " vdausz
* xt_loanref_a = " loanref
* xt_addbepp_add = " addbepp_add Additional Information About VDBEPP
EXCEPTIONS
MASTERBEPP_NOT_UNIQUE = 1 "
POSTING_IMPOSSIBLE = 2 "
. " CREATE_ADDBEPP_INFORMATION
The ABAP code below is a full code listing to execute function module CREATE_ADDBEPP_INFORMATION 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_xt_vdbepp | TYPE STANDARD TABLE OF VDBEPP,"TABLES PARAM |
| wa_xt_vdbepp | LIKE LINE OF it_xt_vdbepp , |
| it_xt_addbepp | TYPE STANDARD TABLE OF ADDBEPP,"TABLES PARAM |
| wa_xt_addbepp | LIKE LINE OF it_xt_addbepp , |
| it_xt_vdausz | TYPE STANDARD TABLE OF VDAUSZ,"TABLES PARAM |
| wa_xt_vdausz | LIKE LINE OF it_xt_vdausz , |
| it_xt_loanref_a | TYPE STANDARD TABLE OF LOANREF,"TABLES PARAM |
| wa_xt_loanref_a | LIKE LINE OF it_xt_loanref_a , |
| it_xt_addbepp_add | TYPE STANDARD TABLE OF ADDBEPP_ADD,"TABLES PARAM |
| wa_xt_addbepp_add | LIKE LINE OF it_xt_addbepp_add . |
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_flg_disb_old | TYPE XFELD , |
| it_xt_vdbepp | TYPE STANDARD TABLE OF VDBEPP , |
| wa_xt_vdbepp | LIKE LINE OF it_xt_vdbepp, |
| ld_i_sollbu_val | TYPE XFELD , |
| it_xt_addbepp | TYPE STANDARD TABLE OF ADDBEPP , |
| wa_xt_addbepp | LIKE LINE OF it_xt_addbepp, |
| it_xt_vdausz | TYPE STANDARD TABLE OF VDAUSZ , |
| wa_xt_vdausz | LIKE LINE OF it_xt_vdausz, |
| it_xt_loanref_a | TYPE STANDARD TABLE OF LOANREF , |
| wa_xt_loanref_a | LIKE LINE OF it_xt_loanref_a, |
| it_xt_addbepp_add | TYPE STANDARD TABLE OF ADDBEPP_ADD , |
| wa_xt_addbepp_add | LIKE LINE OF it_xt_addbepp_add. |
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 CREATE_ADDBEPP_INFORMATION or its description.