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

top urgent please

Former Member
0 Likes
526

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

3 REPLIES 3
Read only

Former Member
0 Likes
498

hi....

i think dis code is fine

jus write the proper code under each fn codes of the push buttons....

Read only

Former Member
0 Likes
498

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

Read only

Former Member
0 Likes
498

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