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

to take out submit from loop

Former Member
0 Likes
763

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
Read only

Former Member
0 Likes
721

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

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
Read only

Former Member
0 Likes
722

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

Read only

0 Likes
721

in my report

this submit is calling a standard report .

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

Read only

Former Member
0 Likes
721

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.

Read only

0 Likes
721

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.

Read only

Sathish
Product and Topic Expert
Product and Topic Expert
0 Likes
721

Try the approach proposed by Nandha.

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