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

Module Pool

Former Member
0 Likes
1,207

How does the stement mentioed in the Include will work

REPORT RM07MLBD NO STANDARD PAGE HEADING MESSAGE-ID M7 LINE-SIZE 150.

after this statement are the data definations done.

as when i debug my code the debugger does't go for the start of selection block , it directly comes out of the execution to SE80 screen.

can a program have more than one Start -of-selection block?

Can a include be in two different module pool programs.

regards,

archana

10 REPLIES 10
Read only

Former Member
0 Likes
1,186

Hi

That program is not a module pool, so I can't understand your problem.

No, a report can have only one event START-OF-SELECTION,

Yes, an include can be used in several program (so module pool).

Max

Read only

0 Likes
1,186

Hi

1) A report can have only one START-OF-SELECTION event.

If no blocks are implemented in the program, then all statements are implicitly assigned to the standard processing block START-OF-SELECTION.

2) An include can be used in several module pool programs

reward if useful

regards

Ravi

Read only

Former Member
0 Likes
1,186

Just put BREAK-POINT statement where u want to stop the program.

don't forget to reward.

Sameer

Read only

0 Likes
1,186

the program is executable program with having the include statements.

INCLUDE: zrm07mldd, " reportspezifische Datendefinitionen

zrm07grid, " Gitternetz, Formatierung, Farbgebung

zrm07mlbp. " reporteigene Parameter

and below this starts the code.

with the events at selection screen.....start of selection and all.....

the include is zrm07mldb is having the statement

REPORT RM07MLBD NO STANDARD PAGE HEADING MESSAGE-ID M7 LINE-SIZE 150.

the program RM07MLDB is a standard SAP program for the tode MB5B.

this prg RM07MLDB also consists of the block start of selection.

when i debug my z report with the tcode then

after the selection screen it doesn't go for the start-of-selection event and comes to the screen of se80.

i hope u got the problem

reg,

Archana

Read only

0 Likes
1,186

Hi

Try to check the type of transaction u've assigned to the report: it doesn't has to be a transaction for dialog program.

Max

Read only

0 Likes
1,186

how can i find that it is a tcode for dialog pogam or not????

reg,

archana

Read only

0 Likes
1,186

thank u i got the problem i assigned a dialog program transaction.

i can now proceed with the debugging.

reg,

archana

Read only

0 Likes
1,186

Hi

Go to SE93 and here u should see program and selection-screen

Max

Read only

Former Member
0 Likes
1,186

Hi ,

Start-of-seelction is the default event whenever you run the report program. Report events should be only one for a single report program. We cant use the same report event for more than 1 time.

Regards,

Sanki.

Read only

Former Member
0 Likes
1,186

The transaction created was a dialog transaction and should be screen transaction