0 risks found in while approving role in workflow of CUP

Hi All,
I am using one stage work flow. I created one change request to add one role  , it is created and while manager is approving the role, he ran the risk analysis, but it is showing zero risks. where as in RAR/CC for the same role we have 2 risks.
I configured all steps of  integration of CUP , RAR .(i.e WSDL Updation).
Please suggest me , where i am going wrong.
Thanks,
Joseph

Have you checked whether there isn't a mitigation somewhere for the role assignment or the RAR check has some critical risks only checked?
Another possibility (just speculating here..) is that RAR can check for risks within a single role (which is where you found these 2) however the CUP workflow is checking for risks associated with the user's existing roles and the new one in the request. But I would class this as a functional deficiency and hope it is not the case.
Cheers,
Julius

Similar Messages

  • Issue with Inactive Approver Role in Workflow definition

    Hi Experts,
    we are having issue with Inactive Approver Role in workflow definitions.
    we have created workflow for Master agreements and Projects. Phases and workflow are working fine.
    But the issue is when a programmatically added approver has completed the approval activity, collaborator role is not changing from approver role to Inactive Approver Role mentioned in workflow definition. For example, you might select Reviewer in Inactive Approver Role, Then Selected collaborator role to be given to programmatically added approvers when the approval activity is completed.
    This is functionality not happening when project or contract document approved and workflow completed in project and MA. we have followed all the standard functionality when we have created workflow. Please see screen shot for the same.
    Can anyone please tell me is there any functionality we missed it or do we need to write any script in xpdl or do we need to check anything with collaborator role or with security profiles.
    we have checked with other roles also same issue coming.
    This Reviewer is in active state and have Readonly profile. We don't have Pre script in this workflow because we are using standard approval.
    Thanks in advance!
    Lava

    Thanks gary for your helpful answer.
    As per your answer We have added the approver role in the prescript so that it gets added programmatically , still no luck.
    here is the script we wrote in prescript.
    import com.sap.eso.api.common.*;
    import com.sap.eso.api.projects.*;
    import com.sap.odp.api.workflow.*;
    import com.sap.odp.api.usermgmt.masterdata.*;
    import com.sap.eso.api.doc.collaboration.*;
    import com.sap.eso.api.doccommon.masterdata.*;
    import com.sap.eso.api.ibean.*;
    import com.sap.odp.api.ibean.*;
    import com.sap.eso.api.contracts.*;
    import com.sap.odp.api.doc.collaboration.*;
    collaboratorsCollection = doc.getCollectionMetadata("COLLABORATORS").get(doc);
    if (collaboratorsCollection.size() > 0)
       for (int i = collaboratorsCollection.size() - 1; i >= 0; --i)
            collaboratorsCollection_member = collaboratorsCollection.get(i);
            if (hasValue(collaboratorsCollection_member))
               collaboratorRole = collaboratorsCollection_member.getCollaboratorRole().getDisplayName();
                // Get approver of Role "Approver".
               if(collaboratorRole.equals("Approver"))
                    principal = collaboratorsCollection_member.getPrincipal();
    if (hasValue(principal))
         addApprover(principal);
    Do you have any other suggestions? or if you have any related code snippet please share with us.

  • Problem in workflow while approving the workitem.

    Hi Experts,
    I am very new to workflow.
    While creating PR the workflow is triggering to user SAP mailbox but when he try to execute it, no action is happening.
    Still the workitem present in his SAP mailbox with "In Processing' status only.
    Actually it should take him to the PR release transaction.
    I checked in all forums but I couldn't find out the exact one.

    Hi,
    Was this custom workflow working before? Has something changed recently? Does this happen every time, and for all users? Please provide more information.
    By the way, you don't see workflows in a 'SAP Mailbox' but in a 'SAP Workflow Inbox' (like SBWP or UWL). If you're new to workflow, you may find these blogs useful:
    http://scn.sap.com/community/bpm/business-workflow/blog/2013/02/07/the-top-10-mistakes-made-by-workflow-beginners
    http://scn.sap.com/community/bpm/business-workflow/blog/2013/02/25/more-common-mistakes-made-by-workflow-beginners
    good luck!
    Paul

  • Roles vs Workflow for manual update record issue

    I am sorry for taking your time but I need some HELP as we go life with MDM and there is still one open topic that is connected to workflow implementation. 
    Do you have maybe someone who can advice me a solution or workaround to solve this issue. See description below.
    We are using role based workflow (few of workflows triggered one by one depends on the task that needs to be performed)
    As agreed with our client the several users are not allowed to:
    Modify (add/remove) original records
    Start workflows
    Check out / roll back records 
    Our solution provides them with option to do any kind off modification on Check Out records, and that action is triggered as automatic result of import records.
    NOW a small issue appeared since the import from MDP is made based on a new rapport that does not have several fields that we where using to determinate what items from materials will change. 
    So the next idea was to do that manually since it happens only few times a year for more or less 10 items. And that is where the problems started.
    I want to have a small workflow that will do as follows:
    Check Out Record -> Allowed to make changes -> Send to the next step (Approval process will be started)
    but we do not want to allow them do Checkout record or add to job
    (It can be only acceptable if we can allow them to add to ONE of the workflows but not all of them)
    I tried also to use the trigger actions Record Update2 but Workflow checkout occurs after record update (update applied to original record) so that is not applicable to, as since we want to keep original data in case someone rejects the new changes (that way we can always go back to original records). I would rather need something like Record Import only without the import part (it checks out the record and only then it allows to do any changes). ;P
    If the description is not clear let me know I will try to “translate it to easier English”
    Hope to hear from someone soon 
    Aleksandra

    From reading your question, I gather the following:
    You would like for users to be able to edit a record, which will automatically trigger a workflow, and if it's rejected then it should roll back the changes.  However, the user should not be able to manually start the workflow, it must be started and launched automatically on record edit.  Does that sound correct?
    If so, then you may have an issue.  While an edit can be used to launch a workflow, the workflow is not geared towards approving that edit.  It's assumed that other changes will be made, and those changes are the ones that will be approved or rejected.  This seems a bit strange I know, and hopefully this issue will be addressed in future versions.  However, I think you're only alternative is to have the users be able to start their own workflows.  You can probably use a security role such that a user can't modify normal records, but can only modify records that are checked out to them.  Then you would have to modify your workflow such that it only contains one record at a time, this way the user would not be able to add multiple records to the workflow.
    Does that make sense?  I hope this helps.

  • Error while provisioning roles (SetABAPRole&ProfileForUser)

    Hi Experts
    While provisioning roles in IDM 7.2, I see this error in the Job logs:
    Failed running function in string "$FUNCTION.sap_abap_getNameOfAssignedPendingPrivileges(mskey!!repname!!role!!true)$$". Marking entry as failed. Exception was: undefined: "sap_abap_convertToABAPValidFromDate" is not defined.
    I am getting this error only if I provision the existing SAP users. Assigning any role to a new user works fine. Went through both the above mentioned scripts, but don't see any Problem there.
    What am I missing here?
    Best regards
    Annapurna

    Hi Annapurna,
    I was just going through the setup in our landscape and noticed that we have only one script for Assign User Membership to ABAP which is "sap_abap_getNameOfAssignedPendingPrivileges"
    As mentioned by Jai earlier, we have the same script as Jai.
    Can you try by using the below script for "sap_abap_getNameOfAssignedPendingPrivileges" and delete the other two and try to execute?
    Not sure, if this could work, but maybe can give a try.
    Script below:
    ===============================================
    // Main function: sap_abap_getNameOfAssignedPendingPrivileges
    * Returns a list of all privileges with properties {validfrom, validto} of the
    * passed user for the passed repository and the passed privilege type.
    * It contains all already assigned privileges plus/minus the delta of the
    * current pending added and/or removed privileges.
    * Note: Needed by connectors that always send the complete list of privileges
    *       to the backend, e.g. ABAP, BusinessSuite, JAVA
    * @param {Par} Format:
    * MSKEY of user!!repository name!!privilege type<!!includeValidityProperty>
    *              e.g. 172645!!BQQ001!!PROFILE!!TRUE
    * @return {String} List of Privilege (backend) names in format:
    * if includeValidityProperty is defined as true, then
    * {VALIDFROM=<date>!!VALIDTO=<date>}<priv>|{VALIDFROM=<date>!!VALIDTO=<date>}<priv>|{VALIDFROM=<date>!!VALIDTO=<date>}<priv>
    * else
    * <priv>|<priv>|<priv>
    function sap_abap_getNameOfAssignedPendingPrivileges(Par) {
    importClass(java.lang.StringBuffer);
    // enable this flag (tracingEnabled) only for debugging purposes as this will impact the performance
    var tracingEnabled = false;
    uInfo("sap_abap_getNameOfAssignedPendingPrivileges:: is called with " + Par);
    var parameters = Par.split("!!"); 
    var mskey = parameters[0];
    var repositoryName = parameters[1];
    var privilegeType = parameters[2];
    var addValidityProperty = false;
    if (parameters.length > 3 && parameters[3] != null && parameters[3].toLowerCase() == "true") {
    addValidityProperty = true;
    uInfo("sap_abap_getNameOfAssignedPendingPrivileges:: mskey: " + mskey);
    uInfo("sap_abap_getNameOfAssignedPendingPrivileges:: repositoryName: " + repositoryName);
    uInfo("sap_abap_getNameOfAssignedPendingPrivileges:: privilegeType: " + privilegeType);
    uInfo("sap_abap_getNameOfAssignedPendingPrivileges:: addValidityProperty: " + addValidityProperty);
    var nolock = "";
    if("%$ddm.databasetype%" == 1) { //MS-SQL
    nolock = "WITH (NOLOCK)";
    if (tracingEnabled) {
    sap_debug_logUserAssignments(mskey);
    * - get only assignments (mcLinkType = 2)
    * - get all assignments of current entry X (mcLinkState = 0, mcExecState = 1 & mcDisabled = 0)
    * - and with assignments in state "pending add" (mcLinkState = 1 & mcExecState = 512 or 513,
    mcDisabled can be 1 e.g. if the user gets reactivated)
    * - assignments with mcExecState 2 (Rejected) and 4 (Failed) are not included. If a failed
    * assignment gets retried, the state changes immediately to pending.
    * - for specfified repository Y
    * - and privilege type Z
    * - add member task must have been running for the privilege (mcAddAudit IS NOT NULL)
    -> no future assignments
    -> no assignments for which an approval will be done but approval task is not yet running
    * - no privileges for which an approval is needed/running
    * mcValidateAddAudit < mcAddAudit <- approval is already done
    * or mcValidateAddAudit IS NULL <- if no approval is necessary
    * - no duplicate privilege names (-> SELECT DISTINCT) in case of contexts
    var sql = "SELECT DISTINCT privilegename.mcMSKEYVALUE, assignment.mcValidFrom, assignment.mcValidTo \
    FROM idmv_value_basic_all repositorynames " + nolock + " \
    INNER JOIN idmv_value_basic_all privilegetype " + nolock + " ON privilegetype.mskey = repositorynames.mskey \
    INNER JOIN idmv_entry_simple privilegename " + nolock + " ON privilegename.mcMSKEY = repositorynames.mskey \
    INNER JOIN mxi_link assignment " + nolock + " ON assignment.mcOtherMskey = repositorynames.mskey \
    WHERE assignment.mcThisMskey = " + mskey + " \
    AND assignment.mcLinkType = 2 \
    AND (\
    (assignment.mcLinkState = 0 AND assignment.mcExecState = 1 AND assignment.mcDisabled = 0) \
    OR (\
    assignment.mcLinkState = 1 AND assignment.mcExecState  IN (512,513) \
    AND ( \
    (assignment.mcAddAudit > assignment.mcValidateAddAudit) \
    OR \
    (assignment.mcAddAudit IS NOT NULL AND assignment.mcValidateAddAudit IS NULL) \
    AND repositorynames.attrname = 'MX_REPOSITORYNAME' AND repositorynames.SearchValue = '" + repositoryName + "' \
    AND privilegetype.attrname = 'MX_PRIVILEGE_TYPE'  AND privilegetype.SearchValue = '" + privilegeType + "'";
    //result looks like privMskeyValue!!privMskeyValue!!privMskeyValue
    var result = uSelect(sql);
    uInfo("sap_abap_getNameOfAssignedPendingPrivileges:: SQL Query:\n" + sql);
    uInfo("sap_abap_getNameOfAssignedPendingPrivileges:: Result: " + result);
    var allPrivsStringBuf = new StringBuffer();
    var firstElement = true;
    if (result != null && result != "") {
    var resultArray = result.split("!!");
    for (var i = 0; i < resultArray.length; i++) {
    var columns = resultArray[i];
    var columnArray = columns.split("|");
    //privMskeyValue is like PRIV:<type>:<repository>:<privilegeName>
    var privMskeyValue = columnArray[0];
    var repTemp = privMskeyValue.split(":");
    var repstring = repTemp[0] + ":" + repTemp[1] + ":" + repTemp[2] + ":";
    var privName = uReplaceString(privMskeyValue, repstring, "");
    if (!firstElement) {
    allPrivsStringBuf.append("|");
    if (addValidityProperty) {
    var validfrom = columnArray[1];
    var validto = columnArray[2];
    allPrivsStringBuf.append("{VALIDFROM=");
    allPrivsStringBuf.append(validfrom);
    allPrivsStringBuf.append("!!VALIDTO=");
    allPrivsStringBuf.append(validto);
    allPrivsStringBuf.append("}");
    allPrivsStringBuf.append(privName);
    firstElement = false;
    var allPrivs = String(allPrivsStringBuf); // must be casted explicitly to String
    uInfo("sap_abap_getNameOfAssignedPendingPrivileges:: Calculated privileges for " + Par + " are: " + allPrivs);
    return allPrivs;
    * Prints out all assignments the user has (also all assignments in pending remove state etc.)
    function sap_debug_logUserAssignments(mskey) {
    var columns = "mcUniqueId, mcThisMSKEY, mcOtherMSKEY, mcAttrName, mcThisOcName, mcOtherOcName, mcThisMSKEYVALUE, mcOtherMSKEYVALUE, mcLinkState, mcAssignedDirect, mcAssignedInheritCount, mcExecState, mcExecStateHierarchy, mcChangeNumber, mcGroupGuid, mcLastAudit, mcAddedTime, mcModifyTime, mcValidateAddAudit, mcAddAudit, mcContextMSKEY, mcContextCategory, mcContextStr1, mcContextStr2, mcOrphan, mcSoDViolation, mcNotAllowedFor, mcUnsupportedContextType, mcMissingConditionalContext, mcDisabled, mcRequestID";
    var debugSql = "SELECT " + columns + " FROM idmv_link_ext WHERE mcThisMskey = " + mskey + " ORDER BY mcUniqueId";
    var debugResult = uSelect(debugSql);
    //format output
    debugResult = uReplaceString(debugResult, "!!", "\n");
    debugResult = uReplaceString(debugResult, "\|", "\t");
    columns = uReplaceString(columns, ", ", "\t");
    uInfo("sap_abap_getNameOfAssignedPendingPrivileges:: Debug SQL Query:\n" + debugSql);
    uInfo("sap_abap_getNameOfAssignedPendingPrivileges:: Debug Result:\n" + columns + "\n" + debugResult);
    Thanks & Regards,
    V!

  • Reg : Getting error while approving leave request

    Hello Experts,
    Manger is getting and error message u2018Work item 000000000000 cannot be readu2019 while
    Approving the leave request of one his reportee. This error is triggering for only one
    Reportee. 
    Experts please kindly help us.
    Regards,
    Raj

    Hi Raj,
    There are a number of issues that could cause this.  Can you share your scenario (where is manager approving the request - via SAPGUI, ESS, MSS?)  Are you using an SAP standard workflow?
    Plus, there are lots of threads in SCN on this topic.  Have you checked any of these?
    Good luck,
    Sue

  • Error in RAR while approving request from CUP

    Dear GRC Gurus,
    I am getting error while approving request in CUP for RAR. Checked the related threads for this issue but still not getting any solution.
    Connectors are working fine. Also web service URL is maintained correctly and password for the same is working fine in backend.
    Error message is
    Risk analysis failed: Exception in getting the results from the web service : Service call exception; nested exception is: java.rmi.RemoteException:
    Pl help.
    Regards,
    Muskaan

    Hi ,
    You need to clarify what you are trying to do, type of request, timeout time, moment it fails...
    If you are referring to the RAR SOD web-service call from CUP, the timeout defined may be too short, problems on the web service/backend connectors configuration or performance/resources available. I advise you to see the SAP Notes below.
    Troubleshoot issues with risk analysis, see the SAP Notes 1136379, 1049058, 1145700, 1234807, 1085586, 1061088, 1003239, and 1166368.
    This is the most common issue between CUP and RAR when running the SOD analysis, and some times the only solution is to improve the performance of the server with more memory/processor.
    Regards,
    N

  • How to use rules and roles in workflow?

    Hi experts,
    I am a beginner in  workflow. Could  any one tell me how to use rules and roles in workflow ?
    Can u pls tell me the steps to follow?
    and more over what are all the <b>important things</b> we have to learn in workflow module ??
    I shall be thankful to u.
    Thanks
    uma

    Hi
    Workflow automates the steps and activities in a business process according to predefined procedures and rules.
    Workflow presents information and documents to the appropriate knowledge worker or agent (another entity such as a program) to make a decision or perform an activity.
    Workflow tracks each and every step in the process flow and maintains an ongoing status.
    Workflow also collects and reports all of the metrics associated with the execution and completion of the process.
    Check the below links u will get lot of info..
    http://www.sap-press.com/product.cfm?account=&product=H950
    Workflow
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    Go through the following links on FORK :
    http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/25f1e7454311d189430000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm
    http://www.insightcp.com/res_23.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    For more reference on workflow: http://****************/Tutorials/Workflow/Workflow.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/04/9277a346f311d189470000e829fbbd/frameset.htm
    Check these links.
    http://www.sapgenie.com/workflow/index.htm
    /people/ginger.gatling/blog/2005/12/01/link-workflow-business-objects-to-your-collaboration-tasks
    http://help.sap.com/saphelp_nw04/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
    http://help.sap.com/saphelp_bw33/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
    http://help.sap.com/saphelp_bw31/helpdata/en/8d/25f94b454311d189430000e829fbbd/content.htm
    http://www.sap-press.com/product.cfm?account=&product=H950
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    Workflow
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    Workflow tutorials with step-by-step and with screenshots are available at http://www.****************/Tutorials/Workflow/Workflow.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/c14a9b55103116e10000000a1553f7/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
    http://www.sapgenie.com/workflow/
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    Debug a workflow.
    This has a step by step procedure :
    http://fuller.mit.edu/workflow/debugging.pdf
    www.erpgenie.com/sap/workflow/debugging.htm
    http://www.erpgenie.com/workflow/debugging.htm?2b5de440
    Workflow tutorials with step-by-step and with screenshots are available at
    http://www.****************/Tutorials/Workflow/Workflow.htm
    http://www.sapgenie.com/workflow/
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/WORKFLOW_tutorial.html
    Regarding Work Flow   
    work flow scenarios.
    1. applying for a leave.
    2. approval process.
    3. material creation process.
    4. mainly work flow is for notification purpose.
    chk this links
    http://help.sap.com/saphelp_erp2005/helpdata/en/fb/135962457311d189440000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
    Workflow
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    http://www.erpgenie.com/workflow/index.htm
    http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
    http://www.insightcp.com/res_23.htm
    A good tutorial
    http://www.thespot4sap.com/articles/Invoice_Verification_Automation_Using_SAP_Workflow.asp
    http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
    /people/alan.rickayzen/blog
    /people/jocelyn.dart/blog/2006/06/19/why-use-abap-oo-with-workflow
    a good book
    http://www.sap-press.com/product.cfm?account=&product=H950
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.sap-press.com/downloads/h950_preview.pdf
    Check the following PDF
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    also seach the workflow forum: SAP Business Workflow
    Regards
    Anji

  • 'Approve' button not displaying in the Approve Role screen Inbox - AC 10

    Hello Gurus,
    I have a challenge and I'd be glad to have it fixed.
    I am configuring Role Management in GRC AC 10.0.
    I am in Approve Role phase.
    After clicking on Initiate Approval....It send the request to the Role Owner's work inbox for approval.
    However, when the role owner logs in, only the "Other actions" button shows. The "Approve" button does not show.
    The "other actions" have options for "Hold" and "Request information"
    Please note the following in the MSMP settings.
    I am using the default settings in MSMP
    Process ID - SAP_GRAC_ROLE_APPR
    Maintain Path (Path ID - GRAC_DEFAULT_PATH ) & Stage Config ID - GRAC_DEFAULT_STAGE
    Maintain Route Mapping - GRAC_ROLEAPPR_INITIATOR
    Generate Version - Version generation was successful.
    I have also assigned the following roles to the ROLE OWNER
    SAP_GRAC_BASE
    SAP_GRAC_NWBC
    SAP_GRAC_ROLE_MGMT_DESIGNER
    SAP_GRAC_ROLE_MGMT_ROLE_OWNER
    SAP_GRAC_ROLE_MGMT_USER
    Please help me...what am I doing wrong?
    Thanks

    Hi Colleen,
    Thanks for reply. I have configured the workflow with default path and with one stage (role owner approval). When we create roles, request is being sent for role owner for approval.
    Role owner is able to see the request in workplace inbox. But not able to approve it. We are getting the same kind of error when we raise requests for user access also (you can see the error screen shot for access request and the same kind of error is occurring for role approval also).
    All requests are stuck up at role owner for approval. Quick response is much appreciated.
    Regards
    Sasi

  • Role removal workflow

    Hi experts,
    I'm trying to understand what's needed to remove user roles using workflow.  My understanding was that I needed to use the same workflow for user provisioning and just treat the removal as a user change (SAP_GRAC_ACCESS_REQUEST) but when executing the workflow I get the word "ERROR" under "Stage Status" (even thought nothing is showing up on SLG1 or ST22).  Is there something that needs to be added to the workflow to allow the removal of roles?  We are on GRC 10.1

    This is what I see on GRFNMW_DBGMONITOR_WD.  The detour condition is coming with an Error but when I simulate the conditions for that request I get expected results.  After the error message the request staus goes to "Decision Pending" but it doesnt show any approver.

  • N level-Approval for contract workflow (WS14000148) in SRM

    Hi SDN'rs
                  I want to activate N level-Approval for contract workflow (WS14000148) in SRM  
    When I am creating the contract in SRM I can see the approvers in the approval preview.
    But when I release the contract and look at the approval privew there are no approvers
    and the status of the contract is released.
    We are on SRM Server 5.5 and SP 07.
    Here what I did
    1. I implemented the BADI 'BBP_WFL_APPROV_BADI' using the sample implementation and populated the approvers.
    2. I activated events SAVED,CHANGEVERSIONSAVED for WS14000148 in OOCU transaction.
    3. I see event linkages for WS14000148 for both events SAVED,CHANGEVERSIONSAVED in SWE2 transaction.
    4. I assigned role SAP_EC_BBP_PURCHASER to for subworkflow N step for contract WS14000147.
        ( User who is creating contract has this role)
    5. Consistency check for WS14000148 is green and WS14000147 is yellow in SWUD
    6. Event simulation for BUS2000113 and events SAVED,CHANGEVERSIONSAVED shows WS14000148 successfully started.
    I see dump in ST22 with errors TSV_TNEW_PAGE_ALLOC_FAILED and SYSTEM_NO_SHM_MEMORY with WF-BATCH is this any thing to do with that?
    If any one know what are the steps I am missing please let me know.
    Thanks
    A S

    Hi
    Please refer to these OSS notes which might help.
    <u>Refer to following OSS Notes -></u>
    Note 735026 - Memory problems at BBP_GETLIST_INDEX_FILL
    Note 932836 - BBP_GETLIST_INDEX_FILL: Activation not possible
    879528 WS14000148: Send mail to initiator incorrect
    901200 WS14000148 dia wrk item despite NO_FURTHER_APPROVAL_NEEDED=X
    879873 BUS2000113: The Object_ID attribute may be empty
    903015 BAdI Workflows: Events and parallel steps
    901068 BAdI Workflows: Enhancement of Note 896556
    769458 Dynamic workflows: No adjustment after document change
    972757 Occurence of the SYSTEM_NO_SHM_MEMORY runtime error
    741864 FinBasis: Termination TSV_TNEW_PAGE_ALLOC_FAILED
    864473 Deactivating the shared memory when searching by prefix
    928642 Container factory: Shared memory dump update
    Refer to these links.
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/26/0f8b41ed891609e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    </b>
    <u>Also raise an OSS message with SAP as well.</u>
    Regards
    - Atul

  • ERM - Workflow Approval Configuration in ERM and CUP

    Hi Experts,
    I'm in the midst of configuring the workflow approval for ERM and have some queries.
    I followed the post-installation guide part 1 for ERM on the workflow configuration and have sucessfully done the following:
    1. Verified that the "AE_init_append_data_RE.xml" has been uploaded in CUP with Append option
    2. Verified that request type "RE_ROLE_APPROVAL" with workflow type "RE" exists
    3. Verified that priority "RE_HIGH" with workflow type "RE" exists
    4. Created a workflow initiator for ERM called "ROLE_APPROVAL" in CUP -> Configuration -> Workflow -> Initiator (with the said details as per the post-installation guide)
    5. Created a CAD called "ERM_ROLE_APPROVER" for ERM in CUP -> Configuration -> Workflow -> Custom Approver Determinator (with the said details as per the post installation guide, filling in the necessary URI, uname/pw for admin with UME roles)
    6. Created TWO stages , one stage for the role owner called "ERM_ROLE_APPROV", and one stage for the internal control owner called "ERM_ROLE_APPRO2", both with workflow type "RE" and Approver Determinator "ERM_ROLE_APPROVER" which was created in step 5 earlier.
    7. Created a path for ERM Role Approval Workflow in CUP -> Configuration -> Workflow -> Path, with workflow type "RE", Number of Stages "2", Initiator "ROLE_APPROVER", Active "checked" and I put Stage 1 as "ERM_ROLE_APPROV" and stage 2 as "ERM_ROLE_APPRO2".
    8. Configured the Exit Web Service (followed the details as per the post-installation guide for ERM)
    As my role approval is pretty straight forward (i.e. based on business process attribute defined, with each role owner being responsible for their business process), I did the following:
    1. Create approval criteria "Role Approver for Business Process FI"
    2. For that criteria, I based it on attribute "Business Process"
    3. I clicked on "Assign Approvers" to define who is the approver (i.e. the respective role owner responsible for Process FI)
    4. I defined the condition for this criteria, Condition = AND, Attribute = Business Process, Value = FI
    My queries:
    1. Is the approval criteria which I created in ERM, referring to 1st stage or 2nd stage of the path in CUP?
    2. I'm assuming that for query 1, the approval criteria which I created is for 1st stage (i.e. ERM_ROLE_APPROV), where can I configure the 2nd level approval for the internal control owner (i.e. ERM_ROLE_APPRO2, in the path which I defined in CUP)?
    Thanks!

    Hi Baldwin,
    All workflow paths in CUP are triggered by an Initiator.  Once the request from ERM meets "Initiator" ("ROLE_APPROVAL") requirements in CUP, the request will go to the first stage defined in the respective path. Approvers defined in each stage of the path can approve request. Once the request is approved in CUP, approval information will be sent to ERM and then the role in ERM will be moved to the next stage.
    Best Regards,
    Sirish Gullapalli.

  • How to approve conent from workflow queue ?

    Any idea how to approve content from workflow queue when user is not reviewer or authorized to take action of current workflow step. ?
    how we can modify the user permission on content for approve/reject content from workflow queue when content is not in workflow queue of current user ?
    Or How can user take workflow action on content when content is not in workflow queue of user ?

    Any idea how to approve content from workflow queue when user is not reviewer or authorized to take action of current workflow step. ?OOTB this is certainly not possible. By installation of a workflow you intend to automate a business process; i.e. the situation you are asking about is exactly what you want to prevent. Therefore, the initial question should be: do we want to automate this process and if so, is WebCenter Content the right tool to do it (note that WebCenter Content is not a BPM system!).
    The world, however, is not black or white - sometimes you have to use the tool that you have. In WebCenter Content, there are certain situations which cannot be meet by the OOTB design, but their customization is relatively easy. Some of them is described in the manual: http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c05_workflows.htm#CIHCHJEA or http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c05_workflows.htm#CIHGIDGB
    The basic idea is that will use workflow step events (entry, update, exit) to implement additional logic (like adding a reviewer or auto-jump to an escalation/special treatment step on certain conditions). This might also require GUI changes - e.g. if you want to enable a reviewer to delegate his or her role to a third person.

  • ORM Approval Roles

    I have a need to send approval requests out to a group of people, not just to an individual. The first person that responds can process the approval. It is not a multi-step requirement.
    In ORM, I can create Approver roles and use a query to populate the approver role members. I cannot figure out how to assign the approval requests to the approver group. How is the Approval Role assigned to a Business Role?
    KC

    Let me clarify my need.
    When a manager in a business line identifies the need for a new business role, I need a workflow mechanism by which they can request a new role be created in ORM and specify the IT Roles that should comprise that business role. This request step is separate from the actual role definition itself that would occur in ORM after the request was approved.

  • Batch risk analysis job while database is down

    Hello,
    Can I run RAR batch risk analysis job while MaxDB database is down in GRC AC 5.3. Our AS Java database is MaxDB.
    Please note that when the MaxDB database crashed, while the batch risk analysis job was running and then it completed successfully, while the database was still down.
    My query is that does batch risk analysis job, not require AS JAVA database to be up & running?
    Thanks

    Hi Alpesh/ Frank,
    I did check the Background Job Spool file location and Alert Log file location configured in RAR - Misc, I found those directories to be empty.
    Actuallay the configuration has been set to Java Logger.
    Then I checked the background job log from RAR and found out the following information, seen below. (The log file is very long, I have given few lines of it below).
    INFO: Case4: UPDATE VIRSA_CC_SCHEDULER query got executed
    Apr 21, 2010 2:59:40 PM com.virsa.cc.common.util.ConfigUtil setDefaultJ2EEParam
    WARNING: absWebResourceURL:http://ip_address:50000/
    Apr 21, 2010 2:59:40 PM com.virsa.cc.xsys.bg.AnalysisDaemonThread run
    FINEST: Analysis Daemon Thread: Invoking (HTTP): http://ip_address:50000/webdynpro/dispatcher/sap.com/grc~ccappcomp/BgJobStart?daemonId=
    [9024350]E:\usr\sap\CME\JC00\j2ee\cluster\server0\.&threadId=0&daemonType=BG
    INFO: -
    Scheduling Job =>20----
    Apr 21, 2010 2:59:51 PM com.virsa.cc.common.util.ExceptionUtil logError
    SEVERE: null
    java.lang.NullPointerException
         at com.virsa.cc.comp.wdp.IPublicBackendAccessInterface$IUserListInputElement.wdGetObject(IPublicBackendAccessInterface.java)
         at com.sap.tc.webdynpro.progmodel.context.NodeElement.getAttributeAsText(NodeElement.java:888)
    Apr 21, 2010 5:17:08 PM com.virsa.cc.common.util.ExceptionUtil logError
    SEVERE: null
    java.lang.NullPointerException
         at com.virsa.cc.comp.wdp.IPublicBackendAccessInterface$IAuthForUserInputElement.wdGetObject(IPublicBackendAccessInterface.java)
    Apr 21, 2010 5:17:08 PM com.virsa.cc.xsys.meng.ObjAuthMatcher <init>
    FINEST: ObjAuthMatcher constructed: 0ms, #singles=14, #ranges=0, #super=0
    END----
    The last line ends with FINEST: ObjAuthMatcher constructed: 0ms, #singles=14, #ranges=0, #super=0.
    When I checked the status of the Background job, the Batch risk analysis job broken into multiple jobs using User ID Ranges was completed.
    1- My query is from the above log file, is there anything wrong?
    2- If there is something wrong, then why is the status of Background job shown as completed (at a time when MaxDB database was down due to memory issues)?
    Thanks,
    Haleem

Maybe you are looking for

  • Macbook applications wont open!

    Hi there. I have not had a single problem with my Macbook in the 6 months i have had it, until now that is. I tried to open Limewire in my dock the other day and the little icon just vanished and the program didnt open. So i downloaded it again but t

  • Do I need to re-install all of my Boot Camp software?

    I recently installed a new internal hard drive to my MacBook.  This is my old configuration: 13 inch Aluminum Late 2008 MacBook Processor 2 GHz Intel Core 2 Duo, Memory 4 GB 1067 MHz DDR3, Software Mac OS X Lion 10.7.4 (11E53).  160 GB SATA disk as m

  • I couldn't complete my Apple Markey Research Survey (Nowhere to put this problem)

    Heyyyy, I was taking the Apple Market Research survey to talk about how much I like my new Mac Pro, but I got to this question and couldn't go further.  I tried putting zeroes in front of the number and everything.  I didn't know where to put the iss

  • Scripting Question for Remote & Command list

    There must be some info on the commands / functions allowed for DVDSP scripting. For instance, how does one know ran = random. div = divide. Can you please point me in that direction. Note: already looked at the 2 tutorial sites suggested and the boo

  • Aperture RAW file compatibility

    Hi there guys. I've been considering Aperture2 for quite sometime now but am disappointed to find out that there is no RAW support for my camera, a Panasonic Lumix DMC FZ-28. The closest support is for an older FZ-50 instead while my camera is newer