ATP check in the Sale order Processing and CO06 transaction (Confirm Qty)

Hi All,
While creating the Sale order, After performing the ATP check and saving the document i have called an user exit to make the confirmed Quantity equal to ZERO when the delivery block is set (As requested by customer). That is working fine...
But the same confirmed Quantity of ZERO is not reflecting in CO06 transaction. Its showing the old value that the value before setting the delivery block.
I have identified the table VBBE-VMENG which stores the confirmed quantity in CO06 transaction...
Could you please help me know any USER EXITS or any other solution to change the confirmed quantity to ZERO in CO06 transaction also while delivery block is set in the sale order.
Thanks &Regards,
Navaneeth

Hi All,
Please help me by providing some clues on this issue...
Regards,
Navaneeth

Similar Messages

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

  • Re ATP check in the Sales order

    Hi,
    I have one strange issue in SO ATP check. I have created a SO and it was cofirmed with Availability check:XX, which was maintained in material master  when the SO was created. Then I changed the Avail check to YY and did the Re-ATP check again in SO, but the system takes the old Avail check:XX.
    It takes the new Avail check if I create a new line item in the SO, but did not work for the exisitng line item.
    Regards
    Nagarajan.

    Hi Nagarajan,
    The master data changes will effect only for the future entries not for the already entered material in the sale order or any other transaction

  • How to cancel the sales order - header and line status are in Entered Stage

    Dears,
    I have some sales order to be cancelled in which the header and line status are in *"Entered"*. I am not able to cancel these sales order.
    Also note that these orders are for maintenance service.Once i book these orders the lines will change to closed status.
    So it is not possible to book and cancel the lines.
    Kindly me to resolve this.

    926530 wrote:
    Boss,
    If i do Action-->cancel on header, it just makes the qty to zero.But the header and line status still showing as entered.It will not cancel the order.
    The problem for me is that these lines are coming in my monthly reports. This is what your question says...be more specific as what is your issue..which in turn is your problem
    How to cancel the sales order - header and line status are in Entered Stage
    Coming to your Action-->cancel...as far as i know ...the header status will change to canceled..
    unless until you have some processing constraints in place...which is stopping you...
    HTH
    Mahendra

  • Customizing Availability Check in the sales order; EXIT_SAPLATPC_001, etc..

    Dear All.
    Looking for a way to automatically control what's chosen in the sales order Availability Dialog box depending upon certain conditions.
    This is the "Rule for transferring the results of the availability check", field TVTA-REVFP.
    The default is blank, which lets the user select what they want.  Under certain conditions though we do not want to display the dialog box, and just have the system automatically select "A" which is what's available on the requested date.
    Mainly I've been trying to find what REVFP translates to in USEREXIT_AVAILABILITY_IN, and EXIT_SAPLATPC_001.
    We've reviewing P_ATPCSX-RESMD, in EXIT_SAPLATPC_001.  And trying to set it to "A" in debug with no luck.
    Possibly this is too late or too early in process, or the wrong field.
    Has anyone done anything like this before or have any ideas on how to approach?
    Many Thanks!

    hey kharthik,
    i got the same requirement. hv u got the solution for this ..if so please provide me..
    Regds
    Satya

  • Check if the Sales Order is credit block.

    Hello Everyone,
    I have a requirement related to third party sales order and delivery. In the first system, a sales is created and then the PO gets created. Upon the creation of the PO a IDOC gets generated. The inbound IDOC in the other system triggers and a sales order gets created. The requirement is that if sales order in the first system is on credit block then automatically the sales order in the second system should go on delivery block.
    The solution that I have thought is that when the IDOC gets created after PO generation there itself add a flag to IDOC in case of credit block in sales order. BUT HOW TO CHECK CREDIT BLOCK of the SALES ORDER IN THE CUSTOMER EXIT?
    Any help is appreciable.

    Hi Rahul,
    Need some more clarification on why sales order is created in the second system, if it is a third party process ?
    are you creating delivery from the corresponding sales order of second system to replenish sales order of first system ?
    are you using standard IDOC type for creating Sales order from PO ?, if so check the Corresponding Function module which may have user exists
    check Function module : IDOC_OUTPUT_ORDRSP
    At first system, if the sales order is credit block you can restrict creation of PR-->PO in the first system itself, this is a standard Functionality
    This would be easier than looking for user and coding in IDOC function module
    try and revert
    thanks
    santosh

  • Do you know the link between the sales order item and functional location ?

    How know the functional location if I know de sales order number and item ?
    Wich table or bapi ?
    Tks.

    Hi,
    I think there's all details in my question.
    You answer is right only if I need to know the functional location at AUFNR level.
    Is not my case, I need this information at sales order level.
    Regards,
    Roberto.

  • Difference in Material availability date for ECC ATP check & for APO ATP check in the same order

    Hi Gurus,
    I have a question: on what basis material availability date is calculated in forward scheduling?
    Eg:
    For a customer GR hours are maintained in unloading point calendar in customer master and Customers are not CIF'ed across to APO.
    GR hours are maintained for weekdays from 8:00 to 12:00 & 1:00 to 6:00.
    In a sales order with two line items with Requested date today & plenty of stock on hand for two products( ECC & APO) where line 10 (product 1) triggers ECC ATP check & line 20 (product 2) triggers APO ATP check at same location (loc1).
    RDD is today, material availability date for ECC ATP check (line 10) is today (working as expected) but where as the material availability date for APO ATP check (line 20)is pushed to next day by which for the same customer there are different delivery dates. And two delivery notes will be created & truck will be on road at different times for the same customer which is unacceptable.
    What am I missing here to get the material availability date as today for forward scheduling? Please guide me on this.
    Thanks,
    Nihar

    Hi Nihar
    Though the logic you mentioned makes sense. I am confused here with the data you have provided:
    UTC day
    UTC time
    CET day
    CET time
    UTC+6 day
    UTC+6 time
    RDD
    30/04
    17:24
    30/04
    7:24
    30/04
    23:24
    MAD
    30/04
    17:24
    30/04
    7:24
    30/04
    23:24
    Lod/GI
    02/05
    17:24
    02/05
    7:24
    02/05
    23:24
    Del
    12/05
    17:24
    12/05
    7:24
    12/05
    23:24
    Del
    13/05
    1:00
    13/05
    3:00
    13/05
    8:00
    Load/GI
    05/05
    1:00
    05/05
    3:00
    05/05
    8:00
    MAD
    02/05
    1:00
    02/05
    3:00
    02/05
    8:00
    In the first row, the difference in RDD in UTC and UTC+6 is 6 hours. However, in the last three rows I can see the difference between UTC time and UTC+6 time is 7 hours. Would you know the reason to this? Also, in the first four rows, CET time = 7:24 which should had been 19:24. Please correct me if I am missing something here.
    Thanks,
    Parth Soneji

  • Manually trigger Availability Check in the Sales Order User Exit MV45AFZZ

    Hi All,
    As per the normal scenario where sales orders are created and the schedule line delivery dates are determined.
    Based on some business logic for few customers we need to change the delivery priority and confirmation delivery date.
    We are implementing this logic in the user exit MV45AFZZ in the routine USER_EXIT_SAVE_DOCUMENT_PREPARE.
    The availability check logic is already implemented by then. Now we have scenarios where the date redetermined by the custom logic is greater than the one determined by the standard availability check done by SAP.
    We have changed the values of the field VBEP-EDATU as per our logic but we still have 2 lines in the schedule line data where the requested date is greater than the confirmed date.
    This can be tackled if we can redo the Availability Check.
    Can someone provide pointers on how can we trigger the availability check manually in the code.
    Regards,
    Karthik

    What was the solution?

  • Not able to re-atp 1of the sales order line item

    Hi SAP PP Gurus,
    When I tried to re-atp 1 of the sales order line item it is giving error as mentioned below. Please let me know where this fix qty indicator in the sales order and how can I de-activate the same.  Thanks in advance....
    Item has no open quantity - Check fixed quantity ID
         Message no. V1 601
    Diagnosis
         The item does not have any open, confirmed quantities and the "fix
         quantity" indicator is activated. This means that the customer has
         agreed on a zero quantity and nothing is delivered.
    System Response
         The system issues a corresponding message.
    Procedure
         If you want the item to receive a confirmed quantity after all which can
         be delivered later, you should de-activate the fix quantity indicator.

    Hi Ritish,
    Strategy is MTO..
    I have triied to perform atp by using fix qty/date but still system in not proposing MAD. And it is giving below error screen.
    No. of components checked:                1
    Missing parts:                            1
    Overall confirmation date could not be determined
    Order : 1104739992
      Material           Plnt SLoc Reqmts q     Requirements  ATP/avai     Committ. d Material description M Bl
      NH524AA@@          32F2 F2WH   1.000      03.08.2009      0.000      99.99.9999 HP gt7725 PCI Expres X
    Thanks and Regards,
    SHARAN.

  • Need help on IDoc for Picking, Packing and PGI against the Sale order

    Hi All,
    I am new to this IDoc stuffs. Below is the scenario for which I would like to know the details of the IDoc...
    Business Case:
    1. Storage location is a HU Managed but not WM managed.
    2. This storage locations is managed by a third party
    3. Outbound delivery document against the SO will be created by our personnels in SAP for this storage location.
    4. Picking, Packing and PGI needs to happen/post via Idoc. (By packing here, i refer to assign the HUs that are already created for the materials and is available in the storage location and not repacking)
    Is there any standard IDoc that can be used here to Pick, Pack and post PGI. We would like to have picking and packing in a first idoc and PGI on the second idoc.
    Thanks,
    Prashant

    Hi Typewriter,
    Thanks for your reply on this post..
    The business process is as below (it was changed recently to have the creation of OBD, pick HUS and then post GI via single IDOC)
    1. We have a storage loc in our enterprise structure that is HU managed but not WM managed.
    2. This storage loc is being maintained by a third party.
    3. SO will be created to be shipped out of this plant/sloc.
    3. The stocks at this storage loc will be Special stock "E" against the sales order. And the stocks will be Packed in HUs.
    4. The third party is informed to deliver the stocks (HUs - that do have the special stock number which internally refers to the the SO number and the line item number) directly to ship to party address in SO.
    5. The 3rd party will physically ship the HUs to customer and send in the details that they have shipped goods against the sales order.
    6. The details sent by the 3rd party will be received in SAP to create OBD for the sales order, Pick, Pack and post GI. This can happen via a single IDOC..
    I am now planning to create a custom IDOC type referring to the standard IDOC type DELVRY03 and message type DESADV and to use a custom BAPI/FM.
    Do you think I am using the right ones?
    Thanks,
    Prashant Kumar

  • How do I get the line number of the sales order and how do I save info?

    I am trying to create a form that is able to be called from a right click on the sales order matrix and will display some of the user defined fields associated with the line.
    I've managed to create a form and add a menu option to the right click but I'm now stuck because of the following:
    1. How to I know which line the user selected? I need the REAL Line Number from the RDR1 table because I need to use it on the data filter of the form.
    2. I hard coded a line to just to see if I can load a form and it appears to load and bind the data to the controls, but how do I save changes made? There are several text fields, combo boxes, and a picture control.

    Hi Coleman,
    1. The pVal returned form a menu event does no provide the LineId, but a pVal from a Item Event does. I suggest you use a DoubleClick or Control + Click on the Line to trigger an event that you can catch and use to launch your form.
    2. Please note that if the Sales Order line is closed you'll not be able to update the values. If it's not, then you need to instantiate a Sales Order document, get the correct document with the GetByKey method and update whatever fields you need.
                    Dim oSalesOrder As SAPbobsCOM.Documents = oCompany.GetBusinessObject(BoObjectTypes.oOrders)
                    If oSalesOrder.GetByKey(docentry) = True Then
                        oSalesOrder.Lines.SetCurrentLine(pVal.Row - 1)
                        oSalesOrder.Lines.UserFields.Fields.Item("U_MyUDF").Value = ""
                        oSalesOrder.Update()
                    End If
    Regards,
    Vítor Vieira

  • Sale order Processing status

    Hi gurus,
               Where we check the sale order processing status configuration ?
    Regards,
    T.Murugu

    Dear Murugu
    If you see the document flow of the particular sales document, you can see the status.
    If you want to know where the control is, go to VTLA, for the combination of your order type and delivery type, select your item category and execute.  There you can see a field Update document flow.  You have to check this box for status updation.
    thanks
    G. Lakshmipathi

  • How to change the currency of the order  while creating the sales order??

    Hi all,
    I am new to this field.I have to create a Sales Order with reference to another
    SO but with different sold to party.Here i also have to change the currency of
    order from dollar to GBP.
    Please assist me to do this.
    Thanks.
    syed

    Hi
    Goto VA01 and try to create the order with reference to the Old order
    and after that order details are copied to the New order then, change the Sold to party and the currency in the Sales order Header and see? whether it allows you to change it or gives some error? then based on that you have to check and do further processing.
    Try and see
    If it won't allows you to change
    then create a New SO with the new sold to and currency and just take the old orders data from VBAK and VBAP tables and enter into the new order fields and save it will be created.
    <b>Reward points for useful Answers</b>
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • COGS issue in the sales order

    Need your help to resolve below issue.
    A sales order is created with multiple line items. The user created delivery and invoice document for one of the line item in the sales order. The line item cost was active in the sales order and invoice document. The value was determined from the material master record.  The user then created delivery document for other line items in the sales order, but invice document creation ends with an error message that "Sales order is incomplete so billing can not be carried out" VF 069
    The first invoiced item has become inactive in the sales order now and the sales order goes into incomplete status. The system is blocking the invoice document creation for rest of line items. Could you tell me why the line item cost became inactive. Also tell me how to resolve this issue.

    I dont think,
                   There is any problem with Cost in Sales order line item.
    Cost copied from MMR is statiscial & always in display mode.
    Goto VA02- key in order no n press entere.
    now from menu bar- Goto- Edit - Incompletion log ( Cntrl + F8).
    if any field is missing , then maintain the field  to complete the sale sorder.
    incompletion log will be maintaiend @ order n item level. check in Item category for the incompletion procedure & check the fields maintained in incompletion procedure in Tx: OVA2.
    Regards,
    Reazuddin MD

Maybe you are looking for

  • Home folder got nested, how to move up a level within Users folder

    So I went to change my short name from scott1n to scott using https://discussions.apple.com/docs/DOC-3872 and let's say it didn't go well. At first when I logged into the account it opened up as if it were a new account. I went back and tried to reve

  • Video Files in.m4v format

    I am trying to send my client some .m4v files to load into WIndows iTunes and onto an iPod and the cant get it to work...we are in different towns. I sent the .zip file (containing an little 3 minute .m4v movie) up to my FTP server. They have no FTP

  • Not able to draw a layer

    I'm new to DW 8.2 and I'm studying from a couple of books. I have an issue that I can't seem to resolve even after extensive research. I'm using a Mac running Tiger. When I try to draw a layer on either a new doc or one that already has some content,

  • Locked out of iMovie project - aagghh.

    I'm using iMac, OSX 10.8.2 with iMovie 11. Not an expert but familiar with this. I have worked on a project for some time, 20 minutes long. Last night, while beat marking the audio, it seized up. After a restart, I have been unable to edit or export

  • Property not appearing in Taxonomy list?

    Hi All I have created 2 properties which will be used to classify documents in a taxonomy structure. However I have a problem - the properties I have created do not appear in the property list in the 'Taxonomy Query Builder'. I am not sure why? Does