Take an approved from Multi Approval process

Hello!
I need take a value (Aprove o reject) for every approver in Multi Approval process, Can anyone help me?
This is the code:
<set name='approvals.approvers'>
<list>
<s>ESM3801A</s>
<s>ESM3801B</s>
</list>
</set>
<Argument name='style' value='allapprove'/>
The idea is reemplace:
<isTrue>
<ref>approved</ref>
</isTrue>
for a expression where I can take the value for ESM3801A and other for ESM3801B.
Thanks.
Felipe Forero

I think the only way to know which all approvers approved and who all rejected is to
use a customized multi approval code
Look at the "Multi Approval" Sub Process .
It is nothing but looping through the approvers list that you provided and
calling single approval process for each approver in the list.
so you can actually modify the Multi Approval code to return an array which shows who approved and who didn't

Similar Messages

  • Premier Pro Queue - Multi-Core Processing

    I am sure you all have thought about this but it would be nice if you take advantage of the multi-core processing of the Mac in order to run more than one Queue item at the same time.
    Currently, each item in the queue has to wait but since we got multi-core systems like my Mac Pro with Dual Quad Core it would be nice to be encoding multiple projects at the same time.  Or is this because it's software encoding and not hardware restriction?
    I did notice in Preferences there is a Enable Parallel Encoding.  Is this not multi-core processing?
    Thanks,
    Kenneth

    Think of it this way: Intel has already announced that they are sunsetting the C2D line of processors, so purchasing something that is about ready to get phased out doesn't make much sense to me as it will quickly become outdated (some could argue that it already is outdated with the number of quadcore and higher procs coming out).
    If anything, purchase one of the quad-core models to get more out of it down the line. More and more software is becoming multi-core aware, so even while an app you use now doesn't support it, it may eventually.

  • ApproverObjects in multi approval process

    I am trying to call a multi approval process, but it never sends out any approvals, it just skips out of it. My understanding is that approverObjects needs to passed in which should be The list of approver objects where each approver object contains the approvers name and delegators name(s) if any. I tried to pass in a list with accountId but it didn't work, and it gave me an error. I think its looking for a specific kind of object. Anybody know what should be in that list? Here are the errors:
    om.waveset.util.WavesetException: Couldn't find method getApprover() in class java.lang.String java.lang.NoSuchMethodException: java.lang.String.getApprover()
    com.waveset.util.WavesetException: Couldn't find method getDelegator() in class java.lang.String java.lang.NoSuchMethodException: java.lang.String.getDelegator()
    com.waveset.util.WavesetException: WorkflowServices.getDelegates: missing accountId or accountIdList
    com.waveset.util.WavesetException: Action null used unresolved variable approver as an owner name.
    thx

    Hi,
    Please pass list of approver in the argument under "approvers" which contain only account id. Then only it able to get the approver request to the user.
    Regards,
    vinash

  • Multi approval process

    Hi Idm gurus,
    I have a requirement in whcih I have 3 approver to create a user. If any 2 approver is approving I need to go ahead and create user in resources.
    Can some one guide me how to achieve it?
    Thx

    Hi,
    See the below code may be it will give you some idea.
    <!-- MemberObjectGroups="#ID#Top" createDate="Mon Jun 04 13:42:07 IST 2007" name="New Workflow" visibility="runschedule"-->
    <TaskDefinition name='New Workflow' createDate='1180944727781' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
    <Extension>
    <WFProcess name='New Workflow' maxSteps='0'>
    <Variable name='counter'/>
    <Activity id='0' name='start'>
    <Transition to='setCounter'/>
    <WorkflowEditor x='43' y='10'/>
    </Activity>
    <Activity id='1' name='setCounter'>
    <Action id='0' name='setCounter'>
    <expression>
    <set name='counter'>
    <i>0</i>
    </set>
    </expression>
    </Action>
    <Transition to='Split Approval'/>
    <WorkflowEditor x='113' y='10'/>
    </Activity>
    <Activity id='2' name='Split Approval' andSplit='true'>
    <Transition to='Approval1'/>
    <Transition to='Approval2'/>
    <Transition to='Approval3'/>
    <WorkflowEditor x='201' y='10'/>
    </Activity>
    <Activity id='3' name='Approval1'>
    <Variable name='approved'/>
    <Action id='0' name='Approve' process='Approval'>
    <Argument name='approver' value='$(Approval1)'/>
    <Return from='approved' to='approved'/>
    </Action>
    <Action id='1' name='increaseCounter'>
    <expression>
    <add>
    <ref>counter</ref>
    <i>1</i>
    </add>
    </expression>
    </Action>
    <Transition to='Request Approved'>
    <or>
    <isTrue>
    <ref>approved</ref>
    </isTrue>
    <gt>
    <ref>counter</ref>
    <i>2</i>
    </gt>
    </or>
    </Transition>
    <WorkflowEditor x='285' y='10'/>
    </Activity>
    <Activity id='4' name='Approval2'>
    <Variable name='approved'/>
    <Action id='0' name='Approve' process='Approval'>
    <Argument name='approver' value='$(Approval2)'/>
    <Return from='approved' to='approved'/>
    </Action>
    <Action id='1' name='increaseCounter'>
    <expression>
    <add>
    <ref>counter</ref>
    <i>1</i>
    </add>
    </expression>
    </Action>
    <Transition to='Request Approved'>
    <or>
    <isTrue>
    <ref>approved</ref>
    </isTrue>
    <gt>
    <ref>counter</ref>
    <i>2</i>
    </gt>
    </or>
    </Transition>
    <WorkflowEditor x='285' y='59'/>
    </Activity>
    <Activity id='5' name='Approval3'>
    <Variable name='approved'/>
    <Action id='0' name='Approve' process='Approval'>
    <Argument name='approver' value='$(Approval3)'/>
    <Return from='approved' to='approved'/>
    </Action>
    <Action id='1' name='increaseCounter'>
    <expression>
    <add>
    <ref>counter</ref>
    <i>1</i>
    </add>
    </expression>
    </Action>
    <Transition to='Request Approved'>
    <or>
    <isTrue>
    <ref>approved</ref>
    </isTrue>
    <gt>
    <ref>counter</ref>
    <i>2</i>
    </gt>
    </or>
    </Transition>
    <WorkflowEditor x='285' y='108'/>
    </Activity>
    <Activity id='6' name='Request Approved' andJoin='true'>
    <Transition to='end'/>
    <WorkflowEditor x='382' y='10'/>
    </Activity>
    <Activity id='7' name='end'>
    <WorkflowEditor x='473' y='10'/>
    </Activity>
    </WFProcess>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    </TaskDefinition>
    Thanx
    Shant

  • Post Write-off from Disputes with Approval Process

    Hi,
    we want to post write-offs using the dispute escalation process. before the write-offs are posted they need to go for approval. is there any functionality within dispute mgmt which can be leveraged to post write-off from the dispute with approval

    Hi,
    When you set up the escalation proces with reason code write off you can do it in two ways. Set up a Workflow for the approval process. Escalations are specifically meant for that. This is possible with the standard workflow.
    If you want to work w/o workflow. Then you can have the responsible person go into UDM_disputes query all specific escalation reason and e.g. change status or maybe create a different escalation reason. (E.g. Write off request/ Write off granted)
    You can check if you can change the roles that certain functions can only set certain reasons.
    Rgds,
    Richard

  • Multi-step content approval process

    Dear All,
    We have a requirement like this:
    A content (after it has been authored) has to go through an n-step approval process. In our requirement, suppose if the 3rd approver rejects the content, then it should go back to the 2nd approver. But if we use SAP's built-in approval process, if any approver rejects the content, it goes back to the Content Author.
    Any idea to solve this issue?
    Please share the code if you have.
    Kind regards,
    Sreejesh.

    Hi Sreejesh,
    the requirement in my eyes doesn't give much sense: What should the 2nd approver do with the content rejected by the third approver?! To approve makes no sense, for he knows that the 3rd approver would reject again. And to reject "makes sense" - anyhow, this is already implemented...
    So, beneath the question of the usefulness of the requirement, you may implement your own reject command which does exactly what you expect. This probably would mean a modification of the standard behaviour.
    Hope it helps
    Detlev

  • Can a Approval process manually invoked from a jsp!!!

    Hi everyone,
    I have attached new jsp to the left menu of xelsysadm. In this jsp user will fill up information. on submit i should invoke an approval process once its approved i will make changes on Target system.
    Can this be done through API. What would be the approach!!
    Thanks,
    murli

    Here is a sample to create a request
         public long createResourceRequestForUser(String resourceName, String userId, boolean addResource)throws OIMServiceException
              logger.debug("Entering createResourceRequestForUser") ;
              long reqKey=-1, usrKey=-1, objKey=-1;
              tcUserOperationsIntf oimUserUtility = null ;
              tcRequestOperationsIntf oimRequestUtility = null;
              tcObjectOperationsIntf oimObjectUtility = null;
              try {
                   oimUserUtility = (tcUserOperationsIntf) oimUtilityFactory.getUtility
                                                           ("Thor.API.Operations.tcUserOperationsIntf");
                   usrKey = getUserKeyByUserId(userId, oimUserUtility);
                   oimObjectUtility = (tcObjectOperationsIntf) oimUtilityFactory.getUtility
                                                           (Thor.API.Operations.tcObjectOperationsIntf");
                   Hashtable objHash = new Hashtable();
                   objHash.put("Objects.Name", resourceName);
                   tcResultSet objSet = oimObjectUtility.findObjects(objHash);
                   objKey = objSet.getLongValue("Objects.Key");
                   logger.info("Object Key for the resource " + resourceName +" is " + objKey) ;
                   oimRequestUtility = (tcRequestOperationsIntf) oimUtilityFactory.getUtility
                                                           (Thor.API.Operations.tcRequestOperationsIntf");
                   HashMap reqMap = new HashMap();
                   reqMap.put("Requests.Target Type", "U");
                   reqMap.put("Requests.Type", "U");
                   //Check whether the resource is for revoke or grant for the service
                   if(addResource==true)
                        reqMap.put("Requests.Object Request Type", "Add");
                        logger.info("Creating request to provision resource "+ resourceName + " for user "+ userId) ;
                   else
                        reqMap.put("Requests.Object Request Type", "Revoke");
                        logger.info("Creating request to revoke resource "+ resourceName + " for user "+ userId) ;
                   //Create the request
                   reqKey = oimRequestUtility.createRequest(reqMap);
                   logger.info("New request created with request id "+reqKey) ;
                   //Adding user to be provisioned for resource object
                   oimRequestUtility.addRequestUser(reqKey, usrKey);
                   logger.info("Adding user for which the resource is to be provisioned or revoked") ;
                   //Adding Object to be provisioned
                   oimRequestUtility.addRequestObject(reqKey, objKey, false);
                   logger.info("Adding Object to be provisioned or revoked ") ;
                   oimRequestUtility.completeRequestCreation(reqKey);
                   logger.info("Completed and submitted the request ") ;
              }catch(Exception e)
                   tcae.printStackTrace();
                   logger.error("Error in resource request for the user "+userId + " :"+e.getMessage()) ;
                   throw new OIMServiceException(tcae.getErrorCode() + ":" + e.getMessage()) ;
              } finally {
                   if(oimUserUtility != null){
                        oimUserUtility.close() ;
                   if(oimObjectUtility != null){
                        oimObjectUtility.close() ;
                   if(oimRequestUtility != null){
                        oimRequestUtility.close() ;
              logger.debug("Leaving createResourceRequestForUser") ;
              return reqKey;
         }

  • Report:  Approval Process Timing

    Hi,
    1)  I need a report showing me the average time it takes for each approver to approve the POs.  Do you know how I can code this please?
    2)  Also, I would like a report which shows me a list of all PO Approval Processes related to an Approver specified within a parameter.
    Thanks,
    vankri

    By average time I mean for example:
    Purchase Order 1:
    Approver 1 approves on (01/11/2009)
    Approver 2 approves on (03/11/2009)
    Approver 3 approves on (04/11/2009)
    Purchase Order 2:
    Approver 1 approves on (17/11/2009)
    Approver 2 approves on (21/11/2009)
    Approver 3 approves on (27/11/2009)
    The dates are dates of approval.
    Average time for approver 3 is 3.5 days ((1+6)/2)
    The average time it takes for a user to approve after the previous approver has approved from his part.
    Any ideas pls?
    Thanks,
    vankri

  • Create Material directly in active area without approval process ( Bypasing Staging)

    Hi Experts ,
       I have one requirement where Material need to be created directly in active area with out any approval process.
    So I need to bypass staging area data store.
    Please give your valuable input to achieve that.
    Thanks in advance.
    Regards,
    Samrat

    Hello,
    From the discussion above, I can understand this is a requirement. However, I would like to understand the reasoning behind this requirement. The whole point behind MDG is to avoid direct creation of master data and instead "govern" the process first. If you are going to create material, then use MM01 directly as Sanjay suggested.
    If you are looking for a web-based UI, you are better off looking for a standard Web Dynpro application (or create your own) instead of mis-using the MDG application.
    In any case, you can't completely by-pass the staging area. However, you can configure a single-step rule-based workflow such that the material goes into "activation" immediately. Keep in mind that the material will not be available immediately, but will take a few minutes depending on your system configuration until the material is activated completely in the system. Error handling, etc. will need to be done on the MDG layer which could prove to be an unnecessary burden should you decide to go this route.

  • Approval Process on Blackberry

    Hi
    I have a requirement in Blackberry Approval process.
    A Corporation currently has SAP Workflow and they are currently using it to send PR items via Outlook to the approver of these PRs. The approver then gets an email which contains a link to the Portal where he/she approves or rejects the PR.
    Now, along with the email to the approver, the approver should also get the PRs on his/her Blackberry and should be able to approve or reject the PRs from the Blackberry Device itself.
    I would be grateful if anybody could guide me in this.
    Thanks and regards.
    Sunil

    Hi Julien,
    The task type of the work item is 'W' and task_id is TS*.
    As I told previously, the scenario here is of Releasing/Rejecting a PR.
    The  present scenario here is, the approver gets the workitem in his MS outlook inbox, with a Link for approval.
    When he/she clicks on the link, it navigates to the tcode me54n of the sap system, where the approver has to take a decision of releasing or rejecting the PR.
    So, I dont think the BAPI SAP_WAPI_DECISION_COMPLETE will be of help to me because the decision here is taken in the transaction me54n and not on the workitem itself.
    But now, when i configure this scenario on a blackberry, the approver should be able to take the decision of Releasing/ Rejecting the PR on his blackberry itself(without going to the transaction me54n).
    Can you please help me on this?
    Thanks
    Sunil

  • PR Approval Process on Blackberry

    Hi
    I have a requirement in Blackberry PR Approval process.
    A Corporation currently has SAP Workflow and they are currently using it to send PR items via Outlook to the approver of these PRs. The approver then gets an email which contains a link to the Portal where he/she approves or rejects the PR.
    Now, along with the email to the approver, the approver should also get the PRs on his/her Blackberry and should be able to approve or reject the PRs from the Blackberry Device itself.
    I found from this forum that I should use "SAPI_WAPI*" BAPIs for my requirement.
    I explored all the "SAPI_WAPI* " BAPIs and narrowed down on SAP_WAPI_CREATE_WORKLIST to get all the work items for a particular user.
    Is this the right BAPI??
    Now for approval or rejection of this work item, I found the BAPI - SAPI_WAPI_DECISION_COMPLETE.
    But when i give the workitem id for PR release to the above BAPI, it says " the workitem <Workitem no> is not a user decision".
    I would be greatful if u could help me in this??
    Which is the right BAPI for Approval/Rejection of PR release work item??
    I would be grateful if anybody could guide me in this.
    Thanks and regards.
    Sunil

    Hi Julien,
    The task type of the work item is 'W' and task_id is TS*.
    As I told previously, the scenario here is of Releasing/Rejecting a PR.
    The  present scenario here is, the approver gets the workitem in his MS outlook inbox, with a Link for approval.
    When he/she clicks on the link, it navigates to the tcode me54n of the sap system, where the approver has to take a decision of releasing or rejecting the PR.
    So, I dont think the BAPI SAP_WAPI_DECISION_COMPLETE will be of help to me because the decision here is taken in the transaction me54n and not on the workitem itself.
    But now, when i configure this scenario on a blackberry, the approver should be able to take the decision of Releasing/ Rejecting the PR on his blackberry itself(without going to the transaction me54n).
    Can you please help me on this?
    Thanks
    Sunil

  • Approved invoices can not be edited  - Approval process

    Hi Experts -
    I have recently raised an incident with SAP about Approval process - the complete message and support reply is as follows - but i believe we need a change in the approval process - if the approval required is only one but you have defined two people (Either or OR) in the approver list - the system should allow the document to be edited if one of the approvers reject it.
    please let me know and i believe we need  a change in design - unless otherwise a solid reason is given to justify the existing design
    10.07.2009 10:32 Description (English) by SRS Manian
         We have created approval procedure for all the invoices which are entered into the system., The
    'Accts' user enters the invoice into the system - the invoice comes for approval to 'Manager' user.
    When the Manager opens the invoice via Alert window - he/she wants to modify certain information
    (lines as well as Sales person) and approve it.
    The invoice which gets opened from the alert window - does not allow the user 'Manager' to modify at
    all. All the information on the invoice are greyed out.
    The system should allow the user 'Manager' to modify the information. Since the manager has full
    authorization to the system.
    10.07.2009 10:35 Info to Reporter by SAP
         Dear Partner/Customer,
    We have received your inquiry and are currently processing it.
    You will be contacted with a solution or an update as soon as possible.
    For further details regarding the phase your message is in at the
    moment please refer to:
    http://service.sap.com/%7Esapidb/011000358700000575782007E
    Kind regards,
    SAP Business One Product Support
    10.07.2009 10:59 Reply to Reporter by SAP
         Dear Manian,
    Thank you for contacting us.
    When the originator sends the document for manager's approval, note that the at that stage, the document is still in the 'Approval Process'. This is because the system is waiting for the 'Manager' to 'Approve or Reject' the document. Hence, looking at the Document, it is still in 'Draft - Pending' Status.
    When the document is in 'Draft-Pending' Status, the document is not available for editing, because the system considers that it is still in the waiting process. In your case, the manager cannot edit t he document.
    To amend the document, an action is required from the approver either to reject it first. Once rejected, it can be amended and re-sent for approval.
    I have checked our knowledge base and noted that there is an article which describes the approval process. Please refer to the Expert on Phone Wiki Article (March 2009) with title: Why a draft documen t in an approval process cannot be modified by the originator?
    The link will provide the explanation:
    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=88735894
    I have also attached Notes 1321234 and 1111431 for your reference.
    Best regards,
    Lorna Real
    Support Consultant
    Product Support for SAP Business One
    SAP Ireland 
    10.07.2009 11:59 Reply to Support Center  by SRS Manian
         Thanks for the reply. The scenario is when the Manager receives the
    document for approval, he wanted to edit and add it. Your reply (and
    documentations) states that it needs to be rejected first before it is
    available for editing. When it is gets rejected - the person who
    orignated the document gets an alert and he can edit it. Here the
    Manager must get an alert so that he can edit the Rejected document.
    When the 'manager' rejects the document, and goes back to the alert
    window to open the document - it is still greyed out !!
    How does the 'manager' reject the document and edits it ?
    regards
    Manian 
    10.07.2009 12:11 Reply to Reporter by SAP
         Dear Manian,
    If after the Manager rejects it and still the document is not editable (greyed out), it means that the document may still be in the 'Approval Process'. When it is greyed out, what is the status of the document in the header? Does it say 'Rejected' or 'Pending'?
    If it is still in 'Pending' mode, please verify the number of 'Approvers' set in the 'Stages' tab of the 'Approval Template - Setup' window. If there is more than one user listed as 'Approver', and o nly 1 approval is required, the system provides an opportunity to other 'Approvers' to approve or reject the document. If in your case, the number of approvers is 2, and manager 'rejected' it, the sys tem still keeps the document in Pending status as it waits for another approver's decision to reject or approve it.
    Also, verify the number of 'Approvals' required. If the number of 'Approvers' who have not rendered their decision is greater than or equal to the 'Approvals' required (e.g. approvers - 2, required ap provals - 2) the system keeps the document within the approval process. This is to allow the other 'Approvers' to decide on the document.
    I hope this clarifies the behaviour. If you can provide us a step by step screenshot of the issue, this may help us to provide a more accurate response.
    Best regards,
    Lorna Real
    Support Consultant
    Product Support for SAP Business One
    SAP Ireland 
    10.07.2009 12:28 Reply to Support Center  by SRS Manian
         Hi:
    The status of the document in the Header says 'Pending' and the status
    below the document number says 'Suspended' - it is not showing as 'Draft'
    Regards
    Manian 
    10.07.2009 12:42 Call to Customer / Partner by SAP
         Performed on: 10.07.2009 10:41:59 (UK)
    Contact person: SRS Manian
    Status of discussion: Customer not reached
    Subject:
    Called the partner but currently engaged on another line.
    Would like to hold a webex. 
    10.07.2009 12:42 Reply to Reporter by SAP
         Dear Manian,
    I'm trying to call you but there was no response on your mobile.
    When the header says 'Pending', then it means the document is still within the approval process. Please check the Approval Template and see the number of approvers and the number of approvals require d.
    The number of approvals and approvers may be greater than 1. In this case, the system waits for other approvers to approve or reject the document. Once all the approvers have rejected the document, th en the document will be released and available for editing.
    Best regards,
    Lorna Real
    Support Consultant
    Product Support for SAP Business One
    SAP Ireland 
    10.07.2009 18:11 Reply to Support Center  by SRS Manian
         Hi:
    Thanks for the reply - i tried this and found out the following:
    1 - In the approval templates - we had mentioned number of approvals
    required as '1'.
    2 - in the number of approvers - we had mentioned two users
    Though the template requires only one approvals (Either or OR) the system
    expects both of them to approve or reject -
    Can u please let me why is this behaving like this - or is this is the
    way it is designed ? - if this is the way it is designed - i beleive it
    is wrong - weneed to give a solution to the customer
    regards
    Manian 
    11.07.2009 05:52 Reply to Reporter by SAP
         Dear Manian,
    Thank you for the information. The behaviour is a current system definition documented as per Note 1321234. I have attached the said Note for your reference. When only 1 approval is required and there are 2 or more persons are allowed to approve the document, the document does not get automatically rejected when 1 person 'rejects' it. The system waits for other approvers to render their decision b ecause a person may still approve or reject the document.
    The design is not an application error. If you would like to change this design, please post your requirement in our SAP Business One Product Development Collaboration
    forum. You can find the forum in this link:
    /community [original link is broken]
    The forum is beingmoderated by members of the Solution Management team specialized in certain areas, according to the folder you are in. Partners can impact the design of specific features by posting suggestions and feedback at this forum. Kindly refer to Note 1028874 which describes more on the above process.
    As the request will be handled through another process, we kindly request that this support message be closed.
    Thank you for your understanding.
    Best regards,
    Lorna Real
    Support Consultant
    SAP Product Support for SAP Business One
    SAP Ireland 
    11.07.2009 09:02 Reply to Support Center  by SRS Manian
         Hi Thanks for the reply - however, the solution given doesnot address the
    problem we are beingfaced with our client
    Is there a Development Request we can raise so that this problem is
    addressed in future
    I am going ahead and confirming this Message though
    regards
    Manian 
    11.07.2009 10:04 Reply to Reporter by SAP
         Dear Manian,
    Thanks for the information. I understand the customer's requirement. As previously mentioned, please log a development request in this link:
    /community [original link is broken] This is from Note 1028874.
    Unfortunately,we at the support centre does not have access to the list of development requests. Hence, kindly follow the process in Note 1028874.
    I'm sending the message back to your side for confirmation.
    Best regards,
    Lorna Real
    Support Consultant
    Product Support for SAP Business One
    SAP Ireland 
    SAP Notes           
    Number     Short text
    0001035200
    Issue can be solved via existing documentation
    0001111431
    Deleting rejected draft documents.
    0001167635
    Maintenance Policy (L)
    0001321234
    Status of a document rejected within the Approval Process.

    Hi Gordon - thanks for the reply - i am sorry i never realized that the message i raised could be messed up like this - the following is a clear message with some paragraphs:
    Hi Experts - I have recently raised an incident with SAP about Approval process - the complete message and support reply is as follows - but i believe we need a change in the approval process - if the approval required is only one but you have defined two people (Either or OR) in the approver list - the system should allow the document to be edited if one of the approvers reject it. please let me know and i believe we need a change in design - unless otherwise a solid reason is given to justify the existing design
    SRS Manian We have created approval procedure for all the invoices which are entered into the system., The 'Accts' user enters the invoice into the system - the invoice comes for approval to 'Manager' user. When the Manager opens the invoice via Alert window - he/she wants to modify certain information (lines as well as Sales person) and approve it. The invoice which gets opened from the alert window - does not allow the user 'Manager' to modify at all. All the information on the invoice are greyed out. The system should allow the user 'Manager' to modify the information. Since the manager has full authorization to the system.
    Reply to Reporter by SAP Dear Manian,
    Thank you for contacting us. When the originator sends the document for manager's approval, note that the at that stage, the document is still in the 'Approval Process'. This is because the system is waiting for the 'Manager' to 'Approve or Reject' the document. Hence, looking at the Document, it is still in 'Draft - Pending' Status. When the document is in 'Draft-Pending' Status, the document is not available for editing, because the system considers that it is still in the waiting process. In your case, the manager cannot edit t he document. To amend the document, an action is required from the approver either to reject it first. Once rejected, it can be amended and re-sent for approval. I have checked our knowledge base and noted that there is an article which describes the approval process. Please refer to the Expert on Phone Wiki Article (March 2009) with title: Why a draft documen t in an approval process cannot be modified by the originator? The link will provide the explanation:
    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=88735894
    I have also attached Notes 1321234 and 1111431 for your reference. Best regards, Lorna Real Support Consultant Product Support for SAP Business One SAP Ireland 10.07.2009 11:59
    Reply to Support Center by SRS Manian
    Thanks for the reply.
    The scenario is when the Manager receives the document for approval, he wanted to edit and add it. Your reply (and documentations) states that it needs to be rejected first before it is available for editing. When it is gets rejected - the person who orignated the document gets an alert and he can edit it. Here the Manager must get an alert so that he can edit the Rejected document. When the 'manager' rejects the document, and goes back to the alert window to open the document - it is still greyed out !! How does the 'manager' reject the document and edits it ? regards Manian
    Reply to Reporter by SAP
    Dear Manian, If after the Manager rejects it and still the document is not editable (greyed out), it means that the document may still be in the 'Approval Process'. When it is greyed out, what is the status of the document in the header? Does it say 'Rejected' or 'Pending'? If it is still in 'Pending' mode, please verify the number of 'Approvers' set in the 'Stages' tab of the 'Approval Template - Setup' window. If there is more than one user listed as 'Approver', and o nly 1 approval is required, the system provides an opportunity to other 'Approvers' to approve or reject the document. If in your case, the number of approvers is 2, and manager 'rejected' it, the sys tem still keeps the document in Pending status as it waits for another approver's decision to reject or approve it. Also, verify the number of 'Approvals' required. If the number of 'Approvers' who have not rendered their decision is greater than or equal to the 'Approvals' required (e.g. approvers - 2, required ap provals - 2) the system keeps the document within the approval process. This is to allow the other 'Approvers' to decide on the document. I hope this clarifies the behaviour. If you can provide us a step by step screenshot of the issue, this may help us to provide a more accurate response.
    Best regards,
    Lorna Real Support Consultant Product Support for SAP Business One SAP Ireland
    Reply to Support Center by SRS Manian
    Hi: The status of the document in the Header says 'Pending' and the status below the document number says 'Suspended' - it is not showing as 'Draft'
    Regards
    Manian 10.07.2009 12:42
    Reply to Reporter by SAP
    Dear Manian,
    I'm trying to call you but there was no response on your mobile. When the header says 'Pending', then it means the document is still within the approval process. Please check the Approval Template and see the number of approvers and the number of approvals require d. The number of approvals and approvers may be greater than 1. In this case, the system waits for other approvers to approve or reject the document. Once all the approvers have rejected the document, th en the document will be released and available for editing.
    Best regards,
    Lorna Real Support Consultant Product Support for SAP Business One SAP Ireland
    Reply to Support Center by SRS Manian
    Hi: Thanks for the reply - i tried this and found out the following: 1 - In the approval templates - we had mentioned number of approvals required as '1'. 2 - in the number of approvers - we had mentioned two users Though the template requires only one approvals (Either or OR) the system expects both of them to approve or reject - Can u please let me why is this behaving like this - or is this is the way it is designed ? - if this is the way it is designed - i beleive it is wrong - weneed to give a solution to the customer
    regards
    Manian
    Reply to Reporter by SAP
    Dear Manian,
    Thank you for the information. The behaviour is a current system definition documented as per Note 1321234. I have attached the said Note for your reference. When only 1 approval is required and there are 2 or more persons are allowed to approve the document, the document does not get automatically rejected when 1 person 'rejects' it. The system waits for other approvers to render their decision because a person may still approve or reject the document.
    The design is not an application error. If you would like to change this design, please post your requirement in our SAP Business One Product  Development Collaboration forum.
    You can find the forum in this link:
    /community [original link is broken]
    The forum is being moderated by members of the Solution Management team specialized in certain areas, according to the folder you are in. Partners can impact the design of specific features by posting suggestions and feedback at this forum.
    Kindly refer to Note 1028874 which describes more on the above process.
    As the request will be handled through another process, we kindly request that this support message be closed. Thank you for your understanding.
    Best regards,
    Lorna Real Support Consultant SAP Product Support for SAP Business One SAP Ireland
    Reply to Support Center by SRS Manian
    Hi Thanks for the reply - however, the solution given does not address the problem we are being faced with our client Is there a Development Request we can raise so that this problem is addressed in future I am going ahead and confirming this Message though
    regards
    Manian
    Reply to Reporter by SAP Dear Manian,
    Thanks for the information. I understand the customer's requirement. As previously mentioned, please log a development request in this link:
    /community [original link is broken]
    This is from Note 1028874.
    Unfortunately, we at the support centre does not have access to the list of development requests. Hence, kindly follow the process in Note 1028874. I'm sending the message back to your side for confirmation.
    Best regards,
    Lorna Real Support Consultant Product Support for SAP Business One SAP Ireland

  • OIM: Error while deploying Custom Approval Process for Self-Register

    While deploying the Custom Approval Process for Self-Register, i am getting the following error in scac.log file
    Nov 16, 2011 2:48:58 PM oracle.fabric.common.wsdl.SchemaManager isIncrementalBuildSupported
    INFO: XMLSchema incremental build enabled.
    Nov 16, 2011 2:48:58 PM com.collaxa.cube.CubeLogger info
    INFO: validating "ApprovalProcess.bpel" ...
    oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
         at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
         at oracle.integration.platform.blocks.WLSPlatformConfigurationProvider.<clinit>(WLSPlatformConfigurationProvider.java:44)
         at oracle.integration.platform.blocks.FabricConfigManager.<clinit>(FabricConfigManager.java:155)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXpathFunctions(FabricXPathFunctionResolver.java:271)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXPathConfigFile(FabricXPathFunctionResolver.java:153)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.init(FabricXPathFunctionResolver.java:51)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.loadFabricXpathFunctions(BPELXPathFunctionNameResolver.java:57)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<init>(BPELXPathFunctionNameResolver.java:48)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<clinit>(BPELXPathFunctionNameResolver.java:44)
         at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.<init>(XPathExprValidatorVisitor.java:122)
         at com.collaxa.cube.lang.compiler.bpel.AssignValidator.<init>(AssignValidator.java:89)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.<init>(BpelParser.java:452)
         at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:60)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
         at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1117)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:500)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Nov 16, 2011 2:49:00 PM CubeProcessGenerator compile
    WARNING: classpath is: D:\JDev11g\Middleware\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;D:\OIMPS1\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-manifest.jar;;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\classes;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\classes;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\gen-classes;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\lib\oimclient.jar;D:\JDev11g\Middleware\oracle_common\modules\commonj.sdo_2.1.0.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpel1-1-xbeans.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-common.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpel_coherence_config.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-exts.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\thirdparty.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpm-analytics.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-thirdparty.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\wsif-binding.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-validator.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\monitor-rt-xbean.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\oracle.soa.bpmn.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\user-patch.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.thirdparty.jar;D:\JDev11g\Middleware\jdeveloper\uddi\lib\oracle.soa.uddi.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\bpm-infra.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\testfwk-xbeans.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-ext.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-scheduler.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\xmlunit-1.1.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-tools.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-xpath-exts.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle-soa-client-api.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.wls.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-client.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime-ext-was.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime-ext-wls.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.workflow_11.1.1\bpm-services.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.ext_11.1.1\classes
    In scac_out.xml file following is the error message
    <Fault>
    <severity>error</severity>
    <loc>/ns:composite</loc>
    <line/>
    <col/>
    <file/>
    <msg>
    <![CDATA[SCAC-50012]]>
    </msg>
    </Fault>

    Hi,
    I have run into the same problem with SOA 11.1.1.5 version. In my case after fixing the following two errors it seems to work fine.
    If you have followed the guide, there must be some errors:
    First the java code if copied then contains an extra enter value:
    Instead of:
    "try {
    System.out.println("Prototype for invoking an OIM API from a SOA Composite");
    System.out.println("RTM Usecase: Self Registration Approval by Organization
    Administrator");"
    Use the following:
    "try {
    System.out.println("Prototype for invoking an OIM API from a SOA Composite");
    System.out.println("RTM Usecase: Self Registration Approval by Organization Administrator");"
    The other error is that you should not use <BEAHOME>/oracle_common/modules/oracle.jps_11.1.1/jps-manifest.jar, but the <BEAHOME>/oracle_common/modules/oracle.jps_11.1.1/jps-api.jar in jdeveloper. After these the deployment to the application server works fine for me.

  • Error during approval Process flow in Process controlled workflow

    Hello Experts,
    We are in SRM 7.0 classic scenario using Process controlled workflow.WE recently connected a new backend R/3 system to our SRM system i.e we now have 2 R/3 backend system connected to SRM system
    It is regarding the two new additional account assignment categories that came into picture when we connected the new R/3 backend system to our SRM system, i.e. Asset and Network.
    There seems to be some problem with the approval workflow for those SHC, that have such Acc *** Cats.
    Please find below my obeservations:
    - if you have just one line item in the SHC, and this item is either booked on Asset or on Network, than everything goes fine. After the Acc *** approval, the PR is created in R/3
    - if you have SC with a mix between an "old" Acc *** Cat (Cost Centre, WBS and Order) and one of the "new" Acc *** Cats, than the workflow is not working as required --- the manager, that is responsible for the accounting approval of the two positions (e.g Cost Centre and Asset) gets only one work item in his approval overview --- in that work item, the two positions are there, but the Asset one is grayed out --- so, the Manager approves only the Cost Centre positions and than the SC is no longer with the approver --- if you observe the SC now from the requisitioner point of view, the status of the line items in the approval process overview of both(!) lines is "approved", but the overall status of the SC is still "in approval"
    Can you all experts plz let us know why this is happening and how this can be resolved?
    Any pointers will be highly appreciated.
    Thanks & Regards,
    RKS

    Hi,
    What is Resp. Resolver Name and Decision Type in your Process Level Definition? Did you create custom agent BADI implementation?
    Regards,
    Masa

  • Change Status of archived document after approval process

    hi how can we change the status of an archived document in KM after it has gone thru the approval process.
    the reason once we archive we cannot resubmit the document for approval.
    thanks

    Hi Venu,
    have a look under System Administration - System Configuration -- Knowledge Management -- Configuration --Content Management -- User Interface -- Commands -- UI Command Groups -- StatemanagementGroup.
    See Java class: com.sapportals.wcm.rendering.uicommand.cm.UIStatemanagementGroupCommand. Take the class and decompile this and everything needed around to understand how this class works.
    Then you can choose to extend this CommandGroup to also have a command "Resubmit for Approval" or you can implement your own UI Command only for resubmitting (you will also have to activate your command (group) by settings within the configuration).
    On the other hand, if all this is completely new to you, I'm a bit sceptical if the task isn't a bit too big as a first task on KM implementation topics...?
    Hope it helps
    Detlev

Maybe you are looking for