SAP Reports / Programs

RPCA_DEL_DOC SAP ABAP Report - Delete PCA Document (Using Local Document Number)







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


Text pool values


Selection Text: X_TEST = Test
Selection Text: L_BUKRS = D .
Selection Text: L_DOCCT = D .
Selection Text: L_KOKRS = D .
Selection Text: L_RYEAR = D .
Selection Text: SO_DOCNR = D .
Title: Delete PCA Document (Using Local Document Number)
Text Symbol: 001 = Messages:


INCLUDES used within this REPORT RPCA_DEL_DOC

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:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = t_restrict EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 OTHERS = 9.

G_PCA_0_POSTING CALL FUNCTION 'G_PCA_0_POSTING' TABLES int_glpca = int_glpca int_glpca_add = int_glpca_add.

PCA_LOG_INIT CALL FUNCTION 'PCA_LOG_INIT' EXPORTING object = 'COP1' subobject = 'DELETE' EXCEPTIONS object_not_found = 01.

PCA_LOG_INIT_HEADER CALL FUNCTION 'PCA_LOG_INIT_HEADER' EXPORTING extnumber = 'Deletion of PCA-documents ' "#EC NOTEXT repid = repid.

PCA_LOG_INIT_MESSAGES CALL FUNCTION 'PCA_LOG_INIT_MESSAGES' EXPORTING msgid = 'KM'.

PCA_LOG_SET_MESSAGE CALL FUNCTION 'PCA_LOG_SET_MESSAGE' EXPORTING msgty = 'I' msgno = 232 v1 = v1.

PCA_LOG_APPEND_PARAMS CALL FUNCTION 'PCA_LOG_APPEND_PARAMS' EXPORTING para = 'L_KOKRS' value = value.

PCA_LOG_APPEND_PARAMS CALL FUNCTION 'PCA_LOG_APPEND_PARAMS' EXPORTING para = 'L_BUKRS' value = value.

PCA_LOG_APPEND_PARAMS CALL FUNCTION 'PCA_LOG_APPEND_PARAMS' EXPORTING para = 'L_RYEAR' value = value.

PCA_LOG_APPEND_PARAMS CALL FUNCTION 'PCA_LOG_APPEND_PARAMS' EXPORTING para = 'DOC_LINES' value = value.

PCA_LOG_APPEND_PARAMS CALL FUNCTION 'PCA_LOG_APPEND_PARAMS' EXPORTING para = 'L_DOCNR' value = value.

PCA_LOG_APPEND_PARAMS CALL FUNCTION 'PCA_LOG_APPEND_PARAMS' EXPORTING para = 'L_DOCCT' value = value.

PCA_LOG_WRITE_MESSAGE CALL FUNCTION 'PCA_LOG_WRITE_MESSAGE' EXPORTING update_or_insert = 'I' EXCEPTIONS object_not_found = 01.

PCA_LOG_WRITE_DB CALL FUNCTION 'PCA_LOG_WRITE_DB'.



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 RPCA_DEL_DOC or its description.