bpanda
26th March 2015, 07:21
Hello,
I want to get the report selection option of standard session while running the standard session through AFS, for user to select.

The report selection option should pop up for the user to select the report when running the session through AFS.

Session is tdsls4401m000

Thanks & Regards
Biswajyoti Panda

bhushanchanda
26th March 2015, 11:10
Hi,

Not sure if that is possible. But, there can be workaround to this. You can put a drop down list on the calling session which will show the available reports. Based on the selected option, call that specific report in your AFS.

mark_h
26th March 2015, 14:16
That is exactly what I do in some cases bhushan. I attach the reports to the AFS session. Then I use either the standard rprt_open to open the report, then I close it. Spool.report and spool.device are set and I can use them in the stpapi.call.

Or you can use brp.open and spool.open to do the same type thing. In one case I think I had two reports to run out of one session. I used report groups in that base - so brp.open twice to get the two report names and spool.open to get the device. One thing to remember is to always close them after the open.