Retaining the old schedule lines after the ATP check in the sales order....

Hi Experts,
I would like to retain the old schedule lines after the ATP/GATP check in the sales order for certain conditions.
I don't want to change XVBEP,IVBEP,VBEP contents in the user-exit..
Is there any standard sub-routine or function module to reatain old schedule lines in the sales order so that the schedule lines will not update with the new values after the ATP check ?
Thanks
Rayudu

In Include LV03VFMM, you have:
* Userexit availability
      PERFORM USEREXIT_AVAILABILITY_IN USING DA_ATPPR.
There may be an option to implement some logic in here. However, I tried changing the value of MVERF_POS-EINTEIL[1]-VFPKZ to initial. This will ensure that when FM AVAILABILITY_CHECK_CONTROLLER is called that the following IF statement is untrue:
CHECK NOT P_ATPCSX[] IS INITIAL.
as P_ATPCSX[]                     Table[0x648].....
However, this will just mean that the 2nd confirmed schedule line (assuming we have > 1 schedule lines) will have a confirmed quantity to zero.
EXIT_SAPLATPC_001 could also be used. However, when I removed the "X" from CHKFLG, I get the same result; the 2nd schedule line will revert to zero.
They were the only tests I tried; I cannot think of any other ways around this....

Similar Messages

  • How to delete the old schedule line release?

    Hello,
    How to delete the old schedule line release in apo?
    Generally GR has to be carry out  schedule line release  in r/3 which reduces the Schdule line release.
    But i do want do GR against old schdule line release instead i want to delete the old schdule line release.
    Please suggest.
    Regards,
    Sunil Patil

    Sunil ,
    /sapapo/cmds_del  is the tcode to deleted sales scheduling agreement confirmations and releases
    /sapapo/display_conf  is the tcode for displaying sls. sch.agr confirmations and releases
    The above two are in the supply chain collaboration menu
    /sappao/cmds_sc02 is the tcode to delete sales scheduling agreements . This tcode is in the application specific master data menu
    Thanks
    Saradha

  • How to delete the old schedule line release in apo

    How to delete the old schedule line release (from current date) in apo which is having schedule  firmed?
    Please suugest.
    Sunil

    How is it possible to delete old purchasing schedule lines in APO (that do not exist in R/3)?
    Though used successfully before, /SAPAPO/CCR will not reconcile our discrepancy in this case.
    Thanks in advance,
    Jim

  • How to get schedule line date copied to "First date" in sales order

    Dear forum
    I am creating a sales order as normal and put in a Requested Delivery Date (KETDAT) for the order.
    This requested delivery date is then copied to the "First date" (ETDAT).
    Now, the ATP is checked for each line item in the order and a Schedule line date / material availability date is calculated for each line item.
    My question is: Is there any way to have the "First date" field of the line item in the sales order populated by the first material availability date (calculated by ATP), instead of copying the Requested  Delivery Date? Any user exit? Any config?
    It would mean that every time I rerun ATP check in the sales order line item, the "First date" field would change if the material availability date change. If there is multiple material availability (multiple schedule lines) dates per line item, then the earliest date would be copied to the "First date" field.
    Is there such functionality? Or possibility to config/program?
    /Ola

    Kannan
    OK. Unfortunately reservations cannot be created at the serial number level. So the unsupported way of doing this is updating the mtl_serial_numbers tables. I hope you would know (by some means) which serial numbers you want to allocate to a specific sales orders. If you know, update group_mark_id column in mtl_serial_numbers table with your order_line_Id, This will avoid any one from picking the serial numbers (they will not come up in the LOV or will not be auto allocated).
    But you have to make sure to take it off when you actually want to pick this order line and allocate this serial number. So just before you pick release/ confirm this order line you need to update column back to null so that you can allocate that serial number.
    Thanks
    Nagamohan

  • VL10G is not creating delivery for some of the confirmed scheduled lines

    Hi, I was trying to find the reason why we are getting a very generic error message (Message type V50R ID 036 - The document could not be delivered.) for some of the confirmed schedule lines when executing VL10G in batch and no delivery document is created. Those orders have confirmed scheduled lines and inventory has confirmed to have stock. However, when the VL10G is executed in background, the sales order line items will be captured into the list but when creating delivery, the systems is showing the above error message.
    From debug, found out the message is generated from LV50R_VIEW43.
    We went through lots of OSS notes but nothing seem to ring a bell here. We are using ECC6, list type = index list.
    The error message is very inconsistent. The same documents will be dropped for delivery after several days without any change to any of the sales document or inventory level.
    Some of the note mentioned the parallel processing lock on ATP check for the material may be the reason for the error however we are not using any parallel processing in VL10G. We also checked the index table VEPVG has all correct entries and all the entries are being selected into the delivery due list. Error happens when the delivery is trying to be created.
    Any advice is appreciated.
    Thanks.

    Hi ALL,
    Any suggessiton on the below issue.
    We have batch jobs to process the DDL for the STOs, but some of the line items of the same STO is not picked up by batch job, (VL10B is assigned in the batch job, i checked the variant and configuration, everything seems to be fine, when i try to process the DDL through VL10B manually by giving the STO number only, the VL10B program is not picking the STO, but the same STO can be processed through VL10D, what could be the problem and why the VL10B program is not recogonizing the STO for the delivery creation.
    We are using ECC 6.0
    Regards,
    Rajesh.R

  • BAPI Error: No schedule lines due for delivery up to the selected date

    Hi,
    I have created a program to create delivery orders with reference to sales orders using BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
    After execution I get the error: No schedule lines due for delivery up to the selected date
    Please help.
    Thanks in advance!!!
    Regards,
    Sriram

    hi,
    this is to inform you that,
    please check the schedule line date in the sales order because the date is not matching here for the BAPI to upload.
    here,  for example the schedule line is 4 days after and you are running BAPI today. that will mismatch no.
    the same thing is happening in uploading case also.
    so please check the date.
    because in teh sales order if teh schedule line date is today it will accept the uploading with out throwing any errors.
    regards,
    balajia

  • V_V2 Rescheduling does not give the split schedule lines

    Dear All
    When I create a Sales order, if the partial qty is available, system confirms partial immediately and balance after lead time.
    However when I run rescheduling run from V_V2 , it changes all the qty to end lead time confirmation.
    I do not have any other sales order in Pipe line.
    Why the Rescheduling does not confirm on split basis.
    Looking for exprts opinion.
    Regards,
    Neeraj

    Hello,
    I have two ideas related to your question:
    -1-Try to use the transaction V_V1, it the same function of the V_V2, but you can select the sales order instead the material.
    -2-Check in your sales order if you have the flag "no re-scheduling" it's a flag on the schedule line( item, tab schedule line), if you have selected the flag, the v_v2 doesn't works for the schedule line.
    If I think anything i'll send you a message,
    Best regards

  • No schedule lines due for delivery up to the selected date

    Dear Experts,
    My order has no block. i tried with 3 months in selection date in VL01N.
    My schedule line in order has 0 confirmed quantity,
    Kindly confirm if error in VL01n No schedule lines due for delivery up to the selected date because of 0 confirmed qty
    Thanks
    Siva

    Hi,
    I think you should use the " Back order process". Using backorder processing, you can list sales documents relevant for requirements for particular materials and confirm them manually. You can assign available-to-promise (ATP) stock to
    Outstanding order quantities. In addition, you can withdraw already confirmed quantities and reassign them to different items. The stock may be reserved for other sales order. You can reassign the stocks to your sales order material.
    To do this, go to Co06 (Back order processing) , enter the Material number, Plant and the checking rule.
    Select any sales order and choose --> Edit --> Change confirmation. Make sure the confirmed quantity is "0".
    Then select the unconfirmed sales order, then choose --> Edit --> Change confirmation. Now you can enter the "Delivery quantity manually ".
    Now you can create the delivery document.
    Hope this can help you .
    Regards
    M. Lakshmi Narasimhan

  • The delivery schedule lines don't get created automatically on MRP run.

    Hi All,
    The delivery schedule lines don't get created automatically on MRP run for subcontracting material.  I have maintained source list as follow eg.
    Valid from | Valid to | Vendor | Porg | PPI | Agreement | Item | Fix | MRP | MRP area
    02.11.2009 | 31.12.2999| XYZ | XY01|     |AA0000XYZE |10 | X |2 | ABC
    Could you please help me about this issue
    Thanks in advance.

    Hi Amit,
    Please ensure the value of Special procurement key in the MRP2 view for the material. It should be maintained as 30 - subcontracting.
    Thanks and Regards,

  • When we run the MRP schedule lines are not generated automatically.

    Hi,
    In MD04 requirement date is on 5.12.2009.My source list validity starts from 1.12.2008 onwards.When i run the MRP for the material system generates the Purchase requisition instead of the schedlue lines.When i change the source list validity as 25.11.2008 now i run the MRP system generates the schedule lines.
    My question is why the system couldn't able to generate the schedule lines when the validity starts on 1.12.2008.In the source list we maintained the scheduling agreement and maintaine the MRP setting as 2.

    hi,
    Let me know your purchasing processing time defined in the SPRO settings for CBP?? It may be due to this also...
    Regards
    Priyanka.P

  • Scheduling in Deliveries not copied from the correct schedule line of SO

    Hi All
    I have availability check activated for sales orders.
    In which for a given material it determined 2 schedule line .
    Schedule line 1. With 0 quantity -- e.g. delivery date 01.10.2010
    Schedule line 2. With 5 quanity -- e.g. delivery date 05.10.2010
    The re-scheduling is de-activated for my delivery note (type).
    When the delivery note was created, it had planned delivery date = 01.10.2010, and not 05.10.2010.
    Why was the date in the delivery copied from the 1st schedule line instead of the 2nd schedule line which was the correct date based on material availability?
    What should be done to ensure that the delivery copies the dates from the 2nd schedule line?
    Thanks for the answers!
    Regards
    Rajesh

    It is solved. Copy routines did not consider multiple schedule lines.

  • Do I need to visit the Apple store since I do Not see the software update line, after going into setting?

    Cannot locate the software update line, after going into settIngs on my IPad2. Did I miss something?
    Help, need to upgrade to a minimum of IOS5
    THANKS

    You only have the option of you are already running iOS 5 already. If you are trying to update to iOS 5, you have to use iTunes on a computer to update the iPad.
    Here are the instructions.
    http://support.apple.com/kb/HT4972
    Or you can connect the iPad to the computer, launch iTunes. Select the iPad under the devices heading on the left, click on the Summary tab and then click on Check for Update
    You will only be able to update to iOS 6 now.

  • After ugrading to Firefox 4, I can not go to my job e-mail website. I get the message: ssl_error_renegotiation_not_allowed. No problem with the old version of Firefox. Can I have the old version of Firefox back?

    After ugrading to Firefox 4, I can't go to my job e-mail website. I get the message: ssl_error_renegotiation_not_allowed. No problem with the old version of Firefox. Can I have the old version of Firefox back?

    See:
    *https://wiki.mozilla.org/Security:Renegotiation

  • Withdrawal quantity in the PIR Schedule Lines - MD63

    Hi Gurus!
    In MD63 - sched. line tab, what is the 'withdrawal qty' column? Where does it get the value? In my case, I don't see any withdrawals for the particular month, yet the system shows a large qty in this column. The problem now is that the new forecast value I load for this month is reduced by this withdrawal qty. Where should I look for this qty in the system?

    Hi,
    I hope you got the answers for your question.
    Could you please share the same with us, How you have identified the withdrawal quatities eventhough the actual withdrawl is very less compared to the value shown in Withdrawal quantity in the PIR Schedule Lines - MD63.
    There are couple of OSS Notes (Note 772857 - FAQ_Independent requirements reduction_withdrawal quantity.pdf
    Note 772856 - FAQ_Consumption of planned independent requirements.pdf) but they are not expalining this behavior completely.
    Thanks in advance,
    Siva

  • Schedule line category CN is inconsistent with the MRP type

    Guys,
    I am running into an issue here..
    I have change the MRP type of articles from ND (no planning) to PD (MRP)
    Now when I try to change sales oders on this articles (VA02), I get error message saying that the Schedule line category CN is inconsistent with the MRP type
    Does that make sense to any of you and what is/are the remedies
    KR - Loï

    Dear
    When you have created SO at that time the MRP type was ND so based on that System has picked the Schedule line category CN which is No mat.planning. Create new SO this problem will not come. Based on Strategy & PD schedule line category will come as mat. planning.
    Regards
    ABhijit Gautam

Maybe you are looking for