SAP Reports / Programs | Enterprise Controlling | Profit Center Accounting(EC-PCA) SAP EC

RPCPPIC1 SAP ABAP INCLUDE - documentation and ABAP source code







RPCPPIC1 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 RPCPPIC1 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 RPCPPIC1. "Basic submit
SUBMIT RPCPPIC1 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCPPIC1 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 RPCPPIC1

INCLUDE RPCPPDC1.
INCLUDE RPCPPIC2.


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:

COPCA_ACTIVE_PLAN CALL FUNCTION 'COPCA_ACTIVE_PLAN' EXPORTING gjahr = ld_ryear kokrs = ld_kokrs pcrch = pcrch_2 rvers = ld_rvers IMPORTING vspkz = ld_vspkz EXCEPTIONS OTHERS = 7.

K_PLAN_DICTIONARY_READ * CALL FUNCTION 'K_PLAN_DICTIONARY_READ' * EXPORTING * I_FIELDNAME = HELP_FIELDNAME * I_TABNAME = TABLE_GLPCT * TABLES * ITKPP0DD = L_KPP0DD.

COMMIT_TEXT * CALL FUNCTION 'COMMIT_TEXT'. "4.0c

PCA_PLANDATA_POST * CALL FUNCTION 'PCA_PLANDATA_POST' "4.6a

COMMIT_TEXT * CALL FUNCTION 'COMMIT_TEXT'. "4.0c

K_PLAN_DICTIONARY_READ CALL FUNCTION 'K_PLAN_DICTIONARY_READ' EXPORTING i_fieldname = help_fieldname i_tabname = table_glpct TABLES itkpp0dd = lth_kpp0dd.

COMMIT_TEXT CALL FUNCTION 'COMMIT_TEXT'.

K_PCA_RESP_AUTHORITY_CHECK CALL FUNCTION 'K_PCA_RESP_AUTHORITY_CHECK' EXPORTING i_kokrs = tka01-kokrs i_pcgrp = setname i_kstar = '*' i_vorgn = l_vorgn i_actvt = '76' i_no_dialog_message = cross i_auth = l_auth EXCEPTIONS no_authority = 1 data_missing = 2 OTHERS = 3.

K_PCA_RESP_AUTHORITY_CHECK CALL FUNCTION 'K_PCA_RESP_AUTHORITY_CHECK' EXPORTING i_kokrs = lth_glpct_for_post-kokrs i_prctr = lth_glpct_for_post-rprctr i_kstar = lth_glpct_for_post-racct i_vorgn = 'PRC5' i_actvt = '76' i_no_dialog_message = cross i_auth = l_auth EXCEPTIONS no_authority = 1 data_missing = 2 OTHERS = 3.

PCA_ACTUALS_VERIFY CALL FUNCTION 'PCA_ACTUALS_VERIFY' "note 301255 "5.0a

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING gjahr = jb_year kokrs = jb_kokrs IMPORTING * E_TKA00 = e_tka01 = jb_tka01 EXCEPTIONS not_found = 1 not_found_gjahr = 2 OTHERS = 3.

PCA_PLANDATA_POST CALL FUNCTION 'PCA_PLANDATA_POST' EXPORTING i_docty = global-docty i_batch = global-batch IMPORTING e_records = count_rec TABLES t_glpct = lth_glpct_for_post t_documents = lth_doc EXCEPTIONS posting_error = 1 OTHERS = 2.

PCA_POST_T8APP_GLPCM CALL FUNCTION 'PCA_POST_T8APP_GLPCM' "HpM, 4.6C, 1991201

PCA_ACTUALS_POST CALL FUNCTION 'PCA_ACTUALS_POST' EXPORTING i_docty = global-docty i_batch = global-batch IMPORTING e_records = count_rec TABLES t_glpca = lth_glpca_for_post t_documents = lth_doc EXCEPTIONS posting_error = 1 OTHERS = 2.

COMMIT_TEXT CALL FUNCTION 'COMMIT_TEXT'.

K_PLAN_DICTIONARY_READ * CALL FUNCTION 'K_PLAN_DICTIONARY_READ' * EXPORTING * I_FIELDNAME = 'TSLVT' * I_TABNAME = TABLE_GLPCT * TABLES * ITKPP0DD = IS502_ITKPP0DD.

G_POSTING_GLPCT * CALL FUNCTION 'G_POSTING_GLPCT' IN UPDATE TASK * TABLES * RGLPCT = IS502_ITGLPCT * SI = LTH_RGLSI * EXCEPTIONS * OTHERS = 0.

NUMBER_GET_INFO * CALL FUNCTION 'NUMBER_GET_INFO' * EXPORTING * OBJECT = OBJECT_GL_LOCAL "nriv-object * SUBOBJECT = IS502_RBUKRS "nriv-subobject * TOYEAR = IS502_RYEAR * NR_RANGE_NR = GLOBAL-NORNG * IMPORTING * INTERVAL = LOC_NRIV * EXCEPTIONS * OBJECT_NOT_FOUND = 1 * INTERVAL_NOT_FOUND = 2.

G_FIELD_READ





* CALL FUNCTION 'G_FIELD_READ' * EXPORTING * FIELDNAME = 'DOCLN' * TABLE = TABLE_GLPCP "t800a-psitable * IMPORTING * FIELD_ATTR = LOC_DFIES "udfies * EXCEPTIONS * NOT_FOUND = 1 * OTHERS = 2.

NUMBER_GET_NEXT * CALL FUNCTION 'NUMBER_GET_NEXT' * EXPORTING * OBJECT = LOC_NRIV-OBJECT * SUBOBJECT = LOC_NRIV-SUBOBJECT * TOYEAR = LOC_NRIV-TOYEAR * NR_RANGE_NR = GLOBAL-NORNG * IMPORTING * NUMBER = IS502_RGLSI-DOCNR * RETURNCODE = HELP_SUBRC * EXCEPTIONS * OBJECT_NOT_FOUND = 1 * INTERVAL_NOT_FOUND = 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 RPCPPIC1 or its description.