MV50AF0D_DOCUBATCH is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter MV50AF0D_DOCUBATCH into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
L_T340D_READ_SINGLE call function 'L_T340D_READ_SINGLE' exporting iv_lgnum = lips-lgnum importing es_t340d = ls_t340d exceptions not_found = 1 others = 2.
VBDBDM_DATA_GET_FROM_LE CALL FUNCTION 'VBDBDM_DATA_GET_FROM_LE' EXPORTING i_matnr = lips-matnr i_werks = lips-werks i_docubatch_charg = lipsd-docubatch_charg i_quantity = lv_pikmg i_uom = lv_vrkmp i_process_id = lv_process_id i_ebeln = lv_ebeln i_ebelp = lv_ebelp i_vbeln = lips-vbeln i_posnr = lips-posnr i_display_only = lv_display_only is_docubatch_com = ls_docubatch_com IMPORTING e_control = lipsd-docubatch_control EXCEPTIONS OTHERS = 0.
VBDBDM_DATA_PUT_TO_LE CALL FUNCTION 'VBDBDM_DATA_PUT_TO_LE' IMPORTING e_docubatch_charg = lipsd-docubatch_charg e_mult_entries = lipsd-docubatch_mult_entries.
SHP_LIPSPO_GET_SINGLE CALL FUNCTION 'SHP_LIPSPO_GET_SINGLE' EXPORTING if_handle_obj = likp-handle if_handle = xlips-handle CHANGING cf_lipspo = ls_lipspo EXCEPTIONS no_entry = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.