J_2GLPCANCELGI 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_2GLPCANCELGI into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
J2GLPVL09 - Cancelation of GI
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: I_VSTEL = Shipping point
Selection Text: I_VBELN = Inbound / outbound delivery
Selection Text: I_TKNUM = Shipment number
Selection Text: I_SAMMG = Grouped deliveries
Selection Text: I_ROUTE = Route
Selection Text: I_DATUM = Goods movement date
Title: Reverse goods movement
Text Symbol: J06 = Cancel GI successful
Text Symbol: J05 = Cannot reverse goods issue
Text Symbol: J04 = This program cannot cancel more than 1 GI
Text Symbol: J03 = The delivery is not proper to be cancelled
Text Symbol: J02 = This program does not run online
Text Symbol: J01 = Addition for Greece
Text Symbol: 022 = Cancellable Material Docs
Text Symbol: 021 = Inbound dlvs
Text Symbol: 020 = Outbound del.
Text Symbol: 019 = Inbound Delivs & Outbound Delivs
Text Symbol: 018 = GI stat.
Text Symbol: 017 = Define date
Text Symbol: 016 = Error log for reversal
Text Symbol: 015 = RvrsDate
Text Symbol: 014 = ChangeReversalDate
Text Symbol: 013 = Transacts to be canceled
Text Symbol: 012 = Confirm. Prompt
Text Symbol: 010 = Do you want to reverse the goods issue?
Text Symbol: 009 = Shipment
Text Symbol: 008 = ShpToPrty
Text Symbol: 007 = PckDate
Text Symbol: 006 = Route
Text Symbol: 005 = LPt
Text Symbol: 004 = SPt
Text Symbol: 003 = ActGIDat
Text Symbol: 002 = DlvTp
Text Symbol: 001 = Delivery
INCLUDE: RVDIREKT.
INCLUDE RVV50L09PGR .
INCLUDE RVV50L09PBO.
INCLUDE RVV50L09SELMAT.
No SAP DATABASE tables are accessed within this REPORT code!
CONVERSION_EXIT_ALPHA_INPUT ** CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' "v_n_724909 ** EXPORTING ** INPUT = SY-LISEL+2(10) ** IMPORTING ** OUTPUT = VBELN. "^_n_724909
RV_CALL_DISPLAY_TRANSACTION ** CALL FUNCTION 'RV_CALL_DISPLAY_TRANSACTION' "fct-call moved ** EXPORTING fcode analysis ** VBELN = VBELN WHEN '&IC1' ** AUFNR = SPACE ** VBTYP = XLIKPUKWA-VBTYP ** EXCEPTIONS ** OTHERS = 1.
MESSAGES_INITIALIZE call function 'MESSAGES_INITIALIZE' exporting i_identification = ident importing e_identification = ident exceptions others = 0.
MESSAGES_ACTIVE call function 'MESSAGES_ACTIVE' exceptions others = 1.
WS_REVERSE_GOODS_ISSUE call function 'WS_REVERSE_GOODS_ISSUE' exporting i_vbeln = xlikpukwa-vbeln i_budat = xlikpukwa-stdat i_count = count i_mblnr = xlikpukwa-mblnr i_tcode = 'VL09' i_vbtyp = xlikpukwa-vbtyp tables t_mesg = xmesg exceptions error_reverse_goods_issue = 1 others = 2.
MESSAGE_SET_DEFAULTLINE call function 'MESSAGE_SET_DEFAULTLINE' exporting arbgb = 'VL' msgv1 = xlikpukwa-vbeln txtnr = '624' zeile = count modify = ' ' exceptions not_active = 1 others = 2.
MESSAGE_STORE call function 'MESSAGE_STORE' exporting arbgb = 'VL' msgv1 = xlikpukwa-vbeln msgty = 'E' txtnr = '623' zeile = count exceptions not_active = 1 others = 2.
MESSAGES_SHOW call function 'MESSAGES_SHOW' exporting show_linno = space object = text-016 exceptions no_messages = 1.
MESSAGES_INITIALIZE call function 'MESSAGES_INITIALIZE' exporting i_identification = ident importing e_identification = ident exceptions others = 0. "^_n_720286
MESSAGES_STOP call function 'MESSAGES_STOP'.
MESSAGES_SHOW call function 'MESSAGES_SHOW' exporting show_linno = space object = text-016 exceptions no_messages = 1.
CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' "v_n_724909 exporting input = is_selfield-value importing output = vbeln. "^_n_724909
RV_CALL_DISPLAY_TRANSACTION call function 'RV_CALL_DISPLAY_TRANSACTION' exporting vbeln = xlikpukwa-vbeln aufnr = space vbtyp = xlikpukwa-vbtyp exceptions others = 1.
POPUP_TO_DECIDE_INFO call function 'POPUP_TO_DECIDE_INFO' exporting defaultoption = 'N' textline1 = text-010 titel = text-012 start_column = 25 start_row = 6 importing answer = reaction exceptions others = 1.
POPUP_GET_VALUES call function 'POPUP_GET_VALUES' exporting popup_title = text-017 "*--Datum vorgeben start_column = '8' start_row = '8' importing returncode = reaction tables fields = fields exceptions error_in_fields = 1 others = 2.
RV_CALL_DISPLAY_TRANSACTION call function 'RV_CALL_DISPLAY_TRANSACTION' exporting vbeln = xlikpukwa-vbeln vbtyp = xlikpukwa-vbtyp exceptions others = 1.
MESSAGES_INITIALIZE call function 'MESSAGES_INITIALIZE' exporting i_identification = ident importing e_identification = ident exceptions others = 0.
MESSAGES_ACTIVE call function 'MESSAGES_ACTIVE' exceptions others = 1.
WS_REVERSE_GOODS_ISSUE call function 'WS_REVERSE_GOODS_ISSUE' exporting i_vbeln = xlikpukwa-vbeln i_budat = xlikpukwa-stdat i_count = count i_mblnr = xlikpukwa-mblnr i_tcode = 'VL09' i_vbtyp = xlikpukwa-vbtyp tables t_mesg = xmesg exceptions error_reverse_goods_issue = 1 others = 2.
MESSAGES_GIVE call function 'MESSAGES_GIVE' tables t_mesg = tmesg exceptions others = 0.
MESSAGES_SHOW call function 'MESSAGES_SHOW' exporting object = tmesg exceptions inconsistent_range = 1 no_messages = 2 others = 3.
MESSAGES_STOP call function 'MESSAGES_STOP'.
WS_REVERSE_GOODS_ISSUE call function 'WS_REVERSE_GOODS_ISSUE' exporting i_vbeln = wa_mbwo_mblnr_pgr-vbelv i_budat = xlikpukwa-stdat i_count = count i_mblnr = wa_mbwo_mblnr_pgr-mblnr i_tcode = 'VL09' i_vbtyp = wa_mbwo_mblnr_pgr-vbtyp_v i_mblpo = g_mblpo_ws i_mjahr = wa_mbwo_mblnr_pgr-mjahr i_posnr = g_posnr tables t_mesg = xmesg exceptions error_reverse_goods_issue = 1 others = 2.
WS_REVERSE_GOODS_ISSUE call function 'WS_REVERSE_GOODS_ISSUE' exporting i_vbeln = xlikpukwa-vbeln i_budat = xlikpukwa-stdat i_count = count i_mblnr = xlikpukwa-mblnr i_tcode = 'VL09' i_vbtyp = xlikpukwa-vbtyp tables t_mesg = xmesg exceptions error_reverse_goods_issue = 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_2GLPCANCELGI or its description.
J_2GLPCANCELGI - Reverse goods movement J_2GLPCANCELGI - Reverse goods movement J_2GLPBLOUT - Update J_2GLPLEGDOC with billing documents that have to be print J_2GLPBLOUT - Update J_2GLPLEGDOC with billing documents that have to be print J_2GICON - ICON LIBRARY for select-option J_2GDKUS - Customer/Vendor utility subroutines