J_2GPFI4 is a standard ABAP INCLUDE 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_2GPFI4 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.
Title: Single document
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
J_2GGET_GLOBAL_PARAMS call function 'J_2GGET_GLOBAL_PARAMS' importing e_glopar = gh_params-glopar.
J_2GREAD_LEGSIG call function 'J_2GREAD_LEGSIG' exporting i_legkey = gh_legkey importing e_legsig = gh_legsig exceptions not_found = 1 others = 2.
J_2GDETERM_PRINT_MODE call function 'J_2GDETERM_PRINT_MODE' exporting i_bukrs = gh_p-bukrs i_addca = gh_params-addca i_series = gh_p-series importing e_prmod = gh_params-print_mode e_void_dsd = gh_params-void_devid.
J_2GLPPOPUP_4_BUTTONS call function 'J_2GLPPOPUP_4_BUTTONS' exporting defaultoption = '1' textline1 = w_text1 textline2 = w_text2 textline3 = w_text3 textline4 = w_text4 textline5 = text-p05 textline6 = text-p06 textline7 = text-p07 textline8 = text-p08 title = text-p09 option1_text = text-p10 option2_text = text-p11 option3_text = text-p12 option4_text = text-p13 importing answer = w_answer exceptions others = 1.
J_2GREAD_OTF call function 'J_2GREAD_OTF' exporting i_legkey = gh_legkey importing e_itcpp = gh_params-itcpp tables t_add = gt_add t_otf1 = gt_otf1 t_otf2 = gt_otf2 t_otf3 = gt_otf3 t_otf4 = gt_otf4 exceptions not_found = 1 uncompression_error = 2 others = 3.
FAGL_GET_BSEG call function 'FAGL_GET_BSEG' exporting i_bukrs = s_bukrs i_belnr = lt_line_items-belnr i_gjahr = lt_line_items-gjahr i_buzei = lt_line_items-buzei importing et_bseg = gt_item exceptions not_found = 1 others = 2.
J_2GSAVE_OTF call function 'J_2GSAVE_OTF' exporting i_legkey = gh_legkey i_itcpp = gh_params-itcpp tables t_add = gt_add t_otf1 = gt_otf1 t_otf2 = gt_otf2 t_otf3 = gt_otf3 t_otf4 = gt_otf4.
J_2GLOCK_DSD call function 'J_2GLOCK_DSD' exporting i_bukrs = gh_p-bukrs i_addca = gh_params-addca i_series = gh_p-series i_devid = gh_params-devid_to_lock importing e_dsd = gh_params-locked_dsd exceptions dsd_not_valid = 1 dsd_not_available = 2 system_lock_failure = 3 others = 4.
J_2GRDS call function 'J_2GRDS' exporting i_devid = gh_params-locked_dsd-devid i_action = g_dsd_action i_legkey = gh_legkey i_copynr = g_copy_indx i_noprechecks = 'X' importing e_rc = g_rc e_dsdrc = g_dsdrc e_statn = g_new_stat e_msg = g_msg e_dsig = g_dsig e_nxtz = g_nxtz tables t_otf =
t_add = gt_add.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.