SAP Reports / Programs | Governance, Risk and Compliance | Access Control(GRC-AC) SAP GRC

GRAC_MIGRATE_WF_RULES SAP ABAP Report - Migrate Workflow Initiator and CAD rules







GRAC_MIGRATE_WF_RULES 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 GRAC_MIGRATE_WF_RULES 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

GRAC_WF_MIG - Migrate workflow rules


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 GRAC_MIGRATE_WF_RULES. "Basic submit
SUBMIT GRAC_MIGRATE_WF_RULES AND RETURN. "Return to original report after report execution complete
SUBMIT GRAC_MIGRATE_WF_RULES 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_RLNAML = Alternate Approvers Rule ID
Selection Text: P_RLNAME = Initiators Rule ID
Selection Text: P_RLNAMA = Approvers Rule ID
Selection Text: P_RLGRPN = Application/Func. Group Name
Selection Text: P_PRID = D .
Selection Text: P_INIT = Initiators Rule
Selection Text: P_FILIMP = Initiator/CAD File Location
Selection Text: P_AGENT = Agent Rule
Title: Migrate Workflow Initiator and CAD rules
Text Symbol: 065 = Line Item Key
Text Symbol: 064 = Rule Result
Text Symbol: 063 = Agent rules file not found
Text Symbol: 062 = Failed to lock Decision table for Initiator rules
Text Symbol: 061 = with rules created successfully
Text Symbol: 060 = Process ID
Text Symbol: 059 = No conditions are valid
Text Symbol: 058 = No result data exists in
Text Symbol: 057 = No context data exists in
Text Symbol: 056 = and
Text Symbol: 055 = Condition cannot be migrated as OR is used between
Text Symbol: 054 = Condition cannot be migrated as NOT is used between values of
Text Symbol: 053 = Condition cannot be migrated as AND is used between values of
Text Symbol: 052 = Migration not supported for Process ID
Text Symbol: 051 = does not belong to Application
Text Symbol: 050 = to create rules in decision table
Text Symbol: 049 = does not exist
Text Symbol: 048 = Function
Text Symbol: 066 = No valid conditions found for initiators
Text Symbol: 067 = No conditions were selected for uploadng
Text Symbol: 068 = Approver
Text Symbol: 069 = No valid conditions found for approvers
Text Symbol: 070 = No valid conditions found for alternate approvers
Text Symbol: 071 = Failed to lock Decision table for Approver rules
Text Symbol: 072 = Recipient Type
Text Symbol: 073 = Recipient ID
Text Symbol: 074 = No conditions found for process ID
Text Symbol: 075 = No. of conditions
Text Symbol: 076 = Please enter Initiators Rule ID





Text Symbol: 077 = Please enter Agents Approvers Rule ID
Text Symbol: 078 = Please enter Agents Alternate Approvers Rule ID
Text Symbol: 079 = does not match with the selected Rule Kind
Text Symbol: 080 = Attribute
Text Symbol: 081 = for Alternate Approver rules
Text Symbol: 082 = UAR Review Role
Text Symbol: 083 = Custom Approver Determinators
Text Symbol: 084 = Initiators
Text Symbol: 047 = is not found
Text Symbol: 023 = Critical Level of Role
Text Symbol: 022 = Company of Role
Text Symbol: 021 = Business Process of Role
Text Symbol: 020 = Application of Role
Text Symbol: 019 = Application
Text Symbol: 018 = Action of Role
Text Symbol: 017 = Request Type
Text Symbol: 016 = Priority
Text Symbol: 015 = Functional Area
Text Symbol: 014 = Employee Type
Text Symbol: 013 = Company
Text Symbol: 012 = Failed to retrieve data due to empty directory
Text Symbol: 011 = Failed to retrieve data due to failure reading directory
Text Symbol: 010 = Failed to retrieve data due to no authorization
Text Symbol: 009 = Failed to retrieve data due to Program Failure
Text Symbol: 008 = Failed to retrieve data due to Invalid Sub Directory
Text Symbol: 007 = Business Process
Text Symbol: 006 = BRF Decision table
Text Symbol: 005 = File does not match with the BRF application and function
Text Symbol: 004 = Employee Type file not found
Text Symbol: 003 = Priority file not found
Text Symbol: 002 = Request Type file not found
Text Symbol: 001 = Initiators rules file not found
Text Symbol: 046 = Failed to lock BRF Function
Text Symbol: 045 = Failed to lock Decision table
Text Symbol: 044 = does not match with Process ID
Text Symbol: 043 = Reason
Text Symbol: 042 = Migration possibility
Text Symbol: 041 = Condition
Text Symbol: 040 = Attribute Value





Text Symbol: 039 = Attribute Name
Text Symbol: 038 = Rule ID
Text Symbol: 037 = Mapping is not supported for field
Text Symbol: 036 = Invalid Connector
Text Symbol: 035 = Invalid Request Type
Text Symbol: 034 = Invalid Priority
Text Symbol: 033 = Invalid Functional Area
Text Symbol: 032 = Invalid Employee Type
Text Symbol: 031 = Invalid Company
Text Symbol: 030 = Invalid Business Process
Text Symbol: 029 = Initiator
Text Symbol: 028 = SOD Review Risk
Text Symbol: 027 = Sub Business Process of Role
Text Symbol: 026 = Role Type
Text Symbol: 025 = Role
Text Symbol: 024 = Functional Area of Role


INCLUDES used within this REPORT GRAC_MIGRATE_WF_RULES

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:

EPS_GET_DIRECTORY_LISTING CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING' EXPORTING dir_name = p_fileimp TABLES dir_list = ifile_work EXCEPTIONS invalid_eps_subdir = 1 sapgparam_failed = 2 build_directory_failed = 3 no_authorization = 4 read_directory_failed = 5 too_many_read_errors = 6 empty_directory_list = 7 OTHERS = 8.



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