BAPI_PR_CREATE Valuation Price
Hi experts,
I need to create a Purchase Requisition using BAPI_PR_CREATE but I received an error 'Enter Valuation Price' when run this BAPI.
I checked ME51N to create a PR manually and I found that I need to enter a Valuation Price manually. But it seems that there is NOT an input parameter for this field in BAPI.
How can I use this BAPI without Valuation Price. Could you please help me?
Thanks.
Dear Kebab,
Please check if you fill in below structure in the BAPI.
pritem-preq_price
pritem-currency
pritem-price_unit
pritemx-preq_price
pritemx-currency
pritemx-price_unit
Best Regards,
Ian Wong Loke Foong
Similar Messages
-
Bapi_PR_Create - Enter valuation price error
Hi all,
I'm using the BAPI_PR_CREATE and it's giving me the "Enter Valuation Price" Error.
Does any one can tell me what is the fields for passing the Valuation Price?
I'm not really sure.
I'm Using the PRITEM-PREQ_PRICE (and I'm not forgeting the PRITEMX ).
Thanks in advanced.
MiguelHi
The valuation price of the material is not picked up from the field PRITEM-PREQ_PRICE in the BAPI.
Please maintain the Price in the material master in the accounting view , then only the price will be picked up.
If you are not able to do so please maintain the price of the material using MR21.
Even though you fill the field the valuation price in BAPI this will always be over written by the Material price.
Thanks & Regards
Kishore
Edited by: Kishore Kumar Chiluka on May 15, 2008 2:53 PM -
Inter company PO is not pulling the valuation price from Material Master
Hi Experts,
We have a scenario, Inter-company PO with pricing procedure which pulls Material Price from Material Master (Std Price), similar to intra company PO
Even after maintaining the std price in the supplying plant , system is not pulling the Valuation price from Material master only for a particular Material
I checked the Plant level attributes ( for ex: Plant Mat status, client level status and everything looks fine )
Could you guys please mention what would be the issue ?
Thanks in advance
IllayarajaHi,
Is there a routine which pulls the value? then you need debug with ABAP help for that routine where its failing to pull
Thanks
Diwakar -
Valuation price with user exit/BADI/Enhancement Spot (In valuation variant)
Hi all,
i am facing problem finding enhancement when creation of sales order of Valuation price with user exit/BADI/Enhancement Spot (In valuation variant)
For refferenece:
When going to t.code VA03, select one item and go to extras in the menu bar and select costing then you find some amounts calculation i.e valuation price automatically.
So when creation of sales order i am giving material and that material price automatically takes from material master and creating sales order.
My customer requirement is to get the valuation price of the input material from Z-table during the sales order cost estimate.
This Z-table contains the material code, plant , grade of the material.
Ex:
Material Plant Grade Price
A 1000 XYZ 25000
A 1000 PQR 35000
A 1000 BCD 45000
Suppose it depends on sales document type and which grade price i have to take.
So first of all i am unable to find enhancement where to change this code to get change the valuation price.
Does anybody have any idea , is there any user exit/BADI/enhancement for this.
So please help me in this issue.
Thanks & Regards,
lokeshgoudpls allow me to post the questions
-
How to use user exit to complete the PR item valuation price?
Hi Experts,
I am working on a user exit about Purchase requisition and the description is as following:
In standard SAP, the Purchase Requisition (PR) is an internal document to translate a pur-chasing requirement. Standard, at the moment of a PR, no supplier is known and therefore no purchase price is known.
In standard SAP, the purchase price and price conditions are introduced in the Purchase Or-der (PO); these fields are not available in the PR. Instead, the PR contains an estimated valuation price per item, this is the historic purchasing price (standard price or moving aver-age price).
For the GFP project, the purchase price needs to be introduced in the PR. This is due to the fact that budget reservations are made for PRu2019s. Therefore, each PR needs to have a correct purchasing value. As budget forecasting also takes into account the tax (VAT), the PR value needs to be VAT inclusive.
The goal of this development is to ensure that the user does not need to complete the PR item valuation price manually. Instead, this field should be filled with the item contract or info record price.
The purpose of this development is to extract the correct purchasing price from the agree-ment / info record when applicable. Thus:
u2022If the user does not assign a source to an item, do not overwrite the item valuation price
u2022If the user assigns a source to an item based on an agreement, use the agreement number and item to extract the purchasing item price
u2022If the user assigns a source to an item based on an info record, use the info record number and purchasing organisation to extract the purchasing item price
The enhancement trigger is the assignment of a source of supply by selecting a certain pur-chasing agreement (contract) or a certain info record.
can anyone help me on this? do you know how to know the time when the trigger of the source of supply by selecting a certain pur-chasing agreement (contract) or a certain info record happens? thanks in advance!
Kind regards
Dawson
Edited by: Julius Bussche on Jul 25, 2009 7:06 AM
"Hi" removed from subject title...Hi Debadatta,
Welcome to SDN.
Have you looked report program <b>RM07MAAU</b> (Report for Material Document Archiving)?
Hope this will help.
Regards,
Ferry Lianto -
Planned Order to STR Conversion - incorrect Valuation Price
Hi Experts
Not sure if you've encountered this before:-
Material A in Requesting Plant has Valuation Price of USD10.
Material A in Supplying Plant has Valuation Price of USD20.
Material A is planned through MRP in Requesting Plant with Planned Order as the output.
When Planned Order is converted into STR (MD14/MD15), the Valuation Price appearing in the STR picks up USD10 (from Requesting Plant), even though Supplying Plant is correctly defaulted in the STR.
Any idea on the above?
Another observation - for the same STR created, if the Supplying Plant is cleared in Change Mode (ME52N), system will reassign the supplying plant accordingly, and the Supplying Plant (USD20) is now correctly updated into the STR.
Thanks in advancethe valuation price of a purchase requisition is always copied from material master valuation view of the ordering plant.
there is no difference for requisition that is used for a stock transfer order to a sister plant, compared to a requisition that is used to purchase from an external vendor. It would be very confusing if SAP has a logic break within.
the valuation is used for release strategy.
most requisitions do not know from where they will be fullfilled, source determination is not mandatory in requisition creation process. this is the usual task of purchasing department. Hence the requisition can only know the valuation price of its own plant. -
In which field is the current valuation price (FIFO) stored?
We need the current valuation price of FIFO-related items
Previously, the valuation price was stored in oitm.avgprice or oitw.avgprice. In the current version these fields are not filled.
How can you determine the current price of a FIFO-related item?
Valuation Price = (sum of single FIFO prices of the items in stock) : (inventory)
A similar problem occurs with charge-off. So far, the total booking price was stored in ige1.stocksum, but in SAP8.8 it is not. For a recalculation we need the value actually posted at the item level. This is the reason why the price cannot be determined from the posting journal jdt1, because there, a sum of all entries calculated.
Is there a reliable way, which works with both SAP2007 and SAP8.8?
regards
M.HeiglHello János
Thanks a lot for your advice, this helps me to advance
Unfortunately, the calcprice is not filled correctly.
Example:
Number of decimals in Price = 2
Posting in 1 piece
Factor = 1000 (1000 pc are posted),
Total price 0.05 u20AC,
Single Price = 0.00005,
now in oitm.calcprice is stored : 0, in oinm.openvalue=0.05u20AC, in the jounrnal (jdt1) 0.05u20AC
Alternatively, the field u201Copenvalueu201D may be used?
To get out the correct average inventory value, the following SQL statement would be correct:
select sum (openvalue / openqty) from where oinm itemcode = N'test_fifo 'and openqty! = 0
At charge off, the total value is determined via
select sum (-1 * transvalue) from where oinm transtype=60 and createdby=164 and itemcode = N'test_fifo'
In this test, I have also found an error:
If the single price (oinm.calcprice) = 0, for example because it was posted with a large factor, the item cannot be issued anymore.
Error message "acquisition price" is missing (...)
Tested with 2007ASP1PL9 and SAP 8.8 (8.80.230) SP0PL12
I assume that for FIFO evaluation SAP uses the calcprice and not the total price, the single price is determined, which in this case is 0 because of rounding.
Apart from this error: Are my assumptions and SQL statements correct?
Regards, -
Valuation price change in PR - User Exit
Hello all,
In Purchase Requisition valuation tab there is the field BPUEB (PO Price EBAN-BPUEB) that is used to transfer the valuation price from the PR to the PO.
The field's values are :
0. Do not adopt
1. As gross price
2. As net price
The default value is "Do not adopt".
How can I change the default value to "As net price" ?
I am looking for a user exit, because i need to do some condition check before i change this to "As net price".
Pl suggest.
ThanksSolved Myself.
Solution:
Exit : EXIT_SAPLMEREQ_005
Include : ZXM02U05
Code:
FIELD-SYMBOLS: <IS_ACC> TYPE LINE OF MMPUR_ACCOUNTING_LIST.
DATA : ACCOUNTING_LIST TYPE MMPUR_ACCOUNTING_LIST.
DATA : RE_EXKN TYPE EXKN.
DATA : L_AUART TYPE VBAK-AUART.
DATA : L_PSTYV TYPE VBAP-PSTYV.
CLEAR RE_EXKN.
ACCOUNTING_LIST = IM_REQ_ITEM->IF_ACCT_CONTAINER_MM~GET_ITEMS( ).
LOOP AT ACCOUNTING_LIST ASSIGNING <IS_ACC>.
CALL METHOD <IS_ACC>-MODEL->GET_EXKN
RECEIVING
RE_EXKN = RE_EXKN.
ENDLOOP.
CLEAR : L_AUART, L_PSTYV.
SELECT SINGLE AUART FROM VBAK INTO L_AUART
WHERE VBELN = RE_EXKN-VBELN.
SELECT SINGLE PSTYV FROM VBAP INTO L_PSTYV
WHERE VBELN = RE_EXKN-VBELN
AND POSNR = RE_EXKN-VBELP.
IF SY-TCODE = 'ME51N' AND L_AUART = 'ZMO' AND L_PSTYV = 'ZTAB'.
LS_MEREQ_ITEM-BPUEB = '2'. "AS NET PRICE - PO Price field
ENDIF.
Thanks,
Senthil -
How to copy net price of the Contract to Valuation price.
Dear All,
I have a requirement to change the valuation price when raising purchase requisitions (ME51n). when selecting source of supply (Contracts), i want to copy the Net price of the selected contract to the Valuation price of the Purchase Requisition. i tried to find a Badi or User Exit to do this, but i couldn't find any.
Can you please help me on this.
Thanks,
Chaminda.
Hi all,
I found a way to do this.
ME_PROCESS_REQ_CUST
Edited by: chaminda CK on May 7, 2010 7:21 AMfound the answer
ME_PROCESS_REQ_CUST
PROCESS_ITEM method can be used.
Edited by: chaminda CK on May 7, 2010 7:23 AM -
How to create PR without valuation price.
Hi Gurus,
My scenario is to create a PR for spare part repair.
It is without valuation price because the spare part is within the warranty term.
So I only create a PR without price.
T-code:ME51N
Valuation price field is set into optional, Yes,it is presented as an optional field in ME51N screen.
But a error message ME083 "Enter valuation price" still rises if valuation price is not entered.
I also registered the messge ME083 into Warning in IMG message definition.
But it did not work.
Anyone could give some suggestion about it?Thanks very much for a lot.
I solved it.
My answer is:
(1)check field selection of purchase requisition through the following path
IMG.materials management.purchasing.purchase requistion.define screen layout at document level
and then,you will find the first field selection option is $$$$ with description Without price .
OK, It's my want.
(2)New a document type for purchase requisition and specify the field selection $$$$ .
(3)Save it ,Now it's OK.
Although some good suggestions are provided,I am sure the above answer is the simplest among all suggestions as its least operation and its least infection to actual job of purchase requistion creation. -
Purchase requisition -Valuation price and Quantity greyed out
Hi,
I created purchase requsition with Release strategy, once i have enter Valuation price and quantity and check the document Release strategy Invoked.
And Valuation ,quantity fields greyed out before saving the requisition.
Please help me.
Regards,
SridhartWhy are you entering the Valuation price in PR creation.
If a material master record exists for the requested material, the price is automatically taken from the valuation price field.
If no material master record exists, you must enter a price when creating the purchase requisition.
Please elaborate in detail. -
Report Custom Valuation Price on Material
Hi
I want to have a custom valuation price for material.
I have Load Valuation Price in ODS.
Now I want This Values (Valuation Price) available in every level of drill down (Characteristic).
Which is the best way to do that?Dear Gordon,
Thanks for your resonance, basically my requirement is at the time of issue materials from stock, Material cost should be calculated based up on invoice price, not based on MAP or Standard price.
Thanks
Venkat -
Valuation Price issue in PR Approval form
Hi,
We have a PR with multiple line items and different valuation price.
But in the PR approval form, the valuation price is showing only the line item 1's valuation price, not
total valuation price of the all items.
Can any one help me how to show the valuation price as sum of the all line items values.
Thanks in advance
RajeevDear Rajeev,
Please check in spro whether system is configured for Item level or Header level release.
check the tick sign at Release group.
For item level release system considers the value of line item and for header level release system takes the total value of line items.
please go through this link
https://www.sdn.sap.com/irj/scn/wiki?path=/display/erplo/releaseprocedureforPurchaseRequisitioninMM
Release procedure for Purchase Requisition in MM
Best regards,
Maverick
Edited by: Maverick 331 on Jun 16, 2009 7:34 PM -
Purchase requisition valuation price
Hi Gurus
System prompts me to enter the valuation price in purchasing screen in the sales order when I select the item category TAS/TAB.
I maintained the valuation price using MR21 but still does not pick it. Info record too exists.
Is something thing? Please advice on how to fix this?
Thanks
KumarHi,
Go to SPRO > Materials Management > Purchasing > Purchase Requisitions > Define Screen Layout at Document Level > Here for Field Selection Key "ESTV", under Field Selection Group "Quantity and Price", mark field "Price and price unit" as optional. -
Hello to everyone,
When I create a purchase requisition, is there any way to get the valuation price for the item from the price of the last purchase order of this item?
RegardsDear Ignaciohsg,
The Valuation price will get the price from the material master and it never get price from last PO. Only PO price can get
from last PO.
Best Regards,
Ian Wong
Maybe you are looking for
-
OIM 11.1.1.5.0 - Pre process event handler
Hi everyone, I'm trying to configure a preprocess event handler to automate email and user login when I click on "create user". I mean when I want to create a new user, I just want to fill the first name, the last name, the organization and the type
-
I need to install C6 on my Mac laptop -10.7.4. I bought it for my desktop & I am running it there but need it on my lap top. How to proceed? thanks
-
For anyone who has tried to read the ICCCM
the greatest rant ever: http://lists.slug.org.au/archives/slug- - 00054.html English football hooligans -- if I want to get a short message to the other side of the field, do I use my ICCCM-based X Window PDA? no, I tell it to a random hooligan, poke
-
Can't open iPhoto due to upgrade to yosemite
recently upgraded to yosemite and now i can't open iPhoto, it will not let me update or purchase new it simply gives me a message that reads: Update Unavailable with This Apple ID This update is not available f
-
I can't uninstall Flip4mac wmv player
When I try to drag it to the trash it doesn't move... Why is it so? And what can I do?