MASS change sales order condition value

I have to change few thousands of sales order to correct condition value for tax per item. I tried with MASS but there is no way to change conditions per item. I tried with BAPI_SALESORDER_CHANGE, but I can only add new tax condition or do update pricing 'G'. I want to enter condition value on tax condition. How?

hello, friend.
if it is just a simple price/tax update with the update type selection, try using VA05 instead.  there is a mass pricing update option there.
however, if you need to manually input the rate or amount, definitely it will be a different story.
best wishes to you.
regards.

Similar Messages

  • End User Transaction for Mass Change Sales Orders

    Hello,
    Transaction MASS can be used to change sales orders using object type BUS2032, however, end users are not allowed access to MASS.
    In most other cases, the object types can be accessed by individual transactions, for example, MEMASSPO for BUS2012 and XD99 for KNA1.
    But I cannot seem to find a similar transaction for object type BUS2032, does anyone know whether one exists or how to create such a shortcut.
    Thanks,
    Jake.

    Hi
    See SAP Note 483303 - BUS2032: Only sales orders of category VBAK-VBTYP = 'C'
    Regards
    Eduardo

  • Changing Sales Order PARTNER from 'MASS' transaction

    Hi,
    I have a requirement to change partner details (e.g. SHIP TO party  from SH1  to  SH2) for sales order. I need to use tcode 'MASS' (Mass maintainance)  for BUS2032.  But it does not have the option to change partner details.
    Can anybody let me any approach to achieve this. If we can do it through a config or may be creating a custom business object etc...
    I could found out the thread below talking about the same issue, but there is no solution to that. I want to build the solution around SAP standard and not interested for BDC/LSMW/CATT  etc.
    Mass changes Sales order partners
    Thanks,
    Madhu
    Edited by: Madhu K on Nov 1, 2011 11:58 PM

    Alan
    I am ok to create a custom tcode for MASS.  Do I need to copy the BUS2032  or the whole TCODE?
    My major concern is,  how to get the VBPA structure to the selection screen so that it ll show me  the I/P fields to enter Old  Ship to  and  New ship to..
    Can You please give me some idea on this.
    Thanks
    Madhu

  • Unable to change the order quantity value during save of sales order

    Hi Experts,
    There is a need to change the order quantity value, based on some conditions, when pressed 'ENTER' or during 'SAVE' of the sales order (VA01, VA02).
    We are trying to change the order quantity value (KWMENG) in table XVBAP in the subroutines userexit_field_modification, userexit_save_document and userexit_save_document_prepare of the user exit 'MV45AFZZ'. But the change is not replicated to field on GUI.
    The order quantity value can be changed in subroutine 'userexit_move_field_to_vbap', but the subroutine is not getting triggered when user changes only the order quantity on screen.
    Please help us in resolving this issue.
    Regards,
    Santosh

    Thanks for your time guys. The issue is resolved.
    SAP is not triggering the vbap user exit as the order quantity on screen is in structure RV45A.
    There are two ways of resolving the issue.
    1. Implement the SAP note #513342 - Quantity change and USEREXIT_MOVE_FIELD_TO_VBAP. But, it is SAP modification note.
    2. Write the code in VBEP exit of MV45AFZZ. This user exit is called whenever the order quantity is changed. But, it is called multiple times in some cases. Hence, need to write code to limit our code execution only once e.g. maintain a global table with our quantity & uom. Check when the quantity and uom in our table is same as quantity on screen. If not, exit from user-exit.
    Edited by: Santosh Kacham on Nov 11, 2011 6:37 AM

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • Sales order condition change for Header and Item level..

    Hi Gurus,
    My requirement is as below..
    Business wants to create new sales order from reference.. While creating slaes order fron reference , need to populate header/Item level condition tab data from originally paid by the invoice for that refence sales order not from refence sales order condition price.
    I would like to how to bring this one, any user exit or copy control and any VOFm routine need to populate this kind of requirement.
    Any one have any idea please let me know.. It very urgent, give reward points for right solution..
    thanks,

    Hi,
    Here are the answers to your question
    > Is it possible to add/change condition types on the sales order (header and item level) for which invoice has been created already?
    I mean is it possible to add some surcharge condition to already invoiced order and than as result debit memo?
    The answer is No. You cannot add or change the condition once it is invoiced.
    > And one more question : Are there some time restrictions when debit/credit memo can be created? (I believe not, but I would like to have this confirmed, as I am not SD expert.)
    The answer is No again. There is no time restriction and you can create debit or credit memo immediately when the invoice is released to accounting.
    Hope this helps
    Thanks
    Mukund S

  • Getting error in while changing sales order which is created using BAPI

    Hi All,
       I have created the sales order using BAPI ( BAPI_SALESORDER_CREATEFROMDAT1 ) and i am successfully creating sales order using this BAPI. But while i want to change sales order iam changing Shipping Conditions in Header Data of sales order .its giving an error .can any know any thing about this.
    Error mesage :    No status object is available for SDI 300082407/10    (Order Number/Item Number)
    In Header i  am passing these values ...
         wa_order_header_in-doc_type = vbak-auart.
        wa_order_header_in-sales_org = vbak-vkorg.
        wa_order_header_in-distr_chan = vbak-vtweg.
        wa_order_header_in-division = vbak-spart.
    Do i required to pass the below values ? in Header structure ( BAPISDHEAD1 ).
    REFOBJECTTYPE
    REFOBJECTKEY
    REFDOCTYPE
    Regards,
    Sudhakar Reddy A

    rectified

  • Sales order net value and invoice net value differ

    Hi Gurus,
    i placed  sale order 03/08/2009 the net value of the order is 30000 USD, the same day i have done some price modification (manually i entered the header condition with value of 50 USD) after entering the header condition sales order net values is showing 50 USD. then delivered and invoiced. in the invoice net value is showing 30000 USD. my requirement is the invoice also has to show the 50 USD only. why it is not showing the sales order net value? is there any setting need to be done  regarding this problem?
    Thanks in advance

    i changed the pricing type as D
    From your comments, I presume in copy control, a different alpha value would have been maintained and with that settings, sale order, delivery and billing were generated.
    What I would suggest you is that you create a sale order once again for the same customer and 5 materials, make same changes in pricing, do PGI and billing.  See how it works.
    thanks
    G. Lakshmipathi

  • Change Sales Order material characteristics

    Dear Pals,
    I have a question for changing Sales Order material characteristics by item.
    If i want to change the sales order's item  conditions, I can modify the internal table  "XKOMV" in user exit "USEREXIT_SAVE_DOCUMENT_PREPARE"
    Is there any internal table for  Sales Order's characteristics can i use   in user exit "USEREXIT_SAVE_DOCUMENT_PREPARE" ?
    Or any FM or BAPIs can get the internal table for characteristics and characteristics value for Sales Order item?
    Thank you!

    You can use BAPI_SALESORDER_CHANGE.
    1. Get the SO detail using BAPISDORDER_GETDETAILEDLIST.
    2. MODIFY the ORDER_CFGS_* internal tables and  update.
            CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
              TABLES
                order_cfgs_value   = gt_char
                order_cfgs_ref       = gt_char_ref
                order_cfgs_inst      = gt_char_ins.
            MODIFY gt_cfgs_*.
            CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
             TABLES
                order_cfgs_value   = gt_char
                order_cfgs_ref       = gt_char_ref
                order_cfgs_inst      = gt_char_ins.
    Refer SAP note 549563.

  • BAPI / FM to change Sales order item data

    Hi,
    I need a BAPI or FM to update the following fields of VBAP (Sales Document Item Data)
    KZWI2 - Subtotal 2 from pricing procedure for condition
    KZWI3 - Subtotal 3 from pricing procedure for condition
    KZWI4 - Subtotal 4 from pricing procedure for condition
    KZWI5 - Subtotal 5 from pricing procedure for condition
    I found FM: ISM_SALES_ITEM_CHANGE for this, but when I use it, it gives me dump for some data object 'XJKNBK'.
    Does any one have idea on how to use this FM or if any other FM is there please let me know?
    Thanks & Regards,
    Sunanda.

    hi Sunanda..
    I think you can try the Bapi 'BAPI_SALESORDER_CHANGE'. You can make use of its Tables Parameter CONDITIONS_IN and CONDITIONS_INX.
    example:
    How to change pricing Conditions in Sales order in change sales order bapi
    thanks,
    Padma

  • DP91(RRB) Restrict DMR Billing value to Sales Order Net Value

    Hi Experts,
    My Requirement is, while creating a DMR using transaction DP91 (Resource Related Billing), I need to  restrict the DMR value to the sales order Net Value. i.e If there are already billed DMR'S we should check all the billing documents value, sum it up with present DP91 billing value (Say X). Check it against Sales order net value.
    IF Sales order net value is more than already billed value or to be billed value(X), then optimize the DIP items within available billing value (Planning to use bin packing algorithm) and postpone remaining items for next billing cycle.
    If Sales order net value is less than already billed value or to be billed value(X), postpone all DIP items for next billing cycle ie dont allow any billing.
    I found the Enhancement AD010007 Change DI Processing Information (EXIT_SAPLAD15_015). But it triggers for each item and here sales order related data is not available neither all DIP item data. All DIP data is flowing from WBS assigned in Sales Order item into DP91.
    Regards,
    Mahesh

    Hi,
    You can make use of data transfer routines in copy control from billing document to sales document.
    Data transfer routine - 403 (FV45C403) is used for copying billing plan dates from from a reference billing document into the target document.  This routine can be assigned to the FPLA copy rules for the item category from a billing document to a sales document.
    You may enhance this routine to add net value field to be copied into credit memo document. In your case, net amount (100) can be pulled from invoice into credit memo document. 
    Regards,
    Vaibhav

  • Problem in updating Billing plan while changing Sales order

    Hi All,
            I am using the BAPI 'BAPI_SALESORDER_CHANGE' to change a Prepaid Sale order.After calling this BAPI ,I am calling the function module <b>'BILLING_SCHEDULE_SAVE'</b> to update the Billing plan of the changed Sale order(Billing plan dates for Billing type ZF1 are changed).
         The updated date values are getting reflected in the screen when I view through the transaction VA02 and the values are also updated in FPLT table but the values are not getting reflected in the table VKDFS.
       Since the values are not getting reflectedin the table VKDFS the billing date is not correct while we view in the transaction VF04.
       Please provide your valuable suggestions for updating the Billing date in VKDFS table.
        Thanks in advance for your help.
    Thanks and regards,
    Siva

    Hi,
    I had the same problem. Here is an example code to resolve it:
    REPORT  ytestfg.
    DATA: i_bsid LIKE bsid OCCURS 0,
          i_bsid2 LIKE bsid OCCURS 0.
    TABLES: bsid.
    DATA: doc     LIKE     vbak-vbeln,
          pos(6) TYPE n.
    DATA e_fpla     LIKE     fpla.
    DATA e_fplt     LIKE     fpltvb OCCURS 0 .
    DATA: zfpla     LIKE     fplavb OCCURS 0,
    zfplt     LIKE     fpltvb OCCURS 0.
    DATA zfplt2     LIKE     fpltvb OCCURS 0 WITH HEADER LINE.
    doc = 'G03060619'.
    pos = '000010'.
    CALL FUNCTION 'SD_SALES_DOCUMENT_READ'
      EXPORTING
        document_number = doc.
    CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'
      EXPORTING
        i_vbeln                = doc
        i_posnr                = pos
      IMPORTING
        e_fpla                 = e_fpla
      TABLES
        e_fplt                 = e_fplt
      EXCEPTIONS
        no_billingplan_allowed = 1
        no_billingplan_found   = 2
        OTHERS                 = 3.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Read the billing plan
    CALL FUNCTION 'BILLING_SCHEDULE_READ'
      EXPORTING
        fplnr          = e_fpla-fplnr
      I_VFKDAT       =
      I_BFKDAT       =
      TABLES
       zfpla          = zfpla
        zfplt          = zfplt
    Upddate the ZFPLT2 table with the new values
    MOVE zfplt[] TO zfplt2[].
    READ TABLE zfplt2 INDEX 1.
    zfplt2-afdat = '20080927'.
    Very important to set field updkz = 'U' ***
    zfplt2-updkz = 'U'. "--> UPDATE!!
    MODIFY zfplt2 INDEX 1.
    CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
      TABLES
        fpla_new = zfpla
        fpla_old = zfpla
        fplt_new = zfplt2 " --> NEW
        fplt_old = zfplt.
    CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Edited by: PHO_BA on Mar 9, 2009 5:28 PM

  • Sales order minimum value issue

    Hello,
    Could you please provide some inforamtion regarding the sales order minimum value infoarmtion like where we can maintain that value?
    Regards|ksr

    hi
    You can specify a minimum order value for sales order processing. The following example illustrates how this function is used:
    You specify a minimum order value of USD 200.
    During sales order processing, the net value (after discounts and freight, before taxes) of an incoming order is USD 190.08.
    During pricing, the system determines that the net value falls below the minimum order value and calculates a minimum-order-value surcharge. In this example, the surcharge equals USD 9.92.
    The minimum order value and the surcharge appear as separate lines in the pricing screen. The minimum value is for information purposes only, and does not affect pricing. The system automatically adjusts the net value of the order (before taxes) to the minimum value allowed.
    If you use minimum-order-value requirements, you must create condition records for condition type AMIW. In these condition records, you specify customers and the corresponding minimum order values. During pricing, the system automatically uses these condition records as a reference for determining the relevant minimum order surcharges (condition type AMIZ). In the standard version, condition type AMIZ refers to AMIW. This means that the system automatically calculates values for AMIZ conditions; you do not need to create separate condition records.
    You may want to specify minimum order values by sales organization or division instead of by customer. In order to do this, your system administrator must define a new condition table with the appropriate fields in the table key. The condition table can then be included in the access sequence for condition type AMIW.

  • Sales order condition table

    Hi friends,
    Can you please tell me the table name for sales order condition.
    thanks,
    Ramesh

    Hi Ramesh,
    Condition Tables:
    KONH - Conditions Header
    KONV - Transaction condition data (i.e., conditions for an SD document item; see KNUMH on relevant business document table ala VBAK)
    KONM - Quantity Scales (1 dimension)
    KONP -  Document item condition information
    Transactions:
    V/03 - Condition Tables - Create
    V/04 - Condition Tables - Change
    V/05 - Condition tables - Display
    V/06 - Condition Types
    Regards,
    Chandra Sekhar
    Regards,
    Chandra Sekhar

  • Sales Order conditions problem

    HI Folks,
    I am stuck up with a scenario where i need to copy the sales order condition of line item and update the newly spiltted line items.
    When i am doing the copy of it for some condition types iam facing problem
    for example
    I have one condition type say ZTEST and it currency  maintained as %. Now when i look up in table KONV it is showing the value of KBETE(Condition value) as 200 , but if i view through va03 it is showing 20. I think there is some conversion that SAP is doing.So when i am copying i am doing the value that is  there in KONV table and finally the new split item  is showing in va03 as 200 instead of 20.
    Can anyone help me out how to solve this issue. Let me know if any one wants any further information on it.
    Regards,
    Nagaraj

    Hi,
           check the table TCRUX  for the currencies you are using it will give information about how many
    decimal places for every currency based on the decimal places you have to multiply or divide .
    Thanks & regards,
    Sateesh.

Maybe you are looking for

  • HT201269 I have 2 iPhones- one is for work and the other one is personal.

    I want to transfer all my work phone contacts to my personal phone, but not sure how to do it. Can anyone help?

  • Need a formula for 12 months data, 6 months data and 3 month

    Hi All Crystal Experts, In my report, data is grouped by months and I have monthly view of data. I have three prompts- Year, Startdate and Enddate. If I give 2013 as year, 1/1/2013 as start date and 05/01/2013 as end date then report shows monthly vi

  • MB1C 561 with no Accounting Documents

    Hi Gurus, I created initial entry with MB1C 561 to bring into SAP legacy system figures, but no FI documents were created but the stocks are there, if I check MB52 I can see the value in there so the value of all the stock match with the value that I

  • How to scrap specail stock in quality inspection...

    hi guys: I have a query, Is there any possible way to scrap the sale order stock in quality inspection without transferring it to the unrestricted stock and that also through inventory count(mi01,04,07), Actually we have damage lighting stock which i

  • CS5 InDesign keeps crashing on start up

    We have had the CS5 installed on a PC since early 2012.  The other programs are working fine.  It is only InDesign that keeps crashing not only the program but the computer.  Plenty of memory on the computer as well.  What is going on and how can I f