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: 

Add an entry in table

Former Member
0 Kudos

hi,

can any one please help me how to add an entry in transp.table.

in the table TVARV table i need to add an entry .

please any one help me how to add and what are neccessary steps to be followed while adding an entry.

for eg

NAME TYPE NUMB LOW HIGH

ZSAMPLE P 001 /FILE/

ZSAMPLE P 002 /EXTRACT/

NOW I NEED TO ADD AN ENTRY LIKE

ZSAMPLE P 003 /TEST/

please help me its urgent.

thanks in advance.

4 REPLIES 4

Former Member
0 Kudos

Hi Kumar,

below are the code.

data: lwa_tvarv type tvarvc.

lwa_tvarv-name = zxxx.

lwa_tvarv-type = 'P'

lwa_tvarv-sign = 'I'

lwa_tvarv-opti = 'EQ'

lwa_tvarv-low = xx

insert lwa_tvarv to tvarvc.

if sy-subrc = 0.

commit work.

endif.

Former Member
0 Kudos

Hi Kumar,

another alternative, you can add manually the value by using tcode SM30, and insert table TVARV.

Choose in the parameter tab.

Hope it can help you.

Former Member
0 Kudos

Go to SM30.

Table TVARV

Click Maintain.

Go to Selection option tab.

Click change Button & then create your entry.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Apr 11, 2008 5:43 PM

Former Member
0 Kudos

Hi ,

Pls fellow this Steps :

1 ) Go to se 11 u type the table name then press the display .

2) in that screen u click utilities , here u click the table contents .

3) In that table contents u click the create entires ..

4) now u enter the values in that screen .

5) then press save .

now this entires are stored in TVARV table .

<REMOVED BY MODERATOR>

Regards ,

Shankar GJ

Edited by: Alvaro Tejada Galindo on Apr 11, 2008 5:44 PM