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

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.

  • FISCAL year from Date  in the Selection Screen.

    Hi Folks,
    Is there any function module which returns the Fiscal year if we provide the date in ranges.
    I mean, I have a select option for date in the selection screen.So,if a user enters the date say 01042007 01042007 it should return the corresponding fiscal year.
    Kindly let me know if anyone here has any idea regarding this.
    Thanks,
    K.Kiran.

    Hello,
    Check these FM's
    FTIS
    FTI_FISCAL_YEAR_MONTH_GET
    KBPA                           Budget/Plan - application-specific
    KBPA_GET_START_FISCAL_YEAR     Determine Start Year for Funds Management
    KBPA_GET_START_FISCAL_YEAR_OPT
    Vasanth

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

  • Requirement date in ME2O selection screen.

    Hi Friends,
    I see that requirement date in ME2O selection screen is no where available in the output . Is this equal to PO creation date?

    Actually in ALV grid list out put, the document date is the Requirement date.
    If you analysis the same, you will find the solution.
    See I have analysis the same.
    In my ME2O transaction, I can see the document date as follow for the Purchase order number
    4700048844.
    Here the document date is showing 20.12.2011.
    When I go to to ME23N to display the PO number 4700048844, I can see the document date is different.
    But when I checked the requirement date, then I can see the same date for the PO number.

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

  • 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

  • Is there any FM to validate the DATE input in selection screen?

    Hi Experts,
    The Z prog. does hv a field in selection screen, with name of enter_date_as_YYYYMM.
    So, user has to enter the vaue(inturn DATE) as YYYYMM, say 200807.
    1) So, YYYY valid range shuld be 1960-2099 only, if not, throw ERROR message
    2) MM range is obvoiusly 01-12, else ERROR message
    3) if user enters July as 7, prog. need to take it as 07
    so, instaed of coding to validate these, Is there any FM to meet my requirement?
    thanq

    Hi Srinivas,
    You can see the sample code mentioned below. It will throw those errors which u mentioned. Even you can change the logic as u required. This is just for your information...
    parameters: P_date(6) type n  obligatory.
    DATA: p_len TYPE i.
    at selection-screen.
    if ( p_date4(2) lt '01' or  p_date4(2) gt '12' ) .
      MESSAGE e400(ZCA_GENERAL) WITH 'Date format is wrong enter only YYYYMM'.
    elseif ( p_date0(4) lt '1960' or p_date0(4) gt '2099' ).
    MESSAGE e400(ZCA_GENERAL) WITH 'Date format ( Year 1960-2099 ) is wrong enter only YYYYMM'.
    endif.
    Regards,
    Naveen Veshala

  • Setting default date range in selection screen when executing as batch job.

    Hi Guys,
    I have one report to be scheduled as weekly batch job and one of the selection screen field is date range. If i set this report to run today then the date range will be from one week back date(Lower value) to today date(Higher value). When it runs for next week(Already scheduled as weekly batch job) the date range should be like this
    Lower value = today date
    higher value= next week run date.
    How can i achieve this functionality. Is it possible through Dynamic variant concept?. Rest of the selection screen fields have some default values and should not change.
    <REMOVED BY MODERATOR>
    Thanks in advance,
    Vinod.
    Edited by: Alvaro Tejada Galindo on Feb 22, 2008 3:52 PM

    Hi Vinod,
    Would suggest you to this.
    Create two parameters : p_start_date and p_end_date of type sy-datum on your selection screen , instead of a range.
    Now goto create a variant from SE38 for the report.
    While creating the variant, mark the "Selection Variable" checkbox for the two parameters and click on "Selection Variables".
    Select the option "D: Dynamic date calculation" for both the date fields.
    For p_start_date - select the option "Current Date"
    For p_end_date  - select the option "Current date +/- ??? days" and put 7 in the pop up.
    Hence what you have done now is, set up a dynamic variant, where p_start_date will have sy-datum and p_end_date will have sy-datum + 7, everytime the job runs.
    Now, in the program, first step after START-OF-SELECTION code the following:
    RANGES: r_date FOR sy-datum.
    start-of-selection.
    refresh r_date.
    r_date-sign = 'I'. r_date-option = 'BT'.
    r_date-low = p_start_date. r_date-high = p_end_date.
    append r_date.
    Hence this way, you would have built your range and use it as needed.
    Cheers,
    Aditya

  • How to change sy=uname value in selection screen?

    Hi,
    In selection screen i declared a default file path like this..
    C:\Documents and Settings\User Name\Vendor\'.
    when it displays the path in selection screen, I want to replace that user name with SY-UNAME FIELD.
    Can any one let me know where i can change this..
    Thanks for ur time.

    If you are trying to set the the folder for the "windows" user, you can try this instead.
    I doubt that the SAP user id is always the same as the local user folder on the frontend.
    report zrich_0001.
    data: dir type string.
    parameters: p_file type localfile.
    initialization.
      call method cl_gui_frontend_services=>get_desktop_directory
        changing
          desktop_directory    = dir.
      call method cl_gui_cfw=>flush.
      translate dir to upper case.
      replace 'DESKTOP' with 'Vendor' into dir.
      p_file = dir.
    Regards,
    Rich Heilman

  • 0FI_GL_4 data source input selection screen

    Dear experts,
    I have enabled the input selection option tickfor fields PRCTR and KOSTL in data source 0FI_GL_4 with RSA6.
    Both the fields are available in extract checker RSA3 too. But while does not have any effect while running the extractor. PRCTR and KOSTL are not having any effect while using in selection screen. Kindly let me know if any process there to enhance the standard program by putting the extra field in the selection (open cursor).
    Jigar

    Hi Leandro,
    First, if you want to change a selection field, you need to do it in RSA6, checking the selection flag. I wouldn't touch the table..
    Not always the filter is just checking the flag, I don't know particulary 0FI_GL_4, but the filter might be done in the Function Module logic.
    Where have you updated that field? 0GL_ACCOUNT is an infoobject, so it's in BW. If you want to filter in the InfoPackage, you need to filter in ERP, so it's a field (HKONT) and not an Infoobject.
    For 0FI_GL_4, if you check transaction RSA2, you'll see that selection is impossible, so I'm not sure if changing the table value manually would be enough.
    Hope this helps.
    Regards,
    Diego

  • 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

  • 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

Maybe you are looking for

  • Why i can't received any calling in some area?

    hi sir 1- i have abig problem which is many people call me but they can't reach me in same time my other mobil can work very good whcih is same mobil company 2- also my wifi i must be very near to the wifi machine to get signal in same time my other

  • Which Ram is better to go with?

    Hi, I was just wondering which Ram was better for my 2.2ghz intel core 2 duo 13 inch macbook which currently has 1 gb of ram. http://www.tigerdirect.ca/applications/searchtools/item-details.asp?EdpNo=435044 8&csid=ITD&body=MAIN OR http://eshop.macsal

  • Fields in MIGO - BATCH and Valuation Type

    Hi all, I would like to know the meaning of the following fields in MIGO. BATCH - Charg Valuation Type - Bwtar Which is the impact of each field? Should they have the same value in TRA MIGO? Which means that only the BATCH field is entered and the Va

  • Disk was not ejected properly

    "The Disk was not ejected properly" this message keeps on coming up and seems to be referring to USB Memory Sticks. No disk had been removed. This is only happening since installing Mountain Lion and is very annoying especially since it keeps on disp

  • Missing Disk Space....How to Fix This?

    Hi all, I've got a 60gb Macbook. I'm using Whatsize to figure out what's been eating my hard disk space, but it still doesn't make sense. I'm the only user on my computer, and my home folder says I've used about 43 gigs with about 12 left. Using What