SAP Reports / Programs | Project System | Costs | Costing(PS-COS-PLN-CAL) SAP PS

RCNCPF01 SAP ABAP INCLUDE - documentation and ABAP source code







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


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 RCNCPF01. "Basic submit
SUBMIT RCNCPF01 AND RETURN. "Return to original report after report execution complete
SUBMIT RCNCPF01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RCNCPF01

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:

K_VERSN_READ CALL FUNCTION 'K_VERSN_READ' EXPORTING i_kokrs = cn_kokrs i_versn = f_version i_actvt = i_actvt IMPORTING e_tka09 = l_tka09.

K_VERSN_FOR_VRGNG_CHECK CALL FUNCTION 'K_VERSN_FOR_VRGNG_CHECK' EXPORTING vrgng = 'KPPP' kokrs = cn_kokrs versn = f_version.

KBPS_CHECK_VERSION CALL FUNCTION 'KBPS_CHECK_VERSION' EXPORTING im_applik = 'P' im_langu = sy-langu im_update = l_update im_version = f_version im_wrttp = '01' im_kokrs = cn_kokrs im_copy = l_copy im_no_year_chk = con_yes EXCEPTIONS version_not_found = 01 version_no_overwrite = 2 version_no_update = 3 version_not_useable = 4 version_not_copy = 5.

KBPS_SHOW_VERSIONS CALL FUNCTION 'KBPS_SHOW_VERSIONS' EXPORTING applik = 'P' wrttp = '01' im_kokrs = cn_kokrs im_cop_versn = con_no im_all_versn = con_no IMPORTING version = p_version.

OBJ_PROCESSING_SET_PARAMETERS CALL FUNCTION 'OBJ_PROCESSING_SET_PARAMETERS' EXPORTING i_test = p_test msg_counter_i = 0 msg_counter_w = 0 msg_counter_e = 0 msg_counter_a = 0 result_text_name = 'OBJ_LOG_WITHOUT_ERRORS' stat_ok = l_processed stat_ok_zero = l_nochange stat_not_relevant = l_not_considered CHANGING log_data = log_data.

OBJ_PROCESSING_LOG_DISPLAY CALL FUNCTION 'OBJ_PROCESSING_LOG_DISPLAY' EXPORTING display_mode = '03' log_data = log_data callback_program = l_repid callback_form = l_form.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = p_t_events.

OBJECT_NUMBER_TYPE_GET CALL FUNCTION 'OBJECT_NUMBER_TYPE_GET' EXPORTING objnr = t_identify-objnr IMPORTING obart = l_obart.

OBJECT_KEY_GET_NV CALL FUNCTION 'OBJECT_KEY_GET_NV' EXPORTING objnr = t_identify-objnr IMPORTING aufpl = l_aufpl.

READ_NETWORK_NPLNR_VORNR CALL FUNCTION 'READ_NETWORK_NPLNR_VORNR' EXPORTING aufpl = l_aufpl IMPORTING nplnr = l_netnr.

OBJECT_KEY_GET_NP CALL FUNCTION 'OBJECT_KEY_GET_NP' EXPORTING objnr = t_identify-objnr IMPORTING aufnr = l_netnr.

OBJECT_KEY_GET_PR CALL FUNCTION 'OBJECT_KEY_GET_PR' EXPORTING objnr = t_identify-objnr IMPORTING pspnr = l_pspnr.

CJPN_INTERN_TO_EXTERN_CONV CALL FUNCTION 'CJPN_INTERN_TO_EXTERN_CONV' EXPORTING int_num = l_pspnr IMPORTING ext_num = l_posid.

RSTI_SELECTION_EXPORT CALL FUNCTION 'RSTI_SELECTION_EXPORT' TABLES it_sel = l_t_sel it_fields = l_t_fields.

RSTI_APPL_STACK_INITIALIZE CALL FUNCTION 'RSTI_APPL_STACK_INITIALIZE' EXPORTING e_appl = 'KP' e_tool = 'TR' e_onam = 'CJ9D'.

RSTI_COMMUNICATION_HANDLER CALL FUNCTION 'RSTI_COMMUNICATION_HANDLER' EXPORTING e_rexec = con_yes e_fccls = '9' e_rec = l_rstirec e_rdark = con_no EXCEPTIONS appl_stack_not_initialized = 01 no_lines = 02 no_line_picked = 03.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'DETAIL_LIST_COPIED' CHANGING ct_fieldcat = t_fieldcat[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = l_repid i_structure_name = 'DETAIL_LIST_COPIED' CHANGING ct_fieldcat = l_t_fieldcat[].

REUSE_ALV_LIST_DISPLAY





CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = l_repid is_layout = l_layout it_fieldcat = l_t_fieldcat[] it_events = l_t_events[] is_print = l_print TABLES t_outtab = t_identify.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING objnr = -objnr IMPORTING e_text = l_msgli e_identification = -objekt.

OBJECT_NUMBER_TYPE_GET CALL FUNCTION 'OBJECT_NUMBER_TYPE_GET' EXPORTING objnr = t_identify-objnr IMPORTING obart = l_obart.

OBJECT_KEY_GET_NV CALL FUNCTION 'OBJECT_KEY_GET_NV' EXPORTING objnr = t_identify-objnr IMPORTING aplzl = l_aplzl aufpl = l_aufpl.

READ_NETWORK_NPLNR_VORNR CALL FUNCTION 'READ_NETWORK_NPLNR_VORNR' EXPORTING aufpl = l_aufpl IMPORTING nplnr = l_netnr.

OBJECT_KEY_GET_NP CALL FUNCTION 'OBJECT_KEY_GET_NP' EXPORTING objnr = t_identify-objnr IMPORTING aufnr = l_netnr.

OBJECT_KEY_GET_PR CALL FUNCTION 'OBJECT_KEY_GET_PR' EXPORTING objnr = t_identify-objnr IMPORTING pspnr = l_pspnr.

CJPN_INTERN_TO_EXTERN_CONV CALL FUNCTION 'CJPN_INTERN_TO_EXTERN_CONV' EXPORTING int_num = l_pspnr IMPORTING ext_num = l_posid.

OBJECT_KEY_GET_OR CALL FUNCTION 'OBJECT_KEY_GET_OR' EXPORTING objnr = t_identify-objnr IMPORTING aufnr = l_aufnr.

K_ORDER_READ CALL FUNCTION 'K_ORDER_READ' EXPORTING aufnr = l_aufnr IMPORTING autyp = l_autyp.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = iv_tcode EXCEPTIONS OK = 0 NOT_OK = 1 OTHERS = 2.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = iv_tcode EXCEPTIONS OK = 0 NOT_OK = 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 RCNCPF01 or its description.