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

Create Variant through Function

Former Member
0 Likes
675

How to create variant by using function module .

what will be the requirement for this .

If any program then please forward.

Thanks in advance

4 REPLIES 4
Read only

Former Member
0 Likes
537

When you are running a program and want to save the parameter values as variants you can do that using the funcitons.

Look at the RSVARIANT. There will be about 3-4 functions whihc you can use.

Regards,

Ravi

Note - Please mark all the helpful answers

Read only

0 Likes
537

Use below function module for variant operation

RS_CREATE_VARIANT Creating a variant (not using a selection screen)

RS_VARIANT_CATALOG Returns variant directory for a report in an internal table

RS_VARIANT_EXISTS Checks whether variant exists

RS_VARIANT_TEXT Returns text for a variant

Read only

0 Likes
537

RS_CREATE_VARIANT Creating a variant (not using a selection screen) using this i can create only for selection screen visible value variant not for sub-screen which i can't see at selection screen.

Main difficulty is sub-screen value change or create for a variant.

Read only

0 Likes
537

RS_CREATE_VARIANT Creating a variant (not using a selection screen) using this i can create only for selection screen visible value variant not for sub-screen which i can't see at selection screen.

Main difficulty is sub-screen value change or create for a variant.