2011 Aug 22 7:23 AM
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 ...
2011 Aug 22 9:57 AM
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'.
2011 Aug 22 10:30 AM
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.
2011 Aug 22 11:55 AM
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'.
2011 Aug 27 10:44 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |