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

Change variant from program

Former Member
0 Likes
1,701

Hi,

I want to change the variants of a number of programs.

Most of the parameters have filename on the selection screen and the file paths have to be changed.

I am using function module RS_VARIANT_CONTENTS to get the Variant contents.

and then using RS_CHANGE_CREATED_VARIANT to change the variant.

now here is the problem : RS_VARIANT_CONTENTS gets the value of the variants, but max upto 45 charatcters (it uses structure RSPARAMS where RSPARAMS-LOW and HIGH have lengths 45.)

I want to read the entire length of the selection parameter.

Is there a way of reading the entire length of the selection parameter?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
728

Try FM RS_VARIANT_SCREEN

Thanks,

SKJ

2 REPLIES 2
Read only

Former Member
0 Likes
729

Try FM RS_VARIANT_SCREEN

Thanks,

SKJ

Read only

0 Likes
728

Hi SKJ/Vaishali patwa,

How this problem gets resolved can you explain as this FM "RS_VARIANT_SCREEN" is giving report and variant name itself as importing values how can we achieve the full file path length which is morethan 45 chars, please let me know the steps to resolve this issue as i am getting similar issue.