Update PTO Sales Order from PO with Partial MIGO

Hi,
how to update dates and quantites in PTO sales order from PO with partial MIGO.
I could find the FM 'SD_PURCHASE_CHANGE_ORDER' which can change the date in PTO sales order from PO with MIGO fully done.
Can we do it through any other means?

I Could change the date through some user exit

Similar Messages

  • Reg : NO UPDATE OF SALES ORDER FROM PO erroer I0 114

    hi experts,
    while creation of PO with reference to PR,user gets error " NO UPDATE OF SALES ORDER FROM PO erroer I0 114 ".
    What could be the reason for this error?any idea...
    rgrds...

    Hello Jurgen,
    here the error message is " NO UPDATE OF SALES ORDER FROM PURCHASE ORDER  error I0 114 " .
    is there any solution for this issue.user looks frustrated because its working for one PO and the next PO its showing error.
    Rgrds.....

  • No update of sales order from purchase order

    Hi,
    When I am trying to change the delivery date of a purchase order line item, I get the error
    "No update of sales order xxxxx from purchase order (error V1 348)" How can I resolve this?
    Sincerely,
    Ketan

    Hi,
    Check whether this PO is created w.r.t. PR and PR is created automatically during Sales order creation.
    If it is so then need no to change the delivery date in PO, it will always get updated as per the Schedule Line date of sales order.
    You can go for GR w.r.t. PO directly.

  • Issue Updating Base Sales Order From A Delivery

    As a Delivery doc is added that was created from a Sales Order, I would like to be able to update certain unclosed information in the base Sales Order document.  Two of the fields are user fields, which don't present an issue.  I can make the updates accordingly through the SDK.  The issue I'm having presents itself when I attempt to update the TransportationCode (ORDR.TranspCode) field in the base sales order, which is a field on the logistics tab.  I can make the update through the SBO interface version 2005 fine, but when I make the update through the SDK version 2005 use VB.NET 1.1 I get the following error:
    [ORDR.DocRate] , 'Field cannot be updated (ODBC -1029)'.
    It's strange because I'm not making any updates to the DocRate field.  This issue arose after an upgrade from 6.5 to 2005.  Worked fine in 6.5.  The DocRate (exchange rate) field is not used in documents entered in local currency as far as I know.
    Any ideas?
    Private Sub UpdateOrderFromDelivery(ByVal DS As DataSet)
            Dim oORDR As SAPbobsCOM.Documents
            Dim oDEL As SAPbobsCOM.Documents
            Dim RetVal As Long
            Dim DT As New DataTable
            Dim DR As DataRow
            Dim OrdrTrackNum As String
            Dim AL As New ArrayList
            DT = DS.Tables(0)
            oORDR = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
            oDEL = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes)
            Dim i As Integer
            For i = 0 To (DT.Rows.Count - 1)
                DR = DT.Rows.Item(i)
                Dim CurBaseDocEntry As String = DR.Item(0)
                'Check to see if the Sales Order update has already been processed
                If AL.Contains(CurBaseDocEntry) Then
                    GoTo SkipLoop
                End If
                If oORDR.GetByKey(CurBaseDocEntry) = False Then
                    Throw New Exception("Could not find Sales Order Key " & DR.ItemArray(0) & ".")
                End If
                If oDEL.GetByKey(DocEntry) = False Then
                    Throw New Exception("Could not find Delivery Key " & DocEntry & ".")
                End If
                Dim DelTrackNum As String = oDEL.UserFields.Fields.Item("U_TrackNum").Value
                oORDR.UserFields.Fields.Item("U_TrackNum").Value = DelTrackNum
                Dim DelShipCost As Double = oDEL.UserFields.Fields.Item("U_ShipCost").Value
                oORDR.UserFields.Fields.Item("U_ShipCost").Value = DelShipCost
                <b>Dim DelTransCode As String = oDEL.TransportationCode
                oORDR.TransportationCode = DelTransCode</b>
                RetVal = oORDR.Update
                If RetVal <> 0 Then
                    Dim Err As String, Msg As String
                    oCompany.GetLastError(Err, Msg)
                    Throw New Exception("Unable to update ORDR from ODLN.  " & Err & " - " & Msg)
                Else
                    AL.Add(CurBaseDocEntry)
                End If
    SkipLoop:
            Next
        End Sub

    Hi,
    i think any of the fields in the base sales order get updated when u set the delivery 's(target's) base entry no
    oDel.BaseEntry = docnum of Order
    Hope this helps

  • No update of sales order from purchase order V1 322

    'No update of so from po V1 322' This error occurred while we were trying to delete 3rd party PO line item
    Help please..

    Hi,
    The error was because the user exit MV45AFZZ was changing some values on table VBEP.

  • Revised Price Updation in Sales Order

    Hi Gurus,
    I have 1000 Open Sales order to update revised price (Sales Orders created with backdated ).
    I have updated all Sales Orders pricing date with revised pricing date(using MASS tcode MASSSDHEAD_S-PRSDT) and all Sales orders revised pricing date is updated.
    After i ran the VA05 and selected my desired Sales Orders and EDIT->Mass Change->New Pricing.
    After this activity, system deleted old basic price in Sales order and nothing is updated.
    Can you please suggest me how to update.
    Regards
    SK

    In program MV75AF01_OKCODE_MPRF, field SY-UCOMM must be saved.
    Please refer following SAP Note for further details:
    - Note 189121 - Mass change new pricing does not function
    Regards
    JP

  • Price Update on Sales Order - After partial delivery and invoice

    Hi all,
    I have created a sales order of 10 tons and a despatch advice of 5 tons and invoice of 5 tons. Now when i want to update price on sales order then system give me "Update" button in grey.
    My client wants to update price on those sales orders too which are partially despatched. Is that possible to do this in SAP? If yes then how?
    Please respond.
    Best Regards,
    AI.

    Hi
    I can suggest 2 alternatives .
    !.Create  a debit memo request sothat prices can be updated along with other details and changes can be tracked.
    For voluminous data  you can create a BAPI for Sales order creation and give related paramenters.
    2. Create a BDC and update pricies for all partially processed sales order in KONV table using KNUMV .
    This a bit tricky ,as there are chances of dumps and sensetive data becomes unstable ,also when you change by updating condition ,you dont get earlier prices and change is not controlled and almost irreversible.
    I suggest first approach ,with better tracking , analysis and less disturbance to standard system.
    Check business object  Sales Order
    Function module : BAPI_SALESORDER_CREATEFROMDAT1
    You can take help of ABAP developer for creating BAPI.
    I hope this helps
    Regards
    Mandar

  • Update of Sales Order Delivery Dates from Production Order Date Changes

    I work at a discrete made-to-order manufacturer. 
    When our factories maintain their production orders, they will often have to change their order dates.  Is there a way so that these changes can automatically update our sales orders so we can re-send sales order confirmations?

    hi,
    this comes under development part.
    please check the feasibility with your abaper because you will have to change standard code.
    regars,
    balajia

  • Error determining posting period(infostructure S008,Variant Z2,RC3) while creating Sales orders from Inbound IDOCS

    Hello,
    I am getting this Error message"error determining posting period(infostructure S008,Variant Z2,RC3)" while creating Sales order from Inbound Idocs in the IDOC,which is affecting sales order creation.
    While viewing this Info structure S008, I could see no records have been maintained. Wanted to know the reasons behind this Hard error?
    Is it something related to Date Field used in the Update Rules for this Infostructure which is causing this posting period error?
    Appreciate your inputs on this.
    Thanks and Regards
    Mohammed Roshan

    Thank you Jelena,I checked the Ship. Delivery dates in the IDOC which are for Current Fiscal Year- 20140703 and 20140711,Could there be any other reason for this error?
    Could it be an issue with e Update rule in this Infostructire S008
    Secondly when we try change the update rule thru MC25 for this Infostructure S008,It gives a message"
    "Maintenance of SAP standard updates not allowed"
    Kindly advice
    Thanks and Regards
    Mohammed Roshan

  • Transfer of sales orders from one plant to another

    Dear all,
    My requirement is as follows:
    I have created some 500 sales orders (open) in one sales org+plant.
    Now due to plant shifting to other area, I want to transfer all the above open sales orders to another sales org+plant.
    One option is to create them manually. But that is time consuming and prone to errors.
    Second option is to upload thru LSMW. That too is very tedious.
    Third option is to extend/assign new plant to the old sales area and change the plant in the orders. But I want in the new sales org + new plant.
    Is there any other option by which I can transfer the above sales orders from one plant to another?
    Regards
    SAPshed

    Hi SAPshed,
    The problem is not the change of plant, which is standard functionality, but the change of sales organization.
    An awful lot of information depends on the Sales Organization: Company code (!!), customers, materials, prices, profit center, etc.
    SAP does not even admit creating a sales order in a Sales Organization A with reference to a sales order with a sales organization B.
    IMHO your best option is to try to maintain the current Sales Orders with the current Sales Organization and change the Sales Order in VA02 (your third option).
    If you are absolutely sure that all materials and customers are created for the new Sales Area in the same way and that prices (discounts) are the same, you might want to do a direct update to VBAK table to change the Sales Organization (nasty!), but be prepared for the consequences (no SAP support in case of problems, you are on your own).
    Therefore if you insist on a different Sales Organization, then option 2) will be your best best.
    Best Regards,
    Franck
    P.S. IMHO it is Best Practice to have a unique Sales Organization / Company Code.

  • Create multiple sales orders from single service notification?

    Is it possible to create multiple sales orders from a single notification (IW51)? 
    We currently create sales orders directly within transaction IW51 (Create Service Notification).  We kick off the sales order creation by pressing the "SALES ORD." button in the notification screen.  We're now interested in creating a 2nd Sales Order which would tie directly to the same Service Notification.  This is so that we can have the second order assigned to a different account assignment WBS (there are two different parties doing work on the service notification).
    I assume you would have to go to VA01 to create the Sales Order, but am not sure how to tie it directly to the service notification from here.  I treied to do a create with reference, but there is no ability to create with reference to a service notification.
    Do I have to create a second service notification for the 2nd Sales Order for this to work?  I want to avoid doing this if at all possible.
    I'm running SAP R/3 Enterprise
    Thanks for your help!

    Hi,
    go to vtaa- copy controls for sales document to sales document.
    select your combination of order and quotation go to item level. There select value 0(zero) in field positive/negative negative.
    No need to change update document flow.
    After setting zero in copy control that be told on above. create order with respective to the quotation.
    After saving the order.
    go to document flow to see the status in between quotation and order.
    If you placed setting right, then u certainly observe for quotation status will be open. so you can create no. of sales order with respect to that quotation..
    Have a good day..

  • I have a problem regarding sales order line item with confimed quanity

    Hi Experts,
    I have a problem regarding sales order line item with confimed quanity with '0'  with delivery block but confirming the sales order quantity once the order is released from credit check.
    The situation arises as per the below scenarios.
    Scenario - 1 -  When the sales order has two line item - one line item with confirmed qunaity in the schedule line and for the 2nd line item there is no available stock for the Material xxxxxx.
    Initially the sales order is created for the line item 2 with confirmed quantity = 0, and having the delivery block = 01 for the Material xxxxxx  and the order is set with credit check.  Once the order is relased from the credit check.  The quanity for the item 2 where the confirmed quantity will be = 0 ( Where it is not changing the confirmed quantity)
    Scenario -2-  Updating the order qunaity for the line item 2 as (9Pcs) it will goes to credit check and save the order.
    Maintain the stock for the line item 2 ( 5 Pcs).
    Once the order is released from the credit check.  Then  for the line item 2 the confirm quanity will be seting to 5 Pcs with Delivery blcok 01.
    This should not happen, When the credit check is released even though if it has stock based on the delivery blockl it should set the confirmed quanity to Zero.
    Can you please help me how to solve this issue.
    Looking forward for your reply.
    Thanks and Regards,

    Hi,
    I agree with your point.  In the sales order When the complete delivery check box is enabled where the confimed qty is set to zero, it is fine but when we save the orderr it goes to credit check.  Once we release the order using VKM3 where in the sales order the confimed quantity is setting to 5,  But it should set to Zero quantity.  Quatity should not be get confirmed it should be Zero Quantity. 
    Further in SPRO - customizing in the deliveries blocking reasons - It has a tick mark in the confirmation blcok.  But we dont want to remove the - Confirmation Block tick mark
    Please any one can help me if you have any solution to solve this problem.
    Thanks and Regards.

  • Error V2 005 when creating a sales order from a quotation

    I hope someone can come up with some ideas to help me with this error. My client is creating a sales order from a quotation and immediately on the first screen the error V2 005 pops up. The quotation was not created with reference to any previous document, and at this point not sold-to party has even been copied through to the sales order.
    To make this error more interesting, this is only happening with 1 particular customer.
    I have checked: credit management, customer hierarchies, material determination, customer info records and none of these are in use.
    Can someone please come up with some ideas?
    Thanks and regards
    Kikas

    Dear Sai,
    Thanks for this note I am going to try it, however I have some concerns because the issue is only happening in production, with 1 custoemr only, and QA is an updated copy of production and I could not replicate the error in QA using the same customer....
    If anyone has any other ideas please I would appreciate it
    thanks
    Kikas

  • Create Sales order from Internal Purchase Order using IDOC

    Hello Friends,
    I have requirement to create Sales Order from Internal Purchase Order Using IDOC.
    Backgorund, we have already configured IDOC orders05 to create Sales Order from external Purchase order from Inbound IDOC, and it is working fine.
    Now we have new requirement to create Sales Order from our own Purchase order, i.e. When PO is created in one plant corresponidng sales order automatically must needs to create in another Plant with respect PO.
    I m trying to design a solution for above problem as follows,
    1.create an Inbound Idoc from PO, by creatiing one new message type on PO save.
    2.Process that Inbound  IDOC same as it is from external PO.
    3.Once processed Sales order will create.
    Please help me in step 1. to create Inbound IDOC from PO.
    If you want any further clarification please write me.
    Thanks,
    Mahesh

    I had done a similar scenario before and we achieved it through SAP XI. The problem is with the control record. When we create a ORDERS IDOC from a PO the control record will be for outbound transmission. We sent the file to XI and XI resent it back with some data parsing and a new inbound control record. This way it went neat outbound and inbound.
    I'm not sure what kind of architecture you have. If you have to do it within your ECC/R/3, then you could create the outbound IDOC to a new port and write a fresh RFC to pick it up from the same folder and create a new control record for inbound processing.
    I haven't tried this; but there is a "processing w. trigger (inbound)" option on the outbound process code. May be you can explore into that a bit more.
    I'm sure there could be better approaches to handle this within ECC so if you stumble on any, do write back. I would like to know to update my knowledge .

  • Updating a sales order through DI API

    Hi All,
         I have an issue regarding updating a sales order.
    The problem is:
      If there r 2 items(A00001&A00002) existed in the sales order and if I am adding two more items(A00003 & 4)the sales order is updated in a fashion that first item is replaced with third item and forth item is added as last record.The items to that particular sales order after updating will be like this(A00003,A00002,A00004).My doubt is why the 3rd item is replaced with first record.I am sending the code also i have written.
    objRecordSet = SBOCOMUtil.newRecordset(company);
                          IDocuments  oOrder =SBOCOMUtil.newDocuments(company,SBOCOMConstants.BoObjectTypes_Document_oOrders);
                                  objRecordSet.doQuery("select DocEntry from ORDR where DocNum=" + 1111);
                                  DocEntryL =objRecordSet.getFields().item(new String("DocEntry")).getValueInteger().intValue();
                          str += DocEntryL;
                          System.out.println(DocEntryL);
                          if (oOrder.getByKey(new Integer(DocEntryL))) {
                                  //objRecordSet2.doQuery("delete  from rdr1 where DocEntry="+DocEntryL);
                                  str += "2";
                                  System.out.println(str);
                                  //oOrder.remove();
                                  oOrder.setDiscountPercent(new Double(5));
                                  oOrder.setComments("success");
                                  System.out.println(str);
                                  IDocument_Lines oOrderLines = oOrder.getLines();
                                  str += "3";
                                  String[] item={"A00005","A00006"};
                                  for (int counter = 0; counter < item.length; counter++) {
                                       //  oOrderLines.setCurrentLine(new Integer(counter));
                                         if (counter > 0)
                                                 oOrder.getLines().add();
                                         str += "4";
                                  oOrderLines.setItemCode(item[counter]);
                                  System.out.println(item[counter]);
                                     //oOrderLines.setBaseType(new Integer(-1));
                                     //oOrderLines.setBaseEntry(new Integer(0));
                                   //oOrder.getLines().setCurrentLine(new Integer(counter));
                               //oOrderLines.setQuantity(new Double(1));
                                         //oOrderLines.setPrice(new Double(1500));
                                         //oOrderLines.setCurrency(strCurrency[counter]);
                                         //oOrderLines.setLineTotal(new Double(dblLineTotal[counter]));
                                  str += "5";
                                  //oOrder.getLines().getUserFields().getFields().item("Quantity").setValue(new Integer(2));
                                  System.out.println(str);
                                  int result = oOrder.update();
                                  str += "6" + result;
                                  if (result == 0) {
                                         System.out.println("successfully updated");
                                         company.disconnect();
                                  } else {
                                         company.getLastErrorDescription();
                                         System.out.println(
                                                 "Error :" + company.getLastErrorDescription());
                                         company.disconnect();

    If you are using SBP 2004 there are many threads on this forum talking about bugs when updating sales order lines through DI API. This issue was supposed to be fixed with patch level 45 for 2004 which was recently released.
    If u are using 2005 or SP1 I think you may have found a new bug.

Maybe you are looking for