Trigger the workflow when so delivery is completed

Hi experts ,
I  need to  trigger the wokflow if SO  delivery is completed.
could  anyone  please let me know if any event  is there to trigger the workflow whenever SO delivery is completed.
Regards ,
Kiran.

1. First you need to create a RFC function module in the CRM system, and in that FM call the respective workflow template .
2. Now you need to define RFC connection between the R/3 and CRM system in SM59 txn.
3. Now once the connection is established between R/3 and CRM system, then as i mentioned in my preivous reply, plesase call the newly created RFC FM in the CRM system from that method.....
4. Make sure that first you define connection between R/3 andf CRM, approach your basis consultant to create a RFC connection, and provide the username as WF-bacth and its password correctly , this is because when you call a FM in other system then the repective sytem will ask for the login and password, sisnce Wf-bacth is background user w.r.t to Wrokflows , once you provide wf-bacth and its password in the created connection then you mght not face login problem...
for Further queries please revert back...

Similar Messages

  • How to trigger a workflow when a bank record of an employee is delimited

    Hi Friends,
      I want to trigger a workflow when a bank record of an employee is delimited(Infotype  IT0009). When delimiting the bank info, the old record's ENDDA is changed and a new record is created with the BEGDA. In this case two events are triggered one is BANKDETAIL-CREATED and other one is BANKDETAIL-DELETED.
    Which one should i use to trigger my workflow.
    Note : If we use the creation of new record for triggering workflow, then in case when the record is created for a new employee then the workflow will be triggered. To control this can we check whether there is an existing entry in IT009 for the employee or not. If an entry already exist then trigger the workflow else not. Is this ok? Please advice.

    Hi sapient,
    Here i think none of the events would actually help you in achieving what you want because you want to trigger the workflow when the account is delimited not when the account is either created or deleted.Please look for some other information to trigger your workflow.Will get back to you if i had any ideas.
    Thanks,
    Bhumika

  • Trigger a Workflow when a date is reached in SharePoint Online

    I have created a simple list workflow (SharePoint Online) which emails a user, informing them a Document's
    Target Closure Date has been reached. The workflow works fine when started manually.
    I want to trigger the workflow only when Target Closure Date matches today's date.
    The best solution seemed to be to use a Retention Policy. So I went to:
    > Library Settings
    > Information Management Policy settings
    > Document content type
    > ticked 'Enable Retention'
    > Time Period:  Target Closure Date + 0 days
    > Action:  Start the relevant workflow.
    This worked only on two occasions - both were Saturday mornings, at 3.30am and 4.30am. I can see
    in this MS article the Expiration Policy timer job only runs weekly on SharePoint 2013, so can anyone confirm that the schedule is the same in SharePoint Online?
    If so, is there any way in SharePoint Online I can trigger a workflow when a date is reached?
    Thanks for your help,
    Alyosha

    Hi Alyosha,
    According to your description, my understanding is that you want to send an email to a user when the Target Closure Date was reached in SharePoint Online.
    The timer job of Retention Policy runs weekly in SharePoint Online, so we cannot use the Retention Policy to trigger the workflow.
    As a workaround, I recommend to create a workflow associated with the library to send the email when the Target Closure Date was reached.
    Here are the detailed steps:
    Create a workflow associated with the library and set the workflow to start when an item is created.
    Select Pause until Date to set the workflow to pause until the Target Closure Date.
    Select Send an Email.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to trigger a workflow when a info record is changed?

    Hello All,
    I would like to trigger a workflow when the conditions from a info record are changed?
    What business object should be used?
    Thanks in Advance
    Rui

    Hi,
    for these kinds of issues,
    foirst check if a uefull event already exists in the system
    for this you first actiave the event trace: SWELS.
    Then you change the info record.
    And then you read the event log with SWEL.
    If there's no event, you may eventually have to create it in an exit with SAP_WAPI_CREATE_EVENT fm
    Kind regards, Rob Dielemans

  • How to trigger a workflow when data inside a table changes

    Hi
    How to trigger a workflow when data inside a table changes ??
    We need to trigger a workflow when STAT2 field value in PA0000 table changes.
    rgds
    Chemmanz

    Make use of Business Object BUS1065. In this business Object you have an attribute Status which you can use. There are a number of events that will get triggered when the status is changed.
    Thanks
    Arghadip

  • Want to trigger the workflow from MIGO

    Hi Experts,
          I want to trigger the workflow from MIGO transaction and should handle the created material document number (i.e. I am doing the goods receipt for the process order, when he post it, the material document details (material doc number) should be mailed immediately when it is created). Please give me the suggestions for the same.
    Thanks & Regards,
    Ravi.

    Dear Ravi,
    Please refer this link [Trigger workflow from MIGO tcode|Trigger workflow in MIGO Tcode;.
    KR,
    Bharath

  • How to capture the status of a transaction to trigger the workflow

    Hi,
    I want to trigger the workflow whenever the user changes the status.How can i capture the status.I gone through some forms,there it has mentioned that with the help of SWEL transaction we can find the status,but we can trace the events with that,I want to trace the status.How can i acheive that.
    Thanks & Regards,
    Asmitha.

    Hi,
    im using the SAP R/3 4.6C and trying to launch automatic trigger upon BO FIPP post method. I have configured Instance and Type Linkages but nothing ever happens. Whereas i tried this in SAP IDES and it was working fine.
    What is or could be the problem?
    Best regards
    Laurynas

  • How to trigger the workflow from the excel sheet

    hello friends,
    my problem is that i should trigger the workflow from a excel sheet which contains a list of appraisers and appraisees.how to do this. can anyone  help on this.
    thanks.

    Hi Murthy,
    If you are asking if a workflow can be started on R/3 while in Excel - may be possible if you can develop some fancy macros that can make RFC calls to an ABAP function module. I won't even attempt to travel that route.
    Save the excel sheet as CSV or Tab delimited file and process it using ABAP. You can use the WAPI function module SAP_WAPI_CREATE_EVENT (Rel 4.7)to start the Workflow by raising the relevant event. In earlier releases, see FM SWE_EVENT_CREATE.
    Please do keep in mind there could be performance and response time issues for dialog users of the system if you are going to start several workflows using a report program.
    Cheers,
    Ramki.

  • Error in trigger the workflow

    hi ,guy ,
        I want to trigger the workflow by business application . so I added the started event(event = created) in the workflow builder basic data . it ran ok . but after I added the condition(the condition is &_EVT_OBJECT.CREATEDBY& = WORKFLOW) into the started event ,it do not work successfully .the error message is "Operator 'EQ': The value of the left operand cannot be determined" .
       can someone meet similar problem ?and give me some detail advices about it . thank in advance .
    Jialiang.Qiu

    Hi Jiuliang,
    Are you puting this variable on the Task (Workflow) Bind triggering events as binding ?
    Because I'm not finding the variable &_EVT_OBJECT.CREATEDBY& there.
    Let see if I understand. You want to know who had started the WF ? If yes, you can just create a condition using the value of CreatedByUser.ID. You can compare it with a SAP user name.
    Please try to do this and give me your feedback.
    ps.: Please, if you can send a example, send it to [email protected]
    Message was edited by: Glauco Kubrusly

  • Trigger the workflow for a minimum amount.

    Hi all,
    I would like to trigger the workflow if only the PO amount meet the minimum of 50 euros or more.  Is there any config settings for these. i have checked the release strategies in SPRO..but cant find the amount field..
    Thanks,
    Neslin.

    Hi Neslin,
    Please refer this [link|https://wiki.sdn.sap.com/wiki/display/CRM/Actionprofilesin+SAP-CRM] for help on Action profiles.
    Please note that in case of action profiles also you would have to maintain start condition for the workflow.
    Regards,
    Saumya

  • Rais the event to trigger the Workflow for promotion/demotion

    I am not able to rais the event to trigger the Workflow for promotion/demotion. Is there any standard Object type for promotion/demotion.
            Please repaly.

    Hello Sudheendra,
    Pls visit to following URLs.
    [http://help.sap.com/saphelp_mdm550/helpdata/en/42/f1a957ebfb1a61e10000000a422035/frameset.htm]
    [http://help.sap.com/saphelp_mdm550/helpdata/en/45/0068570b0c0487e10000000a155369/frameset.htm]
    [http://help.sap.com/saphelp_mdm550/helpdata/en/45/efdc5bb7b404a9e10000000a114a6b/frameset.htm]
    [http://help.sap.com/saphelp_mdm550/helpdata/en/45/0068570b0c0487e10000000a155369/frameset.htm]
    Hope it will be helpful to you.
    With regards,
    Krutarth

  • How to use the method for field-exit to trigger the workflow?

    Dear all,
         I want the workflow to trigger , when ever the check box for DELIVERY COMPLETED is checked in ME22N .
         I have developed a method in SE18 for the corresponding field and defined function module SWE_EVENT_CREATE with BOR bus2012 and event CHANGED.
        Now how to use this method to make my workflow to trigger?Shall I create an event in delegated bus2012 and can I call this method?
    Thanks and regards,
    S.Suresh

    Hi
    You want to place your method which is defined for particular filed.right?
    For that you can go for BADI. First you check whether any badi is getting called form that tcode ME22N. Then to place your method, implement that BADI.  So whenever that BADI is getting called, it will call your event. Through Event workflow will be getting triggered.
    Regards,
    Hemalatha.

  • Set the workflow about PPR process as completed status with a report.

    Hi Gurus,
    I need to complete a workflow and all regarding task from UWL.
    To do this, I implemented 2 functions module: the first to execute the dialog step and the second to set the dialog step as completed status.
    When I run the report the both function module doesn't work. Sy-subrc  return me different result as 0.
    If I execute the SWIA T-code, I see all the task and there I execute the "dialog step" WORK ITEM to set it from ready status to started status and after I use "complete manualy" for the same task then the workflow created a new "dialog step" WORK ITEM I do the same with it and the workflow is completed.
    So I would like to do the same in a report with SAP_WAPI_SET_WORKITEM_STATUS and SAP_WAPI_DECISION_COMPLETE functon module ... please see my code below:
    loop at lit_wi_stat where wi_type = 'W' and wi_stat = 'READY'.
    *to set dialog step WORK ITEM as started status.
          call function 'SAP_WAPI_SET_WORKITEM_STATUS'
            exporting
              workitem_id          = lit_wi_stat-wi_id
              status               = 'STARTED'
              user                 = sy-uname
              language             = sy-langu
              do_commit            = 'X'
            importing
              new_status           = lit_wi_status
              return_code          = lv_subrc
          TABLES
            MESSAGE_LINES        =
            MESSAGE_STRUCT       =
    *to set dialog step WORK ITEM as completed status
          call function 'SAP_WAPI_DECISION_COMPLETE'
            exporting
              workitem_id          = lit_wi_stat-wi_id
              language             = sy-langu
              user                 = sy-uname
              decision_key         = '0001'
              do_commit            = 'X'
          IMPORTING
            RETURN_CODE          =
            NEW_STATUS           =
          TABLES
            MESSAGE_LINES        =
            MESSAGE_STRUCT       =
        endloop.
    But it doesn't work correctly.
    Maybe you have a better idea to reproduce the complete process in a report.
    Thanks in advance for your reply..
    Best regards.
    Julien.

    Hi Chandni
    I would presume that you are calling some activity step to perform some operation ...when this fails, you are passing some flag to the workflow to send the email and the "planned" error!
    It's pretty simple then:
    1) Analyze the flag using a condition step
    2) Use mail step to send the email
    3) Call a custom method to raise a workflow exception - workflow will go in error.
    More on Workflow Exceptions:
    BO Based Exception:
    http://help.sap.com/saphelp_nw73EhP1/helpdata/en/4f/372e0cf5d95541e10000000a421937/content.htm?frameset=/en/4f/3457d50a7b5542e10000000a421937/frameset.htm
    How you can define custom BO:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0f157e8-456b-2910-8ea5-c57d9267c913?overridelayout=true
    Or you can also trigger Class based Exceptions if you are using ABAP OO for workflow (custom functionality via Class using IF_WORKFLOW Interface). Just make sure you make your Custom Exception Class as a child of CX_BO_TEMPORARY or CX_BO_APPLICATION
    Regards,
    Modak

  • How to trigger the workflow from RFC

    Hi,
    I need to trigger a workflow from a RFC.How can I call the event and start my workflow?
    How can i do this?
    please advice.
    Thanks,
    Anand

    Hello Anand,
    Goto swetypv transaction.Mention the abap class/bor object with the corresponding event.
    In the receiver type, just mention some unique name.In the receiver function module mention the async RFC.
    Mention the SENDER     TYPE     SIBFLPORB                        Local Persistent Object Reference - BOR Compatible
    EVENT     TYPE     SIBFEVENT                               Event
    RECTYPE     TYPE     SWFERECTYP                               Name of Receiver Type
    HANDLER     TYPE     SIBFLPORB                               Local Persistent Object Reference - BOR Compatible
    EXCEPTIONS_ALLOWED     TYPE     SWEFLAGS-EXC_OK     SPACE     Checkbox
    XML_SIZE     TYPE     SWF_XMLSIZ                               Size in Bytes
    EVENT_CONTAINER     TYPE     SWF_XMLCNT                               Container as XML Stream of Fixed Width
    So that the guid can be used inorder to identify the instance.
    you can use : "sap_wapi_start_workflow" fn module.
    Hope this helps.
    Best Regards,
    Saujanya

  • ***Is there any listener which trigger the method when KEYUP?

    Hi,
    Is there any listener which can trigger the backingBean method when KEYUP!!!!
    Basically, I got 2 input box in the UI where the 2nd box getting enabled when user enters some value in the first box and tab out. I am doing this via valueChangeListener which has attached with first inputBox. But now I want to enable the 2nd input box as soon as the user start enter the value in the first box, how to do this plz..
    thanks
    kln

    Hi klogube,
    If you want to call method in backingbean from javaScript you should use both clientListener And serverListener as:
    1- Add clientListener inside your inputText as :
    <af:clientListener type="KeyUp" method="keyUp"/>2- write javaScript function as :
    <af:resource type="javascript">
        function keyUp(event) {
           var source = event.getSource();
           AdfCustomEvent.queue(source,"callServerListener", {}, false);
    </af:resource>3-Add serverListener inside your inputText as :
    <af:serverListener type="callServerListener" method="#{backingBeanScope.txnBean4.keyUpMethod}"/>Your InputText will be like:
    <af:inputText label="Label 1" id="it1">
          <af:clientListener type="KeyUp" method="keyUp"/>             
          <af:serverListener type="callServerListener" method="#{backingBeanScope.txnBean4.keyUpMethod}"/>
    </af:inputText>4- The java method:
    public void keyUpMethod(ClientEvent event){
    // do whatever u want
    }Sameh Nassar

Maybe you are looking for

  • Mass Realease of Production Order of BOM Item Multi Level

    Dear Gruru,       I have one requirement from client, if i release fert or halb production order then it will relaese all order as per BOM. how it's possible, what are setting required for this. i used sp proc 52 for all materials in bom. in this som

  • Changing the AnyConnect host connection

    Hello, We have many users using the Cisco AnyConnect client and to get to our company they go to vpn.company.co.uk.  We are changing our company name so we are creating a now FQDN called for example vpn.newcompany.co.uk which will point to our ASA. 

  • "New" 2008 24" iMac without restore/install DVDs.

    Hi Everyone! Thanks for allowing me to ask my question and for your responses. I just purchased a 2008 24" iMac from a friend of mine. He had tried to wipe the entire computer but some things he couldn't remove. Now that I have it I want it to be jus

  • Can't find how to activate "Status Bar" on Firefox 4 Beta 7

    Status Bar option is not on View menu. Where is is?

  • Write a note in MIR6 using an ABAP custom report

    Hi all, i've to create a custom ABAP report which parameters are: rbkp-belnr, rbkp-gjahr and field(70). When report runs i've to write field(70) in Note of mir4 called for that rbkp-belnr before inserted! How can i do it? I know FM as EDIT_TEXT, SAVE