cancel
Showing results for 
Search instead for 
Did you mean: 

Can you pass a Variant and call R/3 report from Portals?

Former Member
0 Kudos

I am able to pass values to individual fields of the selection screen of an R/3 report from an iView and skip the initial screen.

But can I pass a Variant instead?

Also, can I pass multiple values to "SELECT-OPTIONS" fields (the ones that allow multiple single values and/or intervals)? I am able to pass only to the LOW and/or HIGH fields of the a "SELECT-OPTIONS" input field.

Appreciate any help,

Pratap

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Suppose take you have plant field in report selection screen . Click the arrow symbol and

1.If you want to find report for plants 100 thru 200, then it becomes a Range. Specify 100 and 200 in Low and High fields

2. If you have to pass 100, 110, 115, 119, 151 only, then specify 100, 110,115,119,151 one below the other in Single Vals.

You can specify what ever and how ever u want. Once you specify values, save the variant and u r all set to use the variant in report.

Is this what u r looking for.

Hope this helps

Thanks,

Praveen

PS.Dont forget to reward points for solved/useful answers

Former Member
0 Kudos

No Praveen, I meant passing those ranges and/or multiple individual values directly to the report through URL (not as a variant). I can use variant in cases where input is static but I have a situation where input is dynamic and can contain ranges and single values for the same field.

Thanks,

Pratap

Former Member
0 Kudos

Yes, you can pass.

Call the transaction "start_report" and pass the report id and variant name.

Create a transaction iview , Tcode - START_REPORT

In application parameters pass these values separated by '&' sign.

D_SREPOVARI-REPORT - your report

D_SREPOVARI-VARIANT - your saved variant.

choose skip inital screen in the parameters.

You can assign all the reqd values you want in the variant.

Hope this helps,

Thanks,

Praveen

PS.Dont forget to reward points for useful/solved answers

Former Member
0 Kudos

Thanks Praveen for your help. This will solve one of my problems (I've awarded points). I guess the only way to pass a Variant to a report is through a wrapper program like START_REPORT.

Any input on my second question (SELECT-OPTIONS)?

Thanks again,

Pratap