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

submit

Former Member
0 Likes
1,023

Hello All,

I am having a report generated by report writer and I want to use it in my another report and want to execute from my report using submit but when I do this I am getting a dump "LOAD_PROGRAM_NOT_FOUND" can anybody have idea how to do this.

Thanks & regards,

Vinayak.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
982

Can you paste your SUBMIT statement here please...

7 REPLIES 7
Read only

Former Member
0 Likes
982

if you start that query for a second time, does the problem persist?

anyway, go to tx. SQ01 -> Query -> Generate coding and the program will be reloaded.

Read only

Former Member
0 Likes
983

Can you paste your SUBMIT statement here please...

Read only

0 Likes
982

hello,

Actually I am using a variable for as i have many such reports depending on user selection.

MREPORT = 'GP40IRW7FCGDGQ4JRUCB7DY3L77'.

SUBMIT MREPORT AND RETURN.

Read only

0 Likes
982

Try like this...

 
 SUBMIT GP40IRW7FCGDGQ4JRUCB7DY3L77 AND RETURN.
"OR

DATA : mreport TYPE sy-repid.

mreport = 'GP40IRW7FCGDGQ4JRUCB7DY3L77'

SUBMIT (mreport) AND return..

Read only

0 Likes
982

Hello Perez C.

I have tried with the same before but as I told u i have many reports to call depending on user selection .

so I need something else.

but any way thanks for the reply:)

Read only

0 Likes
982

I've modified solution. make sure there should not be any gaps in

(mreport) ...

Read only

Former Member
0 Likes
982

hi 2 ways,

1. try this.

http://sap-img.com/abap/how-to-call-one-report-to-another.htm

or

use submit

SUBMIT... VIA SELECTION-SCREEN

USING SELECTION-SET <var>

WITH <sel> <criterion>

WITH FREE SELECTIONS <freesel>

WITH SELECTION-TABLE <rspar>.

or if the programe hv tcode

then use

call transaction keyword.

2. When you start an executable program, the standard selection screen normally appears, containing the selection criteria and parameters of both the logical database connected to the program and of the program itself (see Direct Execution - Reports). When you start an executable program using SUBMIT, there are various additions that you can use to fill the input fields on the selection screen:

SUBMIT... VIA SELECTION-SCREEN

USING SELECTION-SET <var>

WITH <sel> <criterion>

WITH FREE SELECTIONS <freesel>

WITH SELECTION-TABLE <rspar>.

When you call an ABAP program, you can modify its lists, send them to a spool file instead of the screen, or store them in ABAP memory.

Modifying the List Structure

You can modify the list structure of a called program by using the following additions in the SUBMIT statement:

SUBMIT... LINE-SIZE <width> LINE-COUNT <length>.

If the called program contains no such options in the REPORT statement, the system formats the lists of the called program according to the options in the SUBMIT statement. If, on the other hand, the REPORT statement in the called program does specify a list structure, the additions in the SUBMIT statement are ignored. For further information about these additions, refer to Defining Your Own List Structure.

<REMOVED BY MODERATOR>

regards,

kushagra

Edited by: Alvaro Tejada Galindo on Feb 1, 2008 12:33 PM