Material Price warning before saving Purchase Order
Hi everyone,
While saving the Purchase Order ..I want the system shud prompt (as Warning Mesage) the current MAP of material so that user doesnot put any erratic price..
I had done it last but cud not recollect the settings......
Will anyone help me to tell how this can be done...
Regards
Vikrant...
Hi Yogesh/Dhruba/Arif/Stephen..
At first Thanks to everyone of you for contributing.....
Yes i am able to do the needful.........But yes theres one more thing which we have to maintain....
In Spro-MMpurchasing-Purchase order-Set tolerance limit--- tolerance Key PE
Here for specific company code you have to maintain the price variance tolerance then only this setting i.e version 00/06/205 works...
I our case for the company code there was no price variance limit maintained...
I maintained it and now its working....
Thought of sharing this with all of you
Regards
Vikrant.........
Similar Messages
-
'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 -
Need User Exit before the Purchase Order saved!!!
Hai All,
I am in search for User Exit before the Purchase Order gets saved.This User Exit should capture this generated Purchase Order and post it to the Destination System for further processing.
Can anyone help me to find this User Exit.
Thanks,
Ugandhar.<b></b><b></b>
Message was edited by: Ugandhar DomathotiCheck out this enchancement in smod <b>MM06E001</b>
in that EXIT_SAPLEINM_001
EXIT_SAPLEINM_002
may help you ....
regards
vijay -
Material Statuses based on the Purchase order Document type
Hi Experts,
We need to maintain the Plant material status based on the purchase order document type.
Example - If I am using NB for normal purchase orders and ZB for STO procurement then, there should be a material status which should give warning message - 'do not use ' for ZB STO purchase orders and it should allow to create NB purchase orders for that same materials.
Please advise what are the possibilities?
Thanks
Regards
MMHi Gurus,
Thank you for your reply, Please find my replies below
@@ - Mallinath - We need this restrictions for some type of materials ( with specific Material types) which should not be procured through inter company STO process, buying plant should use the normal purchase. for other Material types they should be able to use the inter company STO process.
@@ DEV - We are already using the Spl. Procurement keys for inter company STO process.
Example - Material type ZXYX should not use the inter company STO process, but it should be allowed all other processes.
Please advise how we can control this process?
Thanks
Regards
Raja -
Error while saving purchase order
Hi all,
While saving purchase order i am getting the following error.
Syntax error in program SAPLV61A
in include RV64A932
in line 10
Statement"*&"is not defined.check your spelling.
Thanks& Regards,
Hari.Hi Hari,
I've just encountered the same problem as you have now in your latest post.
Normally the include that you mentioned is a formula condition value include which you can modify but you probably have
to register this object first on the SAP OSS pages to get an Access key to modify it.
After you've obtained a key launch transaction VOFM and comment out the line "TABLES: VBRK, VBAK".
As you see below SAP did exactly the same thing in several other includes.
Include FV64A582
-> is a formula condition value
tx VOFM
-> Formulas
-> Condition Value
-> Routine number 582
At line 37 I commented out "TABLES: VBRK, VBAK." which is not used
anyway in this include.
On top of that SAP commented out these definitions in several other
includes: eg. FOICH002, FOICH002, OI_LV61ATOI.
If other persons have comments on this topic please respond/advise.
Hari, inform us if this resolved your problem.
Also reward points if my post aided you in resolving your issue.
Thank you for feedback.
Best regards,
Tom Cockaert. -
What is the BADI while SAVING purchase order using me22n?
what is the BADI while SAVING purchase order using me22n?
while i will save purchase order through me22n, badi should be fire what is badi for that?
regards,
dushyant.Dushyant,
Hopefully you know how to implement the BADI ME_PROCESS_PO_CUST now.
The following are the codes that you can put in the method "Post".
DATA: LW_HEADER TYPE MEPOHEADER,
LW_POSTED_HEADER TYPE MEPOHEADER,
LW_VALID TYPE MMPUR_BOOL,
ITAB_ITEM TYPE PURCHASE_ORDER_ITEMS,
LW_ITEM TYPE MEPOITEM,
ITEM_INTERFACE TYPE PURCHASE_ORDER_ITEM,
ITAB_ACCT TYPE PURCHASE_ORDER_ACCOUNTINGS,
ACCT_INTERFACE TYPE PURCHASE_ORDER_ACCOUNTING,
LW_ACCT TYPE MEPOACCOUNTING,
LW_POSTED_ACCT TYPE MEPOACCOUNTING,
W_ACCT_CHANGED TYPE C,
W_GRANT_AMT TYPE EKPO-NETWR,
W_FINANCE_AMT TYPE EKPO-NETWR,
W_FLAG TYPE C.
Check if PO header data is valid
CLEAR LW_VALID.
CALL METHOD IM_HEADER->IS_VALID
RECEIVING
RE_VALID = LW_VALID.
CHECK LW_VALID = 'X'.
PO header data is valid
Get the newly updated PO header data
CLEAR LW_HEADER.
CALL METHOD IM_HEADER->GET_DATA
RECEIVING
RE_DATA = LW_HEADER.
Get the posted PO header data
CLEAR LW_POSTED_HEADER.
CALL METHOD IM_HEADER->GET_PERSISTENT_DATA
IMPORTING
EX_DATA = LW_POSTED_HEADER
EXCEPTIONS
NO_DATA = 1.
IF SY-SUBRC <> 0.
CLEAR LW_POSTED_HEADER.
ENDIF.
Get PO line items
REFRESH ITAB_ITEM.
CALL METHOD IM_HEADER->GET_ITEMS
RECEIVING
RE_ITEMS = ITAB_ITEM.
LOOP AT ITAB_ITEM INTO ITEM_INTERFACE.
Check if PO line item is valid
CLEAR LW_VALID.
CALL METHOD ITEM_INTERFACE-ITEM->IS_VALID
RECEIVING
RE_VALID = LW_VALID.
IF LW_VALID <> 'X'.
This PO line item is not valid
CLEAR W_ACCT_CHANGED.
EXIT.
ENDIF.
CLEAR LW_ITEM.
CALL METHOD ITEM_INTERFACE-ITEM->GET_DATA
RECEIVING
RE_DATA = LW_ITEM.
Get the account interface
REFRESH ITAB_ACCT.
CALL METHOD ITEM_INTERFACE-ITEM->GET_ACCOUNTINGS
RECEIVING
RE_ACCOUNTINGS = ITAB_ACCT.
LOOP AT ITAB_ACCT INTO ACCT_INTERFACE.
CLEAR LW_ACCT.
Get the newly updated PO item data
CALL METHOD ACCT_INTERFACE-ACCOUNTING->GET_DATA
RECEIVING
RE_DATA = LW_ACCT.
CLEAR LW_POSTED_ACCT.
Get the posted PO item data
CALL METHOD ACCT_INTERFACE-ACCOUNTING->GET_PERSISTENT_DATA
IMPORTING
EX_DATA = LW_POSTED_ACCT
EXCEPTIONS
NO_DATA = 1.
IF SY-SUBRC > 0.
CLEAR LW_POSTED_ACCT.
ENDIF.
IF LW_ACCT-LOEKZ <> LW_POSTED_ACCT-LOEKZ OR
LW_ACCT-KOSTL <> LW_POSTED_ACCT-KOSTL OR
LW_ACCT-PRCTR <> LW_POSTED_ACCT-PRCTR OR
LW_ACCT-PS_PSP_PNR <> LW_POSTED_ACCT-PS_PSP_PNR.
Account assignment was changed
We will force this PO to go through workflow
W_ACCT_CHANGED = 'Y'.
ENDIF.
ENDLOOP.
ENDLOOP. -
Is it possible to change the vendor in a saved Purchase order
Is it possible to change the vendor in a saved Purchase order
Regards
AmitHello, Amit,
no, but you can change the partner functions in the PO, like "Invoicing Party", "Vendor", "Goods Supplier" -- depends on you customizing for partner schemas.
However, this should be used only in case when during the purchase order lifecycle the partner has been changed (as result of merger, bankrupcy, factoring); otherwise, it is much easier to simply delete the PO and create a new one.
Kind Regards
TomT -
How to integrate price list on a Purchase Order?
Hi,
Version : R12.1.3
I wanted to know how to use price list on a purchase order. I have created one price list but I am not able to use that, how could I use this.
How to link Price list to the particular supplier.
Thanks in advance.
AmolAOracle purchasing now integrates with Advanced Pricing the same way Order Management does.
You can set qualifiers / modifiers. You can set up volume discounts etc too.
See http://www.ncoaug.org/NCOAUG%20Training%20Day%20Feb%202009/Sundeep%20Sharma%20-%20Integrating%20Advanced%20Pricing%20with%20Purchasing%20in%20Release12.pdf
Sandeep Gandhi -
Can we find the material code against whom no purchase order is created.
Guru's
Can we find the material code against whom no purchase order is created.
I want to collect only those material against whom no PO is created.
Plz guide how to do so?
Regards,
VibhutiHi,
Table EKPO id Purchase order detail table,
write a select query on this table, if that particular material is ther in ekpo it means PO is done for that.
Take one internal table and select all materials from MARA table , then loop it
and for each material got the table EKPO.
select single * from EKPO where matnr = wa-matnr.
if sy-subrc <> 0.
append wa to it_table.
endif. -
Price getting changed in purchase order while clicking on delivery complete
Hi Frnds,
We are using SAP AFS , i have made a purchase order for one item which has 6 grids ( and all the six grids are having different prices ) . I am mainitainng the standard price in Info record ( ME11 ) and Grid wise prices in MEk1.
Now for that p.O i have received 95 % of the material and the Miro has also been done , now then vendor is not going to supply the remaining material , so i have to Delivery complete indicator and clicked on it , then the P.O price is automatically gettting changed . WHy is it happening so , and it happens only once , if i dont save and come back and try once again then its not changinThis is a bug in AFS System , sap has given us a note ,the problem has been solved
regards
rajesh -
Stoping process of saving purchase order(ME21/ME21N) in the user exit.
Hi,
I am using user exit "EXIT_SAPMM06E_016" of purchase order. While creating PO and after user enters 1st line item or more items and presses save button, then this user exit will be called.
Now my requirement is I have to check "item delivery date" , if it is more than 300 days from creation date then I have to show popup for warning the user for the same and if user want to make the changes then this user exit should stops the process of saving the PO and returns and allows to change the PO.
Please help me in this.
how I can stop the saving process.
Thanks,
DeepakHi Deepak,
You can do it in IM_ITEM method
DATA: ls_mepoitem TYPE mepoitem.
ls_mepoitem = im_item->get_data( ).
if you check ls_mepoitem-quantity field it will give your required value....pls Go through the documentation below for the method
Documentation for the method
Processing of Item Data
Functionality
The PROCESS_ITEM method enables you to change the item data and check it
for correctness.
Parameters
The following parameters are available:
o IM_ITEM - Document item
The interface reference is of the category
IF_PURCHASE_ORDER_ITEM_MM. You can use all methods defined there.
Note
Please note the general hints on Error Handling.
If you wish to mark the document item as invalid, use the
INVALIDATE() method of the IF_PURCHASE_ORDER_ITEM_MM interface.
Regards
Byju -
Getting Net Price excluding Excise in Purchase Order
Dear Gurus,
After preparing purchase order, I need to get Net of Modvat price i.e. Base Price + Tax (Excluding Excise Amount).
Please guide me where I will get this details, based on which a report to be designed. In PO conditions tab it is showing Base + Taxes (Including Excise Amount).
If you can tell tcodes or tables where this value is available or any customization will solve this problem.Hi,
If you want Base Price + CST then add condition type NAVS in your pricing procedure, mark is statistical and Reqt 60. This will bring CST Value in this condition type from Taxes.
And then create a Subtotal as (Base Price + CST) and pass it to Subtotal 2 (KOMP-KZWI2).
After saving PO, you will get this value (Base Price + CST) in Table EKPO-KZWI2. -
User exit or BADI while saving purchase order
Hello,
I want to use an user exit or BADI while saving of purchase order. The objective is to check the material group of the line item while saving. We don´t want to allow to save purchase orders for one material group.
Can you please guide me.
Thanks
SrinivasanHi
The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.
You can thus influence the dialog transactions ME21N, ME22N, ME23N, and ME29N, and the BAPIs BAPI_PO_CREATE1 and BAPI_PO_CHANGE.
Typical applications for this BAdI include:
Processing of own objects
Processing of additional data on standard objects
Implementation of additional checks and derivationsChange of data in standard fields
Change in field selection
you can use this BADI for checking the material group
Thanks & Regards
Kishore -
MEI7 - Price Updation in Open Purchase Order
Hi Friends,
I'm using transaction MEI7 for chaning condition prices in open purchase order items. I get the message log with a list of purchase order items successfully updated, but when i check the 'Item Changes' in PO i don't see any changes with MEI7 or in some cases even if i see that something got changed with MEI7 there is not sufficient information to see what exactly got changed.
I don't see any documentation in SAP .
Are there any configuration points to be checked for MEI7?
How to analyze the results of MEI7?
Thanks in advance.go SE38, enter report name, set the radio button to documentation and click display button.
This will usually give you the docu.
Further you can use google to get some good results:
http://www.se80.co.uk/sapreports/r/rmeb/rmebein2.htm
Not to forget that help.sap.com is the first place to search:
http://help.sap.com/erp2005_ehp_05/helpdata/EN/8a/7bf437e676091fe10000009b38f889/frameset.htm
Please read as well OSS notes like
Note 173587 - Settings for the pricing worklist
Edited by: Jürgen L. on Apr 25, 2011 3:17 PM -
Get a wrong price when creating a Purchase Order in order recommendation
Dear all
I meet a strange problem .I have already set a gross price list for Item 'A' . When I create a purchase order in Purchase Order Window,It will calculate a unit price (net price) according to the gross price list automatically .But when I create a purchase order in Order Recommendation Window,It will get a unit price as same as the gross price in predefined gross price list.They should not be equal in fact.Dear Anna Shao
1 .Our SBO is version 2007B
2. The Decimal of Amount is 2 and that of Price is 6
3. Vat rate is 17%
4. The gross price is not small,the problem is that the difference is not small either.Sometimes it's bigger than 0.1 RMB.I can give you the example.
LineNo ItemCode Quantity UnitPrice VatRate GrossPrice LineTotal GrossTotal
1 A 10 299.145299 J1(17%) 349.995299 2991.45 3499.95
2 A 10 299.150000 J1(17%) 350.000000 2991.45 3500.00
3 A 10 299.150000 J1(17%) 350.010000 2991.50 3500.10
If you set the unit price list for ItemCode 'A', you will get the result like row 1 above.
If you set the gross price list for ItemCode 'A' ,you will get the result like row 2 above.
If you do not set any price list for ItemCode 'A' and you just set the unit price 299.150000 in the purchase order,you will get the result like row 3 above.
The perfect one is row 2.It is just what our customer needs.So they set the gross price list for ItemCode 'A'. But another problem occured when using MRP order recommendation. It is the one why I post a thread,just as I have descripted at first
Edited by: Jianzhong Zhang on Feb 25, 2009 3:53 AM
Maybe you are looking for
-
Adobe photoshop cs2 download on adobe website does not work- the serial number does not work?
photoshop cs2 download on adobe website does not work - the serial number given isn't recognised when you enter it when trying to install. the live chat at adobe cannot help and suggested that I may find the answer here. Can anyone help with this?
-
How can I pay for photoshop CC without using a credit card?
My son is paying for CC without using a credit card, The subscription is being taken from his bank account/debit card, I was told this wasn't possible by an adobe rep. Is it possible? Adobe told me everyone that has a subscription must have a credit
-
Why using workarea for internal table is better in performance
Please tell me why using workarea for internal table is better in performance
-
How do I see what I downloaded
I downloaded some lessons from iTunes u but cannot find where to see them. Any ideas?
-
What are step involved in intercompany sale order
can any one tell me step by step process thank in advance ....