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

Variant Contents

Former Member
0 Likes
4,707

Hi All,

I want to see the variant contents in database table.

Could someone tell the table name where report variants are stored and their contents as well OR any such function module from where if I give some contents used in some variants, it should give me the variant names.

The basic requirement is i want to search for variant names where a particular pattern e.g. 'ABCD' has been used in the variant's selection screen.

Looking forward to your favorable replies.

Regards

Hi All,

I want to see the variant contents in database table.

Could someone tell the table name where report variants are stored and their contents as well OR any such function module from where if I give some contents used in some variants, it should give me the variant names.

The basic requirement is i want to search for variant names where a particular pattern e.g. 'ABCD' has been used in the variant's selection screen.

Looking forward to your favorable replies.

Regards

5 REPLIES 5
Read only

suresh_datti
Active Contributor
0 Likes
3,474

HI Mahesh,

Don't know if there is a function module to suit your needs.. but you can check out the following tables..

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

VARICON - Selection variants: Content

VARICONCI - Selection Variants: Content (Cross-Client)

VARID - Variant directory

VARIDESC - Selection Variants: Description

VARIDESCCI - Selection Variants: Description (Cross-Cli

VARID_CI - Variant Catalog, Cross-Client

VARINUM - Internal number assignment for variants

VARIS - Assignment of variant to selection screen

VARIS_CI - Assignment of Variant to Selection Screen

VARIT - Variant Texts

VARIT_CI - Variant Texts, Cross-Client

VARK - Delivery Plan: Customer-Specific Itinerary

VARZ - Delivery Plan: Zone-Specific Itinerary

Regards,

Suresh Datti

Read only

0 Likes
3,474

Check these function modules.

RS_VARIANT_CONTENTS

RS_VARIANT_VALUES_TECH_DATA

and all function modules in the function group SVAR

Read only

Former Member
0 Likes
3,474

hi,

Check the table <b>RS38M</b>, for variants check the field <b>SELSET</b> in the table.

thanks

vijay

Message was edited by: Vijay Babu Dudla

Read only

Former Member
0 Likes
3,474

You have to use RS_ALL_VARIANTS_4_1_REPORT to get all the variants of a program and then use one of the other function modules that I mentioned, to get the content of the variant and then compare the content with your pattern. But it certainly looks a very complicated one. Why do you want to do this?

Read only

Former Member
0 Likes
3,474

Hi Mahesh,

1. For your requirement,

we need two FM

a) RS_ALL_VARIANTS_4_1_REPORT

b) RS_VARIANT_CONTENTS

2. The (a) FM will get the list of

all variant

Important : Pass the program name

Important : Pass TEXT as *

3. Then Loop at the VAR_TXT (in above FM)

and call the (b) FM.

4. Use VALUTAB of (b) FM

and search this internal table for your pattern.

I hope it helps.

Regards,

Amit M.