Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using variable as report name with submit

Former Member
0 Likes
2,017

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

1 ACCEPTED SOLUTION
Read only

Former Member
770

you can use () brackets


data: prog like sy-repid.

move 'ZAWTST02' to prog.

submit (prog) and return.

Cheers

Allan

2 REPLIES 2
Read only

Former Member
0 Likes
770

Hi Purnima,

there is an option in the SUBMIT variant in key word documentaion.

please go through.

regards

Ramchander Rao.K

Read only

Former Member
771

you can use () brackets


data: prog like sy-repid.

move 'ZAWTST02' to prog.

submit (prog) and return.

Cheers

Allan