MJPC1F01 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 MJPC1F01 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: Forms for PAI
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CJPN_GET_WBS_ELEMENT CALL FUNCTION 'CJPN_GET_WBS_ELEMENT' EXPORTING * I_INDEX = 1 * I_OBJNR = ' ' i_posid = rjpc1-wbsel * I_PSPNR = '00000000' * NO_BUFFER = ' ' * NO_MESG_COLLECT = ' ' IMPORTING e_prps = ls_prps * KTEXT = * OBJNR_EXP = * E_PSPHI = * E_PSPRI = * E_PSPNR = * E_GRPKZ = EXCEPTIONS input_error = 1 not_found = 2 .
ISM_BUFFERED_READ_TJPJPC1 CALL FUNCTION 'ISM_BUFFERED_READ_TJPJPC1' IMPORTING pse_tjpjpc1 = ls_tjpjpc1 EXCEPTIONS error_read_tjpjpc1 = 1.
ISMPD_GET_MATERIAL_OF_WBS CALL FUNCTION 'ISMPD_GET_MATERIAL_OF_WBS' EXPORTING pvi_pspnr = ls_prps-pspnr pvi_posid = ls_prps-posid * IMPORTING * PVE_MATNR = TABLES pte_neighbors = lt_neighbors EXCEPTIONS NOT_FOUND = 1 OTHERS = 2 .
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-001 * TEXTLINE2 = ' ' titel = lv_msgtext * START_COLUMN = 25 * START_ROW = 6 cancel_display = ' ' IMPORTING answer = lv_answer .
ISMPD_GET_MULT_COVERS_ALLOWED CALL FUNCTION 'ISMPD_GET_MULT_COVERS_ALLOWED' EXPORTING PVI_KKRS = ls_prps-pkokr IMPORTING * PVE_COVERSION_ALLOWED = PVE_COVERS_KOKRS_ALLOWED = lv_COVERS_KOKRS_ALLOWED .
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = lv_func_KEIY_READ_PRECP2 * IMPORTING * GROUP = * INCLUDE = * NAMESPACE = * STR_AREA = EXCEPTIONS FUNCTION_NOT_EXIST = 1 OTHERS = 2 .
CJPN_GET_PROJECT_DEFINITION call function 'CJPN_GET_PROJECT_DEFINITION' exporting * I_INDEX = 1 * I_OBJNR = ' ' * I_PSPID = ' ' i_pspnr = ls_prps-psphi * NO_BUFFER = ' ' importing e_proj = ls_proj * KTEXT = * NEW_DEFINITION = exceptions input_error = 0 not_found = 0 others = 0 .
MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = pvi_matref * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' * OUTPUT_NO_MESSAGE = IMPORTING wmara = ls_mara EXCEPTIONS lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 .
ISM_COPY_ALL_PSP_TO_PMD CALL FUNCTION 'ISM_COPY_ALL_PSP_TO_PMD' EXPORTING pvi_posid = rjpc1-wbsel pvi_matnr = rjpc1-matnr pvi_matnr_ref = rjpc1-matref pvi_maktx = rjpc1-maktx pvi_flg_batch = ' ' pvi_val_bukrs = rjpc1-bukrs pvi_val_werks = rjpc1-werks pvi_val_bwtar = rjpc1-bwtar pvi_coversion = rjpc1-coversion IMPORTING pve_log_handle = gv_log_handle pve_matnr = rjpc1-matnr pte_bal_msg = lt_bal_msg EXCEPTIONS psp_not_found = 1 reference_not_found = 2 reference_not_media = 3 material_exists = 4 calculation_not_found = 5 error_in_appl_log = 6 char_val_copy_error = 7 other_error = 8.
ISM_BUFFERED_READ_TJPJPC4 CALL FUNCTION 'ISM_BUFFERED_READ_TJPJPC4' IMPORTING pse_tjpjpc4 = ls_tjpjpc4 EXCEPTIONS error_read_tjpjpc4 = 1.
SREL_GET_NEXT_NEIGHBORS CALL FUNCTION 'SREL_GET_NEXT_NEIGHBORS' EXPORTING object = ls_obj_rol * ROLETYPE = relationtype = 'JPCR' * MAX_HOPS = 1 TABLES neighbors = lt_neighbors EXCEPTIONS internal_error = 1 no_logsys = 2 .
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-001 * TEXTLINE2 = ' ' titel = lv_msgtext * START_COLUMN = 25 * START_ROW = 6 cancel_display = ' ' IMPORTING answer = lv_answer .
ISM_COPY_ALL_APP_REQU_TO_PMD CALL FUNCTION 'ISM_COPY_ALL_APP_REQU_TO_PMD' EXPORTING pvi_posnr = rjpc4-posnr pvi_varnt = rjpc4-varnt pvi_matnr = rjpc4-matnr pvi_matnr_ref = rjpc4-matref pvi_maktx = rjpc4-maktx pvi_flg_batch = ' ' IMPORTING pve_log_handle = gv_log_handle pve_matnr = rjpc4-matnr EXCEPTIONS app_requ_not_found = 1 reference_not_found = 2 reference_not_media = 3 material_exists = 4 calculation_not_found = 5 error_in_appl_log = 6 char_val_copy_error = 7 other_error = 8.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_bal_log IMPORTING e_log_handle = lv_log_handle EXCEPTIONS log_header_inconsistent = 1.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = lv_log_handle i_s_msg = ls_bal_msg * IMPORTING * E_S_MSG_HANDLE = * E_MSG_WAS_LOGGED = * E_MSG_WAS_DISPLAYED = EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 .
BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_client = sy-mandt i_in_update_task = ' ' * I_SAVE_ALL = ' ' i_t_log_handle = lt_log_handle * IMPORTING * E_NEW_LOGNUMBERS = EXCEPTIONS log_not_found = 1 save_not_allowed = 2 numbering_error = 3 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.