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

Read Variant values - Selection screen is commented out.

Former Member
0 Likes
2,994

Hi,

I have a requirement to fetch the variant details of a program wherein the code and selection screen is commneted out. Can any of you help me with the options of reading the variant values without having the selection screen active for the program?

Thanks in Advance,

Aditya Vyawahare

Edited by: Aaditya Arun Vyawahare on Oct 21, 2009 12:32 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,340

Hi

U can try to use the fm RS_VARIANT_CONTENTS

Max

6 REPLIES 6
Read only

Former Member
0 Likes
1,341

Hi

U can try to use the fm RS_VARIANT_CONTENTS

Max

Read only

Former Member
0 Likes
1,340

Hi,

Thanks for the reply !!!!

The FM works only if the selection screen is present for the report. But in my case, there is no selection screen as the code is commented out.

Thanks,

Aditya Vyawahare....

Read only

0 Likes
1,340

Hi

What do u mean?

Max

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,340

>

> The FM works only if the selection screen is present for the report. But in my case, there is no selection screen as the code is commented out.

Hello Aaditya,

Not possible.

If you do not want to have any selection-screen & have variants for it, it is complete no-no.

But yes, if you hide the screen elements using NO-DISPLAY then may be we have a case in hand.

BR,

Suhas

Read only

Former Member
0 Likes
1,340

Hi All,

Thanks for your responses. Finally I uncommented the selection screen and got the variant details.

Adi...

Read only

venkat_o
Active Contributor
0 Likes
1,340

Hi, <li>Use RS_VARIANT_CONTENTS function module to get variant values. <li>Check demo program RS_VARIANT_VALUES Thanks Venkat.O