Transaction code to update sales order configuration

Hi All
Is there any transaction code (other than va01/va02) to update the item configuration details of a sales order
thanks
Ravindra Suvarna

Hi!
Anyway you can develop custom one based on BAPI_SALESORDER_CHANGE.
Regards,
Maxim.

Similar Messages

  • Transaction code for Open sales order other than VA05

    Hi all,
    Can any one tell me what is transaction code for open sales order other than VA05.
    Please help me .
    Thanks & Regards ,
    Srikanth P.

    Hi Srikanth,
    You can try below options.
    1- VA05N - This can be run for multiple sold to party & multiple material, etc which was not in VA05. But this doesn't have all columns in VA05 report.
    2 - You can check the sales order tables from transaction SE11 or SE16N
    Try with below tables for your requirement.
    Sales order Header data - VBAK
    Sales order Item data - VBAP
    Schedule Line Data - VBEP
    Business data - VBKD
    Status header - VBUK
    Status items - VBUP
    Best regards,
    Anupa

  • 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

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

  • Change the company code in a sales-order

    Our client is working only with one sales org 1000 assigned to one company code 1000 but having 14 other company codes and also having different plants which are individually assinged to different company codes at the clients requirment and to only one sales organisation.
    While creating sales order in sales area (1000/10/10) system have picked 1000 company code in the sales order header table VBAK, based on this combination there are several SO's created in which  the company code picked is wrong. We need to update the sale order correctly with corresponding company code as per business requirment.
    Please suggest with a report or the process of update\ion of sales orders.
    Thank you in advence.
    Shravan.

    Shravan.
    This is not a SAP standard practice.
    So, you need to create a program to create another sales order (and choose a correct sales area).
    Leonardo Rocha

  • Product costing by sales order configuration steps

    hi
    plz send me product costing by sales order configuration steps.
    sir, i know manufacturing order configuration step but i do not sales order configuration.
    in the sales order also is same as manufacturing order like first we have to make planning cost , the planning cost should be updated to material master and next configure the actual cost.
    for first step- costing variant -okkn
    next -costing variant -opl1
    for sales order also same we need to update planning price first- what is costing variant
    for actual cost - what is costing variant
    plz tell me detail
    regards,
    sowmya
    Moderator: Please, read forum rules before posting

    Hi Sashikanth,
       Please send me the Configuration document for make to sales order.We are at Blue print stage need some docment for make to sales order.Plese send me the document it will will be very help full for me.
    My id is [email protected]
    Thanks in advance
    Regards,
    Nagaraju
    Edited by: nagaraju sami on Mar 9, 2008 11:58 AM

  • Update sales order qty through BAPI_SALESORDER_CREATEFROMDAT2

    HI
    Can anybody help me out.  I have the requirement for creating sales order through BAPI_SALESORDER_CREATEFROMDAT2. The sales order is created but with 0 quantity.
    I am using fields RNDDLV_QTY and TARGET_QTY and REQ_QTY in schedule lines & also setting the update indicator to 'X'  in the corresponding itemx structures.
    In fact it used to work earlier and has stopped now. I am also checking if there could be any change in configuration but don't think this should be the reason.
    Can someone guide me as to which quantity fields of the BAPI are the right ones to update sales order qty?
    thanks

    Hi,
    You are using the correct fields i.e. TARGET_QTY and REQ_QTY. Just check if you are passing the same Item Number in both the tables.
    Hope it helps...
    Lokesh

  • Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng)

    Hi,
    I have a requirement to use a Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng), which one (Function Module or BAPI) should I use? is there any sample codes?
    Thanks a lot!!

    Hi,
    *& Report  ZTEST
    REPORT  ztest.
    DATA : wa_header TYPE bapisdh1x,
                i_item TYPE TABLE OF bapisditm WITH HEADER LINE,
                i_itemx TYPE TABLE OF bapisditmx WITH HEADER LINE,
                i_return TYPE TABLE OF bapiret2.
               wa_header-updateflag = 'U'.
               i_item-itm_number = '000010'.
               i_item-target_qty = '4'.
               APPEND i_item.
              i_itemx-itm_number = '000010'.
              i_itemx-updateflag = 'U'.
              i_itemx-target_qty = 'X'.
              APPEND i_itemx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument               = '1234567890'
        order_header_inx            = wa_header
      TABLES
        return                            = i_return
        order_item_in                 = i_item
        order_item_inx               = i_itemx
    Hope this will help you.
    Regards,
    Anand.

  • Update sales orders

    Hi All,
    I have to update the sales orders with 'reason for rejection code'(abgru).
    for this i want use BAPI_SALESORDER_CHANGE.
    As I am new to BAPI's can anybody please explain what r all the parameters we have pass and how can we pass the data from our internal table to the BAPI
    thanks,
    sudheer

    Hi ,
    Thanks for your immediate reply.
    I tried with the following code, but the sales orders are not updated after executing the code.
    DATA: LIT_ITEM TYPE BAPISDITM OCCURS 0 WITH HEADER LINE,
          LIT_ITEMX TYPE BAPISDITMX OCCURS 0 WITH HEADER LINE,
          LIT_TEXT TYPE BAPISDTEXT OCCURS 0 WITH HEADER LINE.
    DATA: T_BAPISDH1   LIKE BAPISDH1   OCCURS 0 WITH HEADER LINE,
          T_BAPISDH1X  LIKE BAPISDH1X  OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF I_RETURN OCCURS 0.
            INCLUDE STRUCTURE BAPIRET2.
    DATA: END OF I_RETURN.
    DATA: BEGIN OF I_BAPIRETURN OCCURS 0.
            INCLUDE STRUCTURE BAPIRET2.
    DATA: END OF I_BAPIRETURN.
    LIT_ITEM-ITM_NUMBER = ITAB1-POSNR.
          LIT_ITEM-REASON_REJ = 'ZC'.
          APPEND LIT_ITEM. CLEAR LIT_ITEM.
          LIT_ITEMX-ITM_NUMBER = ITAB1-POSNR.
          LIT_ITEMX-UPDATEFLAG = 'U'.
          LIT_ITEMX-REASON_REJ = 'X'.
          APPEND LIT_ITEMX. CLEAR LIT_ITEMX.
          Save rejection reason text
          LIT_TEXT-DOC_NUMBER = ITAB1-VBELN.
          LIT_TEXT-ITM_NUMBER = ITAB1-POSNR.
         LIT_TEXT-TEXT_ID    = 'Z061'.
          LIT_TEXT-LANGU      = SY-LANGU.
         LIT_TEXT-TEXT_LINE  = ITAB1-TDLINE.
          LIT_TEXT-TEXT_LINE  = ITAB1-ABGRU.
          APPEND LIT_TEXT.
         CLEAR : I_LIST-TDLINE.
          CLEAR : ITAB1-ABGRU.
          T_BAPISDH1X-UPDATEFLAG = 'U'.
            CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
              EXPORTING
                SALESDOCUMENT    = ITAB1-VBELN
                ORDER_HEADER_IN  = T_BAPISDH1
                ORDER_HEADER_INX = T_BAPISDH1X
              TABLES
                RETURN           = I_RETURN
                ORDER_ITEM_IN    = LIT_ITEM[]
                ORDER_ITEM_INX   = LIT_ITEMX[]
                ORDER_TEXT       = LIT_TEXT[].
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'
    IMPORTING
       RETURN        = I_BAPIRETURN
    Can u please tell me how to correct this.
    thanks,
    sudheer
    Edited by: sudheer kumar on Jul 24, 2008 8:43 AM

  • 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

  • Updating Sales Order Status in Batch

    Hi
    Please let me know if we can update Sales Order Line details like Ship To Address , Date , Status in a batch?
    We are using 11.5.10
    Thanks

    Use the Order management API or the OM interface tables.
    See irep.oracle.com for details.

  • Updating Sales Order no in Production Order

    we have csenario for Sales Order :  Inquery - Quotation - Sales Order .
    In PP we have MTO scenarion . when i run MRP and convert the plan order to Production Order , in place of Sales Order it was updatin Quotation in Production Order .
    we have checked SD config for sales doc Item category =TAC and in Material Master we will used Item Category = NORM
    Please suggest is there any other setting for updating Sales Order no in Production Order .
    Thnx.

    Hi,
    I assume that you are using the strategy 20 (MTO). Go to OVZG here select the class 040 Indiv.cust.w/o cons., keep BLANK for account assignment consumption and rerun the whole cycle and check.
    Thanks
    Hrishi

  • 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

  • Any standard process to update Sales Order in SAP via XI / Idoc ?

    Hello,
    Currently one of our end customer is creating Sales Order in Oracle system. Once the Order is created there, they send the Order information to our XI system via flat file. XI system processes the flat file and then it calls order creation function using rfc / BAPI - BAPI_SALESORDER_CREATEFROMDAT2. This works just fine.
    But now the customer wants an ability to update sales order, cancel certain line or even cancel the whole order in their Orcale system. And once that happens, they want the same thing to happen in SAP via some kind of interface automatically in the background.
    So my question is :
    what is the best way to do it ?
    Is it possible to do via idoc ? The reason I am asking it via idoc is because it sounds that's the most standard way of doing it in SAP.
    What idocs can I use ?
    Has any one implemented such interface ? And if so, can you share some info ?
    Any response is highly appreciate.
    thanks,
    Dipankar

    I woudl suggest you check ORDERS05 IDOC type (ORDCHG message type).
    FM - idoc_input_ordchg

Maybe you are looking for

  • 1300 bridges

    Can I associate the non-root bridge model 1310 to the root bridge model 1400? Is there any problems on the configuration I need to be aware of? I am really appreciated that.

  • Using CMOD to change Keyword Text

    I'm using CMOD to change a field name for a data element.  After I make the changes and select save, I seem to be in an infinite loop of select the appropirate transport request and then hitting save again.... if I back out by choosing cancle after I

  • Progressive to Interlaced: Give Premiere (CS6) Double-Framerate?

    Given some available footage at say 50p, can Premiere make use of all those frames in the logical way to render "25fps interlaced" meaning 50 fields per second, even and odd, by taking alternating fields from alternating frames of the 50p? I see from

  • Validating input if nonalphanumeric character without using regex

    Hi Guys, I am trying to validate if the user input does not contain any alphanumeric characters such as (A-Z, a-z, 0-9)... The problem was solved through this forum by using regex.... Unfortunately I'm developing with Blackberry (RIM IDE) but it seem

  • All emails in Inbox suddenly marked as UNREAD

    I don't know what the **** happened but the other day I'm watching as all 14,000 emails saved in my inbox are counting down from READ to UNREAD. It happened suddenly and right in front of my eyes. I've rebooted the system and checked preferences but