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: 

Report for Variants

Former Member
0 Kudos

Hi All,

I would like to know is there a standard report which gives display / screen / transaction variants created by users? What i need is a list which gives me details such as:

User logon name, display variant name (for query & report), transaction variant name, screen variant.

I would then like to mass change the user logon name with new logon names - is there any tool for this or can this be done using LSMW?

If no standard report exists, may i know from which tables i can get information of the variants created by users?

Await inputs.

Vivek

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Database table for variants are :

Header VARID "Variant directory"

Text VARIT "Variant texts"

Data VARI "ABAP/4: Variant storage (similar to INDX)"

There are function modules to work with (function group SVAR) eg : RS_VARIANT_LIST, RS_VARIANT_CHANGE, RS_VARIANT_CONTENTS and RS_VARIANT_COPT, ect.

Regards

4 REPLIES 4

raymond_giuseppi
Active Contributor
0 Kudos

Database table for variants are :

Header VARID "Variant directory"

Text VARIT "Variant texts"

Data VARI "ABAP/4: Variant storage (similar to INDX)"

There are function modules to work with (function group SVAR) eg : RS_VARIANT_LIST, RS_VARIANT_CHANGE, RS_VARIANT_CONTENTS and RS_VARIANT_COPT, ect.

Regards

0 Kudos

Mr. Raymond,

Thanks for the inputs, will check the tables & FM as mentioned by you & update you if it gives the info i am looking for.

Any suggestions on how i can do a mass change of user names associated with the variants?

Vivek

0 Kudos

User is only in VARID, so program could like

In PARAMETER user from, user to; option

SELECT from VARID in internal table

LOOP

RS_VARIANT_CONTENTS

change user

if option copy RS_VARIANT_COPY

if option update RS_VARIANT_CHANGE

if option delete RS_VARIANT_DELETE

ENDLOOP

Regards

0 Kudos

Mr. Raymond,

Thank you very much for your valuable inputs. Keep the good work going.

Edited by: Vivek on Jan 20, 2008 3:46 PM