‎2014 Jun 16 10:26 AM
Hi All,
I want to create a tool which executes a program multiple times taking different variants (which I would be
maintaining in an excel sheets) and for each time the program gets executed, its output would be
written to a particular file.
I understand that this requirement is quite vague but I am trying to figure out if a tool/program could
be written in abap which does this or do I need to think of a different platform such as C#.Net
Thanks,
Faiz
‎2014 Jun 16 10:28 AM
hi Rahman,
I think you can schedule a job with the same program in multiple steps, each time with different variant. Alternatively, you can write a new program and call your program using SUBMIT statement specifying variants.
Regards,
DN.
‎2014 Jun 16 10:40 AM
Hi Rahman,
Please read the document about submit program...
it will fulfill your requirements..
Regards,
Thangam.P
‎2014 Jun 16 10:53 AM
Hi Rahman,
This class 'cl_salv_bs_runtime_info' will get the output of internal table.
DO n times.
cl_salv_bs_runtime_info=>set
SUBMIT ZARCHER_0099 WITH VARIANT..(variant name can from your excel sheets?)
cl_salv_bs_runtime_info=>GET_DATA
call 'GUI_DOWNLOAD' or OPEN DATASET...(down output to file)
ENDDO.
Hope can help you.
regards,
Archer
‎2014 Jun 16 10:53 AM
Hey Rahman,
It depends how you want the data to be maintained after processing. Because:
1. Primarily each variant could be used to direct and maintain backup in different folders (through AL11)
2. Each Variant's input file could have a different file name which then could be saved in the same folder under different names with time stamps.
Hope this helps.
Cheers
Vijay