Satish Nandeti
14th August 2002, 07:32
Hi Guys,
Thru' AFS is it possible to handle a session which gives 2 reports when we click 'Continue' button. For each report it will ask the device also.
But when I am executing this thru' AFS, how to set those 2 reports (IS IT POSSIBLE??) ? And one more thing is I want to write each report into a different file by specifying the device type 'ASCIF' and will give file name also.
I know how to handle a single report sessions in AFS, sample code is here,
stpapi.set.report("trdrp0230m000","rtrdrp022001000", "ASCIF", error.mess)
filename = bse.dir$() & "/" & "transferRPLOrders-" & dte$()
stpapi.put.field("trdrp0230m000","spool.fileout", filename)
stpapi.continue.process("trdrp0230m000",error.mess)
BUT, my question is how to set 2 reports & how to specify 2 file names which will have the 2 reports outputs...
Looking forward for your suggestions.
Thanks,
:confused:
Thru' AFS is it possible to handle a session which gives 2 reports when we click 'Continue' button. For each report it will ask the device also.
But when I am executing this thru' AFS, how to set those 2 reports (IS IT POSSIBLE??) ? And one more thing is I want to write each report into a different file by specifying the device type 'ASCIF' and will give file name also.
I know how to handle a single report sessions in AFS, sample code is here,
stpapi.set.report("trdrp0230m000","rtrdrp022001000", "ASCIF", error.mess)
filename = bse.dir$() & "/" & "transferRPLOrders-" & dte$()
stpapi.put.field("trdrp0230m000","spool.fileout", filename)
stpapi.continue.process("trdrp0230m000",error.mess)
BUT, my question is how to set 2 reports & how to specify 2 file names which will have the 2 reports outputs...
Looking forward for your suggestions.
Thanks,
:confused: