Application Development and Automation 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: 
Read only

Add an entry in table

Former Member
0 Likes
823

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.

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
Read only

Former Member
0 Likes
761

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.

Read only

Former Member
0 Likes
761

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.

Read only

Former Member
0 Likes
761

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

Read only

Former Member
0 Likes
761

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