Trigger workflow whenever  Req. deliv.date of a SO is changed

Hi,
I have a requirement where i have a workflow which will be trigerred whenever Req. deliv.date of a sales order is changed.
I have added an event for this in a customized business object type. This event is the start event for the workflow.
Now i have to call this event for VA02 transaction.
Is there any iser exit in which i can call the event?
Please help.

Hi Rakhi,
Instead of looking for user-exits. Try using the standard event and you can create and attach a check FM which will check that the "Req Deliv Date field" is changed or not.
If not changed, then you can raise an exception there only and will not procedd further.
If changed, then your task will trigger where you have written your code.
This way its easy and saves your time for finding the proper exit.
Hope it resolves your query.
Regards,
Manish
Edited by: Manish  Bisht on Jul 2, 2009 7:00 AM

Similar Messages

  • Req. deliv.date should exclude holidays and weekends

    Hi guy,
    When I try to create my sales order. The Req.deliv.date and First date will automatically fill with date. The question is it should exclude weekends and holiday, but the result is not. Just like that
    The 07/12/2014 is Saturday. How should I make it automatically exclude weekends? Thank you in advanced.
    Best,
    Peter

    Hi Peter,
    The requested delivery date is the date that the customer is requesting the material arrive at their site. Therefore, the logical calendar to check this against is the unloading point calendar of the customer. Please maintain an unloading point and assign a calendar for the customer in transaction VD02.
    When you do this, the system will issue a warning of you enter a non-working day. There is not possibility to change this to an error in the standard system. The system assumes that the user knows what they are doing and takes priority over the warning message. However, the warning message does inform the user of the next working day.
    I remember replying to a similar thread about this before. You can find it here:
    No Schedule Line Dates on Weekends

  • Req Deliv. Date required on order create VA01 Copy with Reference to Quote

    When creating an order with reference to a quote, the screen allows Req Deliv Date entry. I would like to make this field mandatory on the window 'Create with Reference'. Program is SAPLV45C and the screen is not certain: could be 0100, 0301, 0302, 0303, 0900.
    Have been looking at maintenance via SE51, but not sure if any of the element characteristics translate into 'required' so user is unable to click "Copy" if the date is without a value.
    Thank you.

    It is possible by changing the SAP standard.
    You can change the special attirbutes (Tick the checkbox in Req. field) in elements list of each screen which you have mentioned through SE51 transcation
    Regards,
    Udayasankar Rajagopalan

  • We have three discussions forums with same subject. whenever a post gets new reply in one forum, it should automatically trigger workflow functionality to check conditions and send the same reply to other synchronized forums.

    we have three discussions forums with same subject. whenever a post gets new reply in one forum, it should automatically trigger workflow functionality to check conditions and send the same reply to other synchronized forums.
    Rajiv Kumar

    Hi,
    More details about your discussions forum will make others easier to find a corresponding solution on your requirement.
    If you mean there are three Discussion Board list waiting for synchronizing, I would suggest you create an Event Receiver for the three Discussion Board list.
    Here is a link with code demo about how to copy items from one Discussion Board to another including Replies:
    http://spcodes.blogspot.com/2013/03/programmatically-copy-items-from-one.html
    Here is a step by step sample on creating a simple Item added event receiver for Custom List in SharePoint 2010:
    http://msdn.microsoft.com/en-us/library/ff398052.aspx
    More information on Event Receiver for your reference:
    http://msdn.microsoft.com/en-us/library/gg749858(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/ff408183(v=office.14).aspx
    Feel free to reply if there are still any questions. 
    Best regards
    Patrick Liang
    TechNet Community Support

  • Change line item in PR, PO, Sch agreement, contract to trigger workflow.

    Hi.
    The requirement is whenever there is a change in a line item. The workflow is to trigger. When I use the events:
    SIGNIFICANLYCHANGED IN BUS2009
    CHANGED IN BUS2012 (ENTRY MAINTAINED IN SWEC)
    Z_CHANGE IN BUS2013 (ENTRY MAINTAINED IN SWEC)
    CHANGED IN BUS2014 (ENTRY MAINTAINED IN SWEC)
    The problem with the above events is that, right after the event "RELEASESTEPCREATED" the above events get triggered automatically. My requirement is that, it should get triggered only on line item changes (new version of the purchasing document is created).
    Thanks and expecting a reply soon..
    Sukumar.

    Hi Vinoth,
    I did the same thing but a bit differently.
    i used the code as below.
    DATA: container like table of swr_cont with header line, xeban like table of  ueban with header line, xebkn like table of uebkn with header line, yeban like table of  ueban with header line, yebkn like table of  uebkn with header line, object_key type swr_struct-object_key, item_numc type numc05.
    select * into corresponding fields of table xeban from eban where banfn = number and bnfpo = item.
    select * into corresponding fields of table xebkn from ebkn where banfn = number and bnfpo = item.
    yeban = xeban.
    yebkn = xebkn.
    read table xeban index 1.
    xeban-kz = 'U'.
    xeban-banpr = '08'.
    modify xeban index 1.
    CALL FUNCTION 'ME_UPDATE_REQUISITION'
    TABLES
    xeban = xeban
    xebkn = xebkn
    yeban = yeban
    yebkn = yebkn.
    This solved the issue as far as PR is concerned. I need to update PROCSTAT in EKKO for PO, scheduling agreements and contracts.
    Let me know about this.
    Thanks,
    Sukumar.

  • Trigger Workflow on User sattus change !!!!

    Dear all,
    I need to develop a workflow which should get triggered when user status is changed in the Maintenance Order. I have used Event Trace (SWELS) to trace the event but gettinng nothing when user status get changed what could be the reason.
    Please help me to proceed as i m new to the workflow.

    Hi MB,
    I have checked the transaction SWEL there i have forund that on the BOR object AFVC_PM task TS2000015 is attached and the event linkage checkbox is checked but i don't know whether it is working correctly or not i have seen that there is a workflow WS20000031 for Maint. Order but don't know how to configure it.
    What i have dont till now is i have made my own workflow which will just send mail, now i want that i could include my Maint. Order No. when mail is sent to the addresed reciptient could you please help me on this .
    Second thing what i have done in is that in transaction SWE2 i have added a new entry for the BOR object AFVC_PM in this i have given the following entry:-
    Object Category  :-  BOR Object Type
    Object Type        :-  AFVC_PM
    Event                  :-  RELEASED
    Receiver Type      :-  WS80000003
    Receiver Call                   :-  Function module
    Receiver Function Modue :-  SWW_WI_CREATE_VIA_EVENT_IBF
    And then i have checked the box Linkage Activated.
    Now is this sufficient to trigger my workflow whenever the Maint. Order is released or something else is to be done.
    I m totally confused what to do now please guide me.
    Also i have one question
    When we say that we have to create our own event is this mean that we have to create a BOR object? If no then from where we can create our own event what is the procedure for it .
    Please help me.

  • How can i trigger workflow from report

    hi i create one report and workflow. i want to trigger workflow from report, how can i do this one, please send me any code you have.
    Thanks & Regards
    Sankar

    Hi Sankar,
    There is another sample code...
       REPORT ZRGEVTCR.
    INCLUDE <CNTN01>.
    DATA: OBJKEY  LIKE SWEINSTCOU-OBJKEY,
          EVENTID LIKE SWEDUMEVID-EVTID.
    DATA: BEGIN OF EVENT_CONTAINER OCCURS 0.
            INCLUDE STRUCTURE SWCONT.
    DATA: END OF EVENT_CONTAINER.
    PARAMETERS:
      OBJTYPE  LIKE SWETYPECOU-OBJTYPE DEFAULT 'ZRGMARA',
      MATERIAL LIKE MARA-MATNR,
      EVENT    LIKE SWETYPECOU-EVENT   DEFAULT 'CREATED',
      VOLEH    LIKE MARA-VOLEH,
      LED      LIKE SY-DATUM           DEFAULT '19971231'.
    OBJKEY = MATERIAL.
    CLEAR EVENT_CONTAINER. REFRESH EVENT_CONTAINER.
    set input parameters for CREATED event.
    remark: to be more general, we had to use fm SWO_QUERY_PARAMETERS
    IF EVENT EQ 'CREATED'.
      SWC_SET_ELEMENT EVENT_CONTAINER 'LatestChangeDate' LED.
      SWC_SET_ELEMENT EVENT_CONTAINER 'VolumeUnit' VOLEH.
    ENDIF.
    CALL FUNCTION 'SWE_EVENT_CREATE'
         EXPORTING
              OBJTYPE           = OBJTYPE
              OBJKEY            = OBJKEY
              EVENT             = EVENT
         IMPORTING
              EVENT_ID          = EVENTID
         TABLES
              EVENT_CONTAINER   = EVENT_CONTAINER
         EXCEPTIONS
              OBJTYPE_NOT_FOUND = 1.
    IF SY-SUBRC NE 0.
      WRITE : / 'Object type', OBJTYPE, 'not found in object repository'.
    ELSE.
      IF EVENTID NE 0.
        WRITE : / 'At least one receiver was found'.
        COMMIT WORK.
      ELSE.
        WRITE : / 'No receivers found'.
      ENDIF.
    ENDIF.
    Hope this will help you to solve your problem that how to trigger workflow from the report.
    Thanks,
    Pramod

  • Workflow for PP01 ( Maintain Data)

    Hi Experts,
    Could you please let me know the workflow for PP01 ( Maintain Data ). whenever the Object type is  changed from Active/Planned/Submitted/Approved/Rejected.  an E-mail has to be sent through Workflow.
    Thanks in Advance.
    Regards
    Santosh Kumaar.M

    There are some events that are triggered on changing data........
    you can go to swels to activate the event trace
    and swel to read it.......
    change the data and identify the event getting triggered.......
    go to swe2
    to identify if there is any workflow available linked to this event and then activate the linkage...... if available otherwise you can put your custom workflow with the event....
    Regards,
    Divya

  • Automatically trigger the event to load data from Planning cube to Standard Cube

    Hello,
    We have a below set up in our system..
    1. A Planning BEx query using which user makes certain entries and writes back data to the planning cube.
    2. An actual reporting cube which gets data from the planning cube above.
    Now, what we want to do is to automate the data load from Planning cube to Reporting cube.
    This involves 2 things..
    1. Change the setting " Change real time load behaviour " of the planing cube to Planning.
    2. Trigger the DTP which loads data from Planning cube to reporting cube.
    We want to automate the above two steps...
    I have tried few things to achieve the same..
    1. Created an event in SM64,
    2. In the Planning cube "Manage" Screen,  clicked on "Subsequent Processing" and provided the event details. ( Not sure if its the correct place to provide the event detail ).
    3. Wrote a ABAP program which changes the setting of the planning cube (  " Change real time load behaviour " to Loading )
    4. Created a process chain, where we have used the event as a start variant, used the ABAP program as a next step, DTP run as the last step..
    This i hoped, would trigger the event as soon as a new request comes and sits in planning cube, which in turn would trigger the process chain which would load the data from Planning cube to reporting cube..
    This is not working. I dont think the event is triggering, and even if does i am not sure whether it will start the process chain automatically. Any ideas please ?

    hi,
    try to do the transformation directly in the input cube by using CR of type exit, more details :
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/43/1c3d0f31b70701e10000000a422035/content.htm
    hope it helps.

  • How to trigger workflow for already created purchase order ?

    HELLO EXPERTS
    let me clear my scenario first . i have 1 purchase order whose workflow is not triggered . means it is showing me message no workflow that have already worked for this object.i have created 1 more purchase order taking reference of this purchase order means both are same same message for this po also. it was happening because event linkage for the business object bus2012 is not activated but now it is enabled and i have created third purchase order with reference to above po means this third po is also same as above 2 no change other than po number but for this workdflow is getting triggered . now i want to trigger workflow for orignal first po but for my first po it is showing me same message that no workflow that have already worked for this object. what i have to do to trigger workflow for this po. i have performed this steps in test system. i have workflow number

    Hello !
          You can trigger the workflow from SWUE.Enter bus2012 and created for object type and event respectively.
          Click object key button where enter the purchase order number which have been already created.
          But, why do you want to trigger the workflow again for already created purchase order ?
    Regards,
    S.Suresh

  • Bapi to be used  for delivering data of outbound delivery to LDL

    Hi,
    I am new to ABAP development and I need to do some enhancements for standard bapi BAPI_OUTB_DELIVERY_SAVEREPLICA .
    I have to use bapi for delivering data of outbound delivery to LDL.
    I have created segments with additional fields for order header and item header in we31.
    The additional fields should be implemented in created segments.After creating segments the additional fields data should be assigned to Idoc structure OBDLV.
    This is the requirement I need to deliver  by tomorrow.Please help me by providing step by step procedure and how to do?
    Thanks in advance
    Raj

    Dear Venkat,
    for cancelling GI/GR you may use BAPI_GOODSMVT_CREATE with GM_Code 06
    for cancelling confirmations you may use BAPI_PRODORDCONF_CANCEL
    Regards, Andreas

  • Workflow based on created date field in opportunity?

    Hi All,
    Can we write a workflow based on created date field in opportunity that if a opportunity record has not been modified after say 90 days,what will be the workflow syntax.
    I just want an email notification to owner and owner's manager.
    Thanks in advance,
    Manish.

    I think you can use the WAIT workflow using Duration('P90D') then Send Email, triggering it upon save and upon modification. Make sure that the Re-evaluate Rule Conditions After Wait option is checked so that the previous WAIT would be reset upon modification.
    Edited by: marcocollado on Aug 31, 2012 5:57 AM

  • Trigger workflow from web form

    HI Experts,
    I have a requirement to trigger workflow when a web form  is completed through a portal and saved.I also need to perform certain validations on the fields in the web form before triggering the workflow.The web form would then go the proper approvers and then I need to send notification messages on Approval or Rejection.I am at loss of thoughts as to how I can achieve this functionality.
    I also need to send reminders to the approver every 2 hours till he takes some action.
    Any suggestions would be of great help and would be rewarded appropriately..
    Regards,
    Narsingh

    Hi Narsingh,
    the solution depends much on the web form you are implementing.
    Is this a standard portal application you are working on? Or are you developing also the form from scratch?
    The previous answers just tell how you can trigger a workflow if the application doesn't trigger it itself.
    If the web form is a standard application or built with process frameworks like HCM Processes and Forms/ISR/PCR, then the event is often published by default without any customization.
    No answers, just questions...
    Kind regards,
    Mikko

  • Deliv. date outside period covered by factory calendar IN

    Hi Experts,
    I am trying to create Purchase Order with 2011 year delivery date system is showing bellow issue in production server.
    Deliv. date outside period covered by factory calendar IN
    Message no. ME078
    Please advice me how can i overwrite this problem immediately.
    Thanks in advance,
    Chandhu

    Dear Experts
    I tried the method which mentioned above, but when I tried to change the Valid Fr. Year 1996 to Year 2011, it probe me the message "Please enter validity area between years 1995 - 2010." and I wasn't allow to save.
    Pls advise how to solve the above problem.
    Thanks.

  • To make the "req.delivery date" field non-mandatory in VA01 Transaction

    Hi All,
    I want to make "req. delivery date"(RV45A-KETDAT) field non mandatory in VA01 transaction.
    I have already checked on screen 4440 .This field is not mentioned as required field.
    Please help me to find where can i make this field non-mandatory.
    Thanks and Regards,
    Dipali.

    Hi,
    this is a required field, as far as the standard SAP code goes: everytime this field is touched the following function is executed in programme FV45EF0V_VBEP-EDATU_EINGEBEN:
        call function 'PERIOD_AND_DATE_CONVERT_INPUT'
          exporting
            external_date     = rv45a-etdat
            external_period   = rv45a-prgbz
          importing
            internal_date     = vbep-edatu
            internal_period   = vbep-prgrs
            ev_date_in_past   = lv_date_in_past
            ev_period_in_past = lv_period_in_past
          exceptions
            no_data           = 1
            period_invalid    = 2
            date_invalid      = 3.
        case sy-subrc.
          when 1.
            set cursor field 'RV45A-PRGBZ' line sy-stepl.
    * Bitte Datum eingeben
            message e394.
    The only way to avoid this is create an implicit enhancement at the beginning of this form, copy the exisitng code in there, delete the message after WHEN 1. and put RETURN at the end of the enhancement. But this would be HIGHLY UNRECOMMENDED, because I am positive you cause a lot of misery later on in the process: this field is mandatory for a reason!
    Roy

Maybe you are looking for

  • Safari fails to open pages - "server not responding"

    Hello all. I just got my new MacBook a few days ago. This is my first Mac and I love it! Safari was working perfectly until yesterday. When I try to open any webpage, it says that Safari "failed to open page because the server stopped responding". An

  • User exit for mb02

    Hi friends,   For MB02 Trans i need a user exit. I found out that the following exit can be used. Mainly MBCF0002 as for MB01 Trans.But,when I placed a breakpoint in this exit.It is not triggering. I tried other exits also.But none of the exit is tri

  • Using Numbers to shedule sort problem

    I am using Numbers to schedule the times that groups perform at an event I am organizing. If I make a time change to a group Numbers has also tagged this with the date of my entry and this affects the sorting. Is there a way to turn this off? I have

  • More than 50 items in content Search Web part

    HI, How can i override the maximul limit of 50 items in a content search web part? I have a specific requirement where I need to show more than 500 items with Paging activated. Kindly advise hwo it can be achieved. Thanks, kesari suresh

  • Kernal panics on macbook pro

    Hi, thanks for letting me know that a.brody. I have had my macbook pro since late jan, not long after getting it back home to the uk as I bought it in the us I started having kernal panics, spoke to the apple care team they told me to archive and ins