Pricing Updation
In Sales Order while entering material and qty, go to conditions the price and qty is not multiplying. In condition value it is showing ZERO. Once u update and then go to analysis it is updated. Immediately it is not updating. What is the problem?
Hi,
Pls check in your conditon record for Pricing (VK11) - calculation type column - it should be "C" (quantity)
Hope it solves the problem
Thanks and Regards
Similar Messages
-
Hi!
I have a problem with pricing update.
For example I change information in pricing procedure adding new condition type but this new condition type appears in orders only in several hours.
CRM version 5.0.
Tell me please what can I do to speed up the update.
Thanks and Regards,
Olga.You need to refresh the IPC. Default is set to 12 hours (I believe).
Go to SM53 --> Cache Info --> State
Then hit the delete button the manually refresh IPC.
You'll have to keep doing this everytime you make a condition/config change.
Message was edited by:
Amit Rana -
Restrict Pricing updates in Sales Order
Hi All,
I have created a pricing conditon formula to get the price for the real time contract price from a third party Contract management system through a RFC call, and assigned the formula to a condition type.
In this formula, if there was an error i am exporting the error message to a memory and importing the value from that memory to set a billing block in the user exit SAVE_PREPARE_DOCUMENT (MV45AFZZ).
The problem i am facing is that the formula is getting called many times uncessarily for eg. when you click pricing etc
and not necessarily updates the price all times. Actually the price is not updated when called from the following routine and is basically because of the following code.
Form: xkomv_bewerten.
IF xkomv-kofrm NE 0 AND wertformel EQ space AND komp-kposn NE 0.* rettkomv = xkomv*.
xkwert = xkomv-kwert. frm_kondi_wert-nr = xkomv-kofrm. PERFORM (frm_kondi_wert) IN PROGRAM saplv61a IF FOUND. xkomv = rettkomv.
ENDIF.
During Change Sales Order, because of this even a billing block is set before, it is getting cleared without updating the price.
Can somone help me with this?
Thanks.
MartinHi,
Do one thing you could ask your functional consultant to restrict pricing update into IMG Guide. There is pricing where SD consultant restrict the Pricing Updates. If they have problem then let me i will tell you how and where you can do the pricing restriction.
Regds,
Rakesh
Edited by: Rakesh Kumar on Aug 8, 2009 1:35 PM -
I would like to do Pricing updation using VK11 Tocde.for this can I use LSMW ..?
otherwise which one will be better for pricing updation data load?Hi
You can use BDC or LSMW or BAPI deopending on your convenience
it is the programmer choice
Final aim is right data has to be uploaded to SAP for the transactions to happen.
So depending on your easiness you use any one of the above
see the sample bdc for the VK11.
report ZSDBDCP_PRICING no standard page heading
line-size 255.
include zbdcrecx1.
*--Internal Table To hold condition records data from flat file.
Data: begin of it_pricing occurs 0,
key(4),
f1(4),
f2(4),
f3(2),
f4(18),
f5(16),
end of it_pricing.
*--Internal Table To hold condition records header .
data : begin of it_header occurs 0,
key(4),
f1(4),
f2(4),
f3(2),
end of it_header.
*--Internal Table To hold condition records details .
data : begin of it_details occurs 0,
key(4),
f4(18),
f5(16),
end of it_details.
data : v_sno(2),
v_rows type i,
v_fname(40).
start-of-selection.
refresh : it_pricing,it_header,it_details.
clear : it_pricing,it_header,it_details.
CALL FUNCTION 'UPLOAD'
EXPORTING
FILENAME = 'C:\WINDOWS\Desktop\pricing.txt'
FILETYPE = 'DAT'
TABLES
DATA_TAB = it_pricing
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7.
WRITE : / 'Condition Records ', P_FNAME, ' on ', SY-DATUM.
OPEN DATASET P_FNAME FOR INPUT IN TEXT MODE.
if sy-subrc ne 0.
write : / 'File could not be uploaded.. Check file name.'.
stop.
endif.
CLEAR : it_pricing[], it_pricing.
DO.
READ DATASET P_FNAME INTO V_STR.
IF SY-SUBRC NE 0.
EXIT.
ENDIF.
write v_str.
translate v_str using '#/'.
SPLIT V_STR AT ',' INTO it_pricing-key
it_pricing-F1 it_pricing-F2 it_pricing-F3
it_pricing-F4 it_pricing-F5 .
APPEND it_pricing.
CLEAR it_pricing.
ENDDO.
IF it_pricing[] IS INITIAL.
WRITE : / 'No data found to upload'.
STOP.
ENDIF.
loop at it_pricing.
At new key.
read table it_pricing index sy-tabix.
move-corresponding it_pricing to it_header.
append it_header.
clear it_header.
endat.
move-corresponding it_pricing to it_details.
append it_details.
clear it_details.
endloop.
perform open_group.
v_rows = sy-srows - 8.
loop at it_header.
perform bdc_dynpro using 'SAPMV13A' '0100'.
perform bdc_field using 'BDC_CURSOR'
'RV13A-KSCHL'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RV13A-KSCHL'
it_header-f1.
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_CURSOR'
'KONP-KBETR(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'KOMG-VKORG'
it_header-f2.
perform bdc_field using 'KOMG-VTWEG'
it_header-f3.
**Table Control
v_sno = 0.
loop at it_details where key eq it_header-key.
v_sno = v_sno + 1.
clear v_fname.
CONCATENATE 'KOMG-MATNR(' V_SNO ')' INTO V_FNAME.
perform bdc_field using v_fname
it_details-f4.
clear v_fname.
CONCATENATE 'KONP-KBETR(' V_SNO ')' INTO V_FNAME.
perform bdc_field using v_fname
it_details-f5.
if v_sno eq v_rows.
v_sno = 0.
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_OKCODE'
'=P+'.
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
endif.
endloop.
*--Save
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
perform bdc_transaction using 'VK11'.
endloop.
perform close_group.
<b>Reward points for useful Answers</b>
Regards
Anji -
Advanced Pricing - updating modifiers
Hi,
Can one please help me if you got any idea about the follwoing?
I have a requirement of updating the Qualifiers of Modifiers and creating New Qualifiers for the existing modifiers.
I know I can use the "QP_Modifiers_PUB.Process_Modifiers" public API, The data I will be getting is in values(eg customer name), but it seems the api is expecting ID values, say for ex, to have a qualifier on a ship-to site, i need to pass the site_use_id of that ship_to site.
I have noticed there are value based record types that can be passed to this pub, ex: l_QUALIFIERS_val_tbl QP_Qualifier_Rules_PUB.Qualifiers_Val_Tbl_Type;
But this record type doesn't cater for all fields it seems, I tried by passing some values, but no success, or may be I am doing something wrong.
Could anyone please provide a sample script which handles the values in stead of ID's? if you got one?
Thanks in advance.Try this ... the assumption is that your PTE is ORDFUL and that you're using US language ... adjust the code accordingly if that is not the case.
SELECT
qual.qualifier_grouping_no
, qtl.name
, qll.list_line_id
, qual.qualifier_context
, nvl(stl1.user_segment_name, stl1.seeded_segment_name) as qualifier_attribute
, qual.qualifier_precedence
, qual.comparison_operator_code
, qual.qualifier_attr_value
, qual.qualifier_attr_value_to
FROM
qp_list_headers_b qlh
, qp_list_headers_tl qtl
, qp_list_lines qll
, qp_segments_b seg1
, qp_segments_tl stl1
, qp_prc_contexts_b cxt1
, qp_pte_segments pte1
, qp_pricing_attributes qpa
, qp_qualifiers qual
WHERE 1=1
AND qll.pricing_phase_id > 1
AND qll.end_date_active is null
AND qll.list_header_id = qlh.list_header_id
AND qlh.end_date_active is null
AND qlh.list_header_id = qtl.list_header_id and qtl.language = 'US'
AND qual.list_line_id = qll.list_line_id
AND qll.list_line_id = qpa.list_line_id(+)
AND cxt1.prc_context_type = 'QUALIFIER'
AND cxt1.prc_context_code = qual.qualifier_context
AND seg1.segment_mapping_column = qual.qualifier_attribute
AND seg1.prc_context_id = cxt1.prc_context_id
AND seg1.segment_id = stl1.segment_id and stl1.language = 'US'
AND pte1.pte_code = 'ORDFUL'
AND pte1.segment_id = stl1.segment_id
ORDER BY
qual.qualifier_grouping_no -
Problem in conditions pricing updation using BAPI_PO_CREATE1
hi,
I am creating PO using BAPI_PO_CREATE1 however when i am passing the data to the bapi for conditions at item level the price value is not changing and throwing error as ( NET PRICE FOR ITEM 00010 adopted from last document ) so for all the items its throwing the same information and when i am chekin the PO the value is not the changing. and while creating the PO manually also the net price is coming automatically and we need to backspace the value and re enter the new value. So wht should i do in order to input the data into the PO.
Thanks in advanceThanks
-
Best options for mass pricing load/update?
Hi folks,
I need to design an interface to load PR00 pricing condition data into SAP from a 3rd party (custom) system. The interface will need to support (1) creating brand new condition records, (2) changing existing condition records (example i: price changes but effectivity dates remain the same, example ii: price remains the same, but the effectivity 'to' date changes, etc.), and (3) setting the deletion flag on existing records.
Any thoughts/comments on the best mechanism for getting these pricing updates loaded into SAP? LSMW vs. BAPI , etc? I've spent some time searching and see that there are some BAPI's out there, but that some folks are using LSMW or even BDC. I'm interested in hearing the pros and cons of the various approaches.
FYI, I'm on ECC 6.0.
Thanks in advance!
AllisonHi,
Writing BDC and BAPI wil take time if your volume of DATA is huge then go for this option
Otherwise I suggest you use LSMW simple and quick method,
Kapil -
Proforma Invoice updation with revised pricing
Dear Experts,
An condition record had been mistakenly deleted from the system and nearly 1000 Proforma invoices have been created in the system.
As the Proforma invoice do not have accounting document we simulated the updatiopn of the Pricing condition by maintaining new condition record and
we were able to achieve the correct pricing.
Is there any program to update the pricing for Proforma Invoices as a whole? We tried with BDC recording and the recording doesn't record the
selection value for Pricing updation for "VF02 "transaction "- "B"- Carry out new pricing.
Kindly do provide your suggestions.
Regards,
S.RKAs per the current system the Excise invoice is created in reference to the Proforma invoice and system has restriction through user-exit not to create more than one Proforma invoice document.
which was the Exit used here to control proformas
Normally system will creates Excise invoices based on proforma--but the controls will be between delivery document type to billing type(but not on billing type to billing type)
For example in customizing we will maintain copy controls between LF to JEX ---what was there in your case???
(so what was the pricing source here in VTFL)
So in testing server--Have you recreated new proforma and tested whether excise invoice has been recreated based on your new proforma???(update us here) -
Is there any way to update the new pricing automatically?
Hi,
with reference to the below link i have some queries
Re: is there any way to update the new pricing automatically?
i din understand the below point mentioned in the thread
You see this option is changes sales order(VA02), item pricing, update tab at the bottom.
can u pls explain ?
Thanks in advance.Hi,
First of all it is not at all possible that you have added something to user exit for sales order and that is affecting billing.
While billing try
USEREXIT_PRICING_PREPARE_TKOMP
instead of USEREXIT_PRICING_PREPARE_TKOMK.
Also, you need to sit with the SD functional person to check and decide upon what config is to be adopted in copy controls for pricing type. In case you wish to do everything through the user exit then std controls need to be set in a way that whatever is in sales order should come up in billing, inclusive of manual conditions unchanged.
In case of short dump issues, the code is not written at the right place. Before your code write
break-point
which will give you an idea of what is happening at runtime while creating billing document in debugging mode.
Hope this helps.
Regards,
Amit -
Stop price update of delivered but un-invoiced (non-invoiced) line items
Hi Gurus,
I need some help regarding price update of line items which are delivered but not invoiced yet.
Case 1:
I am calling the FM 'BAPI_SALESORDER_CHANGE' and passing the line item (say 10) whose price needs to be updated. This line item is neither delivered nor invoiced. Result, correct change of price for line item 10.
Case 2:
In the above order, i am adding another line item (say 30), which is completely delivered, but I have not yet created an invoice for it. I want that this line item's price should not be changed (as delivery is already created for it). So, in my price update report, I check and filter this line item (10) and pass only line item 30 to the BAPI. Result: not only line item 30 but line item 10 also gets updated with new price!!
Case 3:
I created a new line item(40) and created an invoice for it after completely delivering it. When I call the BAPI now, I again filter the line items 30 and 40 and pass only line item 10 which i want to be updated.
Result:
Line item 10 - updated with new price
Line item 30 - updated with new price
Line item 40 - not updated
Requirement:
Any line item that is completely delivered should not be updated with the new price regardless of it having an invoice or not.
Assumptions:
I am running a custom report to find the line items that need change and calling the BAPI_SALESORDER_CHANGE and passing those line items to update the price.
Problem faced:
This process is updating all line items in the SO that are not invoiced regardless of weather I am passing it to the BAPI or not
As far as i know, the checking of the invoice is in some standard program, and hence had debugged the BAPI and got the FM SD_SALES_DOCUMENT_SAVE which in my opinion is doing the change. But on further debugging I lost track of the tables which were holding the data as the code is flowing through a number of user exits and standard forms.
Please help!Hi Soumyo,
In Pricing Update screen, you will find pricing type X, Y and Z which you can use to define your own pricing update scenarios. Check OSS note 24832. This note provides enough details about each of the update pricing options and also explains on how to use pricing update X, Y, and Z. Let me know if you need any more help on this.
Thanks & Regards
Kapil Sharma
Author - Configuring SAP ERP Sales and Distribution -
Mass Update Purchase Order Price
Dear folks,
I have a bunch of purchase orders already created in the system. However, I received notification that there is a price increase in most of the products in the purchase orders.
How do I mass update the prices in the purchase orders?
I already updated the info records.
Best Regards
JunwenHi Piyush,
Thank you.
I am looking for some functionality that can let me update the prices in the PO with the latest prices from the info records.
Something to the effect of the mass pricing update function in VA05.
Is there anything like that in MM?
Best Regards
Junwen -
Hi everyone,
When we create a sales order (VA01) with reference to an existing order, the pricing conditions in the document are getting duplicated.
Even forcing a pricing update (via the conditions tab) does not get rid of the duplicate condiations.
Does anyone have experience with a similar issue?
Any ideas on how to isolate where the duplicates are being generated would be appreciated.
Thanks,
- SureshI would check analysis from the pricing screen to see how your conditions were determined (based on what keys/tables). Another place to loock at - access sequence for your conditons, does it have multiple accesses and EXCLUSIVE checkbox non-selected ? Also, I would check requirements in the access sequence.
Do you have any code which tweaks XKOMV during order processing - it may cause problems as well. -
Mass Re-Pricing of Billing Document
For certain Billing Types we price at billing doc creation. In the case of pricing errors the affected billing documents must be re-priced.
Is there a mass update program that will allow us to re-price a group of billing documents without having to drill into each individual order and manually update pricing. I have not been able to find such a program.
Thanks..Not sure I understand whats the issue is..but let me restate for my own info..
you have billing documetn say 1000 to 100x..which had a priicng error..
you might have gone ahead and fixed condition record or whatever..that will fix this error.
now you want to re-price the billing document
if thats the case, then normally the pricing update is greyed out if you have created a billing documetn..because acctg documents are created and co-pa determination..lot of stuff happened after the biling creation..
good compliant solution would be to cancel and re-bill...that way everything is properly determined.. -
Hi ASAP,
Can any body plz let me know how to UPDATE Used PO,?
I tried to UPDATE PO using Pricing UPDATE which System is not allowing me to do so.
If any Exit is require to update PO , plz let me know?
Thanks & Regards
Manoj SinghHi ASAP,
THis is PO PRicing UPDATE Issue.
PO for Import was created in July, In month of August some changes happen in Ipmort Pricing procedure.
In Oct. MIRO for Planned Del. Cost been created, after that GR.Later on Account people realized that one component of PO has been posted incorrectly in MIRO.
Then they reverse GR, Invoive Receipt. Now status of PO is Open. When they tried to Post invoice Receipt, one component of PO is again posting incorrectly.
That is PO has to be update with respect to changes in Pricing procedure. when I tried to update pricing in PO using UPDATE button, system is not allowing me to do so and throwing the following error;
New pricing is no longer possible
Message no. V1227
Diagnosis
Pricing cannot be carried out again due to the processing status of transaction.
System Response
The system does not allow pricing to be carried out anew.
plz help me to resolve this error.
Thanks & Resolve
Manoj Singh -
Pricing conditions in extended classic
hai friends,
can we replicate the pricing conditions,and access sequence and pricing procedure from r/3.how can we exactly maintain the same pricing procedure in srmas in r3.and in extended classic po has created in srm and the copy will sent to r/3.but how the exact r/3 pur org and pur grp will be placed in r/3 copied po document.
thanks and best regards,
chakriHI
YOu need to define the same in the configuration as like in MM. But the pricing updated has done by thge CRM . You need to check with them
Regards
Satish
Maybe you are looking for
-
Can't open sharepoint site with sharepoint designer 2010
Hi there, We've installed SP Foundation + SP Server 2010 and set up some sites. when we tried to open it with SP Designer 2010, it fails and gave us some errors. opening SPD through site actions : unable to open website. possible causes: 1. the web s
-
Using a sim in an unlocked iphone 4
Hi. Can someone help me please. I have an iPhone 4 that was locked to a Vodaphone contract.The contract has ended and Vodaphone have had the IMEI deleted by Apple from their locked IMEI list. They have emailed the original owner (family) to say it is
-
Can't Back up iTunes library - DVDs keep getting rejected
Have just upgraded to iTunes 7.1. Tried to use the Back Up function mentioned in "What's new...". Unfortunately, every time I try to back up the iTunes library to a blank DVD-RW, the computer fails to work out what the disc is and then spits it out.
-
How to unlock MacBook Air System Pim Code
I have a big problem for my MacBook Air (A1370) System Lock Pim Code. How to unlock System Pim Code for MacBook Air (A1370) ?
-
How to erase all 9 last dialed numbers from a Treo 750
Dear Friends, Does someone knows how to erase all the last 9 dialed numbers that appears in a Treo 750 when the left green (phone Icon) key is pressed? Just in case, I already tried to erased them using the "Call Log" Menu "delete All Calls" option,