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

Programe Dump Issue in Module Pool

former_member630092
Participant
0 Likes
759

Hi,

I am working on screen programe (Module Pool ). i created module user_command_2000 input for screen 2000.

I used Case statements .

When 'Print'

perform print_Page.

Form Print_page includes a report which is another programe , which is having write statements.

when control comes to write statement in Form Print_page .

It gives dump.

Description is :

ist line "-1" not found.

I have to call a TYPe 1 Programe ...

Hi,

I am working on screen programe (Module Pool ). i created module user_command_2000 input for screen 2000.

I used Case statements .

When 'Print'

perform print_Page.

Form Print_page includes a report which is another programe , which is having write statements.

when control comes to write statement in Form Print_page .

It gives dump.

Description is :

ist line "-1" not found.

I have to call a TYPe 1 Programe ...

4 REPLIES 4
Read only

Former Member
0 Likes
719

The below program is of type 1(excutable program)

PROGRAM ZSRN_SAMPLE2.

call screen 100.

&----


*& Module USER_COMMAND_0100 INPUT

&----


  • text

----


MODULE USER_COMMAND_0100 INPUT.

case sy-ucomm .

when 'PRI'

perform myform.

endcase.

ENDMODULE.

FORM MYFORM .

submit ZSRMYFORMS1.

ENDFORM.

the below program is type 1 (excutable program)

REPORT ZSRMYFORMS1.

write: 'hi'.

Read only

0 Likes
719

Thanks for valuable information.

when i press PRI . perform myform is called. suppose a value is generated in myform . i have to pass that vale to to ZSRMYFORMS1 without parameter or select-options in ZSRMYFORMS1 . So that on basis of value we have to calculate

ZSRMYFORMS1.

Read only

0 Likes
719

PROGRAM ZSRN_SAMPLE2.

call screen 100.

&----


*& Module USER_COMMAND_0100 INPUT

&----


  • text

-


MODULE USER_COMMAND_0100 INPUT.

case sy-ucomm .

when 'PRI'

perform myform.

endcase.

ENDMODULE.

FORM MYFORM .

data: l_var(20) type c.

l_var = '6'.

export l_var to memory id 'BB'.

submit ZSRMYFORMS1.

ENDFORM.

the below program is type 1 (excutable program)

REPORT ZSRMYFORMS1.

data:l_var(20) type c.

import l_var from memory id 'BB'.

write : l_var.

write: 'hi'.

Read only

former_member630092
Participant
0 Likes
719

Thanks.Got Logic....Helpfull