07-12-2009 3:22 AM
Dear Abapers,
In my report:
Write: /1 zlabel-title input on.
Write: /1 zlabel-Description input on.
I want to pass the change new value into varriable.
Then I will save this value into table zlabel.
How can I do this.
Thanks & B.Rgds
Bishnu
07-12-2009 3:52 AM
hi bhanu,
use Hide Itab(the internal table name) at line selection or at user-command
hope this helps..
but if know that u are gonna be changing values why dont u use table controls or editable ALVs?
its will be much easier with those.
07-12-2009 5:51 AM
Hi,
You can achieve this using AT USER-COMMAND and GET cursor.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'INP1'.<Button1>
GET CURSOR FIELD 'INPUT1' LINE<line> VALUE <Var1>
GET CURSOR FIELD 'INPUT2' LINE<line> VALUE <Bar2>.
ENDCASE.
Once you get the value on the screen field INPUT1/2, into a variable(Var1/Var2).
You can then update the ztable using the values in the variables
Hope this helps
Regards
Shiva
07-21-2009 7:07 AM