SAP Reports / Programs | Governance, Risk and Compliance | Process Controls(GRC-SPC) SAP GRC

GRPC_CLONE_CASE_DOCUMENTS SAP ABAP Report - Program GRPC_CLONE_CASE_DOCUMENTS







GRPC_CLONE_CASE_DOCUMENTS 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 GRPC_CLONE_CASE_DOCUMENTS 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 GRPC_CLONE_CASE_DOCUMENTS. "Basic submit
SUBMIT GRPC_CLONE_CASE_DOCUMENTS AND RETURN. "Return to original report after report execution complete
SUBMIT GRPC_CLONE_CASE_DOCUMENTS 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: P_CFGUID = Carryforward ID
Selection Text: P_LOGID = External ID of Application Log
Selection Text: T_CLONES = Copied Cases
Title: Program GRPC_CLONE_CASE_DOCUMENTS
Text Symbol: 001 = Error when saving log in application log
Text Symbol: 002 = Log stored successfully in application log. External ID: &1
Text Symbol: 003 = Error when copying documents from object &1 - &2 through &3 - &4 (&5 of &6 copied)
Text Symbol: 004 = &1 document(s) copied from object &2 - &3 to &4 - &5
Text Symbol: 005 = Total of &1 document(s) copied (ID: &2)


INCLUDES used within this REPORT GRPC_CLONE_CASE_DOCUMENTS

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:

GRPC_CLONE_CASE_DOCUMENTS CALL FUNCTION 'GRPC_CLONE_CASE_DOCUMENTS' EXPORTING is_case_clone = ls_clone ir_appl_log = gr_appl_log i_log_detlevel = '2' i_log_probclass = '4' IMPORTING e_cloned_cnt = l_cnt e_written_cnt = l_written_cnt er_documents_exception = lr_doc_ex.

SAP_WAPI_ADM_WORKFLOW_CANCEL CALL FUNCTION 'SAP_WAPI_ADM_WORKFLOW_CANCEL' EXPORTING workitem_id = -wi_id actual_agent = sy-uname.

ENQUEUE_E_GRPCCASECLONE CALL FUNCTION 'ENQUEUE_E_GRPCCASECLONE' EXPORTING mode_grpccaseclone = 'X' mandt = sy-mandt create_time = p_cf_guid * CASE_GUID = x_create_time = 'X' x_case_guid = space * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DEQUEUE_E_GRPCCASECLONE CALL FUNCTION 'DEQUEUE_E_GRPCCASECLONE' EXPORTING mode_grpccaseclone = 'X' mandt = sy-mandt create_time = p_cf_guid * CASE_GUID = x_create_time = 'X' x_case_guid = space * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .



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