Update conditions in a sales order

Hi.,
May somebody help me. I need to make a batch program to update the conditions (conditions tab) in a sales order document (to automate to pushing the button update in that page).
Somebody knows a FM?
Thank you!

Hi ,
Is ITM_NUMBER = POSNR of Sales Order. Also Check CONDITIONS_INX-UPDATEFLAG is 'X'

Similar Messages

  • How to update the condition price in sales order while creating the invoice

    Hi,
    How to update the condition price in the sales order to carry out the new price while creating the invoice?
    While creating the invoice it should update the condition price in sales order.
    Thanks,
    Balaram

    No, pricing is not there in delivery.
    I found an exit for VF01transaction where we can update the price in order.
    Can you please tell me how to update the price if I have the order, material numbers and conditions number?
    Thanks,
    Balaram

  • ADRC updation in Creation of Sales order ( VA01)

    Hi All,
    I would like to update the Transportation zone(TRANSPZONE) of table ADRC
    while creating Sales order.
    I need to change this programatically. (Validation & change as per requirment)
    Please let me know the user-exit and  internal table i should used for the same.
    I dont want to change any STD sap programs.
    Thanks in advance.

    Hi,
    I'm not sure if you need to update ADRC table - the address number is usually the the customer's address and is picked automatically.
    Also the transport zone is picked automatically based on the customers address or on the shipping conditions in the Sales Order.
    Transportation Zone (LZONE) also exists in the partner function (VBPA) and the shipping partner (VTPA) - in case you need to suggest a different route for shipping other than the one determined automatically.
    To change this - change both the internal tables table xvbpa and xvtpa (after reading with sales order and item from structures vbak and xvbap) in USER_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ.
    But, I'm not sure if the Address Number (determining the shipping point) would be independent of the Transp Zone, though it's changed in the exit.
    Regards,
    Anil.

  • Update pricing procedure in sales order

    hi gurus!
    in sales order item, the tax condition type MWST is determined as 17% by the indicator 1 in both customer and material master data. but after i change the material master data to 2, which should lead to 13% in MWST, i update the pricing in sales order item, no matter what options i choose, the 17% won't change!
    can i ask that why this is not changing?
    how the system control it?
    and what for?
    thank you so much guys!
    BR,

    Dear Michael,
    While Updating your Line-Item in Sales Order, What Pricing Type you are selecting?
    Is it Pricing Type: G - Copy pricing elements unchanged and redetermine taxes
    Alternatively, You may check with:
    Select your Line-Item in Sales Order and Double-Click.
    Go to, Tab: Conditions; and Click Tab: Analysis (at bottom of the screen).
    Now, on to next screen,  Select your Condition Type: MWST (from Left-hand of the screen) and Double Click.
    Read the "Overview" (from Right-hand of the screen).
    This will tell your the exact reason. Based up on, take corrective actions; else post the same for our understanding/ working.
    Best Regards,
    Amit

  • Self Updating Report of Open Sales Orders (Maybe Crystal )

    I want a self updating report of Open Sales Order. I want it to refresh constantly. I know that it could be an alarm but it would be executed every # minutes and dont want to. Any ideas ? I dont know Crystal Reports enough but is it posible ?

    Hi ,
    If I were you , I will not be crazy looking at my sales order in every 1 minutes ..I would train my users to check at least 15 minutes.
    I understand what u are trying to do;you  want that customer will see the latest open SO created ..but 15 minutes is good enough time .
    I think you have to check if database size grows up big time ..so far no report has come to me from my clients for this set up .
    make sure you  are not saving an alert into database
    If you are using multiple alerts , I will atleast monitor my database for a while to see i encounter performance issue ..
    So far for one alert at every 15 minutes ..i think u should be fine ..
    Hope this helps
    Bishal

  • Update the cost in sale order

    dear sir
    i check with abaper ,he says the value is updated from sale order
    they get the consumption of sales using customized transaction
    actual cost is zero
    user create the material master withot pricing
    we ask to update the material master and they do the costing run
    in material master standard costing estimate found
    after they  run the consumption report ,once again actual cost is zero
    i chech\ked in  costing status using CK11N ,std cost estimate found
    is it  possible to update the cost in sales order
    (redetermine or recalculate the pricng in sale order)
    so that my consumpotion report will update
    thanks

    Hi,
    Check the following link
    http://help.sap.com/saphelp_46c/helpdata/en/90/ba6da4446711d189420000e829fbbd/content.htm
    Regards,
    Saju.S

  • Credit exposure updating even when the sales order is blocked

    Hi,
    We are using FSCM credit management. We observed that the credit exposure is updated even when the sales order is blocked. When we investigated it is found out that SD has removed the requirement 101 in the subsequent functions. The reason is they want the confirmed quantity to be updated even though the order is blocked. This will allow the Material Planning to go ahead and purchase the goods. Is there a way around it where we can have MM see the confirmed quantity in the order and it will not updated the credit exposure?
    Thanks and Regards
    Madhu Vutukuri

    Hi Sravan,
    Please let us know, whether the document is really getting reflected in the blocked documents list for a particular kind of block and you are releasing that particular block in the specified area as we have different areas for releasing blocks. Chances are that in the mean time, the concerned block might have been removed in the system and not updated as it might have been. It will be of great help, if you can provide us with the screenshots of the process followed.
    Regards,
    Aman

  • Pricing amount and condition value in sales order

    Hi all,
    I have noticed for a sales order we are not able to see condition type amount, condition value in sales order even though it shows net price finaly ofr a sales order. Not even able to select the condition lines.
    To be specific not able to find value in field KBETR  - amount column and KWERT - condition value column
    When we go to sales order line item and select condition tab, do see value displayed in Amount and Condition column. Is there are specific reason it is doing visa vis in our production we see both values.
    Advise what could be the reason value not getting displayed in Amount and Condition value column.
    thanks

    It is due to auth for specific columns we have solved the problem.

  • Forgot to put ZPNT (Penalty condition type) in sales order

    Dear Expert,
    We have created sales order and billing document has been sent to customer,after that we came to know tht we forgot to put ZPNT Condition type in sales order. Now i want to create another sales document with reference to billing document, in which only ZPNT Condition type will be appear (not other condition) and thn will create billing document with reference to new sales order so that ZPNT amount goes to the right ledger A/C......Is it the right process to solve this problem if yes thn please advise me how to fonfigure the system.
    Regards
    Parul Deshwal

    hi Parul,
    rather than doing this which is quite complecated process
    saying complecated because, when u do Copy from billing to sales document all condition will appear and might be there r some mandatory conditions in pricing procedure which you can not remove.
    Above all, IF your condition ZPNT value is based on some other conditions then also it will not be possible for you to calculate it correctly.
    there is one more possible way by creating DEBIT NOTE with reference to sales order but again you might have to face above mentioned problems
    So better you follow standard and easy method
    1. Reverse the billing document if PAYMENT is not posted
    2. Reverse the Delivery (if any)
    3. add your condition type to sales order for line item and create it
    Regards

  • How to hide the Condition types in item condition screen in Sales Order ?

    Hi Experts,
    We got new requirement from the Client. Pricing Condition types  are ZZBG, ZPBG, ZPBA, ZFSG, ZBDG and ZBHG part in Pricing Procedure. These condition types have Condition records. These need to be hidden in Item conditions screen in Sales Order but other status of the conditions remain unchanged. Pleas provide me the solution earliest  How this we can achieve in a best way.
    Best Regards,
    Srikith

    Hi Srikanth,
    You can achieve this using CONDITION EXCLUSION.
    Maintain Condition exclusion for first condition type its Exclude the condition types which are below to that.
    You must set a condition exclusion indicator for the price. You can do this in two ways:
    If you want to set the condition exclusion indicator a follows then you specify it:
    1..for all condition records of a condition type (e.g. with condition type PR00) when defining a condition type in SD Customizing
    2.for an individual condition record (e.g. only for material 4711) in the detail screen of a condition record (in the Condition exclusion field)
    Hope this will helps you
    Dasaradha

  • How to limit the number of price conditions in a sales order

    Dear experts,
    We've created discounts in our pricing procedure, and they are added manually. They have a maximum.
    But the problem is that the user can add several discount price conditions in the sales order!
    Is there any customizing to limit the number of occurrences to 1 in the pricing procedure?
    Thank you for your help
    Marjolaine

    HI,
    You can make use of feature to maintain maximum and minimum limits per condition type.
    SPRO > SAP Implementation Guide > Customer Relationship Management > Basic Functions > Pricing > Define Settings for Pricing > Create Minimum/Maximum Limits
    In this activity you can restrict manual processing of pricing conditions in transactions using minimum and maximum limits per condition type.
    Kindly reward with points in case helpful
    Sharif

  • Update Purchase Requisition from Sales Order

    Hi,
    My requirement is to Update Purchase Requisition from Sales Order based on the Vendor number in
    Purchase Requisition .
    I have used Userexit         :- MV45AFZB
                     Customerexit :- EXIT_SAPFV45E_002
                     BADI             :- ME_REQ_OI_EXT, ME_REQ_POSTED
    for my requirement, but in vain.
    Of these Userexit  MV45AFZB, Customerexit EXIT_SAPFV45E_002, BADI ME_REQ_OI_EXT are getting triggered in Sales order creation but, Purchase requisition is not yet triggered and we dont have the VENDOR value with which i need to do perform some checks and update the Purchase requisition.
    After I SAVE sales order, BADI ME_REQ_POSTED is getting triggered.Here, the purchase requisition is created ( not yet inserted into the database ) .I also have required VENDOR value, but in the given
    BADI ME_REQ_POSTED I can make checks according to my requirement but not able to update the new values into purchase requisition.
    Literally speaking, Iam struck up..Dont know what to do.....
    Please let me know any Userexit/BADI/BTE where I can  Update Purchase Requisition from Sales Order based on the Vendor number in
    Purchase Requisition .
    Thanks,
    Shivaa..

    Hi Max,
    It just struck to me...
    As suggested by you, I thought of calling BAPI BAPI_REQUISITION_CHANGE  from user exit USEREXIT_SAVE_DOCUMENT in MV45AFZZ .
    I f I give PReq no. , BAPI BAPI_REQUISITION_CHANGE  will take the particular PReq no., from database and then change it according to our requirements...
    But, in our scenario I am calling the BAPI BAPI_REQUISITION_CHANGE  and passing a PReq no..which doesnt exist in the d/b itself.....
    Anyways, let me try......
    Meanwhile ,please suggest any other options for resolving the issue in question......

  • Condition populated twice in the item conditions in the sales order

    Hi,
    We are creating the sales order through .csv flat file. The program calls the relevant BAPI which creates the sales order. It also fills the amount from the file for the manual condition type YNET in the pricing procedure. YNET is defaulted automatically in the sales order. But maintaining value is not mandatory.
    The problem is in sales order, YNET is displayed twice in the item conditions.
    One YNET with no value and another YNET with value which we passed through file.
    Any suggestions how we can get only one YNET in the item conditions in the sales order or how the value from our file can be added against the YNET in the pricing procedure with showing another YNET in the item conditions in the sales order
    Thanks in advance,

    Hi Ramakrishnan,
    Thanks for your reply. Its a manual condition type. No condition records maintained.
    Thanks,
    Ram
    Original thread:
    Hi,
    We are creating the sales order through .csv flat file. The program calls the relevant BAPI which creates the sales order. It also fills the amount from the file for the manual condition type YNET in the pricing procedure. YNET is defaulted automatically in the sales order. But maintaining value is not mandatory.
    The problem is in sales order, YNET is displayed twice in the item conditions.
    One YNET with no value and another YNET with value which we passed through file.
    Any suggestions how we can get only one YNET in the item conditions in the sales order or how the value from our file can be added against the YNET in the pricing procedure without showing another YNET in the item conditions in the sales order
    Thanks in advance,

  • How to Avoid Duplicate Pricing Condition Types In  Sales Order and Billing

    Hi SAP Gurus
    I have a requirement in Pricing (Sales and Distribution). We have  issue duplicated condition types in Sales order and it causes wrong posting in to accounts.
    I want make them inactive duplicated Condition type in Sales order and Billing Documents.
    Please advice me how to make inactive status to duplicated Condition types
    Thanks  in Advance.
    Ravikanth

    Hi
    You can use Exclusion Group
    You can define 2 Groups and include 1 condition type in each
    and define exlusion procedure
    A   Best condition between condition types                
    B   Best condition within the condition type              
    C   Best condition between the two exclusion groups       
    D   Exclusive                                             
    E   Least favorable within the condition type             
    F   Least favorable betweent the two exclusion groups     
    you can use Exclusive to set your condition type or as per your requirement
    Regards
    Jitesh

  • Status is not updated from delivery to sales order item.

    Dear Folks,
    One user created sales order with 10 line items and he created delivery and later he deleted line item 30 in that delivery document and with remaining 9 line item he done the PGI & Billing.Here what is the problem is the deleted line item in sales order status showing as completed and delivered quatity showing as 10.Status is not updated from delivery to sales order item.Please let me know how to resolve this?
    Thanks & Regards,
    murali.

    Dear Murali,
    Please go to VTLA transaction then select your delivery and order types after that go in to the details of the item level settings here you check field called Update document flow under Control data tab.
    I hope it will help you,
    Regards,
    Murali.

Maybe you are looking for