BORWE_REVERSE_GOODS_ISSUE 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 BORWE_REVERSE_GOODS_ISSUE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BORWE
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'BORWE_REVERSE_GOODS_ISSUE' "
EXPORTING
i_vbeln = " vbeln Sales and Distribution Document Number
* i_budat = SY-DATUM " sy-datlo Date and time, local date of user
i_mblnr = " mblnr Number of Material Document
* i_mblpo = " mblpo Item in Material Document
* i_mjahr = " mjahr Material Document Year
* i_posnr = " posnr Item Number of the SD Document
* i_pgr_flg = " xfeld Checkbox
IMPORTING
e_error = " xfeld Checkbox
et_mesg = " fmpl_t_mesg Error Messages Table
e_mblnr = " mblnr Number of Material Document
* TABLES
* t_vbapf = " vbapf
* t_vbfa = " vbfavb
. " BORWE_REVERSE_GOODS_ISSUE
The ABAP code below is a full code listing to execute function module BORWE_REVERSE_GOODS_ISSUE 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_error | TYPE XFELD , |
| ld_et_mesg | TYPE FMPL_T_MESG , |
| ld_e_mblnr | TYPE MBLNR , |
| it_t_vbapf | TYPE STANDARD TABLE OF VBAPF,"TABLES PARAM |
| wa_t_vbapf | LIKE LINE OF it_t_vbapf , |
| it_t_vbfa | TYPE STANDARD TABLE OF VBFAVB,"TABLES PARAM |
| wa_t_vbfa | LIKE LINE OF it_t_vbfa . |
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_error | TYPE XFELD , |
| ld_i_vbeln | TYPE VBELN , |
| it_t_vbapf | TYPE STANDARD TABLE OF VBAPF , |
| wa_t_vbapf | LIKE LINE OF it_t_vbapf, |
| ld_et_mesg | TYPE FMPL_T_MESG , |
| ld_i_budat | TYPE SY-DATLO , |
| it_t_vbfa | TYPE STANDARD TABLE OF VBFAVB , |
| wa_t_vbfa | LIKE LINE OF it_t_vbfa, |
| ld_e_mblnr | TYPE MBLNR , |
| ld_i_mblnr | TYPE MBLNR , |
| ld_i_mblpo | TYPE MBLPO , |
| ld_i_mjahr | TYPE MJAHR , |
| ld_i_posnr | TYPE POSNR , |
| ld_i_pgr_flg | TYPE XFELD . |
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 BORWE_REVERSE_GOODS_ISSUE or its description.