J_3GBAUB_N is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Construction Site Stock (ALV - ABAP List Viewer) You can use this report to display equipment and/or materials located at a specific recipient...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_3GBAUB_N into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
J4GON - Location Stock (ALV)
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 = D Equipment
Selection Text: E_VARI = D Layout
Selection Text: M_KATNRC = D Number in catalog
Selection Text: M_RESSOU = D Material
Selection Text: M_VARI = D Layout
Selection Text: P_COLOR = D Color
Selection Text: P_DATVON = D From date
Selection Text: P_TPLKZ = D Catalog code
Selection Text: S_AGEXT = D Debtor - recipient
Selection Text: S_BFART = D Inventory mgmt type
Selection Text: S_DBER = D Planning area
Selection Text: S_EIFR = D Own/external equi.
Selection Text: S_EMPFAE = D Recipient
Selection Text: S_EQART = D Technical obj. type
Selection Text: S_EQKTX = D Equipment descriptn
Selection Text: S_ETYP = D Recipient type
Selection Text: S_KATNRC = D Number in catalog
Selection Text: S_KZMENG = D Item/multipart ind.
Selection Text: S_LVART = D Activity type
Selection Text: S_MAKTX = D Material Description
Selection Text: S_MATKL = D Material Group
Selection Text: S_MATNR = D Material
Selection Text: S_SERGE = D ManufSerialNumber
Selection Text: S_SERNR = D Serial number
Selection Text: S_TPLKZ = D Catalog code
Selection Text: S_TYPBZ = D Model number
Selection Text: S_VERWAL = D Administrator
Selection Text: S_WEEXT = D ExtShiptoPrtyRcpnt
Title: Location Stock (ALV)
Text Symbol: 002 = Unrestricted-use stck
Text Symbol: 003 = Display equipment + material
Text Symbol: 004 = Display equipment only
Text Symbol: 005 = Display material only
Text Symbol: 006 = Display variant equipment
Text Symbol: 007 = Display variant material
Text Symbol: 008 = Material directly after equipment?
Text Symbol: 009 = Color for material items
Text Symbol: 010 = Location stock on: Page:
INCLUDE J_3GBAUD_N.
INCLUDE J_3GBAUB_N_INITIALIZATION.
INCLUDE J_3GBAUS_SELOPT_N.
INCLUDE J_3GBAUB_N_AT_SELECTION_SCREEN.
No SAP DATABASE tables are accessed within this REPORT code!
MATNR_CONV_RANGES CALL FUNCTION 'MATNR_CONV_RANGES' EXPORTING selopt_name = mgv_matnr_selopt_tab-name TABLES range =
.
/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.
/SAPCEM/HBEST_TBEST_MERGE CALL FUNCTION '/SAPCEM/HBEST_TBEST_MERGE' EXPORTING i_cdate = p_datvon i_cmatn = 'X' IT_EMPFA = XEMPFAE[] it_agext = s_agext[] it_weext = s_weext[] it_rmatn = resso_wa[] i_corr_hbest_read = ' ' IMPORTING ET_HBEST = LT_HBEST[] EXCEPTIONS OTHERS = 1.
REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING es_variant = xvariant EXCEPTIONS OTHERS = 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.