Skip to Content
0
Former Member
Jun 04, 2008 at 06:45 AM

Module Pool

14 Views

i am giving d code part below:

2 screen fields CODE and DESC

CODE input field

DESC output only

PAI

FIELD CODE MODULE VALID_CODE.

MODULE VALID_CODE.

IF CODE IS INITIAL.

CLEAR DESC.

ERROR MESSAGE.

ELSE.

SHOW DESC FOR CODE ENTERED.

ENDMODULE.

Effect on screen:

initially if user presses ENTER message is showing. if valid code is entered desc is showing. now if user removes code and presses enter error message is showing but desc is not blank. i want desc should also be blank at this time.

this is d same functionality as in tcode ME21N purchase org. field.

plz help