J_3GBAUB is a standard Executable ABAP Report 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 J_3GBAUB into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
J4GO - Location Stock
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.
Selection Text: E_RESSOU = Equipment
Selection Text: P_DATVON = Key date
Selection Text: P_KZBEST = Only unrestricted-use stock
Selection Text: SORT_B = According to equi. description
Selection Text: SORT_E = According to equi. number
Selection Text: SORT_I = According to inventory number
Selection Text: SORT_K = According to catalog number
Selection Text: SUM_E = Total after equi. change
Selection Text: SUM_L = Total after actvty type change
Selection Text: S_AGEXT = Sold-to party
Selection Text: S_DBER = Planning area
Selection Text: S_EIFR = Own/external indicator
Selection Text: S_EMPFAE = Recipient
Selection Text: S_WEEXT = External ship-to party
Selection Text: S_VERWAL = Administrator
Selection Text: S_TYPBZ = Model identification
Selection Text: S_TPLKZ = Catalog code
Selection Text: S_SERNR = Serial number
Selection Text: S_SERGE = Manufacturer serial number
Selection Text: S_MATNR = Material number
Selection Text: S_LVART = Activity type
Selection Text: S_KZMENG = Equi. item / multipart equi.
Selection Text: S_KATNRC = Number in catalog
Selection Text: S_ETYP = Recipient type
Selection Text: S_EQKTX = Equipment description
Selection Text: S_EQART = Equipment type
Title: Location Stock
Text Symbol: S50 = Classes
Text Symbol: S40 = Output control
Text Symbol: S30 = General restriction
Text Symbol: S20 = Special restrictions
Text Symbol: S10 = Select resource
Text Symbol: 915 = Equipment
Text Symbol: 914 = Name of customer
Text Symbol: 913 = Value
Text Symbol: 001 = Key date:
Text Symbol: 002 = Unrestricted-use stck
Text Symbol: 004 = Total after equi. change
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
MGV_SELOP_AFTER_INITIALIZATION call function 'MGV_SELOP_AFTER_INITIALIZATION' EXPORTING PROGRAM = mgv_matnr_prog TABLES SELOP = mgv_matnr_selopt_tab EXCEPTIONS NO_PROGRAMNAME = 1 OTHERS = 2 .
MGV_SELOP_AFTER_START_OF_SEL CALL FUNCTION 'MGV_SELOP_AFTER_START_OF_SEL' EXPORTING SELOPT_NAME = mgv_matnr_selopt_tab-name TABLES RANGE =
.
J_3G_CHECK_ERP_MEC_LIST CALL FUNCTION 'J_3G_CHECK_ERP_MEC_LIST' IMPORTING EV_CHECK_SWITCH_FLAG = lv_switch_flag EXCEPTIONS INVALID_SWITCH = 1 OTHERS = 2 .
CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' exporting input = equnr importing output = equnr exceptions others = 1.
CONVERSION_EXIT_ALPHA_OUTPUT call function 'CONVERSION_EXIT_ALPHA_OUTPUT' exporting input = equnr importing output = equnr exceptions others = 1.
CLCA_GET_CLASSTYPES_FROM_TABLE call function 'CLCA_GET_CLASSTYPES_FROM_TABLE' exporting spras = sy-langu table = h_table with_text = ' ' tables iklart = h_iklart exceptions no_classtype_found = 01.
CLSC_SELECT_OBJECTS_FROM_CLASS call function 'CLSC_SELECT_OBJECTS_FROM_CLASS' exporting klart = h_iklart-klart table = h_table tables objects = clobj_tab exceptions pf03 = 01 pf12 = 02 pf15 = 03.
/SAPCEM/HBEST_TBEST_MERGE call function '/SAPCEM/HBEST_TBEST_MERGE' exporting i_cdate = p_datvon i_cequi = 'X' IT_EMPFA = XEMPFAE[] it_agext = s_agext[] it_weext = s_weext[] it_requi = resso_wa[] i_corr_hbest_read = '' importing ET_HBEST = LT_HBEST[] EXCEPTIONS OTHERS = 1.
J_3G_GET_KATNR call function 'J_3G_GET_KATNR' exporting i_equnr = p_ressou i_datum = p_datum importing e_katnr = xkat-katnrc e_katkz = xkat-tplkz exceptions no_number = 1 two_numbers = 2 no_values = 3 no_katkz = 4 others = 5.
REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = g_repid i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' is_layout = ls_layout it_fieldcat = lt_fcat it_events = lt_events is_print = ls_print TABLES t_outtab = gt_HEADER EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' * EXPORTING * i_callback_program = gv_repid * i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' * is_layout = ls_layout * it_fieldcat = lt_fcat * it_events = lt_events * is_print = ls_print * TABLES * t_outtab = gt_HEADER * EXCEPTIONS * program_error = 1 * OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = lv_struct CHANGING ct_fieldcat = ct_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' IMPORTING et_events = ct_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = g_repid i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' is_layout = ls_layout it_fieldcat = lt_fcat IT_SORT = lt_sort it_events = lt_events is_print = ls_print TABLES t_outtab = gt_lineitems EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' * EXPORTING * i_callback_program = gv_repid * i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' * is_layout = ls_layout * it_fieldcat = lt_fcat * IT_SORT = lt_sort * it_events = lt_events * is_print = ls_print * TABLES * t_outtab = gt_lineitems * EXCEPTIONS * program_error = 1 * OTHERS = 2.
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 J_3GBAUB or its description.