Skip to Content
0
Former Member
May 17, 2011 at 07:15 AM

parameter id reset issue

262 Views

i am setting parameter in fiels exit and using its value in user exit but its fist time set value is comming all the times in user exit

irrespective of changes in parameter in field exit .

code in field exit

free memory id 'FXIT'.

IF input IS INITIAL AND st1 IS INITIAL AND st2 IS INITIAL.

flg = ' Y'.

SET PARAMETER ID 'FXIT' FIELD flg.

"export flag to memory id flag_txt.

" message 'ENTER VAT Registration Number OR Tax Code OR Tax No. 2 ' type ''.

ENDIF.

code in user exit

data flg_N(2) type c.

clear flg_N.

"IMPORT FLG FROM MEMORY ID 'FLAG'.

get parameter id 'FXIT' field flg_N.

if flg_N eq 'Y '.

free memory id 'FXIT'.

message 'ENTER VAT Registration Number OR Tax Code OR Tax No. 2 ' type 'E'.

endif.