MV50ABUFF 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 MV50ABUFF 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!
SHP_SD_ORDER_ENQUEUE CALL FUNCTION 'SHP_SD_ORDER_ENQUEUE' CHANGING ct_key_try = lt_key_to_lock ct_key_failed = lt_key_unlockable EXCEPTIONS OTHERS = 1.
ME_EKPO_ARRAY_READ CALL FUNCTION 'ME_EKPO_ARRAY_READ' EXPORTING * PI_BYPASSING_BUFFER = pi_refresh_buffer = charx TABLES pti_ekpo_key = lt_ekpo_key * PTO_EKPO = EXCEPTIONS no_records_found = 1 error_message = 2 OTHERS = 3 .
ME_EKKO_SINGLE_READ CALL FUNCTION 'ME_EKKO_SINGLE_READ' EXPORTING pi_ebeln = lt_ekpo_key-ebeln "n_890195 IMPORTING po_ekko = ls_ekko EXCEPTIONS no_records_found = 1 OTHERS = 2.
ME_EKET_ARRAY_READ_ITEM CALL FUNCTION 'ME_EKET_ARRAY_READ_ITEM' EXPORTING pi_refresh_buffer = charx TABLES pti_eket_keytab = lt_ekpo_key EXCEPTIONS err_no_records_requested = 1 err_no_records_found = 2 error_message = 3 OTHERS = 4.
ME_EKET_ARRAY_READ_ITEM CALL FUNCTION 'ME_EKET_ARRAY_READ_ITEM' TABLES pti_eket_keytab = lt_ekpo_key EXCEPTIONS err_no_records_requested = 1 err_no_records_found = 2 error_message = 3 OTHERS = 4.
SD_BUFFER_TABLES_REFRESH CALL FUNCTION 'SD_BUFFER_TABLES_REFRESH'.
SD_SALES_DOCUMENT_PREFETCH CALL FUNCTION 'SD_SALES_DOCUMENT_PREFETCH' EXPORTING i_sales_view = ls_order_view i_memory_read = chara * I_PRINT_MODE = ' ' TABLES i_vbak_keytab = lt_sales_key * FXVBAK = * FXVBAP = * FXVBEP = * FXVBKD = * FXVBPA = * FXSADR = * FXVBUK = * FXVBUP = * FXKOMV = * FXKONH = * FXKONP = * FXKONM = * FXKONW = * FXVEDA = * FXTHEAD = * FXTLINE = * FXVBFA = * FCUREF = * FCUCFG = * FCUINS = * FCUPRT = * FCUVAL = * FCUBLB = * FCUVK = * FXFPLA = * FXFPLT = * FXVBUV = .
SD_VBAK_SINGLE_READ CALL FUNCTION 'SD_VBAK_SINGLE_READ' EXPORTING i_vbeln = vs_vbeln * I_BYPASSING_BUFFER = ' ' * I_REFRESH_BUFFER = IMPORTING e_vbak = vbak EXCEPTIONS record_not_found = 1 error_message = 2 OTHERS = 3 .
SD_VBUK_SINGLE_READ CALL FUNCTION 'SD_VBUK_SINGLE_READ' EXPORTING i_vbeln = vs_vbeln * I_BYPASSING_BUFFER = ' ' * I_REFRESH_BUFFER = IMPORTING * E_VBUKVB = e_vbuk = vbuk EXCEPTIONS record_not_found = 1 error_message = 2 OTHERS = 3 .
SD_VBUP_READ_WITH_VBELN CALL FUNCTION 'SD_VBUP_READ_WITH_VBELN' EXPORTING i_vbeln = vs_vbeln * I_BYPASSING_BUFFER = ' ' * I_REFRESH_BUFFER = TABLES * ET_VBUPVB = et_vbup = lt_vbup EXCEPTIONS "50A record_not_found = 0 OTHERS = 0 .
SD_VBFA_READ_WITH_VBELV CALL FUNCTION 'SD_VBFA_READ_WITH_VBELV' EXPORTING i_vbelv = vs_vbelv * I_BYPASSING_BUFFER = ' ' * I_REFRESH_BUFFER = TABLES * ET_VBFAVB = et_vbfa = lt_vbfa EXCEPTIONS "50A record_not_found = 0 OTHERS = 0 .
SD_VBAP_SINGLE_READ CALL FUNCTION 'SD_VBAP_SINGLE_READ' EXPORTING i_vbeln = vs_vbeln i_posnr = vs_abpos * I_BYPASSING_BUFFER = ' ' * I_REFRESH_BUFFER = IMPORTING e_vbap = vbap EXCEPTIONS "50A record_not_found = 1 OTHERS = 2 .
SD_VBAP_SELECT_STRUCTURE CALL FUNCTION 'SD_VBAP_SELECT_STRUCTURE' EXPORTING i_document_number = vs_vbeln i_item_number = vs_abpos TABLES txvbap = lt_txvbap tuvbap = lt_tuvbap * EXCEPTIONS * ITEM_NOT_FOUND = 1 * OTHERS = 2 .
SHP_FILL_DYN_PART_XVBAP CALL FUNCTION 'SHP_FILL_DYN_PART_XVBAP' TABLES ct_vbap = lt_txvbap CHANGING is_vbak = cvbak EXCEPTIONS internal_error = 1 wrong_call = 2 OTHERS = 3.
SD_VBEP_READ_WITH_VBELN CALL FUNCTION 'SD_VBEP_READ_WITH_VBELN' EXPORTING i_vbeln = vs_vbeln * I_BYPASSING_BUFFER = ' ' * I_REFRESH_BUFFER = TABLES et_vbep = lt_vbep EXCEPTIONS record_not_found = 0 OTHERS = 0 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.