Application Development 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: 

to take out submit from loop

Former Member
0 Kudos

hello,

i have a

submit report

with ms_filed1 = wa_data-filed1

with ms_filed2 = wa_data-filed2

with ms_filed3 = wa_data-filed3

and return.

in the loop of a table.

i want take the submit out of the table

please help me.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

First populate the Values in Select-option parameters in parent program for each ms_filed. and after the loop

submit report
with ms_filed1 IN s_filed1
with ms_filed2 IN s_filed2 
with ms_filed3 IN s_filed3
and return.

use like this,

regards,

Nandha

5 REPLIES 5

Former Member
0 Kudos

Hi,

First populate the Values in Select-option parameters in parent program for each ms_filed. and after the loop

submit report
with ms_filed1 IN s_filed1
with ms_filed2 IN s_filed2 
with ms_filed3 IN s_filed3
and return.

use like this,

regards,

Nandha

0 Kudos

in my report

this submit is calling a standard report .

i want to call this submit only once using a internal table

Former Member
0 Kudos

Hi,

First check the submit programs parameters are select options or not.

If select-options then use this. else please expalin the full logic.

Regards,

Nandha.

0 Kudos

loop at it_plant into wa_plant.

-


-


-


submit report

with ms_filed1 = wa_data-filed1

with ms_filed2 = wa_data-filed2

with ms_filed3 = wa_data-filed3

and return.

endloop.

this is done for every record .

i want to do this only once by passign internal table.

0 Kudos

Try the approach proposed by Nandha.

Edited by: Sathish K on Nov 7, 2008 5:23 PM