J_2GPFI2 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_2GPFI2 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: Subroutines
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
J_2GUNLOCK_DSD call function 'J_2GUNLOCK_DSD' exporting i_devid = gh_dsd_lock-devid.
POPUP_TO_INFORM * call function 'POPUP_TO_INFORM' * exporting * titel = text-p20 * txt1 = text-p21 * txt2 = text-p22 * exceptions * others = 1.
FAGL_GET_GROUPS_WITH_LEDGER call function 'FAGL_GET_GROUPS_WITH_LEDGER' exporting i_rldnr = g_relevant_ledger tables et_ldgrp = lt_ldgrp.
FAGL_GET_BSEG call function 'FAGL_GET_BSEG' exporting i_bukrs = lt_bkpf-bukrs i_belnr = lt_bkpf-belnr i_gjahr = lt_bkpf-gjahr importing et_bseg = lt_fagl_bseg exceptions not_found = 1 others = 2.
POPUP_TO_DISPLAY_TEXT call function 'POPUP_TO_DISPLAY_TEXT' exporting * TITEL = ' ' textline1 = p_text1 textline2 = p_text2 * TEXTLINE2 = ' ' * START_COLUMN = 25 * START_ROW = 6 exceptions others = 1.
J_2GLPPOPUP_FETCH_ONE_VALUE call function 'J_2GLPPOPUP_FETCH_ONE_VALUE' exporting textline1 = w_text1 textline2 = w_text2 textline3 = w_text3 title = text-500 valuelength = 9 importing answer = l_answer value1 = l_value exceptions titel_too_long = 1 others = 2.
J_2GLPPOPUP_2_BUTTONS call function 'J_2GLPPOPUP_2_BUTTONS' exporting defaultoption = '2' textline1 = h2_popup-textline1 textline2 = h2_popup-textline2 textline3 = h2_popup-textline3 textline4 = h2_popup-textline4 textline5 = h2_popup-textline5 textline6 = h2_popup-textline6 title = h2_popup-title option1_text = h2_popup-option1 option2_text = h2_popup-option2 * START_COLUMN = 5 * START_ROW = 6 importing answer = l_answer exceptions others = 1.
J_2GLPPOPUP_FETCH_ONE_VALUE call function 'J_2GLPPOPUP_FETCH_ONE_VALUE' exporting textline1 = w_text1 textline2 = w_text2 textline3 = w_text3 title = text-500 valuelength = 9 importing answer = l_answer value1 = l_value exceptions titel_too_long = 1 others = 2.
J_2GLPPOPUP_2_BUTTONS call function 'J_2GLPPOPUP_2_BUTTONS' exporting defaultoption = '2' textline1 = h2_popup-textline1 textline2 = h2_popup-textline2 textline3 = h2_popup-textline3 textline4 = h2_popup-textline4 textline5 = h2_popup-textline5 textline6 = h2_popup-textline6 title = h2_popup-title option1_text = h2_popup-option1 option2_text = h2_popup-option2 * START_COLUMN = 5 * START_ROW = 6 importing answer = l_answer exceptions others = 1.
POPUP_GET_VALUES call function 'POPUP_GET_VALUES' exporting popup_title = string importing returncode = p_returncode tables fields = lt_sval exceptions error_in_fields = 1 others = 2.
SPELL_AMOUNT call function 'SPELL_AMOUNT' exporting amount = string_amount currency = t001-waers filler = ' ' language = sy-langu importing in_words = spell_amount exceptions not_found = 01 too_large = 02.
J_2GREAD_LEGSIG call function 'J_2GREAD_LEGSIG' exporting i_legkey = lh_prev_legkey importing e_legsig = lh_prev_legsig exceptions not_found = 1 others = 2.
J_2GLPPOPUP_4_BUTTONS call function 'J_2GLPPOPUP_4_BUTTONS' exporting defaultoption = '2' textline1 = lh_popup1-textline1 textline2 = lh_popup1-textline2 textline3 = lh_popup1-textline3 textline4 = lh_popup1-textline4 textline5 = lh_popup1-textline5 textline6 = lh_popup1-textline6 textline7 = lh_popup1-textline7 textline8 = lh_popup1-textline8 title = lh_popup1-title option1_text = lh_popup1-option1 option2_text = lh_popup1-option2 option3_text = lh_popup1-option3 option4_text = lh_popup1-option4 * START_COLUMN = 5 * START_ROW = 6 importing answer = l_answer1 exceptions others = 1.
J_2GLPPOPUP_2_BUTTONS call function 'J_2GLPPOPUP_2_BUTTONS' exporting defaultoption = '2' textline1 = lh_popup2-textline1 textline2 = lh_popup2-textline2 textline3 = lh_popup2-textline3 textline4 = lh_popup2-textline4 textline5 = lh_popup2-textline5 textline6 = lh_popup2-textline6 title = lh_popup2-title option1_text = lh_popup2-option1 option2_text = lh_popup2-option2 * START_COLUMN = 5 * START_ROW = 6 importing answer = l_answer2 exceptions others = 1.
J_2GLPPOPUP_4_BUTTONS call function 'J_2GLPPOPUP_4_BUTTONS' exporting defaultoption = '2' textline1 = lh_popup1-textline1 textline2 = lh_popup1-textline2 textline3 = lh_popup1-textline3 textline4 = lh_popup1-textline4 textline5 = lh_popup1-textline5 textline6 = lh_popup1-textline6 textline7 = lh_popup1-textline7 textline8 = lh_popup1-textline8 title = lh_popup1-title option1_text = lh_popup1-option1 option2_text = lh_popup1-option2 option3_text = lh_popup1-option3 option4_text = lh_popup1-option4 * START_COLUMN = 5 * START_ROW = 6 importing answer = l_answer1 exceptions others = 1.
J_2GLPPOPUP_2_BUTTONS call function 'J_2GLPPOPUP_2_BUTTONS' exporting defaultoption = '2' textline1 = lh_popup2-textline1 textline2 = lh_popup2-textline2 textline3 = lh_popup2-textline3 textline4 = lh_popup2-textline4 textline5 = lh_popup2-textline5 textline6 = lh_popup2-textline6 title = lh_popup2-title option1_text = lh_popup2-option1 option2_text = lh_popup2-option2 * START_COLUMN = 5 * START_ROW = 6 importing answer = l_answer2 exceptions others = 1.
J_2GMDM_D call function 'J_2GMDM_D' exporting i_kna1 = lw_kna1 importing e_md = lw_md e_addr = lw_bp-addr.
J_2GMDM_K call function 'J_2GMDM_K' exporting i_lfa1 = lw_lfa1 importing e_md = lw_md e_addr = lw_bp-addr.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.