Workflow triggering problems

Hi all,
I have a puchase order release workflow ,and have activated the triggering in tcode pftc,but the problem is ,every time I create a purchase order the workflow triggering gets deactivated and have to manually activate it after each Purchase Order creation or change.
Does anyone have a clue as to what may cause this problem?
Regards
MM

Hi Raja,
Thank you for your reply.
I tried changing the method but it still throws the same error. i dont think this error is related to the Task method , since it can also be a dummy method (as is the case with the leave approval workflow 12300111) .
Any other helpful suggestions ??
Thanks,
Joe

Similar Messages

  • Approval workflow triggers when not expected for SRM PO & without Agent ??

    Hi All,
    We are using SRM 5.0 integrated with SAP MM backends.
    We are frequently facing this problem, when a buyer  creates a PO (in SRM) within his/ her Spending (Output) Limit, the PO approval workflow triggers and is not able to find an agent.
    Although the workflow should not trigger as the PO value is below spend limit of the buyer......we are not able to understand this behaviour.
    In such cases, the buyer is not able to issue the POs, since the POs show 'Awaiting Approval' status.
    I can find such POs with SRM transaction SWI2_ADM1, but I can not do anything beyond that. I am not able to Forward or 'Complete Manually' such work-items.
    Any idea how this problem can be fixed or if there is any SAP note available for same.......anything??
    Has anyone faced this kind of problem before?? Please help.
    Thanks,
    Ruchika

    please check from the workflow log , the workflow which the system is starting.
    might be the system is able to start another workflow than the one which you are mentioning
    use the transaction swi6 for workflow log , use the purchase order guid

  • Approval Workflow triggers when not expected & without Agent ??

    Hi All,
    We are using SRM 5.0 integrated with SAP MM backends.
    We are frequently facing this problem, when a buyer creates a PO (in SRM) within his/ her Spending (Output) Limit, the PO approval workflow triggers and is not able to find an agent.
    Although the workflow should not trigger as the PO value is below spend limit of the buyer......we are not able to understand this behaviour.
    In such cases, the buyer is not able to issue the POs, since the POs show 'Awaiting Approval' status.
    I can find such POs with SRM transaction SWI2_ADM1, but I can not do anything beyond that. I am not able to Forward or 'Complete Manually' such work-items.
    Any idea how this problem can be fixed or if there is any SAP note available for same.......anything??
    Has anyone faced this kind of problem before?? Please help.
    Thanks,
    Ruchika

    Hi Ruchika,
    This seems to be a problem with the start condition of the PO approval workflow. Check for the same and see if there is any issue.
    Regards,
    Saumya

  • Workflow triggers unwantedly

    Hi All ,
    we are a strange issue in EC incoming Invoice workflow in SRM, descriptiojn is as follows
    we have two workflow in our system for invoice one goes through approval and other auto approval , and on the SRM portal at header level in the basic data we have added two custom fields allow NON-PO invoice and Allow RE ,and implemented the doc_check_badi , now at the line item level if we do not give any PO refernce and check/post  then we get an error message saying the entrer PO and the status of the invoice to " to be corrected manually" ideally in the above case approval  workflow should not trigger , it sould only trigger when we tick the allow Non-po invoice check button , and it was working fine , but suddenly after patch upgrade the approval workflow triggers even if we do not tick the chck box at header level . Can anyone suggest did any thing go wrong in patch upgrade , I have checked all the conditions and linkages all are fine, but i guess some standard setting is missing which would have gone missing .

    Dear all,
             Thanks a lot for reading my post with intention to answer.
             The issue is resolved now.
             The problem was at BAdI.To trigger the workflow with event CREATED for purchase requisition, BAdI named ME_REQ_POSTED needs to be used :
             Following coding is used for the same :
    method IF_EX_ME_REQ_POSTED~POSTED.
      DATA: WA_EBAN TYPE EBAN.
      DATA L_S_EBAN TYPE UEBAN.
      DATA: OBJKEY TYPE SWEINSTCOU-OBJKEY .
      LOOP AT IM_EBAN INTO L_S_EBAN .
      ENDLOOP.
        IF ( SY-TCODE = 'ME51N' AND SY-UCOMM NE 'MECHECKDOC' ) OR SY-TCODE = 'ME52N'  .
          IF  L_S_EBAN-BSART = 'ZNB'.
            OBJKEY = L_S_EBAN-BANFN.
            SELECT SINGLE * FROM EBAN INTO WA_EBAN WHERE BANFN EQ OBJKEY.
            IF SY-SUBRC NE 0.
              CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
                EXPORTING
                  OBJECT_TYPE             = 'BUS2105'
                  OBJECT_KEY              =  objkey
                  EVENT                   =  'CREATED'
                 COMMIT_WORK             = 'X'
                 EVENT_LANGUAGE          = SY-LANGU
                 LANGUAGE                = SY-LANGU
                 USER                    = SY-UNAME
    *   IFS_XML_CONTAINER       =
    * IMPORTING
    *   RETURN_CODE             =
    *   EVENT_ID                =
    * TABLES
    *   INPUT_CONTAINER         =
    *   MESSAGE_LINES           =
    *   MESSAGE_STRUCT          =
            endif.
          endif.
        endif.
       endmethod.
              I have missed the loop block.That's why the workflow was not triggering.
    Regards,
    S.Suresh

  • Mail send issue - Workflow Triggered from Error Message

    hi
    i am learning workflow and doing some practical sessions using tutorials found on the internet. I have successfully enabled a workflow triggering options from the error message. The workflow will simply send an email and there is nothing else in that workflow definition. When i get the error message i open up the error message window and trigger the workflow option which is enabled. I get a message that the workflow has been started but i dont get the email immediately. I see the emails only after a long time. Infact the emails sent yesterday is only visible today.
    i checked in SOST and i dont see the messages at all. If its available in SOST then the system would have picked up and send to the inbox. But i dont see the mails queued in SOST. But if i wait for a day i can see the emails in my inbox. Any idea what is wrong.
    ~Suresh
    Message was edited by:
            Suresh Reddy

    Hi Suresh
    Good on you that you are actually going through the SAP Help and trying the harder but better way unlike many others...your input regarding your problem is also quite well explained....Keep it up!
    Coming to your problem,
    <b>1.>>I see the emails only after a long time. Infact the emails sent yesterday is >>only visible today.</b>
    RSCONN01 is the program that sends email out of SAP, make sure this scheduled to run frequently otherwise you can manually run this from SE/SA38.
    <b>2. i checked in SOST and i dont see the messages at all. If its available in SOST then the system would have picked up and send to the inbox</b>
    When you run SOST make sure you tick all the checkboxes - Waiting, Errors, Sent and Transmitted. If you are on ECC, then these are available on the Send Status tab...
    Good Luck
    Ravi

  • Duplicate workflows triggered

    Hi all,
    we are using Function module SWE_EVENT_CREATE to trigger workflow for MM invoice.
    Business object used - BUS2081 and event used to trigger workflow is BLOCKEDQUANT.
    yesterday there are 2 workflows triggered for each invoice using this FM.
    Can anyone help me why 2 workflows triggered.
    Thanks in advance.

    Hi Vijay,
    Get to know when the event BLOCKEDQUANT would be triggered, I guess this event would be triggered always when there is price change in Invoice with a item blocked due to quantity change, If so use check function module in event to workflow binding to avoid duplicacy in such cases.
    -Vinod

  • Workflow Triggering twice when executing transaction cj21n

    Hi Experts,
    when i am executing transaction cj21n my workflow is triggering twice but earlier  it was working fine ..
    please provide your input on the same
    Thanks
    Deepanker Dwivedi

    Hi,
    The 'event' which  mapped to workflow triggered twice or another event may added to the workflow
    1) Did you give additional event for the workflow in the Basic Data -> Start events, if yes remove that event and test it.
    2) If 'No', In the SPRO configurations some settings might have changed, Check with your Function Consultant ask  any changes they done in the SPRO settings related to the T.code cj21n.
    Regards,
    Surjith

  • PRs workflow triggered only the first time

    Hi all,
    do you know a way to trigger a workflow for Purchase Reqs only when the first agent (requisitioner) releases it and not at every step? I'm managing all the release strategy inside a custom workflow and the cancel release as well.
    I'm using BUS2105.eventstepcreated as start event but it is triggered in each step (as the name suggests ) and also for a cancel release.
    Thanks in advance.
    Angelo

    Hi Angelo.
    Sorry if I have different perspective.
    You can enhance the standard workflow for PR (single release and collective release). This workflow triggers for each PR created.
    And instead of you manage release strategy inside your workflow, you can maintain release strategy (release group and release code) inside the MM configuration by assign to specific object type. This approach will capture agent assignment from the configuration and calculate the release strategy (include the classification) as well

  • In Which table Will maintain the All Workflows Triggering Event Details?

    Hi,
    Can Any one tell me
    In Which table Will maintain the All Workflows Triggering Event Details?

    Hi Mohit,
    The Tr Codes KE29N/KE28L will give me the Logs of Past TDD runs. However, i would like to see the all the variants in a go. Due to a Organizational change, there is a new characteristics introduced. Now we need to change the sequence of the TDD runs. Since there are lot of TDD Variants that are in use. we need to get all of them into an excel and then decide the necessary changes.
    Thanks & Regards
    Surya

  • How to find Workflow triggering code

    Hi...all,
        I am working on a workflow issue, here i am unable to find out the workflow triggering code. Here workflow is triggering through event, i find out that event in basic data.but when i see the event linkages through SWETYPV, i didn't find any custom function modules except SWW_WI_CREATE_VIA_EVENT_IBF. i just want to add some more conditions in the workflow triggering conditions. How can i find out where the code was developed?. Thanks in advance....
    VT

    Hi Jocelyn dart,
    I want to trigger my workflow from transaction FIBLFFP.i am using the BOR BUS2021. it doen't have any events to trigger. so i copied the BOR to custom name space and added the event called posted.and i have delegated successfully.
    In the basic data of the My workflow template i have given the BOR BUS2021 and event POSTED and it is in active mode.
    I have done the setting in SWE2 with new entry and event name and receiver type as WS and FM SWW_WI_CREATE_VIA_EVENT_IBF and it in active mode.
    But I am not getting the mails to inbox.Manullay the worklfow is executing  with all the conditions.
    But I am unable to trigger the workflow from transaction....
    Please  help me....Please...its very urgent..
    regards
    paveee

  • Workflow triggerred twice

    Using BO ADDRESSEMP  change event to trigger the workflow. but the workflow triggerred twice by BO ADDRESSEMP and BO ADDREMPUS the latter one is the subtype of the former one.
    I am curious to know, why this happens. I have checked the related event linkage table , only ADDRESSEMP is maintained, then why ADDREMPUS is faired?

    Hi,
    Normally it's standard behavior for the workflow to be triggered both supertype and subtype, when the triggering event is based on the subtype. And if you want to restrict that behavior you have to use receiver type function module.
    It should work properly if you still use the triggering event based on the supertype. However from your explanation it looks like that you have used supertype event and yet it triggers your subtype.
    Could you please elaborate your issue further?
    Regards,
    Lim...

  • Problem in Workflow triggering

    Hi,
       I am using BOR EMPLOYEET and Events
    1. COMPANYLEFT.
    2. HIRED.
    3. REHIRED.
    4. RETIRED.
    to trigger my workflow.
    In SWEHR1 I have maintained the Business Object and in SWEHR2 I have given the entries for all the four Events.
    Now when I go to PA40 and Hire a Employee my workflow is triggering for all the Events, but it should trigger only for the event HIRED.
    Thank you,
    Ramu N.

    Hi,
    I think that your system works exactly as it is customized. If there are 4 entries in change on IT0001 without function module, 4 events are probably getting triggered with as many as receivers, also activate event trace to see if this is indeed the case.
    So either change the settings in SWEHR2, or add your own function module behind the settings, or change the event linkages in SWETYPV.
    If in doubt press f1 on the fields in SWEHR2 and in SWETYPV, I think it's well documented.
    Kind regards, Rob Dielemans

  • Regarding Workflow triggering event.

    Hi,
    Description: I have created a Object type and a event for the same by transaction SWO1, after that i have created a WorkFlow(WF) for which the triggering event is the event i have created in the Object Type. There is a report in which i have used the FM "SWE_EVENT_CREATE" and passed the Object Type, Event Name, Key field values and the creator.
    Problem: When i am executing this report the FM is called and the sy-subrc after call is 0, stating that the call was succesfull, but the WF is not getting triggered when i went to transaction SWI2_FREQ to check this WF is not at all triggered. But when i tested from WF transaction SWDD it is working fine.
    Could anyone please explain me on this. or is there any other way to use an event of a Object Type to trigger WF.
    Thanks and Regards,
    Raghavendra Goutham P.

    hi gauthum,
    try this chks.
    Workflow Trace On/Off - SWU8
    Display              - SWU9
    Delete              - SWU10.
    Work Item Analysis    - SWI1
    Identifying workflow for the work Item :
    Tx : SWI1 - Enter the workiem id which has been identified in workflow log
           The details consists of workflow of the workitem.     
    WorkFlow Errors :
    1. Workflow Not Started           - Using Event Trace we can Identify
    2. Started but No Proceeded           - Wrong Object Keys
    3. Problem in Work Item Execution
         Dialog Work Item          - Agent Determinaion Error ( Position,Role,User )
                             - Role Resolution Error
                               Reqd Element would no be
                               Set in Binding
         Background Work Item      - Make Foreground and Test once Sucessfull make it Back round
    rgds
    nver
    if hlped mark points

  • Workflow triggering an fm , abap code contains wait statement

    can i write a abap statement .. like wait upto 10800 seconds (3 hours)..I have to use this code  in fm, where it will wait for 3 hours and then it check the status and then if the status is not changed then we have to trigger a mail ,,,
    this fm will be used in workflow ,,, when the support desk mesg is created and the status is not changed in 3 hours(depends on the priority of the mesg) then i have to trigger a mail,
    i am using a workflow to trigger a mail , after triggering i thought of using an activity which uses this fm, to send the remainder mail. is it advisable for writing a statement like ...wait up to 10800 sec.\????

    Using a "WAIT" statement in a workflow background task is fatal! Each active work item using the "WAIT" statement blocks resources for the RFC connection in the background. So, if you have hundred of "waiting" tasks it should be no problem to crash your SAP system... and this will cost you many crates of beer...

  • Workflow triggering Issue

    Hi Experts,
         When i look into this problem from outside,Its really strange.Actually user has created a PO and a workflow was triggered to the approver.The problem is 'PO creator gets an error message that ' Approvers not maintained ' eventhough that corresponding PO has released after approved by approver.So why PO creator gets error message as 'Approvers not maintained' instead of releasing confirmation'. Please throw some lights to solve this workflow error.Thanks in advance.

    Hi Kavi,
      As yiu said Initiator is getting error message "No approver maintained" after all the approval. That means all the maintained approvers in PO release strategy have approved the PO and finally there will be no more approver so the initiator is getting message. 2 Points:
    1.) Check the PO release streatgy. After final approval PO release status should changed to Released completly.
    2.) The workflow step which sends error message to initiator should have condition. If last approver is not final approver of PO then only send mail.
    Hope point 2 will solve your issue.
    CHeers,
    Prakash

Maybe you are looking for

  • Ipod Touch (GEN 2) is not being seen under devices in my Itunes

    My Ipod Touch (GEN 2) is not being recognized under devices in my Itunes. My computer is recognizing it as a device under device manager, but it is not showing up under devices in my Itunes. I am also getting this error message saying "Itunes Could N

  • Realtek vs. Via Vinyl, which is better sound quality

     I downloaded the Via Vinyl Codec in an attempt to fix the Internet noise sound talked about in this https://forum-en.msi.com/index.php?topic=75995.0 post and all is well since.  Tiresmoke, or anyone else using Via Vinyl, what do you think of the sou

  • I need help... I know it's gonna be easy for you guys!!!

    Hello, I'm from Chile.... I have a table, and a i need to count the fields(columns) of that table... ¿how can i do it with a query or procedure in PL/SQL? I'll appreciate if you help me Thanks!!

  • Startup disk application memory issue

    Brand new imac with solid state 250GB as startup (200 used) and 2TB as number 2. The force quit dialogue box keeps coming up asking me to quit applications (even when just running mail) saying i have no more space. 50 GB still available on the drive.

  • Tab Set error - ORA-00928

    Hi, I have a strange error can anyone decipher this one - When I edit a page and change the "standard tab set" to a particular tab set I get the following error message when running the page. "Invalid exists/not exists condition: ORA-00928: missing S