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

parameter id reset issue

Former Member
0 Likes
951

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.

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
635

[FREE MEMORY ID |http://help.sap.com/abapdocu_70/en/ABAPFREE_MEMORY.htm]'FXIT' wont reset the SET PARAMETER ID, Use a [SET PARAMETER ID|http://help.sap.com/abapdocu_70/en/ABAPSET_PARAMETER.htm] 'FXIT' FIELD space.

Regards,

Raymond

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
636

[FREE MEMORY ID |http://help.sap.com/abapdocu_70/en/ABAPFREE_MEMORY.htm]'FXIT' wont reset the SET PARAMETER ID, Use a [SET PARAMETER ID|http://help.sap.com/abapdocu_70/en/ABAPSET_PARAMETER.htm] 'FXIT' FIELD space.

Regards,

Raymond

Read only

0 Likes
635

SET PARAMETER ID 'FXIT' FIELD space.

FXIT is always contain Y wether it is reset in field exit

Read only

0 Likes
635

Thanks