Set Delivery date blank - URGENT

Hi All
I am working on SRM 5.0.
I have received a requirement to blank out/clear DELIVERY DATE/ REQUIRED ON field.
For example: Click Describe Requirement ,and there will be fields to be filled up and the REQUIRED ON field is defaulting to system date/current date.
I have managed to clear/initialize this field via BADI BBP_CHANGE_DEFAULT - CHANGE_DEFAULT_DELIV_DATE.
My problem is, when I click Add to shopping cart (assuming i have entered all in the fields with an empty REQUIRED ON date), the next screen will automatically capture system date (not my blank date). Thus no error prompting to enter the REQUIRED ON date.
How do I capture the REQUIRED ON is empty and for the next screen after clicking ADD TO SHOPPING CART, and display error when its empty?
I have tried BBP_DOC_CHANGE_BADI and when i see parameter IT_ITEM, the DELIV_DATE field is already populating current system field. I want to know how to capture the blank/cleared REQUIRED ON field that is empty, before I click on the button 'ADD TO SHOPPING CART'.
Please help, point will be rewarded

How do I capture the REQUIRED ON is empty and for the next screen after clicking ADD TO SHOPPING CART, and display error when its empty?
Your question confuses me a bit. You seem to want the field to be mandatory. Then why do you want to blank out the field defaulted by the system? The standard behavior simply suggests that the system demands that the field be filled, if not manually (i.e. left blank in the first screen), then defaulted to current date when adding to SC.

Similar Messages

  • Delivery date blank in PR (Purchase requisition)

    Dear All,
    I have got a requirement that Delivery Date should be blank instead of sy-datum in Purchase Requisition (ME51N), so that user can enter his date .
    I tried BAPI and user exits for PR, but the structures used there do not contain the Screen field EEIND. So I m unable to handle it.
    Please suggest me what else i can do.
    Thanks
    -Harshita Saxena

    Done same for PO:
    Implemented badi : ME_PROCESS_PO_CUST
    method : OPEN
    METHOD if_ex_me_process_po_cust~open.
       DATA: lv_del TYPE char1 VALUE 'X'.
       lv_del = 'X'.
       EXPORT lv_del = lv_del TO MEMORY ID 'POD'.
       EXPORT lv_itm = '00010' TO MEMORY ID 'ITM'.
    ENDMETHOD.
    Method : Process_item
    METHOD if_ex_me_process_po_cust~process_item.
    DATA: lv_del TYPE char1,
             lv TYPE char1,
             lv_itm TYPE char5,
             lv_ebelp TYPE char5.
       IMPORT lv_del = lv_del FROM MEMORY ID 'POD'.
    ls_mepoitem = im_item->get_data( ).
       ls_mepoitem-eeind = ' '.
       ls_mepoitem-eindt = ' '.
       IMPORT lv_itm = lv_itm FROM MEMORY ID 'ITM'.
       lv_ebelp = ls_mepoitem-ebelp.
       IF lv_del = 'X'
         OR lv_itm NE lv_ebelp.
         CALL METHOD im_item->set_data
           EXPORTING
             im_data = ls_mepoitem.
         lv_del = ' '.
         EXPORT lv_del = lv_del TO MEMORY ID 'POD'.
         EXPORT lv_itm = lv_ebelp TO MEMORY ID 'ITM'.
       ENDIF.

  • Setting Delivery dates in the Purchase requisition

    Hi,
    We have generated Purchase requisition through MRP procedure. we need to generate the delivery date for  every monday on a weekly basis . Is there any way to set the delivery date like this .
    Sanjeev

    Hi,
    I dont think, if there is any such configuration for this.
    You may have to co-ordinate with the Abap guy to get this requirement done.
    - Santosh Bangera

  • Delivery date mandatory in Purchase requisition .

    Hi all,
    I want to make the delivery date mandatory in the purchase Requisition and currently the current date is defaulted there , i want that nothing should be there initially.
    Please provide the configuration setting.
    Regards,
    Kapil.

    Hi,
    U can make the delivery date field as mandatory in PR , by setting delivery date field as required entry in PR sscreen layout in customization.
    Go to SPRO- MM - Purchasing - PR- Define screen layout at doc level - ME51N - Deadline monitoring - Delivery date ( Make this field as reqd entry ) and save it.
    And regarding ur second question the default date should be blank, the date gets calculated here based on the planned del time maintained in materila master in MRP2 view.
    So if the date showing is todays date when u r creating PR today means, the planned delivery time maintained in MMR is zero days.

  • Delivery date mandatory and not defulted current date

    Hi all,
      I want to make the delivery date mandatory in the purchase Requisition and currently the current date is defaulted there , i want that nothing should be there initially.
    Please provide the configuration setting.
    Regards,
    Kapil.

    Hi,
    U can make the delivery date field as mandatory in PR , by setting delivery date field as required entry in PR sscreen layout in customization.
    Go to SPRO- MM - Purchasing - PR- Define screen layout at doc level - ME51N - Deadline monitoring - Delivery date ( Make this field as reqd entry ) and save it.
    And regarding ur second question the default date should be blank, the date gets calculated here based on the planned del time maintained in materila master in MRP2 view.
    So if the date showing is todays date when u r creating PR today means, the planned delivery time maintained in MMR is zero days.

  • Delivery dates need to be reset

    Hi all,
    I came across a scenarion:
    Client wants that while creating Sales Order, the delivery date should pick up only the furture date and no past dates or current dates should be picked up. the options in the delivery date should be like this : future date should be enabled
    past dates and current dates: disable
    i.e if we create a Sales Order on 11.12.2007, then delivery dates should have options of future dates starting from 12.12.2007 only. The options for past dates and current dates like 11.12.2006 and 11.12.2007 should be disable. So, that end users cannot pick accidentally past or current dates.
    Thanks in advance,
    Sourav

    Hi Sourav,
    In VOV8 for a sales Doc type, you can set the set Delivery date by putting no. of days in delivery (Lead time in days, field). Hope this will suffice your requirement.
    Regards
    SD

  • PO Delivery date change using IDOC type "PORDCR101"

    Hi All,
    I am trying to create a PO using idoc type "PORDCR101". Everything is fine, PO is getting created. But the problem is that, even if I pass delivery date at item level system is automatically changing delivery date to future date (some of the PO's have delivery date in past and they need to be created as it is).
    I am populating all the required fields (PO_ITEM, SCHED_LINE, DEL_DATCAT_EXT, DELIVERY_DATE, QUANTITY, STAT_DATE) in both the segements "E1BPMEPOSCHEDULE" and "E1BPMEPOSCHEDULEX" (in this segement with X). It's updating the quantity exactly with what I am passing, but it's not considering delivery date. But when I am creating PO manually using ME21N I am able to set delivery date to past date.
    E1BPMEPOSCHEDULE
    PO_ITEM=20
    SCHED_LINE=0001
    DEL_DATCAT_EXT=1
    DELIVERY_DATE=20060509
    QUANTITY=101584
    STAT_DATE=20060509
    E1BPMEPOSCHEDULEX
    PO_ITEM=20
    SCHED_LINE=0001
    PO_ITEMX     =X
    SCHED_LINEX=X
    DEL_DATCAT_EXT=X
    DELIVERY_DATE=X
    QUANTITY=X
    The funny part is IDOC is not even thowing a warning message for this...
    Any idea what I am missing???
    Thanks for your time.
    Paul
    null

    Ok, I got the answer. For delivery date category (DEL_DATCAT_EXT) we should not be passing 1, but we have to convert it into 'D' (And relevant format for others).

  • Calculation delivery date for items

    Hello,
    I am looking for the option to set a delivery date calculation in master data so this will be automatically calculated in sales and purchase documents.
    The only thing that comes remotely close is the 'Lead Time' in tab 'Planning Data' but this will only be used in MRP runs.
    I want to set per Business Partner and/or Item a delivery date calculation. For instance it will take 5 (working) days before the item will be delivered. Therefore when entering a PO it will update the delivery date automatically from today plus 5 days.
    Same will go for the SO calculating the delivery date if there is no stock from the set delivery date calculation.
    It seems I have to set this up myself via UDF's with queries?!
    Kind regards,
    Petronella

    If the lead time is always the same length for the item irrespective of the BP then you could store this in an UDF on the item master. 
    If the lead time is per BP then it can be an UDF on the BP Master data.  However if its a matrix of per BP and Item then you can do this by creating a user defined table. 
    I have done something similar to this, a few quick pointers would be:
    Create User Defined Table (eg. @Leadtime)
    Add 3 user defined fields to the table, CardCode, ItemCode and Leadtime
    Open up the table and add a formatted search to the BP Code UDF (e.g. Select t0.CardCode, t0.CardName from OCRD t0 where t0.CardType = 'C')
    add a formatted search to the Item Number UDF (select t0.ItemCode from OITM t0)
    Add a UDF on the marketing document lines called Leadtime.
    Add a formatted search to the leadtime field (select T0.[U_Leadtime] FROM [dbo].[@Leadtime] T0 Where T0.[U_BPCode] = $[$4.CardCode] AND T0.[U_ItemCode] = $[$38.1.0])
    That should pull through the leadtime based on the BP and Item on the marketing document, you will then need to add a formatted search to the delivery date field on the rows by picking up the document date and adding the leadtime UDF days to it.  I'm afraid I don't have SBO open and I can't remember the variable for picking up the document date, you can find this out by clicking View | System Information.  To pick up the leadtime udf it will be $[$38.U_leadtime.0] i think.
    Regards,

  • Different Delivery dates for single material in sale order

    Dear All
                  I had a problem while creating a sale order, our customer orders a material for 100 SETS, but he needs 30 SETS On 30th July 2010 and remaining on 31st Aug 2010,
    how to mention the delivery dates in sale order, like for 30 SETS delivery date : 30.07.2010 and other 70 SETS Delivery Date : 31.08.2010.
    Thanks & Regards
    Maheshwar Rao. G
    Edited by: mahesh21973 on Jul 2, 2010 9:08 AM

    Hi,
    Maintain in sales order (VA01/VA02)Item details --> schedule lines enter the Qty with Delivery dates.
    SAM

  • POs and delivery date.

    Hi,
    when I create a PO system takes not as delivery date the document date but document date + 3 days.
    Is there a field where setting the above? I would set delivery date = document date
    Best regards

    sytem acces the date from info record
    by ading the planned delivery time

  • MRP creating delivery date on PO´s by vendor

    Good morning folks,
    I´d like to share my scenario and see if you have something similar.
    Currently we have a planning cicle set on MRP1 one view to restrict PO delivery date on fridays, due our receiving process we cannot receive materials on friday, so our planning cicle is set from monday to thursday, and works fine.
    Now our supply chain area intents to have the following, the chemical vendors deliver only mondays, steel vendors on tuesdays and so on.
    I was looking into Vendor master and we don´t have a specific field to place a planning cycle or planning calendar by vendor, my first guess is that this is a very commom business scenario. I know I can accomplish that just starting to use Scheduling Agreements and setting up receiving dates on monday, but it will bring a huge manual activities..
    Does anyone has the same requirement ? how to make sap to set delivery date on fixed days by vendor or group of vendor as explained above?
    thanks
    Carlos Q.M.

    good afternoon Carlos,
    If I understood correctly, what you need is to setup MRP to force the delivery date in the purchasing documents exactly as you have in the planning calendar (tcode MD25), lets say, you want to receive goods only on tuesdays, then create your calendar with day in the week you want to receive products.
    technically speaking ok, create planning calendar that will be added in the MRP1 and MRP2 views, with the day you want to have the delivery date on Purchase docs.
    then at tcode OMI4, you must have one Lot size with field  "Lot-size indicator" with   "K" - Period lot size as in PPC planning calend., and field "Date Interpretation"  equals to  "1" - Delivery date.
    Assign that to your MRP1 view and make sure your MRP2 has also the same key in the field Planning calendar, under Schedulingtab.
    Run the MRP, you will get what you need.
    Now, you must check the impacts on your current MRP and inventory process, because you may have over delivery for one week in case of holiday or shortage of material depending on the week.
    Will this really be efective in terms of costs and inventory management ?
    what your production area says about that ?
    well, there are many question you must get answer before implement that.
    hope that helps you.
    you can find more details on the following posts.
    http://scn.sap.com/docs/DOC-51912
    http://scn.sap.com/community/erp/manufacturing-pp/blog/2015/01/06/my-bookmarked-documents
    take care
    Carlos Moçatto

  • Use BAPI_SALESORDER_CREATEFROMDAT2 with delivery date in Header

    Hi all,
    In my current project I try to use BAPI_SALESORDER_CREATEFROMDAT2 to create the SO ,
    I can create the SO without setting delivery date in header.
    but after I set the delivery date like following, the error message occured. Could someone help me?
    ORDER_HEADER_IN-REQ_DATE_H = '20110330'
    ORDER_HEADER_IN-DATE_TYPE = '1'
    I try to add the requirment delivery date in schedule line ,but fail too.
    ORDER_SCHEDULES_IN-REQ_DATE =  '20110405'
    ORDER_SCHEDULES_IN-DATE_TYPE =  '1'

    Nothing special,
    TYPE: e
    ID: V4
    NUMBER: 219
    MESSAGE :Sales document  was not changed
    I  try to see the log in ST22 too. but nothing in there.
    I also try to use BAPI_SALESORDER_SIMULATE to generat SO ITEM to fill
    the ORDER_ITEMS_IN (after some data formate translated) but, still got the same result.
    My codes in VS as following:
    when without delivery date setting, the SO is OK, So I belive the data transport is fine.
    The promble is mainly occur in BAPI.
                   IRfcFunction function = repo.CreateFunction("ZCMT_RFC_SO_CREATE2");
                    //importing parameter
                    IRfcStructure salehd = function.GetStructure("ORDER_HEADER_IN");
                    IRfcStructure salehdx = function.GetStructure("ORDER_HEADER_INX");
                    //Tables
                    IRfcTable returntable = function.GetTable("RETURN");
                    IRfcTable item = function.GetTable("ORDER_ITEMS_IN");
                    IRfcTable itemx = function.GetTable("ORDER_ITEMS_INX");
                    IRfcTable partner = function.GetTable("ORDER_PARTNERS");
                    IRfcTable schedule = function.GetTable("ORDER_SCHEDULES_IN");
                    IRfcTable schedulex = function.GetTable("ORDER_SCHEDULES_INX");
                    //IRfcTable condition = function.GetTable("ORDER_CONDITIONS_IN");   //commented
                    //IRfcTable conditionx = function.GetTable("ORDER_CONDITIONS_INX");   //commented
    //* Build order header
                    salehd.SetValue("DOC_TYPE", "ZOR");       
                    salehd.SetValue("SALES_ORG", "2011");    
                    salehd.SetValue("DISTR_CHAN", "01");     
                    salehd.SetValue("DIVISION","00");       
                    salehd.SetValue("REQ_DATE_H", "20110412");
                    salehd.SetValue("DATE_TYPE", "1");
                    salehd.SetValue("PURCH_NO_C", "test");       
                    salehd.SetValue("PRICE_DATE", "20110331");
                    salehd.SetValue("PMNTTRMS", "0002");       
                    salehdx.SetValue("UPDATEFLAG", "I");       
                    salehdx.SetValue("DOC_TYPE","X");       
                    salehdx.SetValue("SALES_ORG","X");    
                    salehdx.SetValue("DISTR_CHAN","X");     
                    salehdx.SetValue("DIVISION","X");       
                    salehdx.SetValue("REQ_DATE_H", "X");
                    salehdx.SetValue("DATE_TYPE", "X");
                    salehdx.SetValue("PURCH_NO_C", "X");       
                    salehdx.SetValue("PRICE_DATE", "X");
                    salehdx.SetValue("PMNTTRMS", "X");       
    //* Build order item(s) - Only 1 is used in this example
                    item.Append();
                    item[0].SetValue("ITM_NUMBER", "000010");       
                    item[0].SetValue("MATERIAL", "HMS690C-T002-A1");       
                    item[0].SetValue("PLANT", "2011");      
                    item[0].SetValue("TARGET_QTY", "3.000");      
                    item[0].SetValue("SALES_UNIT", "PCS");      
                    itemx.Append();
                    itemx[0].SetValue("UPDATEFLAG", "I");       
                    itemx[0].SetValue("ITM_NUMBER", "000000");       
                    itemx[0].SetValue("MATERIAL", "X");       
                    itemx[0].SetValue("PLANT", "X");      
                    itemx[0].SetValue("STORE_LOC", "X");  
                    itemx[0].SetValue("TARGET_QTY", "X");      
                    itemx[0].SetValue("SALES_UNIT", "X");      
                    schedule.Append();
                    schedule[0].SetValue("ITM_NUMBER", "000010");
                    schedule[0].SetValue("SCHED_LINE", "0001");
                    schedule[0].SetValue("REQ_QTY", "3.000");
                    schedule[0].SetValue("REQ_DATE", "20110331");
                    schedule[0].SetValue("DATE_TYPE", "1");
                    schedulex.Append();
                    schedulex[0].SetValue("UPDATEFLAG", "I");
                    schedulex[0].SetValue("ITM_NUMBER", "000010");
                    schedulex[0].SetValue("SCHED_LINE", "0001");
                    schedulex[0].SetValue("REQ_QTY", "X");
                    schedulex[0].SetValue("REQ_DATE", "X");
                    schedulex[0].SetValue("DATE_TYPE", "X");
    //* Build partner information
                    partner.Append(2);
                    partner[0].SetValue("PARTN_ROLE", "AG");       
                    partner[0].SetValue("PARTN_NUMB", "C10006");       
                    partner[1].SetValue("PARTN_ROLE", "WE");       
                    partner[1].SetValue("PARTN_NUMB", "C10006");

  • Date field to be set blank--Urgent --Please help

    Hi All,
       We are running on SRM 4.0(classic scenario).On the SC screen,there  is a  date field called "Required on".By default this field is getting populated with the system date.
      Now my reqt is that when the SC screen appears,i want this date field to be blank(not carry the system date)..The user will change the date whcih will flow to the next screen(Item level data-->std functionality)....
       I tried implementing this using the BADI BBP_DOC_CHANGE_BADI....but with this BADI,the date field can be changed to blank at the next screen..not at the first screen where this field gets populated by deafult with the system date where I want...
       In addition to this with this BADI,when i reset the field value to blank on the2nd(next ) screen,i get an error  message(stating that the date field value is not carried over)...
      Can anyone tel me how this date field is getting populated and how i can set this  value to blank when the SC screen appears???Please help..
    Thanks & regards,
    Disha.

    Hi Disha,
    second message is normal: this is the std check on delivery date (here it is initial because of your mods).
    first one semas to be related to the WF.
    It could be deactivated via usual message control in SPRO.
    1> I don't know this message
    2> message BBP_PD 584 or 587
    If you set this field as mandatory in the HTML template, maybe it would force the user to populate it before sending it to SRM SC item.
    Rgds
    Christophe
    PS: please reward points for helpfull answers

  • Set a PO delivery date to deliver one day ahead of demand without GR Proc.

    Any thoughts to enable the system to generate a planned PO delivery date say a day before the actual demand date without "locking" the material up as is the case with the GR processing setting.  With the GR processsing value to 1 day MRP will in fact have the material delivered a day ahead of time, but MRP will show the material is not available until the next day which causes some confusion when the planners need to move production up a day.  We'd like the GR date to be one day before demand but MRP show the material is available on the delivery date.

    Hi There
    Del date in SAP is when the goods will arrive at your premises,, and GR date date of GR ( GR pocessing time- 1 day, Del Date+1 day),, means that when the material will be available actullay for the production,, it is a STD,,
    You can manipulate the  RLT (Replenishment lead time= Purchasing processing timePlanned del timeGR processing time) as you wish to get,,
    Thanks
    Senthil

  • Delivery Date should be blank in ME51N

    Hi,
    We want Delivery Date as Blank & Mandatory in ME51N - PR Creation.
    I have already tried with T.code OMI8, where we removed Processing time required field value as 0 under External Procurement but from this, Delivery Date is showing same date as PR Date. 
    Please guide, how to do this field as Blank....

    Hi,
       If you want the user to input the delivery date, then you may check the following option.
    1. Go to ME51N and go to personal settings and go to default values tab.
    2. Maintain the delivery date as any past date as shown below and save.
    3. Now, go to the path: OLME - Environment Data - Define Attributes of System Messages - System messages. Here, maintain the message ME 039 as error message E as shown below:
    4. Create a new PR in ME51N and check the system behavior.
          System will always propose the delivery date mentioned in the personal settings (even though you maintain different PDT or purchase processing time). Since we maintained a past date as the default date, system will propose the past date and immediately the error message ME039 will be triggered. So the user will be alerted and he has to change the delivery date.
           Please note that the personal settings is at user level and you have to maintain the same settings for all the relevant users.
           If the above option is not suitable, you may go for development. You may check the BAdI: ME_PROCESS_REQ_CUST
    Regards,
    AKPT

Maybe you are looking for