Skip to Content
author's profile photo Former Member
Former Member

Setting a Background image.

Hello,

I want to set a background image on my screen.

How can i do this ?

Regards

Anuj

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Aug 30, 2006 at 10:11 AM

    Hi,

    Check the Prgram

    <b>DD_STYLE_TABLE</b>

    and using the class <b>CL_DD_DOCUMENT</b>method <b>SET_DOCUMENT_BACKGROUND</b>

    you can achieve .

    Regards

    vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 30, 2006 at 10:14 AM

    Hi Anuj,

    Check out this prg: LSMTR_NAVIGATIONF0E

    FORM <b>HELP_FORM_LOAD_SETTINGS</b> USING P_FORCE.

    IF FIRST_RUN = 'X' OR P_FORCE = 'X'.

    CALL FUNCTION 'NAVIGATION_READ_PARAMETERS'

    EXPORTING

    SESSION_MANAGER_DISPLAY = 'X'

    GET_LONG_USER_NAME = 'X'

    IMPORTING

    MAX_TABLE_SIZE_FOR_BUBBLE_LOAD = MAX_TABLE_SIZE_FOR_BUBBLE_LOAD

    MAX_NUMBER_OF_NODES_PER_BUBBLE = MAX_NUMBER_OF_NODES_PER_BUBBLE

    MAX_NUMBER_FOR_ROOT = MAX_NUMBER_FOR_ROOT

    MAX_NUMBER_OF_CHILDREN = MAX_NUMBER_OF_CHILDREN

    LOAD_RELATED_NODES = LOAD_RELATED_NODES

    MAX_MENU_LEVEL = MAX_MENU_LEVEL

    MAX_GRANDSON_FOLDERS = MAX_GRANDSON_FOLDERS

    ALLOW_ADMIN_INFO = ALLOW_ADMIN_INFO

    NO_DIRECT_START = NO_DIRECT_START

    FAVOS_AT_TOP_OF_LIST = FAVOS_AT_TOP_OF_LIST

    FAVOS_AT_BOTTOM_OF_LIST = FAVOS_AT_BOTTOM_OF_LIST

    NODE_IMAGE_MORE = NODE_IMAGE_MORE

    node_image_favos = node_image_favos

    NODE_IMAGE_url = NODE_IMAGE_url

    NODE_IMAGE_transaction = NODE_IMAGE_transaction

    NODE_IMAGE_folder = NODE_IMAGE_folder

    SHOW_TECHNICAL_NAMES = SHOW_TECHNICAL_NAMES

    ALLOW_SHORTCUTS = ALLOW_SHORTCUTS

    GLOBAL_AVAILABILITY_FLAG = GLOBAL_AVAILABILITY_FLAG

    G_MENU_TYPE = G_MENU_TYPE

    allow_web_access = allow_web_access

    allow_pfcg_access = allow_pfcg_access

    no_menu_tree = no_menu_tree

    start_image_name = start_image_name

    start_image_resize = start_image_resize

    no_start_image = global_no_start_image

    no_sess_start = global_no_sess_start

    global_switch_no_image = global_switch_no_image

    global_switch_no_progress = global_no_progress_indicator

    wan_flag = global_wan_flag

    bw_active = global_bw_active

    show_target_system = global_show_target_sys

    SHOW_AGR_NAME_IN_SESS = global_SHOW_AGR_NAME_IN_SESS

    sap_basis_system = global_sap_basis_system

    SAP_WAPI_COUNT_WORKITEMS = global_COUNT_WORKITEMS

    long_user_name = global_long_user_name

    LAZY_READ = global_lazy_read

    tables

    i_suffix = g_suffix

    url_type_images = g_url_type_images.

    endif.

    FIRST_RUN = SPACE.

    Regards,

    Raj

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 30, 2006 at 10:26 AM

    Hi!

    DATA gr_container   TYPE REF TO cl_gui_docking_container.
    DATA gr_picture     TYPE REF TO CL_GUI_PICTURE.
    

    In PBO:

    CREATE OBJECT GR_container
       EXPORTING  
          EXTENSION                   =
          cl_gui_docking_container=>ws_maximizebox
        EXCEPTIONS
          CNTL_ERROR                  = 1
          CNTL_SYSTEM_ERROR           = 2
          CREATE_ERROR                = 3
          LIFETIME_ERROR              = 4
          LIFETIME_DYNPRO_DYNPRO_LINK = 5
          others                      = 6 .
    
       CREATE OBJECT GR_PICTURE
            EXPORTING
              PARENT = GR_CONTAINER
            EXCEPTIONS
              OTHERS = 1.
          IF SY-SUBRC NE 0.
            MESSAGE A066(GU) WITH '&#1053;&#1077;' '&#1091;&#1076;&#1072;&#1105;&#1090;&#1089;&#1103;' '&#1089;&#1086;&#1079;&#1076;&#1072;&#1090;&#1100;'.
          ELSE.
    
    
    CALL METHOD GR_PICTURE->LOAD_PICTURE_FROM_URL
          EXPORTING
            URL    = GV_URL
          IMPORTING
            RESULT = GL_RESULT
          EXCEPTIONS
            OTHERS = 1.
    

    GV_URL like this: 'file:// ...'

    <b>But you can`t place anything (button, box, or other) on your image</b>

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.