ME21N - Update Pricing during CHECK or SAVE of Purchasing Order
Hi,
I need to update Pricing in ME21N in the Conditions tab, just like clicking the button, but I need it to be done automatically.
I've read in the forum the the following function modules should be used: PRICING and PRICING_COMPLETE, although I was not able to make them work for me. It is not bringing the Rebates. I tried many combinations, but cannot figure out all the necessary fields to make it work. Has someone done this before? If so, what approach did you use?
Also, I need the pricing table in conditions tab to be updated only after we have the new Invoicing partner added to the screen (it will automatically happen in saving or checking). I am using a Exit EXIT_SAPMM06E_013 (ZXM06U44) from enhancement MM06E005, because in this exit I can check whether or not I have the partner. This exit has a KOMV table in it. So maybe it can be used to update the pricing table after getting data from PRICING and PRICING_COMPLETE.
When I do it manually I click Update button and select option 'I' Redetermine Rebate Conditions. This is what I need added to the pricing table.
Regards,
Erick
I achieved this by creating a callback function CRM_UPDATE_PRICING_DATE_EC and attaching it to the object SCHEDLIN event AFTER_CREATE and AFTER_CHANGE using transaction CRMV_EVENT.
Within the function module, I executed CRM_SCHEDLIN_READ_OW to read the schedule line date schedlin-from_time, then CRM_PRICING_READ_OW to get the pricing record, set the PRICE_DATE to the schedule line date, and updated the pricing record using CRM_PRICING_CHANGE_OW.
Similar Messages
-
Bapi to update delivery date in confirmation tab in purchase order me22n tc
Hi All,
I am writing a BDC to update the data in confirmation tab for puchase orders for enjoy transaction.
Please let me know how to updated delivery date in confirmation tab in purchase order(ME22N) using a bapi.
I tried using BAPI_PO_CHANGE but found no parameter related to confirmations tab. this BAPI has every thing to update like header data, item data, scheduling data..... except confirmation.
So please let me know how to update the data in confirmation.
We need to use only enjoy transaction ME22N not ME22 in BDC thats why we are looking for a BAPI.
Regards,
VenkatHi
Check the table parameter POCONFIRMATION in BAPI_PO_CHANGE
U can see the field DELIV_DATE in the structure BAPIEKES.
DELIVERY_DATE in the structure BAPIMEPOSCHEDULE as well.
Regards,
Dwaraka.S
Edited by: Dwarakanath Sankarayogi on Feb 5, 2009 7:57 AM -
Error while save framework purchase order.
dear all
i am working SAP R/3 4.7 ides while creating framework po, i input all the data field correctly , but when i am going to save the purchase order, it given the error Massages " Indicator for invoice receipt used not allowed
Message no. MEPO026"
then i tell me how i save the po. i request to all the expertsDear,
What account assignment you are using?
Use account assignment category as K and item category as B Also do not enter material ID.
Now try.
Regards
Utsav -
Authority check on Creation of Purchase order usin badi BBP_ITEM_CHECK_BADI
hi all,
i have to apply authority checks on creation of Purchase order and shopping cart in SRM using badi BBP_ITEM_CHECK_BADI.
i have applied checks on creation of shopping cart using this badi which have some filters but how to apply on purchasing order using BBP_ITEM_CHECK_BADI.hi,
You can use the BBP_DOC_CHECK_BADI.
BR,
Disha.
Pls rewar points for useful answers. -
Inspection lot creation during GR with respect to Purchase Order
Dear Experts,
Here is my Question
Inspection lot creation during GR with respect to Purchase Order
Inspection type 01 set in the material master
inspection lot will be created during GR for a Purchase order
from my understanding for every GR a inspection lot will be created
No batch Management
but the requirement is irrespective to GR qty and number of times of GR
we need inspection only one inspection lot
For Instance
There is a PO for 1000 kg no batch management
now i do GR for 100 kg for 10 times with different dates
now i need to have only one inspection lot
not 10 inspection lot for each 100 kg
can any one suggest a solution, please advise my understanding is correct
Many thanks
RajDear Raju,
There is a solution for that .The setting can be done two ways, either in the material master or in the configuration
1) Material Master
MM02> QM View> Inspection Setup> 01> Control Insplot> 'X' An inspection lot for each purchase order item/order item 0r An inspection lot for each material document and material
a) 'X' An inspection lot for each purchase order item/order item
This Means
This setting is limited for use with the inspection lot origins 01 and 04.
An inspection lot is only created during the first goods receipt for each PO item or production order.
b) '1' An inspection lot for each material document and material
If you set this indicator, the system creates only one inspection lot for a material document (in a goods receipt transaction) for each material. This setting is useful, if several purchase orders or partial deliveries are processed for the same material in a goods receipt transaction.
2) You can do this default in the config
SPRO > Quality Management > Quality Inspection > Inspection lot creation > Define Default values for inspection type > 01> Control Insp lot
Hope this helps
Regards
gajesh -
Where pricing condition P101 is maintained for purchase order
where pricing condition P101 is maintained for purchase order
by which t codeAre you looking for the transaction where you maintain condition records or contition types???
Transaction: MEK1 for Condition record Creation - Purchasing...
and Navigation Path for maintain Purchasing conditions types is:
IMG->Materials Management->Purchasing->Condition->Define Price Determination Process->Define Condition Types...
Hope this helps.
Kind Regards
Eswar -
Manual Updation of Ship to Partner (Customer) in Purchase order Item
Hello Sap Gurus,
While creating Purchase order (ME21n) of Type RTN or STO, the client wishes to Select the Ship to partner manually if more than 1 Ship to Partner is assigned to the Customer Master Data / Sales Organisation. Currently this is auto picked by SAP and the field is uneditable.
I Have added the Functionality to PO Header to show the additional ship to partners in a drop down through use of enhancements. On selection of one of the ship to partners in PO header the Customer in Shipping Tab in all the PO items and Corresponding Delivery Addresses needs to be updated based on the selection.
SAP Note 303453 shows how to change selected shipping data fields but not the customer or shipping address. My requirement is somewhat described by Note 652763 but that cannot be used in ME21n.
Kindly help in this regard on how to achieve the functionality.Hello Helena,
Unfortunately there is not possible to get the partner determination on the item level in the standard. The Partner determination in the standard system will be done on the header level only.
The another thing is that if you change the partner (exept the sold-to partner) in the sales order no new partner determination runs. It is the standard. Please also review the note 380507 (points 1 and 2).
Best regards,
Lela -
Adding a new check box in change purchase order screen
Hi
I have to add one custom field a check in the screen for change purchase order in EBP.
We are using ITS.
Kindly advice.
Thanks and Regards
ManojHello Manoj,
you can define Customer Fields (CUF) at header, item, accounting level on any document type (including PO).
Adding seach fields acts as old ABAP method of table append, i.e. those fields are stored in standard SRM tables. So you can process your own logic and checks against those fields.
There is a BADI to control the display or not, the input or not, the default or input values.
There is a BADI to control the ergonomy of CUF (by default they are added one after the other after standard fields).
There have been many posts about CUF and linked OSS notes explaining own it works and which includes to use.
Rgds
Christophe -
User exit after save for purchase order create/change
After generating the purchase order no (ME21) i need to save that PO no into a custom table.....can u plz tell me such user exit where i can do this???
Hi,
BADI ME_PROCESS_PO_CUST.
1. Method to implement would be POST.
2. Method POST has parameter IM_HEADER which is in reference to IF_PURCHASE_ORDER_MM.
3. This reference has method GET_CONDITIONS.
4. call this method to get conditions data.
5. Make all the changes based on the logic and use method SET_CONDITIONS to change the values.
User exit will be MM06E005.
EXIT_SAPMM06E_012.
<b>Reward points</b>
Regards -
Updating Batch classification data from MIGO for Purchase order
Hi,
I need to update batch classification data (in MSC3n) from MIGO for purchase order. The logic needed for this is as below,
1) Pass material and batch to MCH1 table to get CUOBJ_BM.
2) Pass CUOBJ_BM to INOB table to get INOB-OBJEK.
3) Pass INOB-OBJEK to CLAF_CLASSIFICATION_OF_OBJECTS to get class name & characteristic name.
4) Pass INOB-OBJEK, CLASS name and characteristic name to BAPI_OBJCL_CHANGE to update batch classification data.
I created implicit enhancement at the bottom of FM "CLVF_VB_INSERT_CLASSIFICATION". But the problem is, the return parameter of BAPI_OBJCL_CHANGE is giving the following error.
Class type 023, object type MCH1, object RAW-6 0000001151
Object is currently locked by user
The assignment was not changed
Please let me know how to do it. Is there any BADI or User Exit?Hi,
As you said the break point is not triggering did you activate your exit and activated even the project to which your exit is assigned.
I hope you missed activating your project in CMOD transaction. Please verify it once and if it is not activated then immediately activate it and try debugging again.
Regards,
Rafi -
Archive Check Criteria for Balanket Purchase Order (PO with Limit Order)
Hi,
My company is going to archive the blanket purchase order. I can use the guidelines SAP provided on what criteria is checked as describe in http://help.sap.com/saphelp_srm50/helpdata/en/89/a2fb3b699bde74e10000000a114084/frameset.htm
I couldn't find any guidelines to some extent and appreciate if you can help me in clarifying my doubts and share with me on archivng blanket PO, my doubts are: --
1) Are these check criteria can be applied to SUS Purchase Order?
2) Also, does SUS documents also handle PO with limits?
Truly Appreciate for your helps.
Best Regards
KimHi
<b><u>Please use the following useful links to refer in this case.</u></b>
<u>Re: Puchase order created and archived.
Re: Archiving PO
Re: Deleting Purchase Orders
http://help.sap.com/saphelp_srm50/helpdata/en/15/c9df3b6ac34b44e10000000a114084/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/b7/8b0d41f0faef23e10000000a155106/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/7e/c8df3b6ac34b44e10000000a114084/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/5a/a2fb3b699bde74e10000000a114084/frameset.htm</u>
<b>SAP OSS note
Note 775513 - Archived PRs & blanket Pos w/o service</b>
Incase this does not help, please raise an OSS message with SAP as well.
Incase you need any assistance, let me know.
Hope this will help.
Regards
- Atul -
Updating the VETVG table while creating the purchase order
hi all,
I have one requirement to calculated the delivery creation date while creating the Purchase Order. It is calculated based on the delivery date of PO. I have calculated that one but how to update it after calculation. Can any body give a user exit or BADI with implementation which will update the VETVG table while creating the PO.
Thanks
rajkumarhi sanjay,
thanks for reply, I am using same BADI(ME_PROCESS_PO_CUST) and implementation(FIELDSELECTION_ITEM_REFKEYS). In this implementation i am setting the shipping data with SET_SHIPPINGDATA method . but after that the values are not updating the EKPV and VETVG tables but it is only showing in the screen. Can you give a idea where to pass these values so it will update the tables.
thanks
rajkumar -
Accounting Entries during MIRO for a WBS Purchase order - reg
Hi,
I have created a Purchase order with account assignment as Project and attached a WBS element in the Account assignment tab. There is no GR involved in this PO.
When i am trying to do the Invoice verification, it generates the accounting entries as follows
Vendor G/L account Credited
GR/IR account with Zero value
G/L account assigned to WBS element Debited.
In actual i dont want to see the GR/IR account with zero values as an additional entry as it does not makes sense to have an entry with a zero value.
Please expedite with your valuable suggestions to eradicate the unnecessary entry of GR/IR during invoice posting.
Regards,
RitiGHI,
I hope so ,there might be a problem at the PO creation Level.
an Account assigned PO can be Payed directly by MIRO.
But the folloeing setting has to be Made .
IN the Delivery Tab,uncheck the GR Tick Mak
and in the Invoice Tab GR IV tick Mark.
if these Ticks are unchecked ,then it would be a pure PO based IV and the posting should be in the Following Manner
Vendor
GL -- COnsumption..WHich is maintained in PO
+ any TAX related GLS that are affects do due to TDS(withholding ) or TAXINN
HOpe so it helps
Regards
Anjanna -
Checking for a locked purchase order.
We are running SRM 4.0 SRM Server 5.0 with a 4.7 R/3 backend in extended classic mode.
I'm looking for a way to check if a purchase order is locked. By locked I'm referring to the purchase order being modified by another individual. Since we are running extended classic mode, I'm only interested in business object type BUS2201. I do not want to set a lock, I just want to inquire if a lock is set. Is there a function module that will fit this need? Or is there a table I could query to get this information.
Best regards,
Shawn O'ConnorI am not sure of the function module, which reports if a given PO is locked! but I have a alternate way.
Transaction : SM12 (locks)
Enter the table name as : CRMD_ORDERADM_H
When you execute, it lists all the lock entries for rows in this table with the details of the user.
As you know all the business objects in SRM is stored with GUID, you can use the GUID displayed to find out which PO is locked, by opening transaction SE16 and the same table CRMD_ORDERADM_H and the GUID number. You will now get the purchase order number.
Just for your information
CRMD_ORDERADM_H - Header table for all the business documents in SRM
CRMD_ORDERADM_I - Item table for all the the business document headers in table CRMD_ORDERADM_H
Do reward points if useful.
Thanks
Kasee Palaniappan -
User exit after save for purchase order?
After generating the purchase order no (ME21) i need to save that PO no into a custom table.....can u plz tell me such user exit where i can do this???
Hello,
Use the exit
EXIT_SAPMM06E_012
EXIT_SAPMM06E_013
VAsanth
Maybe you are looking for
-
Theme 15 - Click on Splyglass in Interactive Report - broken
In theme 15 in Apex vers. 4.0.1.00.03 in an interactive report, If I click on the splyglass to pull down a list of the columns to select for the search field, the list of columns appears to be only partially displayed. It only shows the top of the th
-
ProcessOrder API not populating the Price from the pricing attribute setup.
Hi, I am having a problem while adding a line on the existing order through the Oe_Order_pub.Process_order API. A line is added but the pricing is not fetched using the pricing attribute. I have passed calculate_Price_flag=’Y’ but in vain. I am not p
-
IPod Touch won't connect to laptop/computer or iTunes
Before anyone says it, yes I have done everything listed on the site for this problem and nothing works. I have what I believe is a 2nd Gen 16gb iPod Touch and am running Windows Vista. My laptop has 3 separate USB plugs and yet when I plug the iPod
-
The display has lines and the color is strange.
The Retina display has lines and the color is very light when I turn on iPad mini. When I woke up and turned it on this morning, it happened. I have no idea what happened since the iPad mini has been gotten no physical damage.
-
PHP include_path - Did something change in a recent security update?
We had a scare tonight when our highly customized webmail system did not come back after the system was rebooted. I quickly discovered that the include_path for php was set to ".:" which will obviously never work. Since the server has been running fo