Abap workflow triggering

Hi all ,
i am new to workflow.please let me know how to trigger the workflow .
my workflow does not get triggered even after my assignment in the triggering events.
i had also used the transactions swel and swetypv..
how to check whether through which event my workflow
gets triggerd .it is a standard sap workflow .

hi jyothi.
b4 that.
go tthur this links. this will give u a good idea.
http://help.sap.com/saphelp_erp2005/helpdata/en/fb/135962457311d189440000e829fbbd/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
rgds
anver
if hlped mark points

Similar Messages

  • Reg:Workflow triggering

    Hi,
    I have created a work flow which will send a mail but it should be triggered only when a project is created in CJ20N transaction.So i used BUS2001 event CREATED in the work flow start event.But even though I created
    a project in CJ20N work flow is not getting trigger d.
    So how can I go ahead?

    Hi Nandi,
    >I have created a work flow which will send a mail but it should be triggered only when a project is created in CJ20N transaction.So i used BUS2001 event CREATED in the work flow start event.But even though I created a project in CJ20N work flow is not getting trigger d.
    >So how can I go ahead?
    Check for the Following Issues in your WF:-
    1> Check in the Basic Settings Tab whether your A and B parameters are Green in Colour, which refer to Binding ans Active Linkage.
    2> if you are creating the WF and testing the WF on the same Client of your Server then its ok, otherwise in the Testing Client also check for these both things. If they are not there just Transport your Customizing TR.
    Meanwhile for more on Workflows, you can check the following Links:-
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/brief%252boverview%252bof%252bworkflow%252bstep-types
    /people/sapna.modi/blog/2007/02/19/workflows-for-dummies--introductionpart-i
    Regards,
    Kanika

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

  • 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

  • ABAP & Workflow for CRM

    Hello  Buddies,
            I have seen so mail threads somewhat near to my doubt but could you please tell me some good link for learning ABAP & Workflow for CRM. Also please advise me, being ABAP-Workflow Consultant which section of CRM is best suitable for me.
    Thanks in advance. Your guidance is appreciated.
    Warm Regards,
    N. Singh

    Hi,
    ABAP    and Workflow for CRM is nothing different and specific to CRM. They are same and at least all the basic concepts are present. There might be some implementation and conceptual differences but they are more of functionality driven.
    You start learning SAP CRM Fucntionality which will help you to understand SAP CRM much better. And then you can have a feel of the CRM feature and where and how it's been used to drive the ABAP and Workflow functionality.
    Hope this helps. You can scan the forum for good links and resources.
    Best Regards,
    Samantak

  • Can someone share (or) give me an url for learn ABAP-Workflow

    Hi all,
    can someone share (or) give me an url for learn (or) online sessions for better understanding
    ABAP-Workflow? because i'm a new & fresh in this module.
    Thanks in advance
    Srinivas.....

    Refer the threads -
    Workflow?
    workflow
    workflow
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMCA/BCBMTWFMCA.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/COPA/WFT200_000.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTOM99/BCBMTOM99.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMLO/BCBMTWFMLO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPA/BCBMTWFMPA.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPP/BCBMTWFMPP.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMQM/BCBMTWFMQM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMISRE/BCBMTWFMISRE.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSD/BCBMTWFMSD.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf (it will take some time in Loading - Main Document)
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf (Very Important)
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMTR/BCBMTWFMTR.pdf

  • How to run GP process from ABAP Workflow

    Hi All,
    Can anybody tell me in detauls how can I run a GP process from ABAP workflow. What configuration are required for that in J2EE engine side as well as ABAP side.
    Thanks
    Chandan

    Hi Chandan,
    see <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/b1/259142d4d4b81ce10000000a1550b0/frameset.htm">here</a>, maybe this help.
    Ciao
    Luca

  • Security considerations wrt the ABAP Workflow implementation

    Maybe somebody can comment on this:
    I am an SAP auditor and doing SAP audits. Me and my colleagues always struggle with the security risks imposed by WF-BATCH and the related RFC-destination.
    The question I am interested in is: Why did SAP go for this construction ? Why does Workflow Management require the WF-BATCH user ?
    I do have an assumption here: The user is required as the Workflow Management functionality requires some authorization objects (e.g. S_USER_GRP/02/*) that you wouldn't like to hand out to the users directly. By calling this part of the functionality via the RFC-destination, those authorization objects have to be "handed out" only to WF-BATCH.
    Well - nice assumption, but I have no evidence that this was actually the reason. My knowledge of the Workflow Management functionality is limited and the example I mentioned above (S_USER_GRP) is most probably wrong and not complete anyway as it doesn't state a reason why S_USER_GRP would be necessary.
    Nevertheless it would be important to understand the in's and out's here a bit better in order to arrive at a better understanding of the risk and to trim WF-BATCH authorizations to the unavoidable.
    So if anybody can shed some light on this, please do so ...
    BTW: I am also asking because although I can't believe that S_USER_GRP/02/* is necessary, so far I always found it in real-live WF-BATCH users
    Thanks and regards,
    Ralf Nellessen

    Hi,
    "The calling of the object method for the work item ended with a return value for which no handling is modeled in the workflow." in the workflow log
    This kind of Error comes due to the following reasons:-
    1> There is a problem in the Binding, in which step this Error is Coming. You have Binded the element for which there is no Target Defined. Source is there but no Target is there, so it is unable to catch the data that you want to send through Binding.
    2> It also could be because of Binding Mismatch. The Container elements would not be having the same Data Type.
    "The workflow runtime system has called an application method in a tRFC or background context. A message was processed in this application method. This causes the execution of the workitem to be cancelled in this context."
    This Error can be because of the RFC Settings that are not propoerly configured in SWU3. All the ticks should be green in Colour. Check the same for the Server on which you are trying to trigger the WF.
    For more on WF: Kindly check theses:-
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
    /people/sapna.modi/blog/2007/02/19/workflows-for-dummies--introductionpart-i
    Let me know if you still face any issues.
    Regards,
    Kanika

  • BPM or Abap Workflow

    Hi Experts
    I have to implement a Sales Order process for my client.
    Overview of the process which needs to be implemented:
    A company sells xyz product. So the customer places an offer for abc product at some price. The request goes to the sales department's manager who checks the customer demands and accepts/rejects/edits the request according to some rules like mkt price. If he accepts the offer, it becomes the contract for which sales order is created and invoicing is done.
    Company can edit the request, updated the price and sends back to customer. If customer is happy it becomes a contract again for which sales order can be created.
    I need to implement the scenario using webdynpro for abap or java.
    My Question:
    I have implemented such scenarios using UWL and SAP Abap workflows. I am new to CE 7.3 version and BPM concept.
    Experts please guide me which would be the best way to implement such scenario. Should I stick to normal abap workflow method or can I do it through BPM? What would be the challenges if I go by BPM approach.
    Thanks and Regards
    Sonal

    Hi Sonal,
      You didn't specify all the systems involved in this process - i.e. is it one central ERP, multiple SAP and non-SAP? The primary use case for SAP NetWeaver BPM is to orchestrate processes across multiples systems, presenting the user with one central location to conduct their work (UWL) and a consistent user intercace (Web Dynpro).
      If your process only uses one central ERP system for all backend tasks I would (not knowing more details) probably favor a WDA and business workflow based solution. Going outside of the ERP system to implement it wouldn't gain you very much if anything could make your landscape more complicated and create more work. On the other hand, if multiple backend systems are involved this would probably be a good candidate for a SAP NetWeaver BPM based process. Rough generalities, for sure, but you asked :-).
    O.

  • Integration of ABAP workflow with portal

    Hello Experts,
    Need urgent help on UWL configuration.
    We have integrated our ABAP workflow with portal through UWL.
    We have a Ad Hoc link in the ABAP workflow which takes us to some transaction. For some reason we are not able to view that link when we see this workflow through portal.
    1. Is is possible to show any Ad hoc links from ABAP workflow into portals?
    2. If yes, what is the process for the same? We did not get any relevant documents.
    Any inputs/sugessions are most welcome.
    Ashutosh

    Hi Ashutosh,
    Can you please send me the documents how did you resolve this issue?
    koti

  • SAP ABAP Workflow / CAF - GP Workflow ?

    Hi All,
    Has anyone evaluated SAP ABAP Workflow and CAF GP Workflow?  When would you choose to go the SAP ABAP Workflow?
    Thanks,
    Uma.

    Thanks Pavan.
    The thread that you have linked is about GP getting replaced with BPM over a period of time etc. This is really going to take a while and moreover, in case we want take the route of BPM , we need CE 7.1 EHP1 . We see customer cases where they have NW 7.0 and dont want to invest in CE server for now.
    In such scenarios where you can build workflow solutions in GP in 7.0 version , in what scenarios ABAP Workflow is to be chosen.
    My Question is around - disadvantages and advtages of ABAP workflow.
    Thanks,
    Uma

  • 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

Maybe you are looking for

  • How to add an unique column to an existing table?

    How to add an unique column to an existing table? I have a large table which has no unique constraint. and I want to add an unique column for it. How to do it? Does adding a sequence is a good choice? How to do it? Thank you

  • Using MacBook Pro as a display for external media via Thunderbolt/Displayport

    How do I enable Thunderbolt display input via HDMI to use my MacBook Pro late 2011 as a display for other media? I have HDMI connected by a rocketfish adaptor and their company website Q and A seems to indicate this should work.

  • Test file existence before opening it from servlet

    Hi experts, I have a servlet which has to open a text(say test.txt) file stored in the root(/report/2002/currentmonth/test.txt).if it is over 30 MB then it has to split the file in to two halfs. for example if test.txt is of 57 MB then it has to spli

  • Patch level & SPS...

    hi all, Our server Support pack Patch level says..109886.44. How do we calculate the SPS level with this..? Is there any hierarchy of patch level how we can calculate the stack level with this information ? I am confused to calculate the patch level

  • RWD Productivity Pak 4.0 - Vignette

    I've just installed the RWD PP uPerform install versio 4.0  and it is branded as Vignette Collaboration server.  I got to the login point OK from teh admin guide, and then the subsequent screens and actions are completely different.  I assume it is a