SAP Reports / Programs

SAPRMPSACTIVATEWF SAP ABAP Report - Program SAPRMPSACTIVATEWF







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

RMPSACTIVATEWF - Activation of Process Routes


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 SAPRMPSACTIVATEWF. "Basic submit
SUBMIT SAPRMPSACTIVATEWF AND RETURN. "Return to original report after report execution complete
SUBMIT SAPRMPSACTIVATEWF 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_CASEVE = Activate event coupling
Selection Text: P_CASGEN = Set General Tasks
Selection Text: P_DISEVE = Activate event coupling
Selection Text: P_DISGEN = Set General Tasks
Selection Text: P_PEEVE = Activate event coupling
Selection Text: P_PEGEN = Set General Tasks
Title: Program SAPRMPSACTIVATEWF
Text Symbol: T01 = Incoming Post Item
Text Symbol: T02 = Case
Text Symbol: T03 = Circular


INCLUDES used within this REPORT SAPRMPSACTIVATEWF

INCLUDE RMPSACTIVATEWFTOP . " GLOBAL DATA
INCLUDE SBAL_CONSTANTS.
INCLUDE RMPSACTIVATEWFF01 . " FORM-ROUTINES


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:

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = g_s_log IMPORTING e_log_handle = g_log_handle EXCEPTIONS OTHERS = 1.

SWF_TASKS_OF_OBJECTTYPE_GET CALL FUNCTION 'SWF_TASKS_OF_OBJECTTYPE_GET' EXPORTING objtype = ls_objtype * METHOD = * STANDARD_OBJECTS_ONLY = ' ' * ASSIGNMENT_ONLY = ' ' * NO_BACKGROUND_METHODS = * NO_ASYNCHRON_METHODS = * IMPORTING * SHORTTEXT = TABLES tasks = lt_tasks EXCEPTIONS objecttype_not_found = 1 tasks_not_found = 2 OTHERS = 3 .

SWF_TASK_GENERALIZE CALL FUNCTION 'SWF_TASK_GENERALIZE' EXPORTING task = wa_tasks-object * AUTHORITY_CHECK = ' ' * GENERAL_SEND = ' ' * NO_GENSEND = ' ' * TCLASS = ' ' * LOCKED = ' ' * NO_EXEC = ' ' EXCEPTIONS already_generalized = 1 task_not_exists = 2 internal_error = 3 OTHERS = 4 .

SWD_GET_TASK_START_EVENTS CALL FUNCTION 'SWD_GET_TASK_START_EVENTS' EXPORTING act_task = wa_workflow TABLES act_events = lt_events EXCEPTIONS no_events_found = 1 OTHERS = 2.

SWE_EVENT_REC_TYPE_ENABLE * CALL FUNCTION 'SWE_EVENT_REC_TYPE_ENABLE' * EXPORTING * client = sy-mandt * objtype = wa_worflow_events-objtype * rectype = wa_worflow_events-rectype * event = wa_worflow_events-event * EXCEPTIONS * update_failed = 1 * OTHERS = 2.

SWE_EVENT_REC_TYPE_ENTER CALL FUNCTION 'SWE_EVENT_REC_TYPE_ENTER' EXPORTING * CLIENT = SY-MANDT * ENABLED = 'X' OBJTYPE = wa_worflow_events-objtype * CHECKFB = ' ' RECFB = c_rec_fb "'SWW_WI_CREATE_VIA_EVENT' RECTYPE = wa_worflow_events-rectype EVENT = wa_worflow_events-event * GLOBAL = 'X' * RECGETFB = ' ' * RFC_DESTINATION = ' ' * IMPLICIT_TRANSPORT = 'X' * Q_ENABLE = ' ' * REC_ERROR = 0 EXCEPTIONS UPDATE_FAILED = 1 INVALID_RECFB = 2 INVALID_RECGETFB = 3 INVALID_CHECKFB = 4 OTHERS = 5.



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