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

How to write into selection screen varient table?

Former Member
0 Likes
725

What is varient table name.

i need to update varient every time i have executed tha report.

How can i do it?

What is varient table name.

i need to update varient every time i have executed tha report.

How can i do it?

4 REPLIES 4
Read only

andreas_mann3
Active Contributor
0 Likes
690

Hi,

use fm's from function froup SVAR

e.g. RS_VARIANT_CHANGE

A.

Message was edited by: Andreas Mann

Read only

Former Member
0 Likes
690

You can use this FM to create the variant again

<b>end-of-selection.</b>

CALL FUNCTION 'RS_CREATE_VARIANT'

EXPORTING

CURR_REPORT = CURR_REPORT

CURR_VARIANT = CURR_VARIANT

VARI_DESC = VARI_DESC

TABLES

VARI_CONTENTS = VARI_CONTENTS

VARI_TEXT = VARI_TEXT

VSCREENS = VSCREENS

EXCEPTIONS

ILLEGAL_REPORT_OR_VARIANT = 1

ILLEGAL_VARIANTNAME = 2

NOT_AUTHORIZED = 3

NOT_EXECUTED = 4

REPORT_NOT_EXISTENT = 5

REPORT_NOT_SUPPLIED = 6

VARIANT_EXISTS = 7

VARIANT_LOCKED = 8

ERROR_MESSAGE = 9

OTHERS = 10.

Read only

Former Member
0 Likes
690

Just FYI, Variants will be stored in table VARID.

Kind Regards

Eswar

Read only

Former Member
0 Likes
690

Hi,

various tables associated with the variants are :

VAR

VARID

VARIS

Go to SE11 & do a search for VAR*. This will give u all the tables associated with variants.

Regards..