2010 Sep 24 2:07 PM
Hi Gurus;
I write a screen program(dialog). I use structure on the screen because its very easy. My structure's some field's data element has parameterId. For example Matnr>MAT , Equipment>EQN.
Sometimes I want to clear my structure in runtime. I clear it. But it remember old values and fill fields. But I dont know.
I finded the some offer on internet and sdn. And I tried some offers (FREE MEMORY ID 'MAT', SET PARAMETER ID 'MAT' FIELD SPACE)
But not success.
Please help me.
Thanks.
2010 Sep 24 2:29 PM
DATA : w_matnr TYPE mara-matnr.
CLEAR w_matnr.
SET PARAMETER ID 'MAT' FIELD w_matnr.
Hope it helps.
Sujay
2010 Sep 24 2:23 PM
Hi,
I don't know if it will works but try to use the stament DELETE FROM MEMORY ID id.
Best regards,
Caíque Escaler
2010 Sep 24 2:29 PM
DATA : w_matnr TYPE mara-matnr.
CLEAR w_matnr.
SET PARAMETER ID 'MAT' FIELD w_matnr.
Hope it helps.
Sujay
2010 Sep 24 3:10 PM
CLEAR w_matnr.
SET PARAMETER ID 'MAT' FIELD w_matnr.
That's the same thing as SET PARAMETER ID 'MAT' FIELD SPACE, which he has already tried.
To the poster, the space setting should work but you did not identify WHERE in your flow logic you put the statement. You can also track the value of the parameter ID using the debugger and find out where it's coming back.
2010 Sep 24 3:07 PM
Try unmarking the check box output field in the screen attributes. Only mark input field.
2010 Sep 28 10:08 AM
Hi;
I solved this problem.
I wrote new code at PBO for problem case.
I cleared only problem field. (matnr, euqi etc.)
Now I havent any problem.
Thanks for your answer, help, interest.