Anyway, the point is you can achieve fullscreen functionality with Custom Control so why use Docking Container.
Simply define your screen bigger than the maximum resolution of any user. Put a Custom Control on the whole screen i.e. custom control should occupy all the area availble on the screen (assuming there is nothing else is there). Double on Custom Control and on the property, under group Resizing tick Vertical and Horizontal. And thats it, create object of CL_GUI_CUSTOM_CONTAINER and put your grid on it.
While defining the Customer Container object do remember to specify all exception as in backgroud mode it throws exception and if you don't specify exception then your job will be in cancelled status.
CREATE OBJECT ob_cont
EXPORTING
container_name = 'GRID'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.
IF sy-subrc = 0 .
ENDIF.
If there is screen element on the right hand side of your Custom Control then you can not allow horizontal resizing. In that case uncheck 'Horizontal' resizing. Same is the case with Vertical scrolling if there is any screen element under you Custom Container.
1 comments:
Hi Kesari,
i have just added your site to my directory at http://social.sapdocs.info/abap/
keep up your good stuff.
Cheers~
Post a Comment