SAP Reports / Programs | Environment, Health and Safety(EHS) SAP EHS

/TDAG/RCSR_CREATE_RP_PCO SAP ABAP Report - Test Workflow for Registration Projects







/TDAG/RCSR_CREATE_RP_PCO is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to perform a test run for the registration management workflow...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter /TDAG/RCSR_CREATE_RP_PCO 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 /TDAG/RCSR_CREATE_RP_PCO. "Basic submit
SUBMIT /TDAG/RCSR_CREATE_RP_PCO AND RETURN. "Return to original report after report execution complete
SUBMIT /TDAG/RCSR_CREATE_RP_PCO 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: PV_LGENT = D .
Selection Text: PV_NOTST = Only Create PCO; Do Not Test
Selection Text: PV_SUBID = D .
Title: Test Workflow for Registration Projects
Text Symbol: 001 = Could not created PCO
Text Symbol: 002 = PCO created: ID=
Text Symbol: 003 = No open work item after PCO creation
Text Symbol: 004 = Workflow found no corresponding project; enter CREATE PROJECT step
Text Symbol: 005 = Raised PROJECT CREATED event; project key=
Text Symbol: 006 = Project exists and being processed; enter PROCESS PROJECT step
Text Symbol: 007 = Project completed
Text Symbol: 008 = Project exists and needs to be checked; enter CHECK PROJECT step
Text Symbol: 009 = Project stopped
Text Symbol: 010 = PCO test finished


INCLUDES used within this REPORT /TDAG/RCSR_CREATE_RP_PCO

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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr translate_to_upper = abap_true TABLES dynpfields = lt_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

C14F_LOV_SUBID CALL FUNCTION 'C14F_LOV_SUBID' EXPORTING i_subid = pv_subid i_aennr = lv_aennr i_valdat = lv_valdat IMPORTING e_flg_cancel = lv_flg_cancel TABLES e_subid_tab = lt_subid.

SAP_WAPI_WORKITEMS_TO_OBJECT CALL FUNCTION 'SAP_WAPI_WORKITEMS_TO_OBJECT' EXPORTING OBJECT_POR = ls_lpor * OBJTYPE = OBJTYPE * OBJKEY = OBJKEY TOP_LEVEL_ITEMS = abap_false * SELECTION_STATUS_VARIANT = 0001 * TIME = TIME * TEXT = 'X' * OUTPUT_ONLY_TOP_LEVEL = ' ' * LANGUAGE = SY-LANGU * DETERMINE_TASK_FILTER = 'X' * REMOVED_OBJECTS = ' ' * IMPORTING * RETURN_CODE = RETURN_CODE TABLES * TASK_FILTER = TASK_FILTER WORKLIST = lt_worklist * MESSAGE_LINES = MESSAGE_LINES * MESSAGE_STRUCT = MESSAGE_STRUCT .



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 /TDAG/RCSR_CREATE_RP_PCO or its description.