Skip to Content
Former Member
Dec 08, 2011 at 05:44 AM

print to excel file on OS level.


Hello everybody,

I have requirement that i want to schedule background job and output converted

into EXCEL format or text format. For this i made some setting in SPAd as follows

Device Attribute: ASCIIPRI : Some generic ASCII printer

Access method : L

command set ID : C:\tk.cmd &F &O

where tk.cmd contains batch file to copy spool to specified location with renaming.

Scenrio : I want to execute the T.code MB5B in background and output file required to naming as

<tcode/jobname><user><date>.xls in that user and date I can extracted but unable to get tcode/jobname

Please suggest how to do?