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 TVARV

Former Member
0 Likes
2,275

Hi experts, could you tell me a function, that can read the values of TVARV table?

1 ACCEPTED SOLUTION
Read only

sachin_mathapati
Contributor
0 Likes
1,421

Hi ,

Try this FM.

RS_VARIANT_VALUES_TECH_DATA u2013 Reads variant parameters of a report

Few Related FMs

RS_VARIANT_DELETE u2013 Deletes a variant from a program

RS_VARIANT_EXISTS u2013 Checks whether a variant exists for a report

RS_VARIANT_TEXT u2013 Returns short description of variant

RS_VARIANT_CONTENTS - Values of a variant returned in a table

Regards,

Sachin M M

Edited by: Sachin Mathapati on Jul 1, 2008 7:29 PM

Hi ,

Try this FM.

RS_VARIANT_VALUES_TECH_DATA u2013 Reads variant parameters of a report

Few Related FMs

RS_VARIANT_DELETE u2013 Deletes a variant from a program

RS_VARIANT_EXISTS u2013 Checks whether a variant exists for a report

RS_VARIANT_TEXT u2013 Returns short description of variant

RS_VARIANT_CONTENTS - Values of a variant returned in a table

Regards,

Sachin M M

Edited by: Sachin Mathapati on Jul 1, 2008 7:29 PM

5 REPLIES 5
Read only

sachin_mathapati
Contributor
0 Likes
1,422

Hi ,

Try this FM.

RS_VARIANT_VALUES_TECH_DATA u2013 Reads variant parameters of a report

Few Related FMs

RS_VARIANT_DELETE u2013 Deletes a variant from a program

RS_VARIANT_EXISTS u2013 Checks whether a variant exists for a report

RS_VARIANT_TEXT u2013 Returns short description of variant

RS_VARIANT_CONTENTS - Values of a variant returned in a table

Regards,

Sachin M M

Edited by: Sachin Mathapati on Jul 1, 2008 7:29 PM

Read only

Former Member
0 Likes
1,421

Use FM : RS_VARIANT_VALUES_TECH_DATA

Read only

Former Member
0 Likes
1,421

Hello White,

You can use the following FM's:

RFC_READ_TABLE

RS_VARIANT_CONTENTS

Thanks,

Greetson

Read only

Former Member
0 Likes
1,421

Hi experts,

How can I use the function which you mentioned, because in TVARV:

tvarv-name has a type of RVARI_VNAM (char 30).

The function expecting a VARIANT type RSVAR-VARIANT (char 14)

If I want to pass a different type to the function it will give a dump. I cannot truncate the TVARV-NAME because it can be up to 30 characters. I can pass only up to 14 characters to the function,

Read only

Former Member
0 Likes
1,421

thanks