‎2010 Jul 05 11:48 AM
Hi guys,
I have a problem with inputbox created with screen-painter.
If I don't attach a MemoryID and activate SET/GET parameter to them, they get cleared when i push the enter key.
I'am also unable to fill them in my code.
exemple: S_MATNR is my inputbox for my material number. if i do S_MATNR = 'ABCD' in my 'PROCESS BEFORE OUTPUT' event, the inputbox remains empty.
Any idea?
Thank you,
Olivier.
‎2010 Jul 05 11:56 AM
Hello Joskin,
As I understand S_MATNR is a select-option here,
you should use
S_MATNR-LOW = '1234'
APPEND S_MATNR.
Because a select-option is an internal table at original.
if S_MATNR is not a select-option than
maybe you have a name conflict, check the names of the input field on the screen painter
and your variable S_MATNR are identical
or some code after your value assignment
is clearing the variable
put a watchpoint on variable S_MATNR in the debugger and see what happens.
I hope it helps.
‎2010 Jul 05 12:04 PM
Hi Oliver,
Declare S_MATNR in your TOP Include.
Data: S_MATNR type MATNR.
Regards
Sajid