Update Sales Order after approval procedure

Hi,
Anybody knows is there any way that we can enable updating of non-numeric field e.g. "item details" in the Sales Order's row after it's posted? Note that there is approval procedure involved, and Sales order posted with a status (approved).
I realized that only UDF at the document level can be updated. How to enable editing of UDF at the row level?
Thanks!
sianghing

No. Other than Sales Employee field, there is no option to update row level data after approval.
Thanks
Gordon

Similar Messages

  • Sales order not editable after approval procedure

    Dear SAP,
    for a customer we need to find out a way to edit sales orders after approval. Example: User fills a sales order with more than 100 positions and had a typing error which is realized later.
    Next example: Customer wants the delivery conditions to be changed. We know that changing a document after approval might sound strange - but the customer's processes are like that.
    Thanks a lot in advance, sincerely
    Guido

    It is not strange that every now and then, users have requests to change a document after approval.  However, the discipline is absolutely necessary here.  There is no room for you to change.  Otherwise, the approval procedure may not be that useful.  If there is typo, you have to recreate the document.  Next time the problem would be less. If unfortunately customer wants the delivery conditions to be changed, then you have to recreate the document too.
    Thanks,
    Gordon

  • Updating sales order pricing after partial delivery

    I have a requirement where due to an enhancement being implemented I need to be able to update the item pricing on the sales order after the item has been partially-delivered. Currently the standard system
    controls do not allow access to the Update Pricing button in the item conditions tab after a partial delivery for the item. Is there any way around this using the standard functionality?
    Regards
    BK GAIKWAD

    Dear,
           For update in sales pricing after delivery you require to reverse and delete delivery.
          Without delivery deletion it is not possible to update sales order's price.
          One more option is you can update your price in billing if you can not accounting of invoice.
    Regards,
    Sandip

  • Create Orders of Sale from DIAPI,  Approval Procedures not works

    Hi Experts,
    I generate Orders of sale, from an application for DIAPI, the orders have approval procedures of authorization but they do not apply to the generated orders, which I must do in order that he executes them.
    Thanks,
    Carlos.
    SAP B1 8.8, SQL 2008, WinSvr 2008 x64

    Hi
    If you create sales order through DI API then it will go not for approval. You can try an alternative first create it as a draft , later when the draft is converted to sales order it will go for approval
    Regards
    Arun

  • Unable to update purchase order after partial delivery

    bold Issue:
    After upgrading from v2005 > v2007:
    1) We created a PO with two different purchase items :
    row 1: 10 pcs Item x
    row 2: 15 pcs item Y
    2) create a Goods Receipt PO based on the PO row 2 (15 pcs Item Y) so this row will be closed in the PO.
    3) after saving the GRPO item Y is set as a non purchase item (deselected  the tick box "Purchase Item" on the Item master), because the supplier will not be able to deliver this item again.
    4) After changing item Y, we want to update the amount of Item X to for example 11 (instead of 10). This item is still a purchase item > while updating the PO the following error appears:
    [Purchase Order - Rows - Item No.][line: 2] , 'The item is not a purchase item (2)'  [Message 131-10]
    In v2005 it was possible to follow the above procedure, however since the upgrade of v2007 the error appears.
    The problem is that that it happens very often that the suppliers change the items, so they cannot be delivered anymore.
    bold  Below the response of SAP Support:
    Line: -
    Yes, I understand what you mean that the item you want to deliver is the other item PQ which is still a purchase item. However, the system does the checking based on document level, and not filtering only per Open rows. Hence, even if the item for B8 is fully closed, the system still detects that there is a non-purchase item in an open document (B8).
    In order to update the other item PQ, please set the item B8 back to Purchase Item. Once the Sales Order is updated, you may update B8 again to Non Purchase.
    If the possibility of using the 'Active/Inactive' button is not possible, another workaround is to use a User Define Field to flag the item. For example, you can set it as 'Y', when the supplier stopp ed selling the item. Then, in the Item Search window, you can filter the records to group those items that are set as 'Y' and the rest as 'N'. Only those 'N' items can be used when placing orders.
    As an added procedure, you can generate an approval procedure that will be triggered when an item that is set as 'Y' in the User Defined field is added in the Purchase Order. When the approval is trig gered, the user can then re-verify the items added and make the necessary changes before saving the purchase document.
    I hope the above workaround is suitable. I agree with the expected logic, but per Note937297, the stock status of an item is not meant to be changed after documents are added in the system. It seems a limitation in the current system.
    Line: -
    bold Solution:
    The system should check if the open row can be delivered, since it still is a purchase item.
    The provided workarounds are not an option for our customer, so we are looking forward to a positive reaction!
    Kind regards,
    Charlotte

    Unable to update purchase order after partial delivery
    Issue:
    After upgrading from v2005 > v2007:
    1) We created a PO with two different purchase items :
    row 1: 10 pcs Item x
    row 2: 15 pcs item Y
    2) create a Goods Receipt PO based on the PO row 2 (15 pcs Item Y) so this row will be closed in the PO.
    3) after saving the GRPO item Y is set as a non purchase item (deselected  the tick box "Purchase Item" on the Item master), because the supplier will not be able to deliver this item again.
    4) After changing item Y, we want to update the amount of Item X to for example 11 (instead of 10). This item is still a purchase item > while updating the PO the following error appears:
    [Purchase Order - Rows - Item No.][line: 2] , 'The item is not a purchase item (2)'  [Message 131-10]
    In v2005 it was possible to follow the above procedure, however since the upgrade of v2007 the error appears.
    The problem is that that it happens very often that the suppliers change the items, so they cannot be delivered anymore.
    Below the response of SAP Support:
    Yes, I understand what you mean that the item you want to deliver is the other item PQ which is still a purchase item. However, the system does the checking based on document level, and not filtering only per Open rows. Hence, even if the item for B8 is fully closed, the system still detects that there is a non-purchase item in an open document (B8).
    In order to update the other item PQ, please set the item B8 back to Purchase Item. Once the Sales Order is updated, you may update B8 again to Non Purchase.
    If the possibility of using the 'Active/Inactive' button is not possible, another workaround is to use a User Define Field to flag the item. For example, you can set it as 'Y', when the supplier stopp ed selling the item. Then, in the Item Search window, you can filter the records to group those items that are set as 'Y' and the rest as 'N'. Only those 'N' items can be used when placing orders.
    As an added procedure, you can generate an approval procedure that will be triggered when an item that is set as 'Y' in the User Defined field is added in the Purchase Order. When the approval is trig gered, the user can then re-verify the items added and make the necessary changes before saving the purchase document.
    I hope the above workaround is suitable. I agree with the expected logic, but per Note937297, the stock status of an item is not meant to be changed after documents are added in the system. It seems a limitation in the current system.
    Solution:
    The system should check if the open row can be delivered, since it still is a purchase item.
    The provided workarounds are not an option for our customer, so we are looking forward to a positive reaction!
    Kind regards,
    Charlotte

  • Error while updating Sales Order : Another user Modified Table (RDR1 )

    Hi All,
    I am getting an error message while running the following steps.
    Steps
    1)     Pull an entry from sales order.
    2)     Add new data to line.
    3)     Update the sales order.
    a)     Sap updated the data.
    b)     Through code using DI API we updated some UDF.
    4)     With out closing / Pressing OK button…
    5)     We added new data to line.
    6)     Then Press update.
    An Error will through by B1 as “Another user modified the table(RDR1 ).” Before going to the code where we are handling the update of UDF.
    But after the 3rd step above when we do
    4) Close the window or pressed ok
    5)  take the sales order window again pull the data
    6) Add new Data to line.
    7) Update sales order then it will go smoothly.(Updating by B1 and from code )
    Can anybody tell me why this happens?And any workarounds to solve this?
    Deepesh

    are u adding a matrix row thru the code? I get this error when I am adding rows and I get the rownumber out of sync.
    if so get the max (lineid) from rdr1 and then check against the matrix.rowcount before adding a row. if lineid is greater that matrix.rowcount take lineid + 1 and assign it to the matrix.row, else take the rowcount + 1
    if not, and as a workaround, then you can try using the SBO_SP_transactionnotification stored procedure.

  • Update sales order through workflow

    Hi,
       i developed one workflow for sales order.  after all aprovals the sales order is updating upto 2nd change. but 3rd change is not updating sales order.
    For updating sales order i am using BAPI_SALES ORDER_CHANGE function module.
    Thanks.

    Hi  Abdullah Azzouni         
    my scenario is when sales order is created or changed my workflow should trigger and make sales order as incomplete with  (Z field)  by using incompletion Procedure.
    Also some other custom fields there for other workflows in salesorder.
    In METHOD
       select single zfield1
                           zfield2
                           zfield3
                          Zfield4      <- for my workflow
                           INTO wa_ext_hdr
                          FROM vbak
                          WHERE vbeln = object-key-salesdocument.
           wa_ext_hdr-zfield ='X'.
       wa_ext_hdrx = 'XXXX'.
       MOVE 'U' TO wa_headerx-updateflag.
       MOVE: BAPE_VBAK  TO wa_extflds-structure.
       CONCATENATE object-key-salesdocument
                   wa_ext_hdr INTO
                   wa_extflds-valuepart1.
       APPEND wa_extflds TO i_extflds.
       MOVE: BAPE_VBAKX  TO wa_extflds-structure.
       CONCATENATE object-key-salesdocument
                   wa_ext_hdrx INTO
                   wa_extflds-valuepart1.
       APPEND wa_extflds TO i_extflds.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
       salesdocument     = object-key-salesdocument
       order_header_in   = wa_header
       order_header_inx  = wa_headerx
       behave_when_error = 'P'
    TABLES
       return            = i_return
         extensionin       = i_extflds.
    READ TABLE i_return INTO wa_return WITH KEY type = 'E'.
    iF sy-subrc EQ 0.
    ELSE.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDIF.
    Can you help on this.
    Please suggest me where i am wrong or if you know any other way to achieve this functionality guide me.
    Thanks in Advance.
    Raj

  • Sales invoice carrection  & item deletion from sales order after PGI

    Hello Sir ,
                   i want to change the item price after billing , account document is created .
                   what can i do for it ?
                  and second is . i want to delete line item from sales order after PGI
                  like  after delivery customer want  to change the goods .
                  please ans me asap
    Thanks
    Arvind
    Edited by: saparvind on Nov 5, 2009 5:30 PM

    Hi ,
    i want to change the item price after billing , account document is created .
    what can i do for it ?
    Once the Billing document and corresponding Accounting document created, then you have to cancel the BILLING DOCUMENT to change the Price.
    To change the Price , If it is Manual price directly you can change in the Billing document.
    If the Price is coming from the CONDITION RECORDS then you have to UPDATE the pricing to the  CARRY OUT NEW PRICING in the Billing documents, with Option B
    i want to delete line item from sales order after PGI
    like after delivery customer want to change the goods .
    For this you have to reverse the PGI in the Transaction code VL09 and then cancel the DELIVERY in VL02N---Delete.
    Now you can change the Goods in the Sales document in VA02.
    Please check the above and revert.
    thanks,
    santosh

  • How to change the pricing rate of Sales Order after delivery is created?

    Is it possible to update(change) the pricing rate which belong to a specific condition type, of the "Sales Orders"  after corresponding delivery is created ?
    number of the Sales Order to be changed is huge. How can I handle this situation ?
    immediate replies would be rewarded

    Repricing is only possible if your pricing record has a valid from date that is equal to or before the pricing date on the order. Otherwise, your pricing rate change will be applicable only from the begin date of that record.
    Assuming that it is allowed by config, you can go to VA02, go to conditions, and then there is small button at the bottom, that says 'Update'. By pressing that, your system will automatically reprice the sales order, provided, as I said, all pre-conditions are met. Once you know that you can do this, then you can adopt any of the technical solutions that Rich had suggested above to do the mass changes.

  • Updating Sales Order Retrospectively with PGI figure

    Hi
    Does anyone know if there is a way of retrospectively updating sales order with the value that has actually been POST GOODS ISSUED
    Thanks
    Tony

    What do you mean by Value? does the Value of the item change during PGI?
    If you mean to say, quantity, then yes, After PGI, go back to your order and change the order qty = PGI qty.
    Regards
    Sai

  • Error message when updating Sales Orders

    Hi Experts
    Following an issue over the weekend when I was forced to perform a  hard reset we are now experiencing error message when trying to update some sales orders. 
    This entry already exists in the following tables " ADO1 (ODBC - 2035) [Message 131 - 183]
    it is not happening on all orders - i think only ones which were on the system prior to the reset.
    We also use webtools and the B1SyncService seems to be causing the SAP B1 system to become unusable - following each attempt to sync there is an error in the event log:
    Event Type:     Error
    Event Source:     B1SynchService
    Event Category:     None
    Event ID:     0
    Date:          29/06/2009
    Time:          13:42:38
    User:          N/A
    Computer:     SQL01
    Description:
    A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)
       at netpoint.api.data.DataFunctions.ExecuteScalar(String SQL, String connectionstring)
       at NetPoint.SynchSBO.SBOObjects.SBOUtility.SetCompany(Company TheCompany, SecurityTicket securityTicket)
       at NetPoint.SynchSBO.Synch.SetCompany()
       at NetPoint.SynchSBO.Synch..ctor(SecurityTicket ticket)
       at NetPoint.SynchSBO.Synch..ctor(SecurityTicket ticket, Int32 pricinginterval)
       at NetPoint.SynchService.NPSynchService.Synch(String profile, Mutex mutex)
       at NetPoint.SynchService.NPSynchService.Main(String[] args)
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    For now I have had to stop the SyncService to prevent B1 from becoming unusable (users are unable to start any AR module), but even after I have stopped the syncservice I still have the error when updating sales orders.
    Regards
    Jon

    Dear Johnny,
    the error reported sounds like a DB Corruption. I would advise you to log a message to SAP Support including all the details in order to obtain the error message. It is also a good idea and it will speed up the process if you include some print screens showing exactly the error message.
    Hope my reply helps you to solve the issue.
    Regards,
    Wesley Honorato

  • Problem updating sales order partner addresses

    Hi all,
    iam trying to update addresses on sales order if there is any update on on the delivery.
    I update the VBPA-ADRNR and create the same ADRC-ADRNR.
    but when iam updating VBAP-VBELN for order using BAPI_SALESORDER_CHANGE there is a new ADRNR being created in VBPA as opposed to using the ADRNR i pass to the BAPI which is the delivery ADRNR.
    Can someone help me resove this...
    and one more small question..
    what do i pass to the paramter addr_handle in the fm ADDR_NUMBER_GET..

    i need to insert/update a record in adrc as soon as an address is updated in VBPA-VBELN of delivery.
    for this want to use ADDR_NUMBER_GET , ADDR_UPDATE/ADDR_INSERT.
    and after this process i am updating sales orders.
    but iam filling the tables u mentioned...the problem is teh new adrnr the bapi is generating instead of the one iam passing it in ADDRNUMBER(new ADRNR) in PARTNERCHANGES table and also iam passing ADDRLINK(old adrnr) field in PARTNERADDRESSES table.

  • Cancel Sales Order after Pick release

    1)Is there a way to cancel the Order after it has been pick released.
    2) Is there a way to update the ordr , if the Order status is 'Closed'
    Thanks

    1) To cancel a sales order after it is pick released, you will have to backorder the lines first. Then you can cancel them
    2) No. That is the reason why in most real world scenarios, the order is closed after a gap of some days(say 30 days) after all the lines are closed.

  • Update Sale Order Header Text through Enhancement

    Hi Experts,
             I Have a requirement to update the sale order Header Text , when the sale order is opened in VA02 and saved.
    Here in I tried using edit_text, it updates sale order header text  directly in DB during run time even before the save action is completed.
    But I need to just fill the header text and that has to be saved during the save action only.
    I tried coding the same in the user exit (userexit_save_document) but this user exit gets triggered only when there is some changes made to the document when opened in VA02 & Saved.
    Is there any  user exist to pass sale Order Header text and save when save button is clicked irrespective of the document been changed or not.
    Thanks in advance
    Sathish

    Hi Brad Bohn,
        My actual requirement is to trigger an Idoc when the user goes to VA02 transaction and clicks save.
    IDoc gets triggered only when there is some changes to that document, that is through NAST table entry based on the output configurations in NACE transaction.
    Now that the user wants to trigger an IDoc even if there is no change (ie. to reprocess the IDoc) when he just opens a sale order in VA02 and click save.
    It is not possible to trigger an IDoc through configurations when there is no actual change in VA02 and saved.
    So it has to be forcefully sent by making some additions to the Order through coding, so I choose that Text box to fill some additional data and save .
    Kindly Let me Know any thing could be done for this scenario.
    Thanks in advance
    Sathish

  • How to update sales orders using B1WS in SAP 8.8 PL18

    Hello all.
    We are having a problem updating sales orders using Sap Business One Web Service ( B1WS ).
    We are running SBO 8.8 PL18, MS-SQL 2008, and all is fine when using the SBO client.
    But when it comes to updating sales orders through B1WS we just cannot get it to work.
    We can add new orders easily without problems. Updating orders always gives this error:
    \[ORDR.PayDuMonth\]\[line: 0\] , 'Field cannot be updated (ODBC -1029)'
    We have checked and verified multiple times that our setup is correct.
    Also the WDSL files are verified.
    We can update orders just fine using the sboclient.
    And using B1WS we can basically do everything, besides updating.
    We have also tried this on different company db's, so we are quite sure this is not
    something related to some general setting we missed, but who knows?
    We have tried different ways to "assemble" the order before updating, but it always
    ends with the above error.
    Here is an example of one of the tests, where we load an order by docentry,
    increment the quantity of all open lines by '1', and then try to update it.
            protected void Page_Load(object sender, EventArgs e)
                // First we login
                string sessionId = "";
                LoginService.LoginService l_login = new LoginService.LoginService();
                LoginService.LoginDatabaseType l_dbtype = LoginService.LoginDatabaseType.dst_MSSQL2008;
                LoginService.LoginLanguage _lang = LoginService.LoginLanguage.ln_English;
                string _server = "SAP-8_8PL18";
                string _licserver = "SAP-8_8PL18:30000";
                string _db = "my_test_company";
                string _user = "manager";
                string _pass = "********";
                try
                    sessionId = l_login.Login(_server, _db, l_dbtype, true, _user, _pass,
                               _lang, true, _licserver);
                catch (Exception ex)
                    Response.Clear();
                    Response.Write(ex.Message);
                    Response.End();
                if (sessionId == "")
                    Response.Clear();
                    Response.Write("No sessionId");
                    Response.End();
                // We are logged in and have a sessionId
                // Now load a valid open order by docentry
                try
                    OrdersServiceRef.OrdersService orderService = new OrdersServiceRef.OrdersService();
                    orderService.MsgHeaderValue = new OrdersServiceRef.MsgHeader();
                    orderService.MsgHeaderValue.SessionID = sessionId;
                    orderService.MsgHeaderValue.ServiceName = OrdersServiceRef.MsgHeaderServiceName.OrdersService;
                    orderService.MsgHeaderValue.ServiceNameSpecified = true;
                    OrdersServiceRef.DocumentParams docParams = new OrdersServiceRef.DocumentParams();
                    docParams.DocEntry = 31; // Docentry of a known open order
                    docParams.DocEntrySpecified = true;
                    OrdersServiceRef.Document order = orderService.GetByParams(docParams);
                    OrdersServiceRef.DocumentDocumentLine line = null;
                    for (int i = 0; i < order.DocumentLines.Length; i++)
                        line = order.DocumentLines<i>;
                        if (line.LineStatus == OrdersServiceRef.DocumentDocumentLineLineStatus.bost_Open)
                            line.Quantity += 1;
                    orderService.Update(order);
                catch (System.Web.Services.Protocols.SoapException ex)
                    Response.Clear();
                    Response.Write(ex.Message);
                    Response.End();
                catch (Exception ex)
                    Response.Clear();
                    Response.Write(ex.Message);
                    Response.End();
                Response.Clear();
                Response.Write("All OK");
                Response.End();
    I hope that someone has an idea as to why this happens.
    The customer often changes quantity or adds lines on their orders,
    and the only way to solve it so far has been to make a new order and
    close the old one.
    Thanks in advance
    J. Thomsen

    Hi,
    Welcome you post on the forum.
    Have you checked if you only update a specific line instead of a loop?
    Thanks,
    Gordon

Maybe you are looking for

  • Serial number and MMBE report inconsistent

    Hi friends, I have a situation wherein in IQ02, for a material and serial no. the entry is there .i.e. say a material M" has a Serial no.say S1 present in plant BOM, storage location1000.This is seen as I go to the S.No. history it shows the last tra

  • Clearing query

    Hello, We are clearing GL account.There are lot of documents with document type KR,AB,DZ & SA.On clearing, we assign all documents , but on simulation it only selects document type AB .Unable to understand why the other document type are not picked u

  • Currently using panther but would like to go to tiger but...

    i really like some of the software that came bundled with panther. i also want to update and buy ilife. is there a way to keep some of the programs that they took away such as world book? since it came bundled its not something that can just be reins

  • Virtual hosts problem

    I have an interesting problem. Running CF 7.02 standard on Windows using Apache 2.2 as the web server. I have multiple name virtual hosts set up on this server. Let's say I have two sites A and B. A user requests http://A/default.cfm. They get http:/

  • Rewire slave apps stuck in 3/4 signature.

    When launched as master, Live or Reason behave normally, with respect to time signature. However, when Logic 8 is the master, they both operate in 3/4 only, no matter what time signature is defined within Logic. Intel Mac Pro (8 proecessor), OS 10.5.