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,
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
PS.Dont forget to reward points for solved/useful answers
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,
PS.Dont forget to reward points for useful/solved answers