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

Update many variants

Former Member
0 Likes
942

Hi,

I have been asked to update 180 variants of a certain program. I hoped that this could be done via a direct update in a table, but apparently variants are being stored in a structure.

I was wondering how to find out which database table(s) contain the data of this structure? Or another way of updating many variants without too much pain...

Thanks for all the help in advance!

Kind regards,

Mark

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
821

Variants are stored in VARID (header data) and VARI (actual content in compressed format).

You need function modules in group SVAR to read and change them with a little custom ABAP program.

Thomas

Hi,

I have been asked to update 180 variants of a certain program. I hoped that this could be done via a direct update in a table, but apparently variants are being stored in a structure.

I was wondering how to find out which database table(s) contain the data of this structure? Or another way of updating many variants without too much pain...

Thanks for all the help in advance!

Kind regards,

Mark

4 REPLIES 4
Read only

ThomasZloch
Active Contributor
0 Likes
822

Variants are stored in VARID (header data) and VARI (actual content in compressed format).

You need function modules in group SVAR to read and change them with a little custom ABAP program.

Thomas

Read only

0 Likes
821

Hi Thomas,

I'm not an ABAP programmer, so creating a little program is no option for me.. Do you have another trick in your box to resolve my issue..

Kind regards,

Mark

Read only

0 Likes
821

Not really. Maybe try making a recording (ECATT, SHDB or so) for program RS_CHANGE_VARIANT and feed that with the program and variant names and the values to be changed.

Thomas

Read only

0 Likes
821

Okay, I will check what I can do with ecatt.

Thanks!

Mark