Update prices in ME21N (purchase order)
Hi,
We need to re-calculate prices automatically when creating or modifying a purchase order taking into account changes in some pricing fields of the order.
User has the standard option of updating the prices in 'condition' tab selecting the option he needs but what we need is to do this automatically if user changes some fields in the order.
Does anybody know if we have the same functionality as we have in SD in exit 'FORM userexit_new_pricing_vbap/vbkd' with the function 'new_pricing' in MM or how can we solve this issue?
Thanks in advance,
Best regards,
Silvia,
Hi Silvia,
Check the BADI that I suggest you. Read the documentation on line that I copy:
Determine Pricing Type in Case of Changes in EKKO, EKPO
Functionality
The method DEFINE_CALCTYPE enables you to stipulate whether the system is to trigger a new price determination process. You can also specify the type of price determination (pricing).
Result
The method outputs the pricing type, which controls the price determination process.
Parameters
IM_X_OEKKO: Header data, old status
IM_X_NEKKO: Header data, new status
IM_X_OEKPO: Item data, old status
IM_X_NEKPO: Item data, new status
IM_X_OBEKPO: Transfer structure BEKPO (EKPO with further fields), old status
IM_X_NBEKPO: Transfer structure BEKPO, new status
CH_X_LF_CALCTYPE: Output of pricing type determined via BAdI ME_DEFINE_CALCTYPE.
Notes
The method DEFINE_CALCTYPE is intended exclusively for changing the variables CH_X_LF_CALCTYPE. Do not make any database changes in the method. No COMMIT WORK statements may be executed within this method.
Ensure that your code supplements the standard code controlling the price determination process but does not disable it.
Documentation for Business Add-In ME_DEFINE_CALCTYPE.
As you can see, you can control the modifications on EKPO.
Regards,
Eduardo
Similar Messages
-
Excluding price of last purchase order from cost estimate
Good morning,
we have the issue described below:
we would like to exclude a price of some purchase orders from valuation in cost estimate in case of valuation is made by price from purchasing info record.
In this case valuation considers price of last purchase order even if there is a valid agreement used.
Our customer would like to have valuation with price of purchasing agreement and not price of the standard purchase order closed, but if agreement is older and during creation of standard PO is setted the "InfoUpdate" flag, system updates the inforecord and in CK11N during cost calculation it uses this price for subcontracting.
We have done some tests...Is there a standard SAP solution to have price of valid purchase agreement?
Many thanks.
Giusy Castiglione
Accenture OutsourcingHi,
Your requirement seems to be very unique and hence you need to try out through by selecting the valuation through user exit where we can request the system take the po price from purchase agreement instead of purchase orders. This selection deftly resolve this unique requirement instead of searching for a std solution.
Trust this helps much!
Regards,!
Ashok Singh -
No update of Sales Orderfrom purchase order (Error M2 815)
Hi,
Any inputs.
SO-- PR -- PO.WHILE CREATING PO, USER GOT ERROR MESSAGE.
Error Message: No update of Sales Orderfrom purchase order (Error M2 815).
Materia & vendor has AUTO PO flagged.
Rgrds....Dear
Please check the below link will help you
http://sap.ittoolbox.com/groups/technical-functional/sap-log-sd/error-message-no-update-of-sales-order-xxxxxx-from-purchase-order-error-v1-045-2992973
Regards -
Unit price validation in Purchase Order, Goods Receipt PO and A/R Invoice
Hello!
I want to have validation of the Unit Price field in Purchase Order, Goods Receipt PO and A/R Invoice documents.
This means that user has to get some kind of message if she/he do not enter the Unit price in above mentioned documents.
I can not use the price lists for this, to get the field populated automatically, because I do not have all the prices...
I am no longer newbie when it come to SAP, but this really puzzles me
Thanks,
DejanHello guys,
I have tried to add this code to check if the field Unit Price was empty in the Purchase Order form (Object ID 22)
But it gives me an error message - Error converting data type varchar to numeric (CINF)
I am getting the same error message even if I have some value in the Unit Price field...
I am really confused - what is wrong with it???
Here is the code from the Transaction notification
IF (@object_type = N'22' AND @transaction_type in (N'A', N'U') )
BEGIN
IF EXISTS (SELECT T1.DocEntry FROM OPOR T0 inner join POR1 T1 on T0.DocEntry = T1.DocEntry
WHERE (T1.PriceBefDi IS NULL OR T1.PriceBefDi = ' ') AND T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
Set @error =1
set @error_message = 'Unit Price cannot be blank'
END
END
Thanks,
Dejan -
Fetching the price of the purchase order and charge it in my SO
Dear, gurus
I am doing services mto and even Repair services of customers machinery. I would like to fetch the price incase of purchase order and charge the customer for that purchase in my Sales Order. Is there a way to automatically fetch the price? Or how can I cover this scenario?
Ex: I receive customers machine and in my plant or workshop I do not have the tool needed or a specialist so I hire someone for the job so I buy or rent it or him from a vendor and in return I want to charge my customer for that purchase.
Any Ideas?
P.S. this is not a 3rd party sale scenario its just a simple Sales Order. I was able to fetch the price from the production order with condition type EK02. Is there any condition type for purchase order price fetching?
ThanksAmitesh
How did the outcome come out as? meaning did that user exit price fetch appear in a condition type in the billing document? If so which one?
Also, where is the relationship or linkage made from PO to SO? Like how in the world would your sales order know that a purchase order was done. I mean it really is a weird process I mean first the SO should be created then that should trigger the PR and that gets converted to a PO as rightly stated in book terminology. But in this case of first a regular sales order, then out of sap we give our requirement to mm purchasing dept and tell them we need such and such. Once they buy it there is a price which in return we need to charge our customer. Everything can be done manually.
From my own logic of looking at what you described in the user exit. I presume that from abap side they will only pull a table and field data and populate it where I want it?
In the PR there is a place where you can assign acct cat C to the sales order and item line what exactly is this for? GL acct are assigned for which purpose or What is it doing? Also, the purpose of that cost center?
Edited by: Muhammad Ali Lozada on May 31, 2010 12:14 PM -
Price changes in Purchase order Line Items its displaying as"WF-BATCH"
Hi Experts,
I need some Information about Price changes in Purchase order Line Items,In PO Documents Price changes through this wf-batch has changed the value of this row to xxx.xx USD, which does not correspond the invoice.
If i selected the Item changes in the Purchase Order its displaying as"WF-BATCH".
So please try to clarify where this batch originates from.
Brgds,
RKHi Jurgen,
Thanks for your reply.
But how i can check this in Purchase orders,on what basis this price changes information is recorded in PO Line Item level.
can you pls guide me some steps to check the price changes through WF-BATCH.
Brgds,
RK -
Item text in Purchase Order getting updated with info. record Purchase Order Text
Hello All,
I am working in a roll out project and facing issue in text repeating twice for the line item in the Purchase Order for the new company code for which rollout is happening
Issue:
Item text in Purchase Order getting updated with info. record Purchase Order Text
01) PO Text is maintained in the material master under "Purchase Order Text" tab
02) The PO text that is maintained in material master is getting updated in the Purchase Info. Record
03) When Purchase Order is created, the "Item Text" gets updated in the Purchase Order automatically only for the new company code for which rollout is happening. when printed, this results in the text getting duplicated twice
03.1) this behavior is not observed in the Plants/ Company code that is already Live
Configurations in the system:
The copying rules for the "Texts for Purchase Orders" is
Source Object = "Info Record", Source Text="Purchase Order Text", Fix="*"
We have modified the Purchase Order form to print one of the condition types maintained for calculating the tax. Other than this there is no change to the plants that are already live.
I could not locate any "Purchase Organization" / "Company Code" / "Plant specific configuration.
Am I missing any configuration or where can I look in what is causing this error.
Request help from the experts in the forum.
with Regards,
Dhandapani RThere is no company/purchasing/plant specific customizing for purchase order text.
The customizing copying rules for the "Texts for Purchase Orders" affects all equally .
If the text in the purchase order in ME23N is already filled different to other plants, then you either have a modification in place, or the texts are differently maintained in the referenced data (vendor, material, info record, contract) -
'How to restrict change in Quantity/Price in saved Purchase Order in SAP B1'
Dear All,
How can I restrict a user from changing Quantity or Price in a saved Purchase Order in SAP B1 8.81 PL 0?
Regards.Try This TN SP
If @object_type='22' and @transaction_type='U'
BEGIN
If Exists (SELECT T0.docnum FROM [dbo].[OPOR] T0
INNER JOIN [dbo].[POR1] T1 ON T1.DOCENTRY = T0.docENTRY
WHERE T0.DOCENTRY = @list_of_cols_val_tab_del)
BEGIN
Select @error = -1,
@error_message = 'Update not possible'
End
End
Regards
Kennedy -
How to make net price field in Purchase Order Uneditable
Hello all,
I am facing a problem. During creation of purchase orders the material price is picked up from the Info Record, but the net price field is editable. Please guide me how through standard SAP can i make this net price field uneditable.
Thanks in Advance,
Ritesh.Hi Ritesh,
You can goto:
SPRO-MM-Purchasing-Purchase Order-Define Screen Layout at Document Level
from here you select ME21N-Selection group-Quantity and Price.
Make the price and price unit as DISPLAY.
By this it will show only display for price, but you have to take not that there is also condition tab which user can change the price, this price is from INFOREC.
Goto to M/06 select your Condition type, In Manual entries maintain "D"-Not possible to process manually
Regards,
Maia -
Net Price Control in Purchase Order
Hi
Purchase Order Net price is coming from Info Record.
My company want that NO changes should be made in the PO net price by user while creating PO and accept price coming from Info record only.
How to do this. Please help.
Sunil KolambkarHi,
Spro>Materials Management>Purchasing>Purchase Order>Define Document Types
Here check the "Field Selection Key" against the PO doc type
(ex: Standard NB doc type the "Field Selection Key" would be "NBF")
Then go to
Spro>Materials Management>Purchasing>Purchase Order>Define Screen Layout at Document Level
Select the " Field Selection Key" of ur doc type..Just Double click on that
then click on "Quantity and Price", there you can see the "Price and price unit" field..
against that field you can see three options, Reqd.entry Opt. entry Display...
Here tick the field "Display", So that You can get this field in Change mode in ME21N trx...
If you want you can create a NEW Doc type & Use it..
Thx
Raju -
Inbound idoc for updating delivery date of purchase order
Hi All,
Our vendor sends a delivery file consisting of delivery date and quantity(could be partial) for line items of a purchase order.
I need to update the Purchase order line item with the delivery date and quantity sent from the Vendor. It should add a new confirmation line with custom confirmation category in the confirmation tab of the line item in the Purchase order.
Each time we get a delivery file we need to add a new confirmation line in the confirmation tab of the purchase order line item.
How can I get this working using inbound idoc processing? Which Idoc type should I use to solve my issue. Will ORDERSP work for my scenario?
Thank you,
Sonali.>
sonali ashi wrote:
> We have all EDI set up done for ORDERSP idoc in our system. Problem when I use this idoc type by default system is always adding confirmation catgeory 'AB' but we want our custom category to be added instead of 'AB'.
> Edited by: sonali ashi on Dec 23, 2010 9:47 PM
Confirmation category used for order acknowledgement is define in configuation. You can change that from AB to your custom condition and EDI should pickup that.
SPRO->Material Management->Purchasing->Confirmation->Define Internal Confirmation Category
>
sonali ashi wrote:
> I have also noticed that 'AB' confirmation accepts only full quantity order acknowledgement through Idoc processing.
> Manually I can add a "AB" confirmation for partial quantity but in the idoc processing it fails.
> Edited by: sonali ashi on Dec 23, 2010 9:47 PM
Check tolerance limit defined for confirmation category in 'Conformation Control' Node in SPRO at same level as above.
Regards,
Pawan. -
Is there any transaction that will change net price in a purchase order
Hi All,
Is there any program / transaction where i can change the net price for few materials in the purchase orders (say 100 purchase orders) which has been created few days back. Please let me know at the earliest.
Regards,
PSSHi,
By changing the price in the Info Record price condition it is possible to made to reflect the same in PO Net Price through Automatic document Adjustment.
MEI1 & MEI2 are used for Invidual & Mass processing.
Its applicable to Vendor / Material combination i.e. Info Record.
Regards,
Ramesh -
Quantity & price difference between purchase order and goods receipt
goods receipt against purchase order
inventory a/c dr
gr/ir clearing a/c cr
if there is any quantity & price difference in between PO and GR ex- PO order -1000 bags @ rs 10 but good receipt 900 @ Rs 10
then how the price difference and quantity diference treated in sap
what will be the entries, how we adjust it.
regards
sibakindly note that depending on the Moving average or standard price (price control flag in mm01) the difference will either get adjusted with the material or to the price difference account accordingly.
in the example for standard price
gr for po :10 bags @ 11
dr stock 100
cr gr/ir 110
dr price diff 10
the above is in case of material maitained at 'Standard price' in the mm03.
regards
eashwar -
How to block post price conditions in purchase order
I need to block post price conditions in the purchase order, after doing MIGO.
The problem is that somtimes buyers people go to the purachse order with ME22N, even if MIGO has already been made for this purachse order. They change The amount of certain price conditions in some or all the posts of the purchase. when people of accounting receive the invoice, there are problems of price differences.
i need help to do it
Thank you in advance for your helpThe system will not allow to change the price once goods receipt takes place on that particular order. It happens only when we reverse the reciepts and make the po open. In such case the persons can change with ME22N. Its simple that only authorised user to have this transaction code and other users should not have this transaction code authorization.
-
Personal Settings in ME21n Purchase Order
Hi frnds,
In Me21n -- create purchase order screen i have a tab called as Personal settings where i can go and assign some default fields like Plant , StrLoc ............. .
Now i want to deactivate it for some particular users .
How to to it ? At configuration level should i do it .Or can the Basis person go and remove the object or field from that particular list.If yes what is that object or field which the Basis person should deactviate ??
Regards
RakeshHi
This can be done through user specific settings.
For the particular user click on the user settings and remove the default values and save.
It will not display.
REgards,
Raman
Maybe you are looking for
-
Hi guys, I have three sender files in which one field called ITEM is common in all the files and I have created a ZTable in the Target Structure according to the structure of the input files where in the Ztable there is one ITEM fiel
-
Is there a way around the build-in FTP as read-only access
"With read-only access, you can copy files from the server, but to copy files to the server you may need another FTP app. Choose Apple menu > App Store to find FTP apps available for OS X." Is there a way to get around this? Can i get the build-in FT
-
Picture messages does not display
When I receive a picture message and I try to open it, It open up a grey sceen with IMG_12345. It allows me to save the picture and view it in my camera roll. How can I fix this? iPhone4 running 6.1OS Jailbroken
-
i want to extract physical disk vendor name ,model and all other information. which solaris APIs can be used to get this information.
-
All, I have a ODS A from which I have done initialization and I am pulling delta to another ODS B. Now I have a requirement to incorporate a new ODS C whose source is to be ODS A. Is it possible to do an initialization or full load from ODS A t