How to update pricing in open sale order
Hi all
in open sale order suppose my basic price has been changed .how Can i update all open sales order basic price in one shot.
Dear Sachin,
Please follow the point as given below;
1. In VTFL for your item category maintain pricing type as B if it is delivery related billing and if it is order related billing VTFA maintain pricing type as B and one more thing maintained Billing Quantity as C if you using VTFA and Billing Quantity as D if you using VTFL.
2. Create the new condition records in VK11 for your new price ( Do not change the existing condition record in VK12) with proper validity dates
3. Use update button in billing the system will pick the new record by accessing VK11 in billing.
Try this, it will work.
Regards,
Bharat B
Similar Messages
-
Unable to update pricing in open sales orders
Dear All
I had created some sales orders which are partially delivered, now i need to update one of the pricing component due to change in that component (i have already created new pricing component thru VK11) but when i try to change (VA02) sales order and go to conditions at item level, the update button (through which we select B Carry out new pricing) is disabled. please helpIn sale order, for any line item, you can incorporate new pricing only if there is no delivery is made. If you want to change the pricing, you have to close the line item by assigning reason for rejection and create a new line item so that the revised price will be considered.
On the other hand, you can update only in billing document and that too before saving. If Accounting document is generated, then you cannot even update in billing.
thanks
G. Lakshmipathi -
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 -
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 .
NLNHI 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 -
How to bring in the Open Sales Orders while performing Sales Order Conv
Hi,
Could you give some suggestions on the below:
How to bring in the Open Sales Orders while performing Sales Order Conversion in R12.
Thanks
PravinSee http://ramugvs.wordpress.com/2011/08/27/how-to-stage-and-import-an-order-using-order-import-api-apps-wms-ebiz-11i-r12/
Sandeep Gandhi -
How to update pricing condition in sales in batch in the evening
Gurus,
I have a situation where I am supposed to update the freight charge condition type ("ZFR9" in my organization) on a scaled basis, depending on how much the customer (ship-to) has ordered on the same date. Since this changes from time to time, I need to write a program that does the following in the background in the evenings.
1) Accumulate the wt of the material ordered by the same ship-to customer on the same delivery date.
2) Find the scaled freight rate from a central universal freight charge table.
3) Update the ZFR9 by this new frieght rate in all such sales order/line items that have the delivery date in question.
The problem with using BDC is that the condition type ZFR9 appears on different lines depending on presence or absence of other condition types.
Also I could not find any BAPI that does the update on a line item pricing condition.
I am on 4.6C.
Thanks for any help you can offer me.
Regards
RajuGuys,
I am trying to make this work. I am able to add extra pricing conditions to sales order but I can not understand
- how to change the value of an existing condition type OR
- how to delete the condition type from the sales order line item
Here is the sample code that I am using to test this out (most of the information is hard coded so that I can focus on a particular record)
REFRESH RETURN.
CLEAR RETURN.
REFRESH ORDER_ITEM_IN.
CLEAR ORDER_ITEM_IN.
REFRESH ORDER_ITEM_INX.
CLEAR ORDER_ITEM_INX.
REFRESH PARTNERCHANGES.
CLEAR PARTNERCHANGES.
REFRESH CONDITIONS_IN.
CLEAR CONDITIONS_IN.
REFRESH CONDITIONS_INX.
CLEAR CONDITIONS_INX.
CLEAR SALESDOCUMENT.
CLEAR ORDER_HEADER_INX.
Move screen accepted docnumber TO SALESDOCUMENT.
MOVE P_VBELN TO SALESDOCUMENT.
ORDER_HEADER_INX-UPDATEFLAG = 'U'.
APPEND ORDER_HEADER_INX.
Move screen accepted line item
ORDER_ITEM_IN-ITM_NUMBER = P_POSNR.
APPEND ORDER_ITEM_IN.
Move screen accepted line item
ORDER_ITEM_INX-ITM_NUMBER = P_POSNR.
ORDER_ITEM_INX-UPDATEFLAG = 'U'.
APPEND ORDER_ITEM_INX.
Set the condition value
CONDITIONS_IN-ITM_NUMBER = P_POSNR.
CONDITIONS_IN-COND_ST_NO = '230'.
CONDITIONS_IN-COND_COUNT = '01'.
CONDITIONS_IN-COND_TYPE = 'ZSR3'.
CONDITIONS_IN-COND_VALUE = '333.00'.
CONDITIONS_IN-CURRENCY = 'USD'.
CONDITIONS_IN-COND_UNIT = 'LB'.
CONDITIONS_IN-COND_P_UNT = '100'.
APPEND CONDITIONS_IN.
CONDITIONS_INX-ITM_NUMBER = P_POSNR.
CONDITIONS_INX-COND_ST_NO = '230'.
CONDITIONS_INX-COND_COUNT = '01'.
CONDITIONS_INX-COND_TYPE = 'ZSR3'.
CONDITIONS_INX-UPDATEFLAG = 'X'. " update
CONDITIONS_INX-COND_VALUE = 'X'. " update
CONDITIONS_INX-CURRENCY = ''. " no update
CONDITIONS_INX-COND_UNIT = ''. " no update
CONDITIONS_INX-COND_P_UNT = ''. " no update
APPEND CONDITIONS_INX.
WRITE: / 'BAPI Called for', P_VBELN, P_POSNR .
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = SALESDOCUMENT
ORDER_HEADER_IN =
ORDER_HEADER_INX = ORDER_HEADER_INX
SIMULATION =
BEHAVE_WHEN_ERROR = ' '
INT_NUMBER_ASSIGNMENT = ' '
LOGIC_SWITCH =
TABLES
RETURN = RETURN
ORDER_ITEM_IN = ORDER_ITEM_IN
ORDER_ITEM_INX = ORDER_ITEM_INX
PARTNERS =
PARTNERCHANGES = PARTNERCHANGES
PARTNERADDRESSES =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
SCHEDULE_LINES =
SCHEDULE_LINESX =
ORDER_TEXT =
ORDER_KEYS =
CONDITIONS_IN = CONDITIONS_IN
CONDITIONS_INX = CONDITIONS_INX
EXTENSIONIN = .
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
IMPORTING
RETURN =
ELSE.
WRITE: ' BAPI RETURN CODE = ', SY-SUBRC.
ENDIF. -
Global price update in existing open Sales Order
Hi Expert Team ,
I have one scenario -
My customer will enter a sales order .
For example :
Customer A buy X at 10 at 05/26/2009 and his delivery date is 05/30/2009
Management decide to do cost down by 15% of product A from 05/30/2009.
Business rule here is :
When customer sells at 05/30/2009 , price should reflect 15% inexisting order as well as new order .
For new order , we can specify the special and period volume discount , it will apply to new order .
In this scenario , how can we update the sales price of open sales order .
What are my options beside updating manually or DTW
Thank you
BishalIf your Sales Orders are not locked by approval procedure, you could use DTW to update them. Otherwise, you may have to cancel the old and create new orders.
Thanks,
Gordon -
How to configured pricing procedure to sales order type
Dear Sir,
Please tale me how to configure / change pricing procedure to sales order type. we have required to change pricing procedure from a to b for particular sales document type.
Regards
BK GAIKWADHI
Create a new document pricing pricedure
SPRO>sales & distribution>basic functions>Pricing>Pricing Control-->Define And Assign Pricing Procedures
and in the same path assign to your document
and assign it to your document and also then to your Pricing procedure determination in OVKK
regards
Prashanth
Edited by: Prashanth@SD on Jan 29, 2011 11:00 AM -
Update Pricing elements for sales order item
Hello All,
I want to add few manual pricing elements to a sales order item through code (the pricing elements to be added will be determined dynamically). Is there any BAPI or user exit to update the same?
Regards,Hi
You can use the BAPI_SALESORDER_CREATEFROMDAT2 for creating the sales order.Using this you can populate the pricing conditions for sales order. To pass the Pricing conditions use the str ORDER_CONDITIONS_IN & ORDER_CONDITIONS_INX in BAPI.
Regards,
Raghu. -
How can i get the open sale orders for given material no and plant
Hi,
I have to retrieve the open sale orders depending on the material number and plant.
For only open sale orders at header level and item level.
I want to use VBUK-GBSTK to find open sale order at header level and
VBUP-GBSTA at item level.
Can any one suggest me the best logic as performance is concerned?
Thanks,
Kumar.hi Prasanth,
select werks matnr from ZVSCHDRUN into table it_plant.
sort it_plant by matnr werks.
select
vbeln
posnr
matnr
werks
erdat
kbmeng
vrkme
from vbap
into table it_vbap
for all entries in it_plant
where matnr = it_plant-matnr and
werks = it_plant-werks.
and again i have to write one more select query for vbup.
am i right? -
How to read pricing conditions on sales order
Hi
i need to retrive pricing conditions of sales order but before posting sales order
any user exit avialable ...?
also i hv found one user exit in that there is FM EXIT_SAPMV45A_003
But i am not able to read pricing conditions values
also no data is there in konv table coz sales order has yet not been post
so before sales order can i read the pricing conditions values ...
pls guide
if possiple pls provide example also
thanks
TaranHi
The problem is you can't use the KNUMV, because u make sure to get the princing active in the document at run time.
If you want to know the old data you can read the table KONV using field KNUMV, but here you can't know if some modification is done.
U can try to know the field-symbols:
DATA: XKOMV LIKE KOMV.
DATA: FIELDNAME(30) VALUE '(SAPMV45A)XKOMV[]'.
FIELD-SYMBOLS: <TKOMV> TYPE TABLE.
ASSIGN (FIELDNAME) TO <TKOMV>.
LOOP <TKOMV> INTO XKOMV.
ENDLOOP.
Max -
How to count List of open sales orders?
HI Gurus,
Client requ: List of no of open sales orders?
I used T.code: VA05, given date range as desired and selected radio button as OPEN SALES ORDERS. I got huge list of sales orders with line item wise. say for example in a sales order 100 line items, in the report i got line item wise. But client wants no of open sales orders ony, not by line item wise. So I converted into XLS and did it.
Is there any way to find out no of open sales orders thru Table. (Like sales orders created - go to SE 16 (VBAK) , you get no of sales orders created)
Please suggest me way out to find the same.
Thanks a lot in advance.
Regards,
Vamsi.Hi,
I can recommend you another solution (is what I'm doing usually ...) - I'm extracting the data in Excel and here I can do anything anything I want with the data (in your case I will run a pivot table on the resulting table with the sales orders no)
In this case (transaction VA05) option to extract data using XXL Viewer from ALV grid was deactivated; I really don't know what was the reason ...
You can still use the second option - to use Excel In-place. For this, after running your report go to Settings -> Layouts -> Current ... (in the menu).
Go to "View" page.
Here select "Excel" option.
A list of available excel templates should be displayed (if they are made available by your basis).
Select one of them and press OK.
If everything is OK you should see your report open directly in your GUI as Excel.
I hope this will help you,
Valentin -
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 -
How to update VBPA-ABLAD in sales order
I am creating sales orders using BAPI_SALESORDER_CREATEFROMDAT2 but my problem is when i am passing a blank value to unloading point in partners. Unloading point is taken from customer master but i want blank value in that field when i am passing blank value.
When i am passing some text for Eg: "Test-Default" to unloading point, Sales order is getting created with unloading point "Test-Default". The only problem is when iam passing a blank value, unloading point is taken from the customer master.
Is there any way that i can create sales orders with blank unloading point?
I am passing unloading point in ORDER_PARTNERS structure of BAPI.
Thanks in advance..
Rajesh.you can use the user exit include MV45AFZZ.... and use
any form like USEREXIT_SAVE_DOCUMENT or USEREXIT_SAVE_DOCUMENT_PREPARE and change the value there....
I hope it is helpful... -
Update new material master weight and dimension in open sales orders and de
Hi,
Iu2019m maintaining gross weight, net weight, volume in material master. When the time of sales order entry in VA01 its calculating weight and dimensions based on material master and order quantity. And I create deliveries in VL01N.
If I made a correction in the net and gross weight in material master after I created the sales order will the correct net and gross weight will pick up at the delivery creation.
In other term is the VL01N net and gross weight is taking from which is available in SO or Material master.
Is there any standard transaction to update already existing open sales order, delivery net and gross weight once it is corrected in material master?
Please advice.
SamIs there any standard transaction to update
No it is not possible to update the weight in existing sale order or delivery. You have to change it manually or create a new sale order. Weight in delivery will be fetched from sale order only and hence, whatever delivery you create referencing a sale order, system will copy whatever is there.
thanks
G. Lakshmipathi
Maybe you are looking for
-
Difficulty while installing Eclipse. Please help
# An unexpected error has been detected by HotSpot Virtual Machine: # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1af053d0, pid=3660, tid=208 # Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing) # Problematic frame: # C 0x1af053d
-
Oracle.xdb.XMLType extract function
I have an external java program that connect to the database using a thick connection so I can use the methods extract and existsNode available with the XMLType from oracle.xdb.XMLType. DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver
-
I just got taking the test and some of the questions were very ambiguous. Not only that, but the exam did not allow me enough time to finish; I didn't answer the last 10 questions of 70. If I had, I would've passed. At any rate, here's a couple of qu
-
Meening of Geen Bug in SQL Developer 2.1.0.62
I know this should be obvious to me, but is not and 2 other people I asked did not know either. What is the meaning of the green bugs that sometimes appear when you expand nodes (for example expanding the packages node)? I could not find the meaning
-
Hello I ran a batch rename in Bridge and the rendered results were small Unix Files and xmp files that are not showing up on the images. I also can not seem to find the original CR2 file associated. Thoughts?