01-29-2009 12:19 PM
hi guru's
in me21n tcode in item level i want to check purchase requestion field initial or not
if its not initial it should trow the message 'please enter pr' how to do it .... it can be done by user exits r badi .. if it possiable please sen the code
01-29-2009 12:22 PM
01-29-2009 12:24 PM
i am new to badi ,please how i can read the data which as been enter by the user
01-29-2009 12:33 PM
Hi,
U can search our SDN for ur question.
U can get lot of answers.
Hope the following links will help u.
http://www.saptechies.com/simple-sap-badi-example/
Thanks.
01-29-2009 12:39 PM
go to se18.
Select BADI Name.
and give the name as ME_PROCESS_REQ_CUST
click on display
From menu click on -> implementation -> create
give the implementation name as
ZME_PROCESS_REQ_CUST
Give a short text selecting describing the implementation.
Click on the interface tab.
click on the process_item method
and write the following code.
DATA: st_eban TYPE mereq_item.
st_eban = im_item->get_data( ).
IF st_eban-bnfpo IS INITIAL.
MESSAGE 'Enter PR Number' TYPE 'E'.
ENDIF.
Edited by: ZAFCO ABAP on Jan 29, 2009 1:40 PM
01-29-2009 2:31 PM
its not trigger for that badi please tell me how to do it....
i put the break point i and checked
01-29-2009 3:06 PM
01-29-2009 3:07 PM