Change Delivery Date in a PR

Hi,
I have requirement whenever you create a PR from ME51n or change PR from ME52n
the Delivery date must be manipulated from a custom table, if I have 2 days in a custom table I must add the 2 days to delivery date
and update the same, if an entry is not found I have to display a Warning message.
I have used the BADI, ME_PROCESS_REQ_CUST method PROCESS_ITEM, but I am not able to display a Warning message from here.
I have tried EXIT_SAPLMEREQ_005, I am able to display the Messages and add the days but this is called more than 1 time each time I change any item it is trigerred more than once. Can you please tell how can I control the iterations here.
Or is it Possible to display a Warning message from PROCESS_ITEM ?
Is there any other way I can go please advise me your valuable inputs.
Thanks & Regards,
Kalyan

Hi Thanks for your reply.
But the Tcode that you have mentioned appears to be in the SCM system and it calls an External Procurement Relationships report. My requirement is as follows:
I have a date generated based on the Route Schedule id (VL51, VL52) and I need to sync this date with the Goods issue date of the Sales Order created. So whenever a sales order is created with the schedule line dates, i need to modify the dates generated by the system with my dates like I will have to call a FM or a BAPI by passing the new GI date and get the new set of dates and populate them on the Sales Order schedule lines screen.
This scenario will happen for a GATP (Global Available to Promise) where by the ECC system does a remote call to the APO system to get the new dates. I will have to modify these dates with a new set of dates created either using a FM or a BAPI and populate them again on to the screen
Thanks,
Susanth Kumar

Similar Messages

  • How to change delivery date (LFDAT) in  me57 item data

    hi ,
    While  Creating purchase order  (me57)  . on the basis  of info rec   . i want to change  delivery date  by
    passing  info rec to table eine and get field aplfz  .
    then adding  aplfz to sysdate    and pass it to 
    Delivery date   .
    i have done this using USER EXIT  EXIT_SAPMM06E_016
    and modified table  teket  with field eindt   but still in screen fields  it shows  old date value   .
    After Debugging i found that  that  it passes value from internal table ETT[] .
    how to modify internal table ETT[]  which is used to display data on screen   .
    regards
    Deepak.
    Edited by: Deepak Dhamat on Jun 8, 2011 8:32 AM
    Edited by: Deepak Dhamat on Jun 8, 2011 10:35 AM

    hi ,
    i have  implemented BAdi  me_process_po_cust
    for changing Delivery date   .
    method if_ex_me_process_po_cust~process_item .
    data : eeind_dt type eket-eindt ,
             t_aplfz type eine-aplfz ,
             delivery_dt(10) type c.
      ls_item = im_item->get_data( ) .
    if sy-tcode = 'ME21N' .
        select single aplfz into t_aplfz  from eine
          where infnr  = ls_item-infnr .
        if sy-subrc = 0 .
          if t_aplfz is  not initial  .
            eeind_dt  = sy-datum  + t_aplfz  .
            concatenate  eeind_dt6(2) eeind_dt4(2)  eeind_dt+0(4) into delivery_dt .
          endif.
        endif.
        ls_item-eeind = delivery_dt .
        call method im_item->set_data
          exporting
            im_data = ls_item.
        clear : delivery_dt  ,t_aplfz  ,eeind_dt .
      endif.
    regards
    Deepak.

  • Change Delivery date in Sales Order

    Hi all
    I want to change Request Delivery Date in Sales Order. But when I changed Request Delivery Date system appear" The default date is not copied into existing schedule lines"
    And Delivery Date didn't change.Could you tell me how to change Delivery Date ?
    I setup Request Delivery Date - September 21th but Availability Date is September 19th. Could you tell me how to setup loading time, picking time, packing time ?
    Thank and Best regards,
    Thang

    Hi,
    When you change the Request Delivery Date, it automatically changes the schedule line date of all the materials, but by default does not change the schedule line date of the ordered material.
    So just check the ordered material schedule line date and change it manually in the order.
    Similarly maintain the same date in all the resp fieldsi in the delivery, wherever you see the date.
    Regards,
    Siddharth.

  • Planned order creation via MRP depends, If we change Delivery date in STO

    Hi,
    Planned order  creation via MRP depends, If we change Delivery date in Stock transfer Order.
    I created STO with delivery date as 31.1.2012 and when i checked MD04, i can see Planned order created on 27.2.2012 with the same above STO quantity .
    Now when i changed the delivery date as 30.1.2012 and runned MD03, and then checkd MD04, planned order disappeared.
    Why Planned order got created when STO delivery date was 31.1.2012 and when I changed the delivery date in PO, planned order disappeared.
    MRP profile details :
    Plnd delivery time   1
    GR processing time   1
    Planning time fence  38
    Tot. repl. lead time 38
    Can you please let me know why system is beaving in this manner?
    Regards
    Utsav

    Hi,
    Normally , MRP runs based upon the requirements.If your STO is created for a date , system checks through the availabiloty check wheather there exists any stock for that date to get deliverred in the supply plant .If there exists for that date the stock , planned order will not be created.If no stock available then a planned order will be created in MRP.
    cHECK the availability check parameters assigned to material master in supply plant.
    Regards,

  • Changing delivery date ?

    Hi ,
    I have created P.O. Now while creating delivery with VL10F , can i change delivery date using exit,badi ?
    if yes then which badi shall i use ?

    hi
    its standard functionality of SAP I think it cannot be changed.

  • Change delivery date on sales order -- change of Billing date on item

    Hi,
    We are trying to change a delivery date for a sales order's item, if we do so normally the billing date on that item's billing tab will change automatically also.
    Now, for a specific sales order the billing date in the billing tab is not changing.
    We compared 2 sales orders .. the same statusses - no blocks - ... and with one it works (changing of the billing date) and with the other it does not work..
    Please help !
    thanks a lot!

    Hi,
    Check the following.
    If invoice dates are defined for the customer, the system proposes the billing date from the invoice date calendar. If no invoice dates are agreed, then the actual goods issue date is formed on the basis of delivery related billing. In order related billing, the billing date of the order forms the basis of the billing date.
    If you are billing services, the system proposes the date of services rendered. You can change the date manually in the sales document.
    If you are using a billing plan to bill a project, the system can propose billing dates for the billing plan on the basis of planned or actual dates in the corresponding milestone.
    In a billing plan for a maintenance or rental contract, you can specify rules by which the system determines billing dates on the basis of other dates in the contract.
    Regards
    Nadarajah Pratheb

  • Change delivery date in schedule line

    High gurus,
    I need some help. How is it possible to change the delivery date in a schedule line generate by APO ?
    Thanks.

    Hi Thanks for your reply.
    But the Tcode that you have mentioned appears to be in the SCM system and it calls an External Procurement Relationships report. My requirement is as follows:
    I have a date generated based on the Route Schedule id (VL51, VL52) and I need to sync this date with the Goods issue date of the Sales Order created. So whenever a sales order is created with the schedule line dates, i need to modify the dates generated by the system with my dates like I will have to call a FM or a BAPI by passing the new GI date and get the new set of dates and populate them on the Sales Order schedule lines screen.
    This scenario will happen for a GATP (Global Available to Promise) where by the ECC system does a remote call to the APO system to get the new dates. I will have to modify these dates with a new set of dates created either using a FM or a BAPI and populate them again on to the screen
    Thanks,
    Susanth Kumar

  • Function Module for Changing delivery date

    Hi Friends ,
        I am held up with a scenario of changing the delivery date while creating purchase order. Could you please suggest any function module to change the delivery date in purchase order if it is less than 5 days.
    With Regards ,
    Sudhir S
    Moderator message: please do some own research before asking.
    Edited by: Thomas Zloch on Feb 21, 2011 11:45 AM

    Hi praveen for u r requirement there is no need of any FM
    Try this code
    parameters:
      p_date like sy-datum,
      p_no type i.
    data:
      w_date like sy-datum.
    w_date = p_date - p_no.
    write: / w_date .
    it is enogh for u r requirement
    plzz reward if it is usefull...
    for any further quiries my mail id is [email protected]
    plzz dont forget to reward

  • BAPI for changing delivery date and delivery time fields in LIKP table

    Hi All,
         Is there any BAPI or function module to change the delivery date and delivery time in LIKP table ?
    Please tell me experts if exists.
    Thank you,
    Raghu.

    try these:
    BAPI/FM to update LIKP and VTTK tables
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bapi-for-changing-sales-headertable-likp-662800

  • How to Change delivery  date in Sales Order????

    Hi Guru
    If i creating Sales order (OR) for eg date 29/11/2007, for delivery date it will 6/11/2007, If i change Mannualy for delivery date, it will getting some error, i need delivery date should be one or two days delay only.
    regards
    [email protected]

    Hi Mohammed,
    In the sales document type configuration screen you have the field for Delivery Date Proposal. Use the appropriate value that is required. Also confirm the order date in your question is later than the delivery date maybe that is the reason why the system is giving you an error.
    Regards
    Nadarajah Pratheb

  • How to Change delivery date of Purchase Requisition created from PM  module

    Hi all,
         We are creating service PR from PM module. There is a need that user should be able to change the
    Delivery Date of the PR. When we use ME52N , the field is grayed out.
    If the PR is created with same data manually with ME51N, we are able to change the delivery date.
    Please suggest how to do this.
    Thanks

    I´m sorry, but my english, is not better.
    Why in the Scheduling for External Procurement, the Purchase Requisition take (or picks up) as Delivery date, the Basic End Date of the Maintenance Order (PM). 
    What must I do in the customizing so that the Purchase Requisition takes (or picks up) the delivery date as the Basic End Date of the Maintenance Order.
    Please, helpme..
    Cristian Torres

  • How to change delivery date in confirmation tab in item overview in PO

    Hi,
    I am using ME_CONFIRMATION_UPDATE to add delivery date into the confirmation tab in item level.It is adding new line item.
    It is even updating the table EKES.
    Now my requirement is to change the delivery date from the above PO. Is there any function module for the same.
    PLEASE GUIDE ME.
    Thanks,
    Vengal Rao.

    Hi,
    Our client is into Apparel business and using SAP-AFS.  Some time at the last moment the due to change in customer delivery date there is a requirment to change the delivery date in confirmation tab also..
    Thanks,
    Vengal Rao.

  • Need to change delivery date in purchase order when it is created by ME59

    Hi Gurus,
    Purchase orders are created using Transaction ME59 where we give the Purchase Requistion. The delivery date in the PO will be same as the delivery date of PR. According to my requirement i need to change the date of PO while the time of its creation. could you please suggest me all  the user exits to do this...

    Check with badi ME_PROCESS_PO_CUST method PROCESS_HEADER - method SET_DATA

  • Vl10b change delivery date definition on selection screen

    Okay - here is the scenario.
    I have a custom field that i wish to use as the basis for delivery date fields on the selection screen in VL10B.
    The selection screen use the fields VEPVG-LEDAT for the delivery date range.  i wish to use my own custom delivery field for the selection.
    I have noted that VL10B actually executes VL10X -and VL10X has several user exits that could be applied.
    Anyone know how I could accomplish this?
    Thank!

    Fields on selection screen are mere names. You can give any name. In this case its ST_LEDAT .
    How they are used inside the program is something you may like to change.
    If you do a "find" for ST_LEDAT in program RVV50R10C you will see at how many places this select option is used .
    If you want to change the behaviour ( select statements) you can copy the report and modify it.
    Cheers

  • SRM PO Response - Change Delivery Date & Quantity

    Hi experts,
    when creating a PO Response in SRM, is it possible to change some datas as the delivery date or the quantity?
    Currently we are able just to change the field "Name of the POR ". But we would like to modify some other fields as the delivery date and the quantity.
    Is it possible to modify other datas within the PO Response?
    In positive case, could you please suggest me what is required to activate these changes?
    Thanks a lot.

    Hi Anirban,
    thanks a lot for your support.
    We are using  SRM 4.00. Maybe we need to implement a SAP Note, because currently we are not able to modify any data when creating a PO Response (a part the name) nor to display the items tab.
    I will check if some Note apply therefore.
    Another point related to PO Response created in SRM is the following:
    Do you know if the information created in SRM is then replicated to R/3? Or in case PO Response are created in SRM the standard is that no information is sent to R/3? At the moment, after the creation of a PO Response, if i check in ME23N the PO, there is no information updated regarding the PO Response.
    Thanks in advance for your support.
    Regards,
    Roberto

Maybe you are looking for

  • How can I save a contact in gmail from my iphone 4s?

    I just got the new I-phone 4s, when I pick up a new gmail, I sometimes need to save the email address in my "contacts" directly from my I-phone.  I see where to reply and save the email, but I cant seem to put the actual email address in my contacts.

  • I set up wireless router and now it won't turn back on

    I had a friend set up the router so that my Comp sent out wireless signal. It doesn't automatically turn on and I can't find how to turn it back on. Please help i'm new to mac and these things are putting me off having one.

  • HT5704 how do i downgrade my iphone 4s from ios 7 to ios 6.1.3

    how do i downgrade my iphone 4s from ios 7 to ios 6.1.3?

  • Copying slideshow to CD/DVD

    Is there any way to transfer or copy or backup a complete slideshow made in lightroom to a CD or DVD so that contains photos and music so I could play it on another computer? Anway to save it to Hrd Drive? Thanks. Matthew Kraus

  • Cisco vwlc ha

    Hi, is it possible to configure ha in virtual WLC?? thanks, nitesh