Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error Message

Former Member
0 Likes
517

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
498

in if codtion give that

in else give stop.

endif.

3 REPLIES 3
Read only

Former Member
0 Likes
498

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

Read only

Former Member
0 Likes
499

in if codtion give that

in else give stop.

endif.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
498

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