Problem in Workflow. GR n Step Workflow

Hi,
i am modelling an n step workflow for GR approval. i have created one task as a background task. in this task i am callinga a zmethod of BOB BUS2203. which in turns calls a FM which fills the approval table and returns to workflow.
i tried to execting my workflow but all time it comes to this Background task but did not come out. and when i make it dialog and execute, it works fine.
can anyone in foram please tell me, why this background task is not working. i tried using standard task also.. it is also not working.
please give some soultion.
Thanks,
Naresh.

Have you tried to assign some more authorization to the user? it could be that the step is executed using an user that is not the one customized in the workflow settings, seems unusual but i have seen this behaviour in some occasion.....
Regards, Luciano

Similar Messages

  • Problem in Workflow matching step

    Hi,
    I am facing a problem in Workflow matching step. I have user kaushikb assigned to it.
    Execution Type: Any Single, Assignee Type: User and Execution Type: Any Single.
    Match Record Scope: Records vs Records, Strategy: MDM_NAME.
    This Strategy: MDM_NAME is based on 3 rules: MDM_NAME1, MDM_NAME2 and MDM_NAME3.
    MDM_NAME1 is done based on transformations MDM_NAME1[XFM], MDM_NAME2[XFM] and MDM_NAME3[XFM].
    Now my problem is even after matching and merging a large number of records it is not going to
    the next step. Do I need to match and merge all duplicate records? If the Matching process is rerun
    the score becomes less as the same records are compared again. After this the link assume gets activated and then clicking it activates the next step.
    Regards
    Kaushik Banerjee

    Hi Kaushik,
    Match step is an Automated step in the MDM workflow.On selecting this step you need to mention the strategy that needs to run on the records to match them.When you reach the Match step you need to Perform the step to run the mentioned Strategy .
    When you Perform the Match step it will display the Matching result provided you select the Matching mode in MDM data manager.
    You can merge or not merge the matched records Once your Matching is performed by the system, You can move your Workflow to the Next step which is Process.
    When you are selecting Any single as your execution type it means you have more tahn one user for executing this task but you want any single one of them to perform it.
    So whenever you have selected Any single as the excution type for any process .The user accepting to perfrom the task needs to Accept the task .
    So when User1 wants to perform the task he will have to select Accept and then proceed with the task.
    When the owner of the workflow is testing the entire workflow he needs to Assume the task as he is not the Assigned user but the Assumed one.
    So if you have build your workflows correctly and moving in step as explained you should be able to select the next step
    You can follow the below link to understand the process better:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0be83e4-a1e6-2a10-c1be-8395ae948844
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Experiencing problems with workflow- validate step

    I am experiencing problems with workflow->validate step in Hyperion FDM.
    I am not able to export unmapped dimension members to Excel.
    Earlier everything worked fine.
    But now all of a sudden it has become a serious problem.
    when I click Export to Excel,processing starts and it's never coming to an end.
    Every thing is getting stuck up.
    Could any one suggest solution to this as it is delaying my deliverable.

    Try opening excel first, then doing the export from FDM.

  • Problems in workflow builder

    Hi,
    I am facing problems in workflow builder and tasks while i am creating a custom workflow template.
    1) binding between task and workflow does not work. One of the container element value is getting passed from the task to the workflow while others are not getting passed. All these are part of the same binding.
    2) the workflow container elements are not available in the steps of the workflow. eg, in a condition step i am comparing two container elements, it is failing, its taking balnk values. also in send mail step i have included a continer elements in description. i see nothing there. means the container elements are blank for the send mail step.
    3) the binding betw the task and the method simple dissappears (thrd Binding betw task and method dissappears !! )
    kindly provide and advice or suggestions
    thank you very much
    -r

    Hi,
    I have sent a mail to the email address mentioned in your profile. I will try to find a place in sdn where i cud upload the screen shots.
    Yes it look as though the data is not available at the time of the condition step. But how could that be as it is the business object attribute and that has to be available at any point in the workflow  for all the workflow steps. I have used it several times in other workflow templates.
    I have done the following
    created new workflow template and put bus2091-created as start event
    extended business object and added several new attributes and defined each attribute. some of them are virtual and some are database attribute. And while coding the definition of the virtual attribute, which is pretty complex logic, i have used the database attributes of the same business object.
    the first step in the workflow was activity step . in which i called BO method to get soem data. eg frist name, last name of the creator. i did not export anything to the method, only imported the first name, last name because inside the method i use object-_essr-ernam to get the creator user id and then i find the names of this user id
    the second step is the condtion step where i check the attribute of the business object. the attribute which are database attributes are available. but those which are virtual attributes are totally blank.
    when i trigger the workflow, the condition result always fails as there are no values available. and in swi1 i can see that those values are very much there in the business object instance.
    is it so that these attributes are populated later than the time when condition step is called ? if yes, then why does the workflow processing reach the condition step ? it should first process all the initial steps, ie completely instantiate the business object and then it should start the steps of workflow. am i right ?
    is it because i have used the database attributes of the BO in order to build logic in the definition of the virtual attributes ? for eg. instead of using object-_essr-createdby, should i use only object-key-entrysheet. then write select statement on essr table for whatever entrysheet data i want and then carry on with my coding for the virtual attribute ??
    thank you
    r

  • Problem with Matching and Merging Step of MDM Workflow

    Hi,
    I have created a workflow which will first Match Step where the user will do both
    Matching and Merging. Then, it will go for a process step Final Review.
    Then, it will go for Branch step which is named as Decide on Check in.
    There are two workflow which are launched after this step.
    My workflow ran one time.
    The number of records is: 19585. The Match step which is assigned to a different user is not performing.
    It is a simple match based on First Name, Middle Name and Last Name.
    Any suggestion?
    Regards
    Kaushik Banerjee

    Hi Kaushik,
    What do you mean with "not Performing"? One suggestion, just log in with the 'Different User' who has been assigned for the matching task, and under that user goto the matching tab, in matching tab you will find a sub tab for Workflow, I hope you can work from there, If this doesnt solve your problem, then please let us know.
    Cheers,
    Cherry.
    Sorry problem with button;... so message came again... apologize.....
    Edited by: Cherry on Mar 23, 2009 9:42 PM

  • Problem in condition of a step in the workflow

    Hello experts,
    this is releated to thread which i previously opened, but now the issue is abit clear for me to explain u.
    I have a workflow, with some steps. the first step has got a condition to check the transaction type of the inquiry. its like this : &ZBUS2000126.TRANSACTIONTYPE& = YINQ.
    When i test this workflow its failing and giving error at this point.
    Ihave a delegated BO ZBUS2000126, with a event to trigger the method which calls the Z FM to send an email.
    I dont know about the binding or container. can u explain what kind of bindings or container creatios has to be done here. please......
    I m very new to workflow. so kindly help me out.
    Robin

    Dear Poster
    Your thread has had no response since it's creation over
    2 weeks ago, therefore, I recommend that you either:
    - Rephrase the question.
    - Provide additional Information to prompt a response.
    - Close the thread if the answer is already known.
    Thank you for your compliance in this regard.
    Jason Boggans
    SAP SRM SDN Moderator

  • Problem in Workflow during activity step with "Requested start" time.

    Hi,
    I am working on SAP workflow.
    In my workflow there is a activity step (wait step) where the workflow should wait before going to step after that wait step. To achieve this, I have used requested start as +10 min with WIS workitem creation. After 10 min, the workflow should proceed to further step but my workflow does not go further.
    It was working good I tested couple of days back but now it doesn't. Can someone please help ?
    Thanks.
    Regards,
    Rajesh.

    Please check the settings in SWU3. Most probably  the settings is not correct. You will get a lot of discussion from this forum if you search with SWU3.
    Thanks
    Arghadip

  • Problem in workflow

    Hello,
    There is an urgent issue regarding workflow. The workflow gets triggered by SWE_EVENT_CREATE from a z-function module. The parameters passed while triggering are Approver1, Approver2, first_approver and payment method. The problem is, In some cases, the workflow fails at the start and workitem doesn't go the 1st approver inbox for a particular user. After 6-7 errors, the triggering event got deactivated automatically.
    The data passed to the workflow even in case of error is correct and the binding is also correct.
    The scenario is in the production server and cant be simulated in quality server since the same data is working fine in the quality server.
    The error log for the document in error shows the folowing error:
    Diagnosis
    When the work item no. 1160113 sent a response message, an inconsistency was found in the related workflow definition: Node no. 1 has a line but no node definition or step definition.
    The respective workflow task (definition no. , version ) may have been changed during the workflow execution in a way which is not allowed.
    System Response
    The workflow is forced into the error status and stopped.
    Procedure
    Check and correct the workflow definition. You can display the structure (nodes and lines) of the workflow definition in the workflow builder via the menu function 'Extras' -> 'Techn. information' -> 'Definition structure' and -> 'Runtime structure'.
    Extras -> Technical information -> Definition structure or
    Extras -> Technical information -> Runtime structure
    It may be possible to correct the error by activating the workflow or by using the special function Extras -> Special functions -> Block correction.
    The same workflow is working for other users properly.
    Can anybody please help me with this. Its really urgent.
    Thanks in advance.
    Radhika
    Edited by: Alvaro Tejada Galindo on Apr 7, 2008 12:42 PM

    Hi Radhika,
    You can activate the event trace by SWE4 transaction.
    After you switch it on, execute your workflow once and check the event trace in SWEL.
    Once you open the Event trace, check the following to diagnose the problem:
    1. See if the workflow actually got triggered.
    2. If yes, go into the details of the WF, and check the technical settings. In this you can actually check at which step the WF failed.
    3. Once you determine the erronous step, check the container.
    4. Check both the workflow container as well as the task container.
    5. check the Bindings between the various containers.
    Post the scenario once you have pinpointed the exact or the probable cause.
    Hope this helps.
    Regards,
    Sonal

  • Record checkout problem in workflow

    Hi,
    I have a workflow where requestor creates record and once created pass the record to approver and once approver approves record is sent to Gatekeeper.Now I am checking out the record in the first step.
    But now problem is when record is in available or received state with approver Requestor can modify and save the record. Same is case with approver i.e. when record is sent to Gatekeeper by approver ,approver camn modify record.
    As mentioned in guide as record moves from one step to another users who receive the job automatically join record checkout.
    But I want to avoid this i.e. once requestor sends the record to approver he should not modify it.
    It will be great if you can share any workaround to achieve the same.
    Regards,
    Neethu Joy

    Hello Neethu,
    Try the below.
    For requestor
    start(Checkout(yes)-> process -> validate->assignemt->stop(cascade)
    In the Above workflow in the STOP STEP - check in the record, and in the Launch property Launch the Approver workflow.
    and in the Following workflow "Approver workflow" check out the record in Start step and check in back in stop step
    Rgds,
    Prasad
    Edited by: Prasad Tuttagunta on Mar 6, 2012 9:21 AM

  • Releasing problem in workflow

    Hi All,
    I am facing the problem in the releasing of the document in the workflow..
    First step i am using the parked document and save as complete, which is working fine.
    But problem is next step i am using the RELEASE method of the FIPP BO..
    but i am able to get the workitem with RELEASE whover i am assigning.
    if they release, it is showing released, but when i check document is not released, but document getting lock..
    Please let me know this is problem with wf or customizing?
    I have binded Business Object corrctly for the RELEASE method
    Regards,
    Udupi

    Hi,
    Please refer below mentioned thread. I hope it will be helpful for you.
    http://www.saptechies.org/sap-pdf-books-download/FI_Document_Parking_workflow_tutorial292711300832628.pdf
    Regards,
    Sudeesh Soni

  • Workitem Lock  problem in workflow for leave request

    Hi Experts,
    I am facing the strange problem in the workflow of the leave request.
    We have implemented the two  level approval for workflow. For the first level approval we have created custom WebDynpro  application where approver approves the request and selects 2nd approver for the workflow. Here we are calling method initiate_state_transition of class/interface if_pt_req_request to change the status of workflow from sent to approved in custom WebDynpro  application .
    For the second level approval we are using standard approval application.
    When 1st approver approves the request, workflow moves to next task, but this task gives error "Work item 000000605682 locked by user SD21690 (enqueue error)".
    I am not getting why this is happening?
    Could you please help me.
    Thanks
    Sameer

    Hi
    As you have developed a custom application for first level approver where the status of record is being changed from sent to approved.
    please check what is the workitem number that is initiated. If its 605682 and the first approver is SD21690 then please make sure you release that workitem in your webdynpro application.
    You must have customized the workflow to add the first approver step. Where you would be mentioning the name of the custom application in SWFVISU against your custom task.
    The problem is with the workflow so please check the workflow. Your first approer is not releasing the workitem post approval and that is the reason for lock.
    Vivek - this lock is not enque lock its a workitem lock.
    Please revert with further questions if required.
    thank you
    barin

  • Workflow Deploy Problem: No Workflows found (no error when generate)

    I already tried to find other thread and test/change a couple of things already.. but i couldnt solve this basic problem yet.
    PLEASE KINDLY HELP.
    I am new to SUP and I just want to test deploying any workflow to my test device (iPhone).
    However, i didnt make it. ("generated mobile workflow package" successfully. no error log.  But i see nothing in the Sybase workflow on my iPhone"
    This is what i did ...
    1. Registered the device.
      In SCC, Applications / Application Connections
      I successfully registered my iPhone device and got the online status.
    2. I tried to develop a basic workflow application and assign to my device
      2.1 I created a basic MBO from a table in sampledb.
            I "deploy project" to SUP server. No error. Checked in SCC, i found my package created there as well.
      2.2 I created new "Mobile Workflow Forms Editor". I create a simple screen from prepared MBO.
           I "Generate mobile workflow package"
           I also selected checkbox "Assign workflow to user(s)" and i use the "Get Users" button to get my user.
                   (it got the correct user for me.. no problem during this step)
               I got this message
    ============================================================
    Deployment to Unwired Server
    ============================================================
    Deploying the workflow
    Successfully deployed the workflow
    ============================================================
    Assigning workflow ZGContactCreate to Top
    ============================================================
    Assignment complete
    ============================================================
    Time taken was 3 seconds
    ============================================================
       2.3 I checked in SCC. Applications / Application Connections >> Then, for my register, i clicked "Workflow Assignment" button.
            Everything seem to be fine. That workflow was already assigned.
    UNFORTUNATELY, WHEN I TESTED THE SYBASE WORKFLOW ON MY IPHONE, I SAW NOTHING...
        "NO WORKFLOWS FOUND" ...
    (I also checked status at that time and my test device status in SCC was still online at that time.)
    Note:
    SUP Server: 2.0
    Sybase Workflow on my Iphone: 2.1
    This test WF application is "can be started, no demand, from the client" type.
    Any help would really be appreciated.
    Brgds,

    Yes, status is ONLINE
    When register the device, status = PENDING
    Then, after open sybase workflow in the test device (iPhone), status in SCC change to ONLINE.
    From then until i deploy the app (generate), status in SCC show as ONLINE.
    After I failed to see any workflow app in my test device, i come back to SCC and click refresh again, status is still ONLINE.
    Pls help ...

  • Problems with Workflow (stoppings, dumps)

    Hello all.
    The problem description:
    In our client system (ERP 701 Win Oracle 10.2, sap_aba - 5, sap_basis - 5, sap_appl - 14) we have this problem from time to time (1 time to 30 processes).
    We have developed our own workflow. In all other client's systems all are ok.
    But here the workflow process has hanged at the step of creation
    business object instance (status waiting). We have dump from user WF-BATCH (MESSAGE_TYPE_X - "Termination occurred in the ABAP program "CL_SWF_RUN_TRANSACTION_MANAGERCP" -  in "SAVE".The main program was "SAPMSSY1 "). SWU3 is whole customized. In transaction SWIA I can perform this background step and our Workflow will be continued.
    How can we decide this problem?

    Hi,
    Please check settings required for WF-BATCH  on the server from below link.
    [Re: Use of SWU3 & WF-BATCH;

  • Problem in workflow Inbound error Idocs (IDOCAPPL)

    Hi All,
      First of all I am new to workflow. I have created a custom business object ZIDOCAPPL by copying standard object IDOCAPPL. My requirement is to send emails to the users with the inbound Idoc error details.
    My workflow has below tasks.
    Task 1: Create a entry in Ztable with error idoc details. (Background step)
    Task 2: Send a email to the list of users with EDIDC data.
    Task 3: Idoc foreground correction (Foreground step - Using IDOCAPPL-INPUTFOREGROUND method).
    Task 4: Delete the entry form Ztable, which was created in task 1(Background step)
    For this, I have created a ZIDOCAPPL BO and in that created methods for step 1(Create entry in ztable) and Step 4(Delete entry in Ztable).
    Triggering event (SWE2) : IDOCAPPL - INPUTERROROCCURED.
    So my problem is , I need to create below Function modules. Please suggest the logic for below function modules, as I did not understood clearly.
    1-  A new Function module for send email step, that creates the list of users. The user list need to be leveraged from Rule FM and the email through USR01. (This need to be called in my custom ZIDOCAPPL BO method and for  send email step of task 2)
    2- A new FM needs to fetch the positions (table HRP1001) under the sub org units (partners) again under the main Org unit The returned positions needs to be linked back to the task and also for the emails. ( I think this need to be linked to the Role of the idoc foreground correction task (Task 3).
    Appreciated your inputs. Thanks in advance.
    Thanks,
    Ranj.

    I recommend that you do NOT copy the object, but rather create a sub-type.

  • Problem in Workflow on Budget Release

    Hi Experts,
    I have created Workflow on Budget Release . in which as soon as Budget is Released for Respective WBS Element Workflow Will Trigger . My Problem is that if Budget Gets more than 1 crore then in Mail it only shows first Digit , it is not showing whole value . So what Changes should i do so that it can display full Value if it is more than 1 crore .
    Please Help me on this issue .

    Hi- Are you able to see exact value (1 crore +) in WF log. If yes, then check the content of the email body where exactly you are using this container and try to align for test purpose. Also check the binding from WF to task (in mail step) and check for the data types in both the container
    If WF log shows only first digit, then check where this value is getting populated and check for data types
    Are you using Send mail step or FM or class approach for sending mail?
    Vinoth

Maybe you are looking for