cancel
Showing results for 
Search instead for 
Did you mean: 

Valuation price in stock trsp PReq

rafael_zaragatzky
Active Contributor
0 Kudos

Dear colleagues,

My client creates indirect PReq's with account assignment and assigns a valuation price that controls the approval process in the next step. This is working fine.

The problem starts when the buyer assigns a vendor which happens to be another plant (cross company stock trsp req.) As soon as the system determines that it is a stock trsp req., it pulls the material's price from the supplying plant (std price) and places it in the PReq as the valuation price. This is a problem, because the purchasing price from the other plant is actually not that plant's standard price, but something else.

Pulling the valuation price from the supplying plant seems to be hard-coded functionality, even if I don't find explicit confirmation of such functionality in the documentation. I have only found the note 694885 that solves a "problem" described as follows: "In a stock transport requisition, the system uses the valuation price from the receiving plant. The valuation price from the delivering plant would be correct." Why is this "correct"? Do you know the reason for this functionality?

Is there somebody out there who faced a similar requirement to bypass this functionality? How have you solved it? I tried forcing the price/currency in the BAdI ME_PROCESS_REQ_CUST (method PROCESS_ITEM), but it didn't help.

TIA

Raf

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor
0 Kudos

I think that in case of stock transfer it can be assumed that the price in the supplying plant is more accurate than the valuation price in material master of the receiving plant.

You never get an info record price into the valuation price field of a requisition (493318 Q&A 17)

However, I haven't seen any note that explicitly explains the design.

OSS note 208138 mentions as well that SAP is looking into supplying plant.

KBA 2057216 also mentions the Badi and method (that did not work for you). You wrote price/currency , did you try it without currency, as valuation price is always in company code currency of receiving plant?

rafael_zaragatzky
Active Contributor
0 Kudos

You are right, Jürgen. None of this notes explains why the system insists on copying the price from the supplying plant, thus overwriting the manually assigned price.

In our process, the source of supply in the PReq is assigned automatically (by the BAdI ME_PROCESS_REQ_CUST) when the PReq is being released. The assignment causes recalculation of the valuation price and hence new release... This way it is impossible to release the PReq!

If the source assignment was made by the requester, s/he would be able to change back the price to whatever needed, before the release trs ME54N is accessed.

We would like to avoid this and keep the price assigned by the requester when the source of supply changes. I assume, the BAdI doesn't consider the assigned price, because it also assigns the source of supply (the delivering plant) in the same go. Then the system fetches the price and the BAdI is not evaluated again. Maybe I can solve the problem by changing the check im_count = 1 at the beginning of the method (used to prevent endless loops). Maybe I can change it to im_count <= 2 and then restore the price in the second go, but this is a "dirty" solution. Besides, I am afraid that the system will initiate new release in this case too.

I am interested to know if standard SAP provides any possibility to keep the manually assigned valuation price despite the change in the source of supply. By the way, we don't need to pull the price from the info record, so 493318 Q&A 17 is fine with us.

The manually assigned price is in a different currency than the buying (and supplying) plant's currency - there's possibility to assign the currency in ME51N and the setting normally holds unless the delivering plant is entered as the source of supply.

I will check again with the users why it is important to have the correct price in the PReq after the release.

BR

Raf

rafael_zaragatzky
Active Contributor
0 Kudos

Hi again,

Following Jürgen's application to close the old threads, I am closing this one. We haven't found a way to keep the manually assigned price when the release of the PReq causes vendor assignment (BAdI ME_PROCESS_REQ_CUST) and hence pulling the price from the supplying plant.


Fortunately, these cases when "consumable" PReq's (subject for release) are created for delivery from another plant are quite rare. In such situations, we taught the approvers to release the same PReq twice. The first time they release, the BAdI assigns the fixed vendor and standard SAP pulls then the price from the supplying plant. But when they release again, the fixed vendor is already assigned and no new price determination is carried out, thus keeping the PReq in released state.

The price in the PReq is still wrong, but since it has already been released, it doesn't matter so much (the price in the PO is not taken from the PReq, but from PIR).

BR

Raf..

Answers (0)