Three level sc approval wf

Hi all,
I am currently working on three level sc approval workflow...
the 1st level approval is based on product category,2nd level is based on costcentre and the 3rd level is based on the shopping cart value...i am currently working on the BADI...what value should i give for the approval index for each level..i am not clear abt the actual approval index..can anyone help me..
Thanks&Regards,
Hari.

hi ,
there is default implementation already provided by SAP along with the system --> please have a look.
if you have three approvers
1) first approver will have index 1 , second will have 2 , third will have 3.
you have to code your BADI in such a way ---> that approval table will have correct number of approvers depending on the input of the shopping cart.
approval_table is very critical in badi ---> this defines the approvers involved in approval chain
Edited by: khan voyalpad usman on Jan 11, 2008 1:13 AM

Similar Messages

  • N-Level Contract Approval (workflow problem)

    Hello friends,
                        We are using SRM 5.0 , ECS scenario.. My problem is related to N-level contract approval. I had activated workflow WS 14000148 for N-level approval.. In development system it is working fine but in production system I am facing following errors after first release of contract.
          Executed Auction             Error Message
    Exception occurred        Error when starting work item
                                      000000008004
    PROCESS_NODE      Error when processing
                                     node '0000000007'
              (ParForEach index 000000)
    CREATE          Error when creating a
                                    component of type 'Step'
    CREATE_WIM_HANDLE   Error when creating a work
                                           item
    CREATE_VIA_WFM           Error within method
                         CL_SWF_RUN_WIM_FACTORY-
                        >CREATE_VIA_WFM
    GET_WITYPE        Unable to determine work item
                                 type for step at node                        0000000007
    GET_TASK_HANDLE         Error when loading task
                                        WS14000085
    FIND_BY_WFDWIZ         Workflow definition of
                                        task 'WS14000085'
                                        cannot be Activated
             Sub-workflow WS14000085 available in main workflow WS 14000075 which is deactivated. But problem is when I am trying to see workflow  WS14000085 through SWDD in production, no workflow is there but same workflow I can see in Development system.  Any expert have any idea why same workflow I can see in development but I am not able to see in Production system.
    Thanks in advance.
    Abhijeet Panse

    Hi,
    It looks workflow template is missing.
    Please check the note 962488 "Workflow definition '&' not in version '&'".
    1. Run the function module SWD_WFD_REPLICATE_FROM_9999 and copy it.
    2. Re-activate the WF definitions in the transaction SWDD
    3. Check Consistency in the transaction SWUD
    Also check the sub workflow.
    Regards,
    Masa

  • How do I structure Information in three Levels in MDM 7.1?

    Hi,
    I am creating a Service Catalogue for a customer. They require three levels in the catalogue: "Packed Services" that are built up by several "Services", that can have several "Supporting Services".
    I am thinking  of using two main tables, and tuples to create BOS for Packed Service and Service. But how should I take care of the lowest level? They wish to be able to order Supporting Services separatly, so I dont think i can put it in a Qualified field in the Service Main Table.
    How about Relationships? Are they on the way out?
    Any suggestions? Is there other ways to structure data in MDM 7.1?
    Kind Regards,
    Thomas

    In the paragraph tab. You may have to open it the first time from the Window menu.
    Chris
    Adobe Enterprise Developer Support

  • Two levels of approval

    Hello all,
    I have a client that needs 2 levels of approval for travel expenses (request for travel- TRIP and travel expenses- specification of travel expenses- PR05). In order to do that we need to expand table in travel request and PTRV_HEAD (TRIP) seems like a good table because it is included in structure PTP02 (for travel expenses PR05). We need to expand table in order to get a drop down menu od approvers (level 1 and lever 2).  Do you have have experience with expanding another table?
    They are on version 4.7.
    Do you have any other suggestions or ideas?
    Thank you
    Dubravka
    Edited by: Dubravka Martinovic on Mar 17, 2010 1:49 PM

    Hello,
    I am not sure about the drop down list of the approvers however if you want that approval request to be send to two approvers as soon as user submit the trip, it can be achievable by workflow.
    There is another case where trip should be approved by first approver and then it should go to second approver for further approval, this scenario is also achievable by doing changes in workflow.
    Hope this help!
    Thanks,
    Vaibhav

  • How to implement Three Level Sort ?

    I am performing a complex search and get a List of Object. Now, the problem is I have to sort this list in three levels. That is,
    If I have Object like this
    public class A {
    private String id ; // unique for every record
    private String attr1;
    private String attr2;
    private String attr3;
    private String attr4;
    then I have to Sort the List of above type of objects
    First level -attr1 as Asc
    Second level -attr2 as Asc
    third level - attr3 as desc
    Could u suggest some way to implement this.

    I would suggest using the built in Collections framework for sorting.
    have class A implement the Comparable interface then implement the compareTo method as follows:
    public int compareTo(Object o) {
        A a = (A)o;  // <-- may cause ClassCastException if (o instanceof A) != true, but that should not be a problem.
        int value = attr1.compareTo(a.attr1);
        if (value != 0) return value;
        value = attr2.compareTo(a.attr2);
        if (value != 0) return value;
        value = a.attr3.compareTo(attr3);  //Notice I switched a.attr3 and attr3 for desc
        return value;
    }That should do it for you.
    Now put everything into an instance of java.util.List and pass that to java.util.Collections.sort(java.util.List);
    If you didn't create class A, and therefore can't add a method to it, then implement a Comparator. The idea is the same, just look at the java.util.Comparator API and use java.util.Collection.sort(java.util.List, java.util.Comparator) method to sort;

  • Three level dependent  af:selectOnechoice

    Hi All,
    I am working with Jdev 11g (11.1.1.2.0)
    I am trying to create three level dependent af:selectOnechoice, First level is working fine, Second level is not working ,unable to retrieve the values..
    In Application module it is working fine, In Jspx page i am getting this issue.
    I have given autosubmit property as "true" to selectOnechoice 1 and partial trigger for selectOnechoice 1 from selectOnechoice 2
    similarly from 2nd level
    autosubmit property as "true" to selectOnechoice 2 and partial trigger for selectOnechoice 2 from selectOnechoice 3
    XML code for ur reference
    <af:selectOneChoice value="#{bindings.MenuTypeTr.inputValue}" label="#{bindings.MenuTypeTr.label}"
    required="#{bindings.MenuTypeTr.hints.mandatory}"
    shortDesc="#{bindings.MenuTypeTr.hints.tooltip}" id="soc1"
    binding="#{backingBeanScope.backing_untitled10.soc1}" autoSubmit="true">
    <f:selectItems value="#{bindings.MenuTypeTr.items}" id="si1"
    binding="#{backingBeanScope.backing_untitled10.si1}"/>
    </af:selectOneChoice>
    <af:selectOneChoice value="#{bindings.MainMenuTr.inputValue}" label="#{bindings.MainMenuTr.label}"
    required="#{bindings.MainMenuTr.hints.mandatory}"
    shortDesc="#{bindings.MainMenuTr.hints.tooltip}" id="soc2"
    binding="#{backingBeanScope.backing_untitled10.soc2}" autoSubmit="true"
    partialTriggers="soc1">
    <f:selectItems value="#{bindings.MainMenuTr.items}" id="si2"
    binding="#{backingBeanScope.backing_untitled10.si2}"/>
    </af:selectOneChoice>
    <af:selectOneChoice value="#{bindings.SubMenuTr.inputValue}" label="#{bindings.SubMenuTr.label}"
    required="#{bindings.SubMenuTr.hints.mandatory}"
    shortDesc="#{bindings.SubMenuTr.hints.tooltip}" id="soc3"
    binding="#{backingBeanScope.backing_untitled10.soc3}" partialTriggers="soc2">
    <f:selectItems value="#{bindings.SubMenuTr.items}" id="si3"
    binding="#{backingBeanScope.backing_untitled10.si3}"/>
    </af:selectOneChoice>
    Plz guide me, If any thing i missed or did wrong
    Thanks in Advance
    Regards,
    Zakir

    Hi,
    first of all make sure that dropdown queries are returning records. you can test it in bc4j tester ( right click on am and run).
    Also can look @ http://groundside.com/blog/GrantRonald?title=jdeveloper_11_live_demo_cascading_list_o&more=1&c=1&tb=1&pb=1
    or
    http://ranajitsahoo.blogspot.com/2008/05/how-to-implement-dependent-drop-down.html
    ~Abhijit

  • Multiple Levels of Approval Workflow in SPD

    Hi-
    I'm building a workflow that has multiple levels of approval behind it.  I know how to set up the multiple levels of approval, but sometimes this workflow needs to have 2 approvals and sometimes it needs to have 3 approvals.  I'm hoping to pull
    the info in from a SP List, but am not sure to do with the different number of approvals needed.  Does anyone have any suggestions?
    Thanks a lot!

    Yes you can create a column in SP List containing the Approver names. This should be a People/Group field or Single line of text can also work.
    In your SPD workflow you can track the status of the previous Approver and based on this you may allow the workflow to move to next or stop it. Assuming that you will create a Status column having two values - "Approve" and "Reject".
    If Approver selects "Approve" then workflow proceeds for next approval or else the workflow stops or if Approver chooses "Reject" then you may create a new task for the previous Approver and send him an email - Just a suggestion if you
    have back and forth approval system.
    If it is a simple sequential approval then can go for out-of-the-box Approval Workflow available. If there is some level of conditions then SPD workflow is an option.

  • Has anyone created a dynamic two or three level tree?

    Hi -
    If anyone has created a dynamic two or three level tree, can you please explain and/or show a code example of how you did it? The 'dynamic tree tutorial' doesn't show the child node being created dynamically, but graphically.
    I can build the first level fine, but how does the child node get associated with the parent node in the next level?
    Thanks in advance.

    Here's a snippet that might help. I'm sure there are more elegant ways to code it but this seems to work!
    Good luck,
    Keith
    //1st Loop - executed once per first level of tree
    for (int i = 0; i <= days; i++) {
    j = i+1;
    TreeNode newFirstNode = new TreeNode();
    newFirstNode.setId("day" + j);
    newFirstNode.setText("First " + j );
    itineraryNodeChildren.add(newFirstNode);
    java.util.List firstNodeChildren = newFirstNode.getChildren();
    // Second Loop executed once per Second level within the First loop
    for (int k=0; k<rk; k++) {
    secondNumber ++;
    TreeNode newSecondNode = new TreeNode();
    newSecondNode.setText(secondNodeText);
    firstNodeChildren.add(newSecondNode);
    }

  • Three Levels of Hierarchy in REUSE_ALV_HIERSEQ_LIST_DISPLAY

    Hi All,
    Can we have a Three levels of Hierarchy in the function module REUSE_ALV_HIERSEQ_LIST_DISPLAY. I know we can have a two levels like Header and Item. If any other function module is available for this please let me know.
    Requirement is :-
    First Level - Maintainence Order
    Second Level - Operations related to MO
    Third level - Components related to operations
    Thanks in advance.
    Pankaj

    Hai Pankaj,
    I think it is not possible, you can have only two levels only. Header / Line Item only.

  • Three-level ADF Tree from HR Schema

    JDeveloper 11.1.1.0.1 + ADFBC + ADFRC
    Hello all!
    I am stumped on this one. I want to create a tree based on the HR schema that includes three levels: Department Name > Job Title > Employee Name.
    In other words, I want the root node to be Department Name. Then, when the Department name node is expanded, I want a list of all Job Titles under that department. When the Job Titles node is expanded, a list of all employee names under that Job Title and in that Department.
    Does anyone have any ideas as to how to accomplish this?
    Thanks!
    Edited by: Alexander Pepper on Jan 19, 2009 6:54 AM

    Thanks Shay, thats exactly the information I was missing. Thanks also for the really quick responses.
    So now the I have the three level relationship that works perfectly in the BC tester. I choose a department, select the Jobs node and see all Jobs belonging to that apartment, then click the Employees node under the Jobs node and see all employees with that job.
    However, the ADF tree still does the same thing. I've even tried creating the whole model layer manually instead of using the Business Components from Tables wizard to make sure that the proper ViewLinks were being used, and not the automatically generated ones. Still, no difference.
    Are you aware if this has definitely been done successfully before? Is there anything else I could be missing?

  • Three level pop up

    Hi All,
    I want to have three level pop up menu on my application.
    First Level- Horizontal on mouseHover it should show next level vertical and on second level mouseHover it should again be Vertical.
    I have changed the required paramaters but its still showing third level as Horizontal instead of Vertically displaying the menu.
    I don't want to user Menu option.
    Below is the code for Pop-Up. Please help
    <cust:panelCustomizable id="pt_pc4"
    inlineStyle="background-image:url(#{facesContext.externalContext.requestContextPath}/images/globe_tab-bkg.png);background-position:center top;background-repeat:repeat-x;padding-top:2px;"
    rendered="#{!composerContext.inEditMode and attrs.showNavigation and !attrs.isEditingTemplate}">
    <af:panelGroupLayout id="pt_pgl3" layout="horizontal"
    inlineStyle="height:20px;">
    <af:spacer id="pt_sp3" width="10"/>
    <!-- iterate over navigation items -->
    <af:forEach var="node" varStatus="vs"
    items="#{navigationContext.defaultNavigationModel.listModel['startNode=/, includeStartNode=false']}">
    <af:subform id="pt_sfm1">
    <af:switcher id="pt_sw1"
    facetName="#{(empty node.attributes['Target']) || (node.attributes['Target'] == '_popup') ? 'command' : 'golink'}">
    <f:facet name="command">
    <af:commandLink id="pt_cl1" text="#{node.title}"
    inlineStyle="font-size:small;#{node.selected ? 'font-weight:bold;' : ''}"
    action="pprnav"
    disabled="#{not node.navigable}"
    actionListener="#{navigationContext.processAction}"
    clientComponent="#{node.attributes['Target'] == '_popup' ? true : false}">
    <!-- pass node to processAction for setting current selection and navigation -->
    <f:attribute name="node" value="#{node}"/>
    <af:showPopupBehavior popupId="menuPopup"
    align="afterStart"
    triggerType="mouseHover"/>
    <c:if test="${node.attributes['Target'] == '_popup'}">
    <af:clientAttribute name="modelPath"
    value="#{node.navigationModel.metadataId}"/>
    <af:clientAttribute name="selectedPrettyUrl"
    value="#{node.prettyUrl}"/>
    <af:clientAttribute name="selectedTitle"
    value="#{node.title}"/>
    <af:showPopupBehavior popupId="::rendererPopup"
    triggerType="action"/>
    </c:if>
    </af:commandLink>
    </f:facet>
    <f:facet name="golink">
    <af:goLink id="pt_gl1" text="#{node.title}"
    destination="#{node.goLinkPrettyUrl}"
    targetFrame="#{node.attributes['Target']}"
    inlineStyle="font-size:small;#{node.selected ? 'font-weight:bold;' : ''}">
    <af:showPopupBehavior popupId="menuPopup"
    align="endBefore"
    triggerType="mouseHover"/>
    </af:goLink>
    </f:facet>
    </af:switcher>
    <af:spacer id="pt_sp9" width="20" rendered="#{! vs.last}"/>
    <af:popup id="menuPopup" contentDelivery="immediate"
    animate="false" rendered="#{! empty node.children}">
    <af:panelGroupLayout id="pt_pgl7" layout="vertical">
    <af:forEach var="node2" varStatus="vs2"
    items="#{node.children}">
    <af:switcher id="pt_s1"
    facetName="#{(empty node2.attributes['Target']) || (node2.attributes['Target'] == '_popup') ? 'command' : 'golink'}">
    <f:facet name="command">
    <af:commandLink id="pt_cl3" text="#{node2.title}"
    inlineStyle="font-size:small;#{node2.selected ? 'font-weight:bold;' : ''}"
    action="pprnav"
    disabled="#{not node2.navigable}"
    actionListener="#{navigationContext.processAction}"
    clientComponent="#{node2.attributes['Target'] == '_popup' ? true : false}">
    <!-- pass node to processAction for setting current selection and navigation -->
    <f:attribute name="node5" value="#{node2}"/>
    <af:showPopupBehavior popupId="pt_p1"
    align="endBefore"
    triggerType="mouseHover"/>
    <c:if test="${node2.attributes['Target'] == '_popup'}">
    <af:clientAttribute name="modelPath"
    value="#{node2.navigationModel.metadataId}"/>
    <af:clientAttribute name="selectedPrettyUrl"
    value="#{node2.prettyUrl}"/>
    <af:clientAttribute name="selectedTitle"
    value="#{node2.title}"/>
    <af:showPopupBehavior popupId="::rendererPopup"
    triggerType="action"/>
    </c:if>
    </af:commandLink>
    </f:facet>
    <f:facet name="golink">
    <af:goLink id="pt_gl3" text="#{node2.title}"
    destination="#{node2.goLinkPrettyUrl}"
    targetFrame="#{node2.attributes['Target']}"
    inlineStyle="font-size:small;#{node2.selected ? 'font-weight:bold;' : ''}">
    <af:showPopupBehavior popupId="pt_p1"
    align="endBefore"
    triggerType="mouseHover"/>
    </af:goLink>
    </f:facet>
    </af:switcher>
    <af:spacer id="pt_s4" width="20" rendered="#{! vs2.last}"/>
    <af:popup id="pt_p1" contentDelivery="immediate"
    animate="false" rendered="#{! empty node2.children}" >
    <af:panelGroupLayout id="pt_pgl4" layout="horizontal">
    <af:forEach var="node3" varStatus="vs3"
    items="#{node2.children}">
    <af:spacer id="pt_sp10" height="5px"/>
    <af:switcher id="pt_sw2"
    facetName="#{(empty node3.attributes['Target']) || (node3.attributes['Target'] == '_popup') ? 'command' : 'golink'}">
    <f:facet name="command">
    <af:commandLink id="pt_cl2" text="#{node3.title}"
    inlineStyle="#{node3.selected ? 'font-weight:bold;' : ''}"
    action="pprnav"
    disabled="#{not node3.navigable}"
    actionListener="#{navigationContext.processAction}"
    clientComponent="#{node3.attributes['Target'] == '_popup' ? true : false}">
    <!-- pass node to processAction for setting current selection and navigation -->
    <f:attribute name="node" value="#{node3}"/>
    <c:if test="${node2.attributes['Target'] == '_popup'}">
    <af:clientAttribute name="modelPath"
    value="#{node3.navigationModel.metadataId}"/>
    <af:clientAttribute name="selectedPrettyUrl"
    value="#{node3.prettyUrl}"/>
    <af:clientAttribute name="selectedTitle"
    value="#{node3.title}"/>
    <af:showPopupBehavior popupId="::rendererPopup"
    triggerType="action"/>
    </c:if>
    </af:commandLink>
    </f:facet>
    <f:facet name="golink">
    <af:goLink id="pt_gl2" text="#{node3.title}"
    destination="#{node3.goLinkPrettyUrl}"
    targetFrame="#{node3.attributes['Target']}"
    inlineStyle="font-size:small;#{node3.selected ? 'font-weight:bold;' : ''}">
    <af:showPopupBehavior popupId="pt_p1"
    align="afterStart"
    triggerType="mouseHover"/>
    </af:goLink>
    </f:facet>
    </af:switcher>
    </af:forEach>
    </af:panelGroupLayout>
    </af:popup>
    </af:forEach>
    </af:panelGroupLayout>
    </af:popup>
    </af:subform>
    </af:forEach>
    </af:panelGroupLayout>
    </cust:panelCustomizable>
    <af:popup id="rendererPopup" contentDelivery="lazyUncached"
    launcherVar="source" eventContext="launcher">
    <af:setPropertyListener from="#{source.attributes.modelPath}"
    to="#{viewScope.modelPath}"
    type="popupFetch"/>
    <af:setPropertyListener from="#{source.attributes.selectedPrettyUrl}"
    to="#{viewScope.selectedPrettyUrl}"
    type="popupFetch"/>
    <af:setPropertyListener from="#{source.attributes.selectedTitle}"
    to="#{viewScope.selectedTitle}"
    type="popupFetch"/>
    <af:dialog id="pt_d1" title="#{viewScope.selectedTitle}" type="cancel"
    cancelTextAndAccessKey="Close">
    <af:region value="#{bindings.navigationrenderer1.regionModel}"
    id="pt_r1"/>
    </af:dialog>
    </af:popup>
    I'm not sure how to post code in block.
    Please advice.

    To format your code you can read the FAQs (link in the top right corner.
    Not sure about your problem, as the code it hard to read.
    Please gives us your jdev version and technology
    Timo

  • OPEN FI enhancements at three levels - SAP, Partner and customer

    Hi,
    While implementing OPEN FI enhancements like BTE the major advantage mentioned by SAP (help) is
    Open FI assumes that enhancement will only take place on three levels (SAP - partners - customers), whereas with Business Add-Ins you can create and implement enhancements in as many software layers as you like.
    I am understood with the 'SAP' implementation part,
    But, unclear about 'Partner' - 'Customer' or 'SAP' - 'Customer' implementation part.
    I mean how will you be able to differentiate out between them, and if I implement my own OPEN FI enhancement (BTE) then I must register as a 'Customer'.
    Then, in that case can I implement as a partner?
    Please throw some light on this point as it is very important to understand the difference.
    Best regards,
    Harsh Dave

    Hello,
    the SAP-level is clear ( as you wrote ), mostly used by SAP for country specific enhancements.
    The 'PARTNER'-level is intended for the use of companies which write additional products to enhance the standard SAP and sell this software. They (at least should) have a partner-namespace ( something /***/) registered by SAP. So all the functions in these enhancements should begin with that /***/.
    The Customer-Level is intended for Customer-specific development - all functions used there should be named according to the Y/Z-namespace.
    That's the theory behind that statement. I think practical you could use even in a customer system the partner-level, but you shouldn't do.
    Regards Wolfgang

  • Approvers levels and approver groups

    Dear All,
    Incontext of Claims services can anyone help me about Approvers levels and approver groups. What exactly they mean and basic concept of it withan example. I unable to catch this funda here.....Appreciate valuable inputs here....
    Thanks and Regards,
    Raj

    Groups of approvers is meant for which employee belongs and Levels is how many levels this is meant to approve

  • I want to implement three level Horizental navigation on the top navigation and menu items are created based on the data available in a SharePoint List.

    Hi All,
    I want to implement three level Horizental navigation on the top navigation and menu items are created based on the data available in a SharePoint List.
    Implement this requirement through customization, how can i start any help
    Thanks

    Hello,
    You can follow these links to get the result that you want. You can get the desired result either using the custom list or a site map. Please make sure when you edit the master page, dont work on the original v4.master. Always make a a copy and then work
    on it.
    This link will show you how get that navigation using a list.
    http://www.bitsofsharepoint.com/BlogPoint/Lists/Posts/Post.aspx?ID=60
    This link will show you how get that navigation using a sitemap.
    http://www.sharepointdiary.com/2012/01/custom-top-navigation-using-sitemap.html
    Please mark as "Answered" if this helped you.
    Thanks,
    norasampang

  • Is there methodology of BPM Development (DC) in three-level landscape ?

    Hi All,
    Is there methodology of BPM Development (DC) in three-level landscape (development,test,productive) ?
    We have 3 CE(dce,tce,pce) and 3 Backend (dr,tr,pr).
    We have BPM DC on dce with Web services on dr and dce (for start BPM with input parameters) throug Service Group.
    we deploy WS for start bpm on tce. Create appropriate Service Group.
    we transport backend developments on tr. new WSDl and endpoint url's for Web services
    What kind of changes should we do in BPM DC ?
    import inteface of Ws for start BPM.
    WS for Start output mapping.
    What to do with others Ws on tr?
    It will be necessary to repeat mapping?

    Hi partners! =)
    Happy New Year!
    I am working with CE, BPM 7.2, I have been trying to integrate some external web services but I am having this error with 2 of the 3 web services:
    Caused by: com.sap.engine.interfaces.sca.assembly.AssemblyException: Could not generate metadata for interface [http://www.osoa.org/xmlns/sca/1.0#WSDLPortType]{}
    Caused by: java.lang.IllegalArgumentException: Schema is not closed, Type http://CCService#CreditReportResBO is unknown
    Does anybody know how to fix it??
    Best Regards!!!
    Help me please!!!
    Michele

Maybe you are looking for