Assistance required in creating BRF workflow  SRM

Hi Experts,
I am new to SRM. I have a requirement wherein I need a create a BRF process control workflow. In high the requirement is as follows.
Once a shopping cart is saved  the workflow should start and check whether the shopping cart value is greater than or equal to 1000 USD.
Note: Step 1 and Step 2 are only applicable when the shopping cart header value is greater than or equal to 1000 USD else  directed to the step 3.In other words step 1 and step 2 are optional steps whereas  step 3 is mandatory step
If TRUE (shopping cart value greater than or equal to 1000USD).
step 1)  The first level approver need to be determined from ztable based on the cost centre of the shopping cart.
step 2)  The second level approver need to be determined from ztable based on item category id of the shopping cart.
If  TRUE (shopping cart value greater than or equal to 1000USD) or FALSE (shopping cart value less than or equal to 1000USD).
step 3)  The org unit manager approval is required. Org unit manager will be determined from the ztable based on the org unit of the shopping cart. If the value of the shopping cart is greater than the manager's approval limit (determined from a ztable), the manager approves the workitem and also the workitem should go to his manager for approval. The same applies until the approval limit of the approver is greater than or equal to the shopping cart value.
In the above requirement step 3 approval levels is dynamic. Please help me in achieving this requirement.
Thanks and Regards,
Prashanth..

Hi Sam,
I forgot to mention about the workflow process after decisiion. Below are the steps need to be taken care.
After decission:*
In some cases the first level approver will edit the shopping cart , make some changes and will resend  the same shopping cart to the requestor (the person who created the shopping cart). If the requestor admits the same changes and save the shopping cart there is no need of sending the workitem to the first level approval again, but incase if the requestor makes new changes the workitem then the workitem should go to the first level approval. The same is applicable for the second level approval aswell.
How will the requestor identify the changes done by the first level approver or second level approver?? Is there any log where the changes done by first level approver or second level approver are saved?
Thanks and Regards,
Prashanth..

Similar Messages

  • Assistance required in creating BRF workflow  SRM 7.0

    Hi Experts,
    I am new to SRM. I have a requirement wherein I need a create a BRF process control workflow. In high the requirement is as follows.
    Once a shopping cart is saved  the workflow should start and check whether the shopping cart value is greater than or equal to 1000 USD.
    Note: Step 1 and Step 2 are only applicable when the shopping cart header value is greater than or equal to 1000 USD else  directed to the step 3.In other words step 1 and step 2 are optional steps whereas  step 3 is mandatory step
    If TRUE (shopping cart value greater than or equal to 1000USD).
    step 1)  The first level approver need to be determined from ztable based on the cost centre of the shopping cart.
    step 2)  The second level approver need to be determined from ztable based on item category id of the shopping cart.
    If  TRUE (shopping cart value greater than or equal to 1000USD) or FALSE (shopping cart value less than or equal to 1000USD).
    step 3)  The org unit manager approval is required. Org unit manager will be determined from the ztable based on the org unit of the shopping cart. If the value of the shopping cart is greater than the manager's approval limit (determined from a ztable), the manager approves the workitem and also the workitem should go to his manager for approval. The same applies until the approval limit of the approver is greater than or equal to the shopping cart value.
    In the above requirement step 3 approval levels is dynamic. Please help me in achieving this requirement.
    After decission:*
    In some cases the first level approver will edit the shopping cart , make some changes and will resend  the same shopping cart to the requestor (the person who created the shopping cart). If the requestor admits the same changes and save the shopping cart there is no need of sending the workitem to the first level approval again, but incase if the requestor makes new changes the workitem then the workitem should go to the first level approval. The same is applicable for the second level approval aswell.
    How will the requestor identify the changes done by the first level approver or second level approver?? Is there any log where the changes done by first level approver or second level approver are saved?
    Thanks and Regards,
    Prashanth..

    Hi,
    In case you won't get answers here, you might ask this same question from SRM forum. As far as I remember a LOT of things in the shopping cart approval process could be done just by implementing the relevant BADIs in SRM (just some ABAP work), you don't even have to touch the workflow itself. In other words, SRM supports lots of different types of scenarios with the given BADIs (approval determination, etc.).
    Kind regards,
    Karri

  • Can we create a workflow in Solution Manager ?

    Hi Friends,
    Actually I have a requirement to create a workflow in solution manager.
    The requirement is to create a wf for issue log. As soon as a new <b>issue (support message)</b> is created then the wf should get triggered and send out a mail to the resp. person. It just a sending a mail between issue created and responsible person. Can anyone please let me know if we create a wf in Solman or not ? <b>If so please provide me some related buss. obj for that.</b> thanks
    Grateful to your help.
    Srithan

    If you want to Place certain actions after status change of a transaction, it's better to do this with an action profile and a condition for that action:
    In Solman check SPRO path:
    CRM>Transactions>Basic settings-->Define transaction types
    In this activity double click the transaction type to find out what the action profile is:
    Now go to:
    CRM>Basic functions>Actions>Actions in transactions>Change actions and conditions-->Define action profiles and actions
    Here you can add an action definition on the action profile, this can be methods, workflow or in your case a smartform mail.
    If the action profile is a SAP standard (doesn't begin with Z) it is advisable to copy the standard. Also, this is more of a CRM/Solman consultant issue, so you may have to involve such a consultant
    Now go to
    CRM>Basic functions>Actions>Actions in transactions>Change actions and conditions-->Define Conditions
    Here you can add conditions which will cause the action to be executed.
    Kind regards, Rob Dielemans

  • Can we create a workflow in Solution Manager for Tester Worklist ?

    Hi Friends,
    Actually I have a requirement to create a workflow in solution manager.
    The requirement is to create a workflow for issue log(tester worklist). As soon as a new issue (support message) is created then the wf should get triggered and send out a mail to the resp. person. It just a sending a mail between issue creater and responsible person.
    Can anyone please let me know if we create a wf in Solman or not ? If so please provide me some related buss. obj for that. thanks
    Is there any standard workflow (or similar to that) to make it automatic ? Once the message is created then a mail to the responsible person should go.
    Grateful to your help.
    Srithan

    Sorry Raguraman,
       I am unable to check those tcodes as I havenot got the authorizations for those. after several mails I got some basic wf developer tcode access. I am not sure whether I have to create a new workflow for this or I can go with some built-in technology to send mail when a new message (tcode: stwb_work) is created.
    can raguraman or anyone please help me on doing this ?
    if the solman has provided the standard for sending mails when a new message is created/changed to the responsible person.
    grateful for your help
    Regards,
    srithan

  • Create one workflow ( 2 level approval - manager and financial manager). An

    Hi
    I have requirement to Create one workflow ( *2 level approval - manager and financial manager).* And escalate it after 1 day to Financial manager's supervisor
    I have no idea about escalation through BPEL Compoiste in OIM
    Can please any help me out

    The status can be alerted and the task assigned to weblogic due to a fault in your process. Without looking at your process or the exception, it can be difficult to say what went wrong, but check if you have the user in the system to whom you are trying to assign the task to.
    As for escalation, you need to go through that link to configure escalations and in escalations you can select management chain as the route. This would escalate it to manager's manager if the manager does not work on the request for specified time. For other requirements around escalation, you will have to first get a basics right and working for you. Once you are done with that, you can post here any questions which you might have about making the complex ones and we can try to help.
    -Bikash

  • SRM 7.0 EHP1 - new functions for BRF workflows

    Hi all,
    We currently upgraded our SRM 5.0 system to SRM 7.0.
    We need some inputs whether to activate the EHP1 for SRM 7.0
    Are there any limitations in terms of BRF workflows which are now covered in SRM 7.0 EHP1?
    In SRM 5.0,we were using n step header level approval workflow using the BADI and custom tables for approval determination.
    We need to map the same in SRM 7.0 now but wanted to know the limitations in terms of any new functionalituies which can be used in terms of Shoppign cart workflow in SRM 7 EHP1 v/s SRM 7.0 SP10.
    I read in one of the posts in the forum that parallel processing for BRF workflows is not supported in SRM 7.0 EHP1.Please advise.
    Please advise.

    Thanks Saravanan.
    We are having lot of issues with the ACW in SRM 5.0 and hence plan to reimplement the workflow in SRM 7.0 using the process controlled workflows plus the new features introduced for workflow.
    Can you please advise if ACW are better than PCW or vice-versa??
    I dnt have the link for the post but cans someone confirm if parallel processing is supported in SRM 7.0 EHP1 workflows??
    Are there any shortcomings in terms of the BRF workflows in SRM 7.0 EHP1?

  • BRF Workflow Concept (mySAP SRM)

    Hello SRM Gurus...
    Wanted to know abt the new concept of BRF Workflow Concept (mySAP SRM) in srm 7.0,this has changed from the earlier versions on SRM 4.0 or 5.0 which were application wf's
    Need some detailed documents on this part.how this is configured,
    How this is differnet from the earlier WF conecpts
    any good pointers appreciated.
    Arshad

    Hello Arshad,
    Please find the link for Workflow guide for SRM 7.0.
    https://websmp208.sap-ag.de/srm-inst
    Useful thread:
    Re: what is the diff bet SRM 5.0 WFL and SRM 7.0WFL?
    Hope this helps.
    Thanks
    Ashutosh

  • SharePoint Designer 2013 -- Workflow Manager is required to create Workflow

    Hi,
    Is workflow manager is required to create workflow in SharePoint Designer 2013 for List Workflow. Is there any other alternative for this.
    With Regards,
    Jaskaran Singh Bhatti

    SharePoint 2013 supports both 2010 legacy type workflows that run in the OWS timer service on the SharePoint server and 2013 workflows that run on a server running Workflow Manager.  You can still create the same kind of workflows you created in SharePoint
    2010 without Workflow Manager.  That would include 2010 List Workflows.  You only need Workflow Manager if you want to create the newer kind of workflows that use Workflow Manager.  All the built-in workflows still use the 2010 legacy workflow
    system.  Both types of workflows can be created using SharePoint Designer 2013.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • 2  questions on BRF workflow for SC

    Hello All
    I have 2 questions on BRF workflow as follows:
    1) My requirement is that the PO be created only after all the items in the Shopping cart (from all decision sets) are approved by separate agents. How do I enforce this using BRF ?The closest is  Decision Type 3: Overall Decision for Partial Document (.The decision applies to the entire decision set)
    2) IS it possible to send an approval work item to multiple agents ( Based on a role or custom attribute) and then the work item could be approved by any one of those agents which completes the workflow & deletes all other work items ?
    Thanks
    Kedar
    Edited by: Kedar Ghayal on Jan 4, 2011 10:53 PM
    Edited by: Kedar Ghayal on Jan 5, 2011 12:06 AM

    Hi,
      1) My requirement is that the PO be created only after all the items in the Shopping cart (from all decision sets) are approved by separate agents. How do I enforce this using BRF ?The closest is Decision Type 3: Overall Decision for Partial Document (.The decision applies to the entire decision set)
         PO can only be created only if all approver's approve the SC.  it will be great if you give more details about the requirement.
    2) IS it possible to send an approval work item to multiple agents ( Based on a role or custom attribute) and then the work item could be approved by any one of those agents which completes the workflow & deletes all other work items ?
      Yes - a workitem could be sent to multiple approver's for a decision set, once any one of the appprover approve the SC, the workitem will be deleted automatically from rest of approver's UWL..
    Saravanan

  • Word document created by Workflows do not open

    We are using Sharepoint Online (2013 version) and sharepoint Designer 2013
    We have a requirement by which we would like to update a 'Word template' with the metadata information from a Document Set.  A word document is created after the workflow executes, but the
    created document is corrupt.
    It does not open in Word Web App and when I open it using Word, I get errors.
    I have Word 2010 installed on my machine. Can this be some kind of incompatibility?
    I was going through some threads in this forum and noticed that this problem has been reported before also.
    Is this some kind of a known issue when creating documents using Designer workflows?
    What will be the alternate solution to meet this requirement
     Any suggestions in this regard would be helpful
    Regards,
    Maneesh Agrawal

    Hi,
    According to your post, my understanding is that the word documents created by workflow could not open.
    Did the issue occur in other libraries? You can create a new workflow, then check whether it works.
    You can also use the Copy item action for a workaround.
     Here is what you can try.
    1. Have your template in a folder that is hidden from your views.
    2. Copy the template file with a name of your choice using "Copy list item" action
    3. Use "Update List Item" action to change the properties.
    For more information:
    http://community.office365.com/en-us/forums/154/t/155334.aspx
    As this is the forum for the SharePoint server, I’m not familiar with the SharePoint online.
    For this issue, you can also post your question to the forum for SharePoint Online:
    http://community.office365.com/en-us/forums/154.aspx.
    More experts will assist you, then you will get more information relation to SharePoint Online.
    Thank you for your understanding and support
    Thanks & Regards,
    Jason 
    Jason Guo
    TechNet Community Support

  • Query on Workflow/SRM

    Hi All,
    I have a query on workflow/SRM.
    Recently our client upgrade from 4.6c to ECC 6.0 and we are facing with the below problem after the upgrade.
    Users create Purchase Orders through shopping carts in SRM system; requisitioner will receive a notification mail on creation of PO in the backend system. When the shopping cart is converted as PO (after releasing from sourcing), a workflow is getting triggered in backend ( ECC 6.0) which sends the PO notification mail to the requisitioner. In that notification mail, the Cart No and Cart Description is missing for the PO. This issue occurs only after the upgrade. We have analysed, it is because of the delay to update the PO number on the shopping cart, which happens with the help of batch job “CLEAN_REQ_REQ_UP” which is running for every 5 minutes in SRM system.  To confirm this we had included Wait Statement in the workflow function module which will delay the work flow by 5 minutes and the workflow is running fine now. But I want to know whether the above change will affect the performance of the production system, since this make the workflow wait for every PO. Also as an alternative we are thinking of manual triggering of workflow using batch jobs instead of automatic.
    Please advice which is better in terms of system performance and maintenance.
    Regards,
    Rag

    I'll suggest to add a background step to verify if the PO has been created instead of waiting. BCOZ if the PO has been created and it is in last few seconds of next scheduled run of the this report, it has to still wait for atleast 5 minutes.
    Regards, IA

  • Program to create contract in SRM

    Hi All,
    Iam trying to create contract in SRM using the FM  BBP_PD_CTR_CREATE
    iam getting the below errors
    06.06.2014 11.06.2014
    Interface data contains errors
    Interface data contains errors
    Enter at least one item
    Enter exactly one partner of type Responsible Employee
    Enter exactly one partner of type Supplier
    Incorrect interface data for set #3 in method C
    Incorrect interface data for set #4 in method C
    Incorrect interface data for set #5 in method C
    Incorrect interface data for set #6 in method C
    Incorrect interface data for set 21 in method C
    Incorrect interface data for set 34 in method C
    Incorrect interface data for set 35 in method C
    Incorrect interface data for set 61 in method C
    Incorrect interface data for set 77 in method C
    Incorrect interface data for set 78 in method C
    can anybody help to resolve the above errors i might be giving inputs for the above FM wrong. if anypne of you faced above similar errors and resolve.
    Please help me to resolve the same.

    Hello Valhalla,
    Try this way:
    BAPI_USER_CREATE1 is remote enabled so you can create RFC destination for the all the system
    you want to create users.
    Load all the rfc destination in one table.
    Load all the users need to be created in one table.
    Loop at rfc_dest_tab.
        loop at users_tab.
             CALL FUNCTION 'BAPI_USER_CREATE1' DESTINATION rfc_dest_tab-RFC_DESTINATION
      EXPORTING
        USERNAME         =  users_tab-USERNAME
      NAME_IN          =
        LOGONDATA        =
        PASSWORD         =
      DEFAULTS         =
        ADDRESS          =
      COMPANY          =
      SNC              =
      REF_USER         =
      ALIAS            =
      EX_ADDRESS       =
      UCLASS           =
    TABLES
      PARAMETER        =
      RETURN           =
      ADDTEL           =
      ADDFAX           =
      ADDTTX           =
      ADDTLX           =
      ADDSMTP          =
      ADDRML           =
      ADDX400          =
      ADDRFC           =
      ADDPRT           =
      ADDSSF           =
      ADDURI           =
      ADDPAG           =
      ADDCOMREM        =
      GROUPS           =
      PARAMETER1       =
      EXTIDHEAD        =
      EXTIDPART        =         .
    ENDLOOP.
    ENDLOOP.
    This will create required user in remote SAP systems.
    Hope this solves your issue!
    Thanks,
    Augustin.
    Edited by: Augustarian on Aug 22, 2009 11:52 AM
    Edited by: Augustarian on Aug 22, 2009 11:52 AM

  • How to create a workflow dealing with customizing program(Add-on program)

    Dear ALL,
    I am new to workflow and I was assigned to create a workflow related to an customizing program(Dynpro screen).
    I know we can refer to some std. template for workflow developing.
    However, I don't know how to create a brand new workflow to deal with the add-on program and table.
    My major difficulty is how to create a new object:
    --How to create the new event to track the operation of add-on program, for example, push 'submit' button.
    --How to create method to update the add-on table.
    I do hope someone could give me some guidance.
    Thank,
    Gary

    This is a Function Module that triggers an event ob Business Object tht you will create by making a subtype of Business Object. Use Transaction Code SWO1 to do so.
    FUNCTION zwf_process_trip.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_EMP_NUMBER) TYPE  PERNR_D
    *"     VALUE(I_EMP_TRIP) TYPE  REINR
      INCLUDE <cntn01> .
      DATA:i_emp_details TYPE STANDARD TABLE OF p0001,  "Employee Details
           wa_request    TYPE p0001,                    "Workarea for Employee details
           v_country_grp TYPE molga,                    "Country SubGrouping
           v_object_key  TYPE sweinstcou-objkey.        "Key for the buisness object ZWOBUSTRIP
      CONSTANTS: c_bo_trip     TYPE swo_objtyp VALUE 'ZWOBUSTRIP',
                 c_event_trip  TYPE swo_event  VALUE 'TripCreate',
                 c_infy_type_1 TYPE infty      VALUE '0001'.
    Event Container declaration
      swc_container i_event_cont.
      swc_create_container i_event_cont.
    Reading the INFO TYPE 0001 to obtain the
    Employee details
      CALL FUNCTION 'HR_READ_INFOTYPE'
        EXPORTING
          pernr           = i_emp_number
          infty           = c_infy_type_1
          begda           = sy-datum
          endda           = sy-datum
        TABLES
          infty_tab       = i_emp_details
        EXCEPTIONS
          infty_not_found = 1
          OTHERS          = 2.
    SY-SUBRC check is not required as the error
    handelling will be done by WorkFlow rule
    resolution.
      CLEAR wa_request.
      READ TABLE i_emp_details INTO wa_request INDEX 1.
      IF sy-subrc = 0.
      Retrieving the Country SubGrouping for the employee
        SELECT SINGLE molga
          FROM t001p
          INTO v_country_grp
         WHERE werks = wa_request-werks
           AND btrtl = wa_request-persk.
      ENDIF.
    Sending the relevant data to event container
      swc_set_element i_event_cont 'EmpId'     i_emp_number.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
      swc_set_element i_event_cont 'PersonnelArea'    wa_request-werks.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
      swc_set_element i_event_cont 'CountryGrouping' v_country_grp.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
      swc_set_element i_event_cont 'EmpSubGrp'       wa_request-persk.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
      swc_set_element i_event_cont 'EmpTripId'       i_emp_trip.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
    Raising the event to trigger the workflow
      v_object_key = i_emp_number.
      CALL FUNCTION 'SWE_EVENT_CREATE'
        EXPORTING
          objtype           = c_bo_trip
          objkey            = v_object_key
          event             = c_event_trip
        TABLES
          event_container   = i_event_cont
        EXCEPTIONS
          objtype_not_found = 1
          OTHERS            = 2.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
      COMMIT WORK.
    ENDFUNCTION.
    SWEL Transaction Code is used to track event linkage.
    SWUS is used to test Workflow manually with single test.
    <b>Please reward points if useful</b>
    Thanks
    Arghadip

  • How to Create a Workflow Criteria

    Hi,
    I am planing to create a workflow to assign some tickets to particular analyst.My requirement is more than one items in description should pass the criteria.
    Ex:
    Priority 3
    Ungency : Low
    Category : XYZ
    Sender :[email protected]
    All given examples are from the description and all should be pass the criteria then only incident should be assign to
    particular analyst.
    Thanks in advance.

    Could you please check the workflow status: SCSM console -> Administration -> Workflows -> Status -> Name of your workflow.
    Is the workflow triggered and ran in an issue/error? Is the workflow not started?
    Also you can run a SQL query on the Servicemanager database (You have to modify the
    'DOMAIN\WORKFLOW_ACCOUNT' before you run the SQL query):
    select
    job.TimeScheduled,
    job.TimeStarted,
    job.TimeFinished,
    job.ErrorCode,
    job.ErrorMessage,
    convert(xml,job.Output),
    job.Status,
    Disp.DisplayName from JobStatusView Job
    join DisplayStringView Disp
    on job.TaskId = disp.LTStringId
    where SubmittedBy = 'DOMAIN\WORKFLOW_ACCOUNT' and disp.LanguageCode = 'enu'
    order by TimeScheduled desc
    Andreas Baumgarten | H&D International Group

  • Supplier Created via Workflow Approved By Default

    Hi Experts,
    I have a requirement in Create supplier via workflow where I have to make
    Purchsing hold check box unchecked and Approved Supplier check box
    checked by default ,I have customized the vendor registration via
    workflow process wherein I have written a script to make Approved
    supplier checkbox under header checked by default,in supplier creation
    via workflow page but When the workflow ends and the supplier is
    approved and I click on Done and come out of document,the Approved
    supplier checkbox is unchecked though the supplier is created and we
    are getting a background error as well saying that the approver does
    not have enough permission to view the document though we have provided
    all the necessary rights to the Approver, please suggest as what could
    be the rerason for Approved supplier to be unchecked though the script
    is running fine and what could be the reason for background error as
    this is not the expected behavior.

    Hi Dhiraj,
    Thanks for yor reply , I have written the code in script.and the issue is resolved by writing two scripts .
    regards,
    VIshal

Maybe you are looking for

  • Instrument I/O Assistant

    Hello, I have created a vi which uses the I/O assistant. I am having a problem in that when I create a runtime build from the vi which I have written (attached) I find that the data it extracts from the com port using I/O assistant is truncated. This

  • Package -  using procedure names and variables

    I know that having created a package I can call the procedures using the form PACKAGE_NAME.PROCEDURE_NAME -- However, for speed and clarity of code is there a way to 'open' the package once and then simply refer to the PROCEDURE_NAME ??? This would b

  • Playlists MUST be in alphabetical order?

    I want to arrange my classical music playlists in order of the time composers were active. For example, I want Mozart, Beethoven, Brahms in that order. But playlists by default give me Beethoven, Brahms, Mozart in alphabetical order. I tried moving t

  • Looking for the release note for loan contract IDOC.

    Hi ,      I am trying to  work with "loan contract" , I am worikng in ALE INTERFACE.I am need to use for this IDOC type " LOANSEMBA_GETDETAIL01". But this IDOCs are not released . I am working in ECC 6 version . I have checked with service.sap.com. B

  • Velocity template loading problem.

    Hello, I want to run first velocity servlet and I can't do this from 2 days I tried many combination. I use Netbeans 5.5 on linux So in this moment I have new project of netbeans in /home/marcin/3ROK/1SEM/java1/ul/Velocity/ [root@zet Velocity(0)]# ls