Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

parameter id reset issue

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.

Former Member
replied

[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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question