Sunday, December 26, 2010

This ABAP program shows, how to hide BACK, CANCEL, EXIT buttons on selection-screen.

REPORT ZTEST_NOTEPAD.
DATA:
it_ucomm TYPE TABLE OF sy-ucomm.

PARAMETERS: carrid TYPE sflight-carrid.

AT SELECTION-SCREEN OUTPUT.
APPEND :
'E'    TO it_ucomm,  "for back
'ENDE' TO it_ucomm,  "for exit
'ECAN' TO it_ucomm.  "for cancel

CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status  = sy-pfkey
TABLES
p_exclude = it_ucomm.

0 comments:

Post a Comment

Your useful comments, suggestions are appreciated.Your comments are moderated.

Followers

Contact Form

Name

Email *

Message *

Web Dynpro ABAP Book

An SAP Consultant

Follow US


Want to Contribute ?

If you are interested in writing about the new stuff you learn everyday while working, please write to the.sap.consultants@gmail.com.

Click on Contribution for more details.