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

save/create a variant in user defined screen in dialog program

Former Member
0 Likes
1,173

is there a way to save/create a variant in user defined screen in dialog program?

thanks...

4 REPLIES 4
Read only

Former Member
0 Likes
819

This has to be coded in the PAI event and there is other way. Variant creation and Selection function modules can be used for this purpose.

Naveen.

Read only

jrgkraus
Active Contributor
0 Likes
819

No, there isn't. But did you consider the possibility of a selection-screen within a dialog program? Check the demo transaction code DEMO_SELSCREEN_DYNP!

Jörg

Read only

Former Member
0 Likes
819

Please have a look at FunctionPool => SAPLSVAR

(Function group :: SVAR > Variant maintenance).

In Include LSVARUXX there are some FM listed that are used for VARIANT maintenance.

Good luck !!

Regards,

Vishal

Read only

0 Likes
819

Few important tables for Variants:

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

VARID - Variant directory

VARINUM - Internal number assignment for variants

VARIT - Variant texts

TVARV - Table of variables in selection criteria

TVARC - Variant conditions

TVARUVN - Individual Variant Variable: Assignment TVARV

TVARCT - Text for Variants Conditions

TVARH - Header entries for screen variants

TVARIND - Save screen variants

Regards,

Vishal