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

Similar Messages

  • Query Regarding Workflow........plz help its urgent.

    hi friends
    Here is my query in Workflow
    I would like to know when a work item gets triggered.?
    I know that its a run time object,but i want to know is there any such condition which must satisfy before any work item gets triggered,or is there any process that helps to triggered a work item.
    Thanks in Advance
    mrutyun^

    hai
      for a workitem should be triggred, we dont want any thing.
    if workflow is triggred using event then, the following steps which is designed below is executed.

  • Query  Of workflow Related to SE38

    I  have one Query ,
    If User   Excecuted   any report through SE38  ,   mail automatically goes to ABAP user , so that he can view whcih report is excuted by which User ,
    Is it  Possible  , If   Yes  how can  I   do this  using Workflow .?
    ASAP

    Hi,
    There is already some of tables which keeps record of the t-codes executed by the user
    by giving the login id you can fetch all the data, currently I don't remamber the table name but there is table, this will solve your problem.
    Regards
    Bikas

  • Change log issue in BRF process workflow SRM 7.0

    Hi Experts,
    I am new to SRM workflow. At the moment I have a requirement in SRM 7.0 BRF process control workflow.My requirement is to capture the changes done by the shopping cart approver's and also the changes done by shopping cart requestor. Below is an exmaple.
    In some cases the first level approver or second 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 accepts the same changes and save the shopping cart there is no need of sending the workitem to the first level approval or second level approver again, but incase if the requestor makes new changes to the shopping cart then the workitem should go to the first level approval or the second level approver.
    How will the system identify the changes done by the first level approver or second level approver or the requestor?? Because based on the changes the workflow process will follow. Is there any log where the changes done by first level approver or second level approver are saved? and please let me know where to code for this requirement.
    Thanks and Regards,
    Prashanth

    Note 868192 - Consulting solution: MM-SRV-SUS service procurement
    A service entry in SUS is transferred to the R/3 system or ERP system using an IDoc after you submit the entry screen. Service entry sheets are created there and they are then available for release. You can perform the service entry in a number of ways:
    Service entry of planned services: you can confirm planned services in the service entry in SUS. An overdelivery may occur if quantities are still open.
    Service entry using time recording: planned services, for which a time recording is useful, can be split up. Time recording by the hour or by the day is possible.
    Service entry for limits: You can use the free-text entry of new items and also the OCI-enabled catalogs to implement limits.
    verena.kahnert at sap dot com

  • Workflow - SRM Shopping Cart

    Hi,
    Am new at Workflow. Is there a way to have different WF per line item of the Shopping Cart? As per standard transaction, the WF approval is according to the total amount of the Ordered items.
    thank you

    Check if the following helps...
    SRM 7.0 BADI Define Agents--> How to use type /sapsrm/t_wf_area_entity
    Regards,
    PR.

  • Offline Approval in workflow - SRM 5.0

    Hi Team,
    I am new to SRM Workflow.
    I have a task of Offline Approval.
    I have one file for which we are developing offline approval process in SRM 5.0
    for that we are developing workflow.
    I know there is a report  in SRM which we can use for offline approval.
    But I am not getting it, from where I need to start.
    How can I cal that report in Workflow.
    How should be my work-flow.
    Please suggest your inputs.
    Thanks & Regards,
    Monika

    Hello Monika,
    Please, read How-To below:
    [Offline approval - general configuration|http://wiki.sdn.sap.com/wiki/display/SRM/Offlineapproval-generalconfiguration]
    Regards.
    Laurent.

  • 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..

  • 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

  • Problem with Confirmation (BUS2203) Process Controlled Workflow SRM 7.0

    Hi gurus,
    I'm having a bit of trouble with the Process-Controlled approval workflow for the business object "BUS2203" (Confirmation) in SRM 7.0.
    Basically, I've configured it to determine N-process levels, and for each level to retrieve the corresponding agents/approvers. When I am creating the confirmation, I go to the "Approval" tab and I can see all of my approvers there. Nevertheless, the moment I confirm an item (ie, put a confirmed quantity and press the confirm button) first I get the status "Awaiting Approval" and then when I close/or click the refresh button I get the status "Release Rejected".
    Has anyone had this problem before with this workflow? Do you know if this is a standard error, or might I be doing something wrong? I tried to look through the OSS notes, but unfortunately couldn't find anything..
    Please feel free to provide any idea that may be useful!
    Many thanks...
    Adi

    Hi,
    Can you paste your process definition? BRF event and expressions.
    Does it work with SAP sample 1 step approval process definition?
    Regards,
    Masa

  • Need A Query on Workflow.

    Hi Team,
    I want to Get what are the Worflow has ran in A week time meance in 7 days.
    I want to build a query .Could any body has any idea how to get what are the workflow ran in this 7 days.
    Its Urgent Please respond
    Thanks
    In Advance.

    Please answer the questions above.
    Also, see if (Diagram of Relationship between Core Workflow Tables [ID 444446.1]) helps.
    Thanks,
    Hussein

  • CAML query in Workflow inside sharepoint hosted app

    Hi,
    I am building a sharepoint hosted app for sharepoint online.The app includes a list workflow.One of the activity in the workflow is to query another list within the app web, to get count of items where a condition is met.Can anyone please guide me how this
    can be achieved?
    Thanks!

    Hello Steve,
    Thanks for the Reply
    Following code helped me in creating the Subsite successfully in host web
    Var hostWebUrl;
    Var appWebUrl;
    Var context;
    Var newSubsite;
    function () {
    try
    hostWebUrl = GetQueryString("SPHostUrl");
    appWebUrl = GetQueryString ("SPAppWebUrl");
    var layoutsRoot = hostWebUrl +
    '/_layouts/15/';
    $.getScript(layoutsRoot + "SP.Runtime.js",
    function () {
    $.getScript(layoutsRoot + "SP.js", CreateSubsite);});
    catch(ex)
    alert("message" + ex.message);
    function GetQueryString (name) {
    name = name.replace(/[\[]/,
    "\\\[").replace(/[\]]/,
    var regex =
    new RegExp("[\\?&]"
    + name + "=([^&#]*)"),
    results = regex.exec(location.search);
    return results ==
    null ?
    "" : decodeURIComponent(results[1].replace(/\+/g,
    // Function to create subsite
    function CreateSubsite () {
    context = new SP.ClientContext(appWebUrl);
    var hostContext =
    new SP.AppContextSite(context, hostWebUrl);
    var webCreateInfo =
    new SP.WebCreationInformation();
    //set values
    webCreateInfo.set_description("New Subsite Created");
    webCreateInfo.set_language(1033);
    webCreateInfo.set_title("NewSubSite");
    webCreateInfo.set_url("SubsiteURL");
    webCreateInfo.set_useSamePermissionsAsParentSite(true);
    webCreateInfo.set_webTemplate("STS#0");
     this.web = hostContext.get_web();
    newSubsite = this.web.get_webs().add(webCreateInfo);
    context.load(newSubsite);
    context.executeQueryAsync(
    Function.createDelegate(this,successHandler),Function.createDelegate(this,errorHandler));
    function successHandler() {
    alert("subsite created successfully");
    function errorHandler(sender, args) {
    alert("Could not complete cross-domain call: " + args.get_message());
    Vishnu

  • Query for Workflow backgorund process

    Dear All
    we are facing problem with Workflow backgorund process. each time i had to meet with the DBA and ask whether it is working or not. can i check the same thing from the back end with the query. can any one share the query for the same.
    Regards

    Pl also see MOS Doc 564394.1 (How to Troubleshoot when the Workflow Services Go Down)
    HTH
    Srini

  • Query on Workflow

    Hi Guru's,
    We are using Hyperion Planning 11.1.1.2 version and our requirement is users need work flow functionality whenever we transfer one employee expenses from one
    department to other department? I'm thinking this can be achieved in the follow way but I need your suggestion whether we can achieve it like this or not?
    1. Create a Menu
    2. Menu Item 1 :Transfering Employee expenses from one department to other using Business Rules
    3. Menu Item 2 : Create a workflow and assign to Menu.
    Please let me know your comments on this.
    I

    No, you do not need to have Oracle E-Business Suite to run Oracle Workflow. There is a "standalone" version of Workflow that you can run without the E-Business Suite. If you have Oracle9i database Release 2 (9.2), then you can install Oracle Workflow 2.6.2 from your database installation CDs, because Workflow is bundled with the database. You will need to explicitly choose to install both the server and the client components of Workflow, as they are under the Custom installation types. You won't see Workflow files on your machines until you install it.
    For more details, please see the Oracle Workflow Server Installation Notes
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/workflow.920/a96643/toc.htm
    and the Oracle Workflow Client Installation Notes
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/workflow.920/a96644/toc.htm
    and the Oracle Workflow Guide
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/workflow.920/a95265/toc.htm
    We've a great confusion.I am totally new to Workflow and I would like to know whether in order to use Workflow is it compulsory to install Oracle e-business suite .As all of the workflow documents mention about <oraclehome>/wf/res folder
    And there's no <Oracle home>/wf/res directory present in our machine as well as there is no wfsdubld.sql present niether in our application server nor in Oracle database server.Please clear to me.How to use this product.Right now we've got Oracle 9i database Release 2 on machine A and Oracle application server Release 1 on machine B.Thanks in advance

  • Query in workflow

    HI all,
    I am calling a workflow by a function module. I created the wf container variables in the fm sww_start_simple. I created same variables in the swdd also but how do I connect them. Can any one say how to test the workflow which is triggered by the fm.
    Ravi

    If you quit using SWW_START_SIMPLE, and use SAP_WAPI_START_WORKFLOW instead, you don't have to use the macros (swc_set_element and so on) to fill the container.
    SAP_WAPI_START_WORKFLOW takes the container in the new format which is just a list of name and value of the elements, so you can use standard
    APPEND l_containerline TO lt_container.

  • Query in Workflow - Rule

    Hello Expert,
    I want to know how to figure out the entire process done by the rule. as in what are the tables , fields are included/attached with a particular rule.
    e.g. Rule : 00900010.
    Now, in this rule, how to determine the entire process? How does this end up returning a org unit/position?? What are the tables it goes through? How does it function??
    Please Explain..
    Thanks!!
    Regards,
    Sam

    Hi Sam,
    Well, what happens is you pass the parameter purchasing group and the role gets an instance of the business object T024 (Purchasing Group).  One of the attributes of this object is agents - that is people linked to the purchasing group using something like transaction PPOMA.  The code called by this attribute is:
    * Put the object under consideration into the container for  attribute
    *  evaluation.                                                     
    swc_set_element ac_container 'ORG_OBJECT_ID' self.                        
    swc_container_to_persistent ac_container.                               
    * Get the agents corresponding to this
    * object.                                                          
      call function 'RH_SAP_ORG_OBJEC_ACTORS_GET'                                  
           tables
              ac_container     = ac_container                                           
                actor_tab        = rh_agents                                         
          exceptions
              no_active_plvar  = 1
              objtyp_not_valid = 2                                                      
             no_actor_found   = 3
                  others           = 4.                                                                         
    * Put the result into the container.                                        
      object-agents[] = rh_agents[].                                          
      swc_set_table container 'Agents' object-agents.  
    What this means is that the org object is the purchasing group, and the function uses the organisation hierachy and relationships to return those poeple with an assigned relationship to the purchasing organisation.
    This is passed back to the rule and thus to the workflow as an internal table of the structure swh_actor.
    So in this case there is no function module or responsibility, the rule is just getting ALL agents with a relationship to the purchasing group.
    Regards
    Gareth
    Message was edited by:
            Gareth Ellem

Maybe you are looking for

  • Possible to hide Time Machine HD icon from desktop?

    Hey, I'm using Time Machine with a new iomega 500 GB desktop USB hard drive I installed a few days ago, and it seems to be working like a champ. Just wondering...is there any way to hide the new icon on my desktop called "Time Machine Backups"? (this

  • Ipod touch will not turn on past the black apple screen

    my ipod is an older gen (not sure which-before they added the camera) adn it will not turn on past the black screen with an apple. i have tried holding the home and lock button for 10+ seconds. i have also tried charging it haha.

  • Calculating width height in script

    hi i want script for comparing all layers of psd with photo with its width and height ie one psd background is opened script will read the value of that psd's layer whether it is portrait or landscape by any way say by its width and height if height

  • Dynamic Memory in the production environment

    Hi, We configure all production VMs with static memory  on Hyper-v 2012 we need to make sure there is no negative impact on VM performance if we use Dynamic memory , as we read for 2 years not recommend to use dynamic memory in the production. I pref

  • Interface to LSMW transaction Utility

    Hi, Need to develop an Interface to LSMW transaction Utility - This requiremt is for Enhancement of the Infotype Take any Infotype Number as an Example. Regards, Ramana