SAP Reports / Programs | Construction Equipment Management | Industry Solution Engineering & Construction | Construction Equipment Management(IS-EC-CEM) SAP IS

J_3GBBEW SAP ABAP Report - Movements between construction sites







J_3GBBEW 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_3GBBEW into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

J4GW - Movements Between Locations


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 J_3GBBEW. "Basic submit
SUBMIT J_3GBBEW AND RETURN. "Return to original report after report execution complete
SUBMIT J_3GBBEW 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: E_RESSOU = Equipment
Selection Text: LINE = Printout containing 3 lines
Selection Text: P_DATBIS = Timeframe to
Selection Text: P_DATVON = Timeframe From
Selection Text: P_KZBEST = Only unrestricted-use stock
Selection Text: SEL_A = All locations
Selection Text: SEL_B = Lctns wth acq. docs in period
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 no. in catalog
Selection Text: S_AGEXT = Sold-To Party
Selection Text: S_DBER = MRP Area
Selection Text: S_EIFR = Own/external indicator
Selection Text: S_EMPFAE = Recipient
Selection Text: S_EQART = Object Type
Selection Text: S_EQKTX = Equipment description
Selection Text: S_ETYP = Recipient Type
Selection Text: S_INVNR = Inventory Number
Selection Text: S_KATNRC = Number in Catalog
Selection Text: S_KZMENG = Equi. item / multipart equi.
Selection Text: S_LVART = Activity Type
Selection Text: S_MATNR = Material Number
Selection Text: S_SERGE = Manufacturer serial number
Selection Text: S_SERNR = Serial Number
Selection Text: S_TPLKZ = Catalog Code
Selection Text: S_TYPBZ = Model Number
Selection Text: S_WEEXT = External Ship-To Party
Title: Movements between construction sites
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: 914 = Name1
Text Symbol: 913 = Value
Text Symbol: 912 = Category
Text Symbol: 911 = Date:





Text Symbol: 910 = Page:
Text Symbol: 909 = To:
Text Symbol: 908 = From
Text Symbol: 907 = Mvmnts btwn Const.Sites
Text Symbol: 906 = Sort by
Text Symbol: 905 = UoM
Text Symbol: 300 = Recipient :
Text Symbol: 140 = Additional selection parameters
Text Symbol: 130 = Sort order
Text Symbol: 125 = Catalog Restriction
Text Symbol: 124 = Rcpnt Type Restriction
Text Symbol: 123 = Resource Description
Text Symbol: 122 = Resources Restriction
Text Symbol: 121 = Further restrictns
Text Symbol: 120 = Equipment Restriction
Text Symbol: 110 = Recipient-oriented restriction
Text Symbol: 100 = General restrictions
Text Symbol: 030 = Customer not found
Text Symbol: 020 = Description not created
Text Symbol: 012 = PBE as TBE
Text Symbol: 011 = Sort acc. to Date:
Text Symbol: 010 = Mvmts btwn Lctns From: To: Page:
Text Symbol: 006 = Print inventory no./description
Text Symbol: 005 = Only lctns wth acq. doc. date in time period
Text Symbol: 004 = All locations
Text Symbol: 003 = To
Text Symbol: 002 = On-Order Stock
Text Symbol: 001 = Period from:
Text Symbol: 904 = Quantity
Text Symbol: 903 = Text2
Text Symbol: 902 = Time
Text Symbol: 901 = Period
Text Symbol: 523 = Equi description
Text Symbol: 522 = Inventory no.
Text Symbol: 521 = No. in catalog
Text Symbol: 520 = Equipment number
Text Symbol: 519 = No. in catalog Model no./description
Text Symbol: 518 = Inventory no. Model no./description
Text Symbol: 513 = Inventory no. Equipment I/MI Time period Days/hrs Qty U/M AT





Text Symbol: 511 = No. in Catalog Equipment I/MI Time Period Days/Hrs Qty U/M AT
Text Symbol: 510 = Equipment No. in catalog Doc. no.
Text Symbol: 509 = Equi. description I/MI Time period Days/hrs Qty U/M AT
Text Symbol: 508 = I/MI Time Period Days/hrs Qty U/M AT
Text Symbol: 507 = No. in Catal.
Text Symbol: 506 = Description Doc. no.
Text Symbol: 505 = Equipment
Text Symbol: 330 = Ship-to party
Text Symbol: 325 = Basic hrs :
Text Symbol: 320 = Sold-to party:
Text Symbol: 310 = Basic days:


INCLUDES used within this REPORT J_3GBBEW

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:

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 .

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 = .

/SAPCEM/LBUKRS_GET CALL FUNCTION '/SAPCEM/LBUKRS_GET' EXPORTING i_equnr = hlp_equnr i_datum = ausgabe-j_3gdatvon IMPORTING e_bukrs = bukrs.

J_3G_DAY_CALCULATE CALL FUNCTION 'J_3G_DAY_CALCULATE' EXPORTING j_3gabrart = ausgabe-j_3gabrart j_3gtagmon = ausgabe-j_3gtagmon j_3gvondat = ausgabe-j_3gdatvon j_3gbisdat = ausgabe-j_3gdatbis facid = ausgabe-j_3gcalid j_3gvmonat = ausgabe-j_3gvmonat j_3glbukrs = bukrs IMPORTING dauer = anz_tage dauer_mit = anz_tage_mit EXCEPTIONS abrechart_incorrect = 1 facid_incorrect = 2.

/SAPCEM/HBEST_TBEST_MERGE CALL FUNCTION '/SAPCEM/HBEST_TBEST_MERGE' EXPORTING i_vdate = hlp_datum * i_vdate = p_datvon
i_cdate = p_datbis i_cequi = 'X' IT_EMPFA = XEMPFAE[] it_agext = s_agext[] it_weext = s_weext[] it_requi = resso_wa[] IMPORTING ET_HBEST = LT_HBEST[] EXCEPTIONS OTHERS = 1.

/SAPCEM/HBEST_TBEST_MERGE CALL FUNCTION '/SAPCEM/HBEST_TBEST_MERGE' EXPORTING i_vdate = hlp_datum i_cdate = p_datbis i_cequi = 'X' IT_EMPFA = XEMPFAE[] it_agext = s_agext[] it_weext = s_weext[] it_requi = resso_wa[] IMPORTING ET_HBEST = LT_HBEST[] EXCEPTIONS OTHERS = 1.

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 = gv_repid is_layout = ls_layout it_fieldcat = lt_fcat it_events = lt_events is_print = ls_print TABLES t_outtab = gt_lineitems EXCEPTIONS program_error = 1 OTHERS = 2.



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 J_3GBBEW or its description.