VA01 - Schedule Line problem

Hi all.
I have problem in TC VA01. I add own field and button on item data - tab Additional Data B. I call my function, make some operation and return. When i change 'order quantity' (vbap-KWMENG) i see changes. But in tab Schedule Lines value 'order quantity' didint change. Why? What i`m doing wrong? I see that on tab 'Schedule Lines' field 'order quantity' is ref to VBEP-WMENG. I tried change that field. That nothing change. On Schedule Line nothing changes.
Thx
Grzegorz

I have still this problem. I find this salesorder - schedule line userexit, but its not work. How i can modify order in schedule line when i change order in va01 by my ABAP code?
I tried debug, but i cant still pass go.
Please help me.
Grzegorz

Similar Messages

  • S.A. schedule lines problem

    We are creating schedule lines for scheduling agreement through MRP.  We mainatain source list validity from 01-02-2009 to 31-12-2010.  If we maintain schedule lines with ME38 beyond 31-12-2010, it is giving error.  But if schedule lines are created through MRP even we are able to create schedule lines after the year 2011.  How do we stop MRP generating schedule lines beyond souce list validty?  any suggestions?

    Hi Szabo,
    Thanks for the quick reply.  I have gone through the notes.  But they are not resolving my problem.  In our case we are getting error 06-722 when we create schedule lines manually wihth ME38.  We want the same error if schedule lines are generated through MRP.  any config or customisation available for this?
    thanks in advance
    Any suggestins on above issue?
    thanks in advance
    Edited by: chintu dkl on Sep 21, 2010 7:01 PM

  • User exit for va01 (schedule line )

    hi all,
    Pls tell me how to use user exit in va01.when user add material and select schedule line for that material he has to add CP/CN .but when user put CP it will give message that CN is default pls enter CN.like these msg i have to give.pls give me solution.
    Thanks,
    Nitin

    Hi Nitin
         Try userexit_move_field_to_vbep in MV45AFZZ
             or userexit_check_vbep in MV45ZAFZB.
           check vbep-ettyp for the schedule line category and write the logic.
    Kuntal

  • Returns PO based on Return sales order - schedule line problem

    Hi,
    We're designing a return to vendors process as the opposite of a purchasing process through a plant. So normally the process is:
    Customer places order
    We buy from the vendor (PO based on sales order)
    Goods arrive at the plant
    We deliver from plant
    The opposite process is:
    Customer wants to return
    We create return delivery
    Goods arrive at the plant (GR)
    We sent the goods to the vendor (return PO based on sales order)
    This all works, but in the second scenario the sales order gets two schedule lines instead of one. So the system confirms based on the planned delivery time instead of just based on the required delivery time. Since this is a returns process, it doesn't make any sense as we're shipping to the vendor at our convenience once the goods arrive.
    Any ideas how to resolve this? Schedule line settings have been changed to all different versions. Basically the relevant customizing is:
    item category - returns item set
    schedule line category - movement type 653, order type NB, item category 0, acct assignment category M
    Many thanks

    There are a few other places to check, but you probably have exhausted those areas.  You can turn of the availability check at the item category also especially if it is specifically for the return order.
    Sales and Distribution => Basic Functions => Availability Check and Transfer of Requirements => Availability Check => Availability check with ATP Logic => Determine Procedure for each delivery item category
    I have also run into issues with APO active and having unintended consequences on the order.  Another avenue to check if there are any customer specific code in a requirements routine or user exit.
    Jeff

  • Schedule line problem

    Hello guys..
    When I was making an order at the schedule line tabpage I am getting another delivery date along with the current delivery date in display mode.
    That extra delivery date is having ordering quantity as zero and confirmed quantity with a number which i hv given at the time of making that order in a display mode and the current delivery date is having ordering quantity as that perticuler number,confirmed quantity as zero.
    What could be the solution?
    regards
    vamshi

    Hi ,
    When stock is not available on requested Delivery date by the Customer, 2 lines will be there in Schedule lines tab, on with Zero quantity and another with confimed Quantity with the date on which material is available for Delivery to the Customer.
    Here system calculates total time i.e. Total Production time or Produrement Time depending on the Business.
    The Date on which Material will be available in the Ware house, it will give that date as confirmed date in Schedule Line tab in Sales Order.
    Hope i answered your Query. Any Doubts, Plz Feel free to ask .
    Reward Points if it Helps.
    Warm Regards
    MAYANK

  • Schedule lines problem

    i am  creating a Sales Order from the OR
    and the orders are going to Multiple Schedule lines in different
    dates for the same material.
    period delivery date ordered quan confirmed quantity
    D 10/03/2008 10 0
    D 23/05/2008 0 10
    material is available on this date ie today also.
    but the delivery date given by the system is 23/05/2008.
    i checked every thing related to that but i could not find the solution
    can any oen guide me on this.
    regards,
    balaji.t
    09990019711.

    Dear Balaji
    From the two dates provided by you, please note that the date 10/03/08 is the date on which you create the sale order for that particular line item for 10 nos. for which stock is not available till 22nd May'08.  Only on 23-05-08, you will be able to make delivery.  If you want to reduce this lead time, you have to check in the following areas:-
    1)  In material master under MRP2 view, check what is maintained for "In-house production" and "GR Processing Time".
    2)   Check in ovlz ---> In Pick/pack time wrkdys, any numeric value is maintained.  For example, if 5 is given in this field, even if stock is available on the same day of order creation, system will allow to do PGI only after 5 days from the date of order created
    3)  In VOV8, check any value is maintained for "Lead time in days".  This will have impact at header level irrespective of item.
    thanks
    G. Lakshmipathi

  • In VA01  In Schedule line Delivery date not getting populated

    Hello,
    We have developed enhancement for VA01 tcode.
    Depending upon the quatity entered for a material it should show one more item as free good.
    If quatity is 10 for a line item 10 then it should show item 20 by default same mateerial and quatilty as 1.We have done this it is working fine.
    But if we select free good item in our case it is 20 and click on schedule line item buttom all quaitity fields getting populated.but delivery date not getting populated for only free good.for line item 10 it showing properly.
    Can any one please suggest what i need to do in order to display delivery date for free good.
    Thanks in advance.
    Regards.

    Thanks for your response.
    Actually i have seen technical settings for that field.it is rv45a-etdat.this field has value till MV45AFZZ.seen in debugger.
    Looks like it is clearing some where after the above include.Any suggisitions welcome.Thanks again.

  • Schedule lines are creating problem in PO-storage location in SAP

    Hello Everyone,
    We are using SRM 5.0 ECS.
    We create the PO in SRM and send it to R/3 backbend system. When we maintain the schedule line in PO(SRM side),the backbend system is not maintaining the correct storage location from purchase req. And when we do not maintain the schedule line in PO(SRM side), the backbend system maintain the correct storage location from purchase req.
    So here what can be the reason for this problem?
    Regards,
    Khushbu.

    Please I need help on this.

  • Schedule line delivery dates change in VA01

    Experts,
    User is adding some days for a material in maintenance table and it is like below.
    Material Days Plant
    2525252 100 ABCD
    3636363 150 PQRS
    The requirement is --
    While creating sales orders or changing sales orders(VA01 or VA02) while adding this material(2525252)in the line item - In schedule line items Delivery date should changed (some thing like get added 100days)
    I have added my logic in routine RV03VFZZ. But some materials are not getting changed due to avilability check.
    How can i bypass availability check ?
    (tried in USEREXIT_MOVE_FIELD_TO_VBEP... but no use).
    Thanks,
    Priya

    Take a look an ATP00001 in SMOD. However, this looks to me as a classic case when we're trying to use ABAP to compensate for poor functional choices or an incorrect business process. I find it hard to believe this cannot be done by other means than such funky ABAP.

  • Schedule line date change in VA01/VA02

    Hi,
    My requirement is to update the schedule line date taking the lead time from purchasing info record.
    As per SAP standard it takes the factory days into consideration while generating the confirmed delivery date.
    But we have to update the date taking the working days into conideration.
    The material has multiple vendors.
    The actual vendor proposed by the sstem and the corresponding info record details are not available at the time of saving the sales order.
    I am populating this details from exit EXIT_SAPLMEQR_001 inside FM ME_SEARCH_SOURCE_OF_SUPPLY which is triggered before creating the purchase requisition.
    USEREXIT_MOVE_FIELD_TO_VBEP cannot be used because this is triggered at the very early stage before the FM is triggered.
    Can some one please guide me who has worked on the similar situation to solve this problem.
    Many Thanks.
    Regards,
    Babul.

    Use the form routine "USEREXIT_SAVE_DOCUMENT_PREPARE" in 'MV45AFZZ".  Modify the field "edatu" in strucutre "xvbep"
    Regards
    Vinod

  • Problem in MD04 with schedule lines ME38

    Hello gurus,
    I've got a problem with ME38 and MD04.
    ME38 shows some quantity schedules on a date but in MD04 these schedules are not shown.
    Thanks for support.

    Hi,
    Check the GR column on the far right of the display of the schedule lines (MRP doesn't display lines where the sched line qty = GR qty)
    Hope that answers your question
    Alex Dixon

  • Problem in Schedule line data in sales order creation

    Hi,
    I am using the BAPI_SALESORDER_CREATEFROMDAT2 to transfer the sales order from one system to other. My problem is that the Schedule line data is not created in the new system and because of that order quantity is not appearing in the item level data.
    I have populated both order_schedules_in and order_schedules_inx... 
    but still its not getting transfered.
    Somebody help me..
    Thanks & Regards,
    Martin

    HI Martin
    Please check that you are using the right Delivery Date. Am not sure, but might be problem if we try to pass the delivery date in past... Please check on the same.
    Also, if you can post your code that can help for better advices.
    <u><b>Additional Info:</b></u>
    Below are the parameters that you have to pass to change the schedule lines:
    SALESDOCUMENT - Sales Document Number
    ORDER_HEADER_INX
    -- UPDATEFLAG = 'U'
    SCHEDULE_LINES
    --ITM_NUMBER
      SCHED_LINE
      REQ_DATE
      REQ_QTY
    SCHEDULE_LINESX
    --ITM_NUMBER
      SCHED_LINE
      UPDATEFLAG = 'U'
      REQ_DATE = 'X'
      REQ_QTY = 'X'
    Kind Regards
    Eswar

  • How to change schedule line fields when save sales documents in va01/va02

    Hi, every Experts,
    I want to change schedule line when save the sales documents in va01 or va02, such as change delivery block or schedule line category.
    of course, can use user exit USEREXIT_SAVE_DOCUMENT_PREPARE, but I do not know to use this user exit, I am newer about ABAP.
    Please help me , thanks.
    best regards
    Passion Wu

    Hi,
    For changeing schedule line: select line item, GOTO --> item --> schedule lines --> enter the confirmed qty.
    USEREXIT_SAVE_DOCUMENT_PREPARE program is MV45AFZZ
    For your reference
    USEREXIT_SAVE_DOCUMENT_PREPARE - Can I use in button, but skip
    regards,
    Mohanprabu C

  • Sales Order Stock - Problem with Schedule line

    Hi guru,
    I have a problem with my schedules line.
    We use the Sales order stock ( using MB1B with good movement  412/E) for some specific customers.
    Even if the sales order reservation works well, there is an issue with the schedule line in the order.
    Indeed when i enter the material in the order the schedule line display an availibily in 8 days even if the material is out of stock or available now....
    When i enter the same materila in a standard order(with item category without special stock E) the schedules line are good...
    What is it the most weird is that i have done the customizing by copying the standard item and i have just added the special stock E in the item category.
    If anyone can help me!!
    Thanks a lot

    hello Lakshmipathi,
    Thanks a lot for your reply.
    I tried to change the requierement class in order to put one with special stock E as you explained, but i still have my weird schedule line. When i put the item in the order it is 0 stock for today, but stock find in 12 days either if there is stock or no(unrestricted stock i mean).
    If i change the RDD in more than 12 days the stock is available for the date requested.
    If you have an idea of what could be wrong because on my case i want the schedule line to be at 0 while the sales order reservation has not been processed (via MB1B/412/E) and once the stock movement is done the schedule line has to be find.
    I dont know if im clear enought..
    To be more clear,  i want the schedule line based on the "sales order stock" and not on the "unrestricted stock".
    thanks for your help!
    Guillaume

  • User exit for va01 to validate the value for schedule line category

    Hi All,
    Pls tell me which user exit i used for to validate schedule line category for tcode VA01 .suppose i have two value in scedule line category CP and CN. but when user enter CP it will show warning message that CN is default or pls enter valied value.How to do in user exit.
    Nitin K

    Hi Nitin
         Try userexit_move_field_to_vbep in MV45AFZZ
             or userexit_check_vbep in MV45ZAFZB.
           check vbep-ettyp for the schedule line category and write the logic.
    Kuntal

Maybe you are looking for

  • Selecting multiple values in a prompt for a BI Publisher report

    Hi, I selected multiple values in a prompt for a BI Publisher report and ran the report. The report run fine with single value. But it run to error with mutiliple value. The Oracle Business Intelligence Publisher version is release 11g (11.1.1). Than

  • Links not passed to PDF file in RH7

    I have 4 Webhelp projects that output to PDF files. RH7 is supposed to retain hyperlinks in the PDF file and it did on the the first volume I converted and compiled. But the second volume is not retaining the links even though I have "Add links to PD

  • SAGUI Internal Session ID

    Hello, I need to find a unique identifier for a logon from another on sapgui session level.. i tried function modules or took a glance at the C system functions i couldn't find any.. The requirement is , abap program should contact to active sapgui,

  • Aperture 3.5.1. crashes every time on startup.

    I'm having big troubles with Aperture 3.5.1, i downloaded the latest update but the program crashes on startup everytime. I really hope somebody could help me out on this... This is the logfile: Process:         Aperture [974] Path:            /Appli

  • Retrieve QT pro

    I had to re-install mac os X, and therefor all was deleted. I ran a backup by retrospect on a external harddisc (Maxtor). Thought everything was there, but I can't find any of the programs I had downloaded. I had downloaded QT pro and Mpeg 2 componen