J_3GABES is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Stock lIst "Current Stock" for Equipment and Material This list displays a list of the current stock...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 J_3GABES 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.
Selection Text: P_RESSOU = Personnel number
Selection Text: S_AGEXT = Sold-to party
Selection Text: S_BFART = Inventory management type
Selection Text: S_DBER = Planning area
Selection Text: S_EIFR = Own/external indicator
Selection Text: S_EMPFAE = Recipient
Selection Text: S_EQART = Equipment type
Selection Text: S_EQKTX = Equipment description
Selection Text: S_ETYP = Recipient type
Selection Text: S_KATNRC = Number in catalog
Selection Text: S_KZMENG = Equi. item / multipart equi.
Selection Text: S_LVART = Activity type
Selection Text: S_MAKTX = Material description
Selection Text: S_MATKL = Material group
Selection Text: S_MATNR = Material number
Selection Text: S_NACHN = Last name
Selection Text: S_SERGE = Manufacturer serial number
Selection Text: S_SERNR = Serial number
Selection Text: S_TPLKZ = Catalog code
Selection Text: S_TYPBZ = Model identification
Selection Text: S_VERWAL = Administrator
Selection Text: S_WEEXT = External ship-to party
Selection Text: P_PERS = Available personnel
Selection Text: P_MATN = Material stock
Selection Text: P_EQUI = Equipment stock
Selection Text: M_RESSOU = Material number
Selection Text: E_RESSOU = Equipment number
Title: Stock List "Current Stock"
Text Symbol: 006 = Display variant
Text Symbol: 010 = Available stock
Text Symbol: 020 = Description not created
Text Symbol: 030 = Customer not found
Text Symbol: 040 = Page:
Text Symbol: 050 = Location stock commenced on: at:
Text Symbol: 060 = Recipient
Text Symbol: 070 = Resource data
Text Symbol: 080 = Column selection
Text Symbol: 110 = Recipient-oriented restriction
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 =
.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = disvariant i_save = 'U' IMPORTING es_variant = disvariant EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = disvariant i_save = 'U' IMPORTING es_variant = disvariant EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.
J_3G_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'J_3G_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = p_sy_repid i_callback_user_command = 'USER_COMMAND_FORM' is_layout = gs_layout it_fieldcat = gt_fieldcat it_sort = xsort i_default = 'X' i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item is_keyinfo = gs_keyinfo it_events = gt_events is_variant = i_variant * i_no_default_check = hlp_default_check
*-------Start of coding By c5063526 on 04-03-2005----* is_print = ls_print *-------End of coding by c5063526 on 04-03-2005----*
TABLES t_outtab_header = xheader t_outtab_item = ausgabe EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = p_lt_events.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = 'XHEADER' i_structure_name = '/SAPCEM/HEADER_J_3GABES' CHANGING ct_fieldcat = gt_fieldcat.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = 'AUSGABE' i_structure_name = structure CHANGING ct_fieldcat = gt_fieldcat.
CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = equnr IMPORTING output = equnr EXCEPTIONS OTHERS = 1.
CONVERSION_EXIT_MATN2_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_MATN2_OUTPUT' EXPORTING input = matnr IMPORTING output = matnr EXCEPTIONS OTHERS = 1.
CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = equnr IMPORTING output = equnr EXCEPTIONS OTHERS = 1.
CONVERSION_EXIT_MATN2_INPUT CALL FUNCTION 'CONVERSION_EXIT_MATN2_INPUT' EXPORTING input = matnr IMPORTING output = matnr 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.
J_3G_GET_KATNR CALL FUNCTION 'J_3G_GET_KATNR' EXPORTING i_equnr = p_ressou i_datum = p_datum i_katkz = tplkz IMPORTING e_katnr = xkat-katnrc e_katkz = xkat-tplkz EXCEPTIONS no_number = 1 two_numbers = 2 no_values = 3 no_katkz = 4 OTHERS = 5.
J_3G_GET_KATNR CALL FUNCTION 'J_3G_GET_KATNR' EXPORTING i_matnr = 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.
/SAPCEM/DD_DTEL_GET CALL FUNCTION '/SAPCEM/DD_DTEL_GET' EXPORTING typ = typ data_element = data_element IMPORTING eltext = eltext ellaenge = ellaenge.
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_3GABES or its description.
J_3GABES - Stock List "Current Stock" J_3GABES - Stock List "Current Stock" J_3G492T - Sample Program for Generating Standard Analyses: Analysis Data Declar. J_3G492F - Sample Program for Generating Standard Analyses: FORM Routines J_3G4925 - Standard Analysis or Info. Structure S492: Display Selection Version J_3G4925 - Standard Analysis or Info. Structure S492: Display Selection Version