on 02-05-2007 8:52 AM
Dear all,
I need a User Exit for ME21N, that is triggered when i copy a PR to a PO (ie. dropping PR to Basket).
I have a list of user exits from sources like this:
http://sap.niraj.tripod.com/id63.html
But nothing triggers the user exits when i drop my PR into the basket. Any idea?
Thanks in advance.
Regards,
Wen Ho
Hi,
Try enhancement LMEKO001. User exit from this enhancement should be called on every line item of PO. Please note that it will also be called even if you create PO from scratch (i.e., not referencing PR), or from any other document. However, you can check the condition for your particular scenario (i.e., converting PR to PO) by checking the content of PR number in EKPO internal table.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wen,
We use this user exit in ME21N. It is designed for coding around purchasing price condition. It will not be called in assign and process transaction (ME57) for requisition. When you drag requisition to shopping cart icon in ME21N (or use the copy function), this user exit should be called for every line item.
You've probably done this, but please make sure the user exit is activated before you test the transaction.
Thanks to all for the replies.
I've solved my problem using BAdI instead.
Regards,
Wen Ho.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I need to make price zero for a particular condition in me21n conditions tab.
I used ME_PROCESS_PO_CUST badi to make it zero. Am new to badi
I need to make netpr value 0. While debugging its controled. But while displaying its not controlled. It displays the old value.
I used user exit MM06E005. But in debugging its cleared. While displaying its not controlling
I used the below badi coding to control the pricing field..
DATA: LW_ITEM TYPE MEPOITEM.
DATA: LW_POSTED_ITEM TYPE MEPOITEM.
DATA: W_MODIFIED(20) TYPE C.
Get currently being modified data for the PO line item
CALL METHOD IM_ITEM->GET_DATA
RECEIVING
RE_DATA = LW_ITEM.
Get posted data for the PO line item
CALL METHOD IM_ITEM->GET_PERSISTENT_DATA
IMPORTING
EX_DATA = LW_POSTED_ITEM
EXCEPTIONS
NO_DATA = 1.
IF SY-SUBRC = 1.
CLEAR LW_POSTED_ITEM.
ENDIF.
CLEAR W_MODIFIED.
LW_POSTED_ITEM-netpr = ' '.
Reset data to original data
LW_ITEM = LW_POSTED_ITEM.
*IF it_konp is initial.
LW_ITEM-NETPR = ' '.
PO data was modified.
W_MODIFIED = 'ITEM'.
*ENDIF.
CALL METHOD IM_ITEM->SET_DATA
EXPORTING
IM_DATA = LW_ITEM.
can anyone please help me in this issue.
Dear,
What is your Business Requirement ?? Why do you want to Trigger a user Exit??
Regards
Biswajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
10 | |
9 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.