Application Development 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: 

Save into table Zlabel

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

closed