User Exit for Purchase Order Line Items.
I have been trying to search for a User Exit for Purchase Order Line Items and have been unable to do find anything. I need to overwrite the Net Price and Pricing Condition on a certain type of material based upon the Pricing Condition for that Line Item which is on the Sales Document. Any direction you can point me into would be greatly appreciated. Thanks.
Thanks for pointing me in the right direction. I was able to create my first BADI using the PROCESS_ITEM method. The following link was also very helpful: Re: BADI ME_PROCESS_PO_CUST Method:PROCESS_ITEM
Similar Messages
-
User Exit for Purchase Order Release Strategy
Hi,
I am a little new to this, how do I search for a user exit for purchase order release strategy (TCode ME29N).
Thanks in advance.
MickHi
Check the following Exits and BADI for Pur Requisition
Enhancement
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MM06E011 Activate PReq Block
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
Business Add-in
ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Custome
ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
ME_PO_PRICING Enhancements to Price Determination: Internal
ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
ME_PURCHDOC_POSTED Purchasing Document Posted
SMOD_MRFLB001 Control Items for Contract Release Order
EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
MM_DELIVERY_ADDR_SAP Determination of Delivery Address
ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
ME_REQ_POSTED Purchase Requisition Posted
ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
ME_BSART_DET Change document type for automatically generated POs
ME_BAPI_PR_CREATE_02
ME_BAPI_PR_CREATE_01
ME_BAPI_PO_CREATE_02
ME_BAPI_PO_CREATE_01
ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
ME_COMMITMENT_RETURN Commitment for return item
ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
ME_CIN_MM06EFKO Copy PO data for use by Country version India
ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
ME_CHECK_OA Check BAdI for Contracts
Reward points if useful
Rgds,
Naren -
BADI / User exit for Purchase order(ME21N) after saving the document
Hi expert,
I need the BADI / User exit for Purchase order(ME21N) after saving the document
This is for email sending after create the purchase order so PO document number will be the import parameter
pls help me
point will be reward
Regards,
GaneshHi Ganesh,
Could you please share your solution?
Thanks.
Hoops
Edited by: Hoops on Jun 13, 2011 10:51 PM -
User-exit for deletion of line item in PO
hi group
i want to delete a line item of purchase order.
and after that i have to make some changes
so i want to know which user-exit will be used here.
please help its urgent.Hi,
Please fine the list of user exits for the transaction ME22.
If it serves your purpsoe , please close the thread and reward suitable points.
Regards,
Irfan Hussain
Transaction Code - ME22 Change Purchase Order
Exit Name
Description
AMPL0001
User subscreen for additional data on AMPL
LMEDR001
Enhancements to print program
LMELA002
Adopt batch no. from shipping notification when posting a GR
LMELA010
Inbound shipping notification: Transfer item data from IDOC
LMEQR001
User exit for source determination
M06B0001
Role determination for purchase requisition release
M06B0002
Changes to comm. structure for purchase requisition release
M06B0003
Number range and document number
M06B0004
Number range and document number
M06B0005
Changes to comm. structure for overall release of requisn.
M06E0004
Changes to communication structure for release purch. doc.
M06E0005
Role determination for release of purchasing documents
ME590001
Grouping of requsitions for PO split in ME59
MEETA001
Define schedule line type (backlog, immed. req., preview)
MEFLD004
Determine earliest delivery date f. check w. GR (only PO)
MELAB001
Gen. forecast delivery schedules: Transfer schedule implem.
MEVME001
WE default quantity calc. and over/ underdelivery tolerance
MM06E001
User exits for EDI inbound and outbound purchasing documents
MM06E003
Number range and document number
MM06E004
Control import data screens in purchase order
MM06E005
Customer fields in purchasing document
MM06E007
Change document for requisitions upon conversion into PO
MM06E008
Monitoring of contr. target value in case of release orders
MM06E009
Relevant texts for "Texts exist" indicator
MM06E010
Field selection for vendor address
MMAL0001
ALE source list distribution: Outbound processing
MMAL0002
ALE source list distribution: Inbound processing
MMAL0003
ALE purcasing info record distribution: Outbound processing
MMAL0004
ALE purchasing info record distribution: Inbound processing
MMDA0001
Default delivery addresses
MMFAB001
User exit for generation of release order
LWSUS001
Customer-Specific Supply Source Determination in Retail
MRFLB001
Control Items in Release Creation
No of Exits: 33 -
User Exits for Purchase order & requistion to control Material description
Dear Experts,
I am creating a Purchasing requisition & Purchase order for certain Material Type. Currently user can change material description at item level without anu check. Now I have different material type like PACKING(ZPAC), Raw material(ZROH) Etc.
My requirement is like such that i want to allow change of material description of packing material(ZPAC) but system should not allow for Raw material type(ZROH). so from where i can control this?
Can any one give me EXIT name or enhancement point for Purchase order & requisition.
Thanks in advance.
Regards,
PiyushDear,
You can achieve this by Field selection in SPRO > MM > Purchasing > Purchase Requisition > Define Document Types > Here get the Field Selection Key for PR Doc Type
SPRO > MM > Purchasing > Purchase Requisition > Define Screen Layout at Document Level > Here for that Field Selection Key, for Selection group "Basic data, item", make field "Short text" as display.
Similarly do for PO also SPRO > MM > Purchasing > Purchase Order > Define Document Types > Here get the Field Selection Key for PO Doc Type
SPRO > MM > Purchasing > Purchase Order > Define Screen Layout at Document Level > Here for that Field Selection Key, for Selection group "Basic data, item", make field "Short text" as display.
Note: - But in case of text Purchases, you need to create a new PR and PO Document Type. So that this config. will not have any impact on Text Purchases.
Regards,
R.Brahmankar -
User exit for Purchase order to change RESB-SOBKZ
Hai,
The requirment is to change the purchase order's RESB-SOBKZ.
The purchase orders will be created in r/3 from APO & the same PO would be published back to APO.
I have to change the above metioned field at the time of PO save in R/3.
The RESB-SOBKZ actually changes the purchase orders Individual & collective indicator based on its value.
Can any one know what is the user exit for this?
I have checked 'EXIT_SAPLCPUR_001' but it dosn't have the RESB related structure.
Thanks,
BhaskarHi,
I know this is very late reply to your query but i think this is the correct answer for which you are looking for.
you were searching in a right direction...just try to see the User Exit EXIT_SAPLMEPI_006 on R/3 side in which you will find the RESB-SOBKZ field in CP_POSITION parameter in Changing Tab,Assoicated Type = MEPI_PO in which SOBKZ field is there on 16th position.
Regards,
Saurabh -
User Exits for Purchase order Header Text Validation
Hi Experts,
I need user exit for validate a Long text in Purchase order header data for a Particular Doc type.
We are using 4.6 B so badi is not available .
So pls tell me user exit for the same or any other method as i was unable to find user exit for this scenario.
Note : This valiadation should trigger whhile creating PO.
Warm Regards
Santosh Kumar
Edited by: Santosh L on Mar 19, 2010 9:58 AMi have used concept of global memory through call stack
-
Hi,
We are creating a PO with 2 Purchase requisitions each having 5000/-INR. while creating the purchase order we changed the qty then net value becomes 12000/-INR for both PR's, so the difference is 2000/- which is 10% greater than actual net value that is 10000/-.
while saving the purchase order we need to rise one error message why means the difference value 2000/- is greater that 10%.
For that we need User Exit and any example code.
Thanks.Hi Deepak,
Use this Badi. THis will be called at the time of saving PO. U can validate according to your requirement.
Sample coding:
METHOD if_ex_me_purchdoc_posted~posted .
LOOP AT im_ekpo INTO lv_ekpo WHERE LOEKZ NE 'X'.
SELECT * FROM qinf INTO lv_qinf WHERE matnr = lv_ekpo-matnr
AND lieferant = im_ekko-lifnr
AND werk = lv_ekpo-werks.
IF sy-subrc = 0.
IF im_ekko-bedat > lv_qinf-frei_dat.
MESSAGE e000(zamq) WITH 'Vendor is not released by quality for material ' lv_ekpo-matnr.
ENDIF.
ENDIF.
ENDSELECT.
ENDLOOP.
ENDMETHOD.
Regards,
Sudhakar. -
User Exit for Purchase Order Release.
Hi Friends,
I am searching for a user exit which should trigger at the time of Purchase Order release in ME29n transaction.
If anyone can help me for the same....!!!
I need the exact exit which triggers at the release of PO....
Points will be rewarded for the needful replies.
Regards,
Mandeep.hai Mandeep Singh,
I am Genaralising This For U.
It Is ver EASY Procees.
Just Go To SE84
Give The PRogram Name Or PAckage name In Which ME29n is present.
Then Click On Display.
Then Click On Enhancements.
Then U will Get USer Exits Aswell As BADI 's
IF Found helpful Reward.
Regards
Eshwar -
Calculate excise for purchase order line items ( for import only)
Dear all,
please help me to calculate excise duty form ( imports only) purchase order for its line item.
i can calculate for domestics PO using "BADI_TAX_CONDITION" .\
But I need to calaculate custom duty also . so this BADI does not work .
So, please help me to calculate excise in Import PO .
Regards,
NayanThanks for pointing me in the right direction. I was able to create my first BADI using the PROCESS_ITEM method. The following link was also very helpful: Re: BADI ME_PROCESS_PO_CUST Method:PROCESS_ITEM
-
CIF User Exit for Purchase Order CIFPUR01
Hi All,
I had couple of questions related to the way CIF user Exit CIFPUR01 is called whenever there is a change in txn data related to Purchase Orders on R/3 side.
I could see that the User Exit is called only when I completely deactivate the Integration Model using CFM3, and then reactivate the same using CFM3. If I generate a new model using CFM1 and then activate the newest version using CFM3 (without deactivating the earlier version), the system doesn't call the User Exit and this is an issue because the custom code for some calculation logic that we have defined is never called !
Additionally, whenever the change in Purchase Order is done (say to the Quantity, Delivery date etc.), the User Exit is not called when change is done via ME22N and given that Integration Model is active.
Is this the correct behavior?
Any thoughts on the above behavior would be highly appreciated.
Thanks in advance,
Regards,
PrashantHi Vikas,
Thanks for your suggestion.
I had already tried that by putting the break points in the include of the User Exit and the control of the program didn't enter the User Exit code when I generated and activated new version of the Integration model (CFM1 followed by CFM3).
The control enters the User Exit code only when I completely deactivate the existing Integration model and then reactivate.
Below are the scenarios which explain my point.
Scenario 1:
1. Completely deactivate the existing Integration model using CFM3.
2. Put the break point on the user exit code.
3. Generate the new version of Integration model through CFM1.
4. Activate the new version through CFM3. In this case, the control goes to the user exit code and does the calculation specified by us. This is correct and works as expected.
Scenario 2:
1. The Integration model is already activated and I put the break points in the User exit code.
2. I regenerate the new version of Integration model via CFM1.
3. I activate the new version through CFM3. In this case, the control DOES NOT go to the User exit code. This is not the expected behavior.
Scenario 3:
1. The Integration model is already activated and I put the break points in the User exit code.
2. I change the PO qty for existing Purchase order.
3. The change is immediately transferred to APO as expected. The control doesn't get transferred to user exit code. Thus the custom calculation in the INCLUDE of the user exit is not done and hence custom qty is not updated in APO.
Please let me know if you would need more clarifications.
Thanks,
Prashant -
User exit for Purchase order & Purchase requisition.
Hi,
I need the user exits/BADIs/BTE in the following events.
1) Just before saving Purchase requisitions and After saving purchase req ( Create and Change)
2) Just before saving Purchase Order and After saving purchase Order ( Create and Change)
Regards,
Ganesh Nama.Hi Experts,
I want to change delivery date in PR while creating purchase requisition ME51n.
Means need to add 7 days in delivry date field when ever it is todays date (sy-datum).
Please suggest suitable badi or EXIT.
I tried in BADI..ME_PROCESS_REQ_CUST... in PROCESS_ITEM methode
data : preqdata type mereq_item,
v_lfdat type sy-datum.
prereq_x type mereq_itemx.
preqdata = im_item->get_data( ).
if preqdata-lfdat = sy-datum.
prereq_x-lfdat = 'X'.
call function 'CALCULATE_DATE'
exporting
days = '7'
months = '0'
start_date = sy-datum
importing
result_date = v_lfdat .
preqdata-lfdat = v_lfdat.
call method im_item->set_datax( prereq_x ).
call method im_item->set_data( preqdata ).
endif.
But systems is ignoring thi change and again coming in same badi ..so in loop.
Please tel any other way to make change is delivery date field.
Thank you.....!!!!
Nilesh. -
How to set partial delivery for Purchase Order line item
Hi Team
We have created a PO for 100 quantity along with 25% over delivery tolerance. We have done 5 GRNs totaling for 95 quantity. when we try to do another 10 quantity, system not accepting the GRN.
I want to set the partial delivery for this line item. Please help how to do this.
regards
Raviwhere did you check the underdelivery tolerance of 0?
the PO is the place to check, changes in material master will notz effect existing POs.
if you removed the delivery complete indicator and the item still does not show up in MIGO, then set the "propose all items in MIGO settings"
if it still does not show up, then you might have other restrictions like confirmations , last goods receipt etc.
the error 'Document does not contain any selectable item" is often discussed in this forum, you will find numerous threads that list what you have to check. -
Problem with User exit for Purchase Order creation/change
Hi Everyone,
I have a requirement where I have to implement an enhancement for the standard transaction(ME21N/ME22N). I need to modify a particular field of the item table (EKPO) based on a few comparisons from the header values (After save of PO). I am using the enhancement MM06E005 and its corresponding exit EXIT_SAPMM06E_013. While debugging I notice that the value is getting changed; but as soon as the control comes out of the FM, the change is not being reflected. Hoping to find a solution for this.
Thanks & Regards,
Indudhar P.GHi Guys,
Now I am using the BADI "ME_PROCESS_PO_CUST". But the control is not stopping at the method even though I set a breakpoint. It just saves the PO after I click save. Is this because my document type of PO is Stock Transfer Order. Can I use this BADI for STO's? and moreover how do I process each item line in this method. Does "ls_mepoitem = im_item->get_data( ).
" fetch all the item lines?
Thanks and Regards,
Indudhar P.G -
In Purchase Order Line item Maintaining Serial Numbers for Material Codes
Dear Gurus,
We have a business process in legacy system for Purchase Order like in PO line item, Material code with description, Quantity, unit of Measurement, Serial Number Start and Serial Number End is maintained, for example for Material code when we enter the data AXMLN00001 in Serial Number Start column, if the Qty 500 is maintained, by default system will calculate AXMLN00500 in Serial Number End column.
We understand that in standard SAP we donu2019t have this option of maintaining Serial Number Start and End in Purchase order Line item. Please let us know how this can be mapped and is it advisable to create two Z fields in EKPO table or else can we make any development.
Suppose if this is not possible in SAP for PO then in Banks if we want to place a order for Cheque books how we can maintain Start and End Serial Numbers to print in cheque books.
Also client is not agreeing to maintain manually Serial numbers in item text.
regards,
DhanuAamir,
When the PO Item was created say for example Material had Valuation category "Y" and latter you wanted to change the category to "Y". Now system would have check for all open PO's etc...based on this you must have set Deletion Indicator to this Line Item to allow valuation category change in material master. Now when this Item got created in the table level (EKPO), system updates the valuation category "Y". Currently this valuation category is not active so it would not allow you to perform removal of deletion indicator as program cannot automatically nor you have an option to manually update the valuation category to this Item.
Regards,
Prasobh
Maybe you are looking for
-
New ITUNES Does not allow me to sync and wiped out song on my ipod video
I was prompted to update my ITUNES software (7.02 I believe). Once I did this, it told me that I needed to update my Quick Time Software, which I also did. I did as I was told and took my IPOD Video out on my walk. It deleted every song on my out exc
-
Canon firewire camcorder and new macbook
Hi, I just bought the new Macbook and to my great surprise I discovered I cannot connect my Canon Camcorder because there is no firewire port. Does anyone have any suggestions? (buying a new camcorder is not an option) If there is no solution to this
-
Problem in accessing Web Service from Excel
Hi All, I have faced a new problem when calling WS from Excel. I have created a WS from CAF which has one method and the method takes a list (a table) of structure as an input and returns a string as output. The structure contains three fields such a
-
I downloaded a pokédex app on my iPod touch, on that app you can buy other region Pokemon, I bought a region but I won't download on my iPod, it said I purchased it but nothing will download, help?
-
Blue screen after restore from time machine
hi, last week I needed to restore my whole OS on my Mini from Time Machine (USB HD). After the restore my Mini only shows a blue screen with a circling sun. I tried to use an older backup (2 days earlier) from time machine with the same problem. From