‎2008 Dec 05 10:41 AM
hi all,
i m writing the statement in user exit : IF WMARC-WERKS EQ 'BILF'.
if WMARC-PRCTR NE '12000'.
message 'Please Enter PROFIT CENTER 12000 for plant BILF' type 'E'.
ENDIF.
endif.
its showing the same error when i m going to save Material but its showing again and again.
while i want that it must not show again when user gives the value '12000'. i tried other message types also like I, W but they r not working. can anyone please help me?
regards nitin.
‎2008 Dec 05 12:24 PM
‎2008 Dec 05 10:49 AM
Hi Saurav,
I also faced the same problem, here is the suggestion,
when Profit center is compared with any static value, it should be appended with zeros.
ie, PRCTR is of lenth 10, so the other remaining should be padded with 0s.
solutin is compare PRCTR with '0000012000'.
Hope this hint may help you.
-Sujatha
‎2008 Dec 05 12:24 PM
‎2008 Dec 05 12:33 PM
Hello Saurabh,
I think you should take the value ''12000'' in a local variable & use the conv. exit CONVERSION_EXIT_ALPHA_INPUT.
I think this will solve your problem.
BR,
Suhas