‎2008 Nov 21 6:54 AM
Hi Experts,
I got a requirement wherein i need to fetch Program names from a table & execute them from my report.
I am doing it with submit statement in a loop with program name in field of work area but its giving syntax error stating that such a program(work area field) does not exists.
I want to avoid hardcoding the report names .
Please suggest some solution.
Thanks in advance
Purnima
‎2008 Nov 21 7:10 AM
you can use () brackets
data: prog like sy-repid.
move 'ZAWTST02' to prog.
submit (prog) and return.
Cheers
Allan
‎2008 Nov 21 6:57 AM
Hi Purnima,
there is an option in the SUBMIT variant in key word documentaion.
please go through.
regards
Ramchander Rao.K
‎2008 Nov 21 7:10 AM
you can use () brackets
data: prog like sy-repid.
move 'ZAWTST02' to prog.
submit (prog) and return.
Cheers
Allan