SAP Reports / Programs

MBEKBEAN_OVERVIEW SAP ABAP Report - Analysis and Overview of Purchase Orders with Multiple Account Assgmt







MBEKBEAN_OVERVIEW is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report enables SAP Support to analyze purchase orders containing items with multiple account assignment and the related goods movements...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter MBEKBEAN_OVERVIEW into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT MBEKBEAN_OVERVIEW. "Basic submit
SUBMIT MBEKBEAN_OVERVIEW AND RETURN. "Return to original report after report execution complete
SUBMIT MBEKBEAN_OVERVIEW VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SO_WERKS = D .
Selection Text: SO_VRTKZ = D .
Selection Text: SO_VBELP = D .
Selection Text: SO_VBELN = D .
Selection Text: SO_TWRKZ = D .
Selection Text: SO_SAKTO = D .
Selection Text: SO_POSID = D .
Selection Text: SO_LIFNR = D .
Selection Text: SO_KOSTL = D .
Selection Text: SO_KNTTP = D .
Selection Text: SO_ERNAM = D .
Selection Text: SO_EPSTP = D .
Selection Text: SO_EBELP = D .
Selection Text: SO_EBELN = D .
Selection Text: SO_BEDAT = D .
Selection Text: SO_AUFNR = D .
Selection Text: SO_ANLN2 = D .
Selection Text: SO_ANLN1 = D .
Selection Text: PA_VA_OV = Display Variant Hierarchy
Selection Text: PA_VA_DE = Layout
Selection Text: PA_OVERV = Hierarchical List
Selection Text: PA_DETAI = Non-Hierarchical List
Selection Text: PA_ALL = Display All Account Assgmts
Selection Text: DETAIL = Display Detail Values
Title: Analysis and Overview of Purchase Orders with Multiple Account Assgmt
Text Symbol: 008 = Purchase order hist.
Text Symbol: 007 = Prepare List Output
Text Symbol: 006 = Database Selection for Purchase Order Items
Text Symbol: 005 = Parameters for Report MBEKBEAN_MAA
Text Symbol: 004 = Display Options
Text Symbol: 003 = Scope of List
Text Symbol: 002 = Database Selection
Text Symbol: 001 = Acct Assignmt Object


INCLUDES used within this REPORT MBEKBEAN_OVERVIEW

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-006. " database selection PO items

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-007. "Preparing list output

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = ls_variant_def EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ls_variant i_save = 'A' IMPORTING e_exit = l_flag_exit es_variant = ls_variant_f4 EXCEPTIONS OTHERS = 2.

ME_CHECK_T160M CALL FUNCTION 'ME_CHECK_T160M' EXPORTING i_arbgb = 'M7' i_msgnr = '393' EXCEPTIONS nothing = 0 OTHERS = 1.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = ls_variant EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' * EXPORTING * I_INTERFACE_CHECK = l_f_check * i_callback_program = g_f_repid * it_events = gt_events_overv[] * IS_LAYOUT = gs_layout * it_fieldcat = gt_fieldcat_overv[] * i_default = 'X' * i_save = 'A' * is_variant = gs_variant_overv * IT_SORT = gt_sort_overv[] * IS_PRINT = gs_print * TABLES * T_OUTTAB = g_t_overv * EXCEPTIONS * OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' "show Groups hsq EXPORTING i_interface_check = l_f_check i_callback_program = g_f_repid is_layout = gs_layout it_fieldcat = gt_fieldcat_overv[] it_sort = gt_sort_overv i_default = 'X' i_save = 'A' is_variant = gs_variant_overv it_events = gt_events_overv[] i_tabname_header = 'G_T_HEADER' i_tabname_item = 'G_T_ACC_OBJ' is_keyinfo = l_s_keyinfo is_print = gs_print TABLES t_outtab_header = g_t_header t_outtab_item = g_t_acc_obj EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_interface_check = l_f_check i_callback_program = g_f_repid it_events = gt_events_detail[] is_layout = gs_layout it_fieldcat = gt_fieldcat_detail[] i_default = 'X' i_save = 'A' is_variant = gs_variant_detail it_sort = gt_sort_detail[] is_print = gs_print TABLES t_outtab = l_t_acc_obj EXCEPTIONS OTHERS = 2.

ME_DISPLAY_PURCHASE_DOCUMENT CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT' EXPORTING i_ebeln = l_ebeln i_enjoy = 'X' EXCEPTIONS not_found = 1 no_authority = 2 invalid_call = 3 OTHERS = 4.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MBEKBEAN_OVERVIEW or its description.