2008 Apr 07 7:22 AM
hello,
please help me that i have made one modulephool prog. there i have add pushbuttons of delete/exit/modify/clear
and i have write the exit f.code is E, i could not understand what i have to write in other pushbuttons of delete/clear/modify what i have write in faction code.
also i have mentioned my codes here, kindly go through the same and let me know what i have write more please.
&----
*& Report ZSUJU1
*&
&----
*&
*&
&----
REPORT ZSUJU1.
TABLES : ZEMP.
DATA : IT LIKE ZEMP OCCURS 0 WITH HEADER LINE.
&----
*& Module STATUS_3000 OUTPUT
&----
text
----
MODULE STATUS_3000 OUTPUT.
SET PF-STATUS 'SUJU1'.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_3000 OUTPUT
&----
*& Module USER_COMMAND_3000 INPUT
&----
text
----
MODULE USER_COMMAND_3000 INPUT.
CASE SY-UCOMM.
WHEN 'EXIT'.
LEAVE program.
WHEN 'CLEAR'.
CLEAR ZEMP.
WHEN 'MODIFY'.
MODIFY ZEMP.
WHEN 'DELETE'.
DELETE ZEMP.
ENDCASE.
ENDMODULE. " USER_COMMAND_3000 INPUT
thanks
suja
hello,
please help me that i have made one modulephool prog. there i have add pushbuttons of delete/exit/modify/clear
and i have write the exit f.code is E, i could not understand what i have to write in other pushbuttons of delete/clear/modify what i have write in faction code.
also i have mentioned my codes here, kindly go through the same and let me know what i have write more please.
&----
*& Report ZSUJU1
*&
&----
*&
*&
&----
REPORT ZSUJU1.
TABLES : ZEMP.
DATA : IT LIKE ZEMP OCCURS 0 WITH HEADER LINE.
&----
*& Module STATUS_3000 OUTPUT
&----
text
----
MODULE STATUS_3000 OUTPUT.
SET PF-STATUS 'SUJU1'.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_3000 OUTPUT
&----
*& Module USER_COMMAND_3000 INPUT
&----
text
----
MODULE USER_COMMAND_3000 INPUT.
CASE SY-UCOMM.
WHEN 'EXIT'.
LEAVE program.
WHEN 'CLEAR'.
CLEAR ZEMP.
WHEN 'MODIFY'.
MODIFY ZEMP.
WHEN 'DELETE'.
DELETE ZEMP.
ENDCASE.
ENDMODULE. " USER_COMMAND_3000 INPUT
thanks
suja
2008 Apr 07 7:31 AM
hi....
i think dis code is fine
jus write the proper code under each fn codes of the push buttons....
2008 Apr 07 7:34 AM
HI SUJATHA
I have seen the same thread q u had posted a few days back and had replied to it. Please let me know what was unclear in that reply that u have reopened a new thread for it.
Your previous thread
FYI. https://www.sdn.sap.com/irj/sdn/profile?userid=3704675
Regards
Akshay Chonkar
2008 Apr 07 7:34 AM
Hi,
U can Assign your own FCode Like
CLR for Clear.
At the time of Coding
U have to write
When 'CLR'.
Clear ZEMP.
Regards
Sandipan
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |