Showing Picture At Selection screen.

Hi,
I want to show Picture from my PC hard drive at selection screen of abap program ( SAP repo. mime type i know but i want specially from my hard drive on pc ).
how it can be possible ? if possible give code.
Thanks,

Hi
if you have a simple report " selection screen of abap program 1000  ".... I think it´s not possible....
but.
If you have a "handmade" dynpro 0100 > try to use a HTML Container ( its start a Internet Explorer .. ) and shows you the gif, jpeg..
But it´s easier to use a external/internal UI adress ( Webspace ) for the picture, as the dektop space fg
Best reg Robert

Similar Messages

  • Picture in Selection Screen

    Dear Experts
    My problem is when i am Putting Picture in Selection Screen I was able to change its width but not its Height,can anyone tell me How to Change its Height..
    Thanks in Advance
    Somesh

    Hi
    check this one
    REPORT y_pic_show .
    DATA:
    docking TYPE REF TO cl_gui_docking_container,
    picture_control_1 TYPE REF TO cl_gui_picture,
    url(256) TYPE c .
    PARAMETERS: p_dummy TYPE c  .
    AT SELECTION-SCREEN OUTPUT.
      PERFORM show_pic.
    START-OF-SELECTION.
    *& Form show_pic
    FORM show_pic.
      DATA: repid LIKE sy-repid.
      DATA: file_name LIKE sapb-sapfiles,
      file_type LIKE bdn_con-mimetype.
      repid = sy-repid.
      IF docking IS INITIAL .
        CREATE OBJECT docking
        EXPORTING
        repid = repid
        dynnr = sy-dynnr
        side = cl_gui_docking_container=>dock_at_right
        extension = '200'
        EXCEPTIONS
        cntl_error = 1
        cntl_system_error = 2
        create_error = 3
        lifetime_error = 4
        lifetime_dynpro_dynpro_link = 5.
        CREATE OBJECT picture_control_1 EXPORTING parent = docking.
        CHECK sy-subrc = 0.
        CALL METHOD picture_control_1->set_3d_border
          EXPORTING
            border = 0.
        CALL FUNCTION 'DP_PUBLISH_WWW_URL'
          EXPORTING
            objid    = 'HTMLCNTL_TESTHTM2_SAP_AG'
            lifetime = 'T'
          IMPORTING
            url      = url
          EXCEPTIONS
            OTHERS   = 1.
    Load the picture by using the url generated by the data provider.
        IF sy-subrc = 0.
          CALL METHOD picture_control_1->load_picture_from_url_async
            EXPORTING
              url = url.
        ENDIF.
      ENDIF .
    ENDFORM.                    "show_pic
    More on controls demo at transaction DWDM
    reward points to all helpful answers
    kiran.M

  • Insert picture in selection screen.

    Hi,
    Can some one suggest how to insert picture in selection screen?
    Thanks
    Deep

    Hi,
    I have inserted a picture in my classical report. According to the position where you want can be adjusted. If you know how to upload Logo in SMW0 then upload and just copy paste the code that i have shown will display the image.
    DATA: docking TYPE REF TO cl_gui_docking_container,
    picture_control_1 TYPE REF TO cl_gui_picture,
    url(256) TYPE c .
    DATA: query_table LIKE w3query OCCURS 1 WITH HEADER LINE,
    html_table LIKE w3html OCCURS 1,
    return_code LIKE w3param-ret_code,
    content_type LIKE w3param-cont_type,
    content_length LIKE w3param-cont_len,
    pic_data LIKE w3mime OCCURS 0,
    pic_size TYPE i.
    * END OF DO NOT CHANGE----------------------*
    FORMAT HOTSPOT ON.
    DATA : sum(4) , num1(4) , num2(4).
    PARAMETERS: A(4) DEFAULT '4' .
    PARAMETERS: B(4) DEFAULT '5' .
    DATA: ANSWER TYPE I.
    ANSWER = A + B.
    WRITE:/ ANSWER.
    AT SELECTION-SCREEN OUTPUT.
    PERFORM show_pic.
    * PERFORM show_pic1.
    START-OF-SELECTION.
    *& Form show_pic
    FORM show_pic.
    DATA: repid LIKE sy-repid.
    repid = sy-repid.
    CREATE OBJECT picture_control_1 EXPORTING parent = docking.
    CHECK sy-subrc = 0.
    CALL METHOD picture_control_1->set_3d_border
    EXPORTING
    border = 5.
    CALL METHOD picture_control_1->set_display_mode
    EXPORTING
    display_mode = cl_gui_picture=>display_mode_stretch.
    CALL METHOD picture_control_1->set_position
    EXPORTING
    height = 90
    left = 40
    top = 30
    width = 190.
    *CHANGE POSITION AND SIZE ABOVE*****************
    IF url IS INITIAL.
    REFRESH query_table.
    query_table-name = '_OBJECT_ID'.
    *CHANGE IMAGE NAME BELOW UPLOADED IN SWO0******************
    query_table-value = 'YREDDY'. "name which u have given in SMW0
    APPEND query_table.
    query_table-value = 'YLOGO'.
    APPEND query_table.
    *FORMAT HOTSPOT ON.
    CALL FUNCTION 'WWW_GET_MIME_OBJECT'
    TABLES
    query_string = query_table
    html = html_table
    mime = pic_data
    CHANGING
    return_code = return_code
    content_type = content_type
    content_length = content_length
    EXCEPTIONS
    object_not_found = 1
    parameter_not_found = 2
    OTHERS = 3.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    CALL FUNCTION 'DP_CREATE_URL'
    EXPORTING
    type = 'image'
    subtype = cndp_sap_tab_unknown
    size = pic_size
    lifetime = cndp_lifetime_transaction
    TABLES
    data = pic_data
    CHANGING
    url = url
    EXCEPTIONS
    OTHERS = 1.
    ENDIF.
    CALL METHOD picture_control_1->load_picture_from_url
    EXPORTING
    url = url.
    FORMAT HOTSPOT OFF.
    ENDFORM.

  • How to show message on selection screen  status bar if alv is empty.

    Hi,
            Can anyone tell me how to show message on selection screen status bar when our final internal table or alv is empty .
           i am getting message on alv status bar, where no data is in alv but i want to stop it to selection screen and show message there only.
    Regards,
    Ranu

    Hi,
    After populating the final internal table do this check,
    if it_final [] is initial.
    message 'No data available' TYPE 'S' DISPLAY LIKE 'E'.
    exit.
    endif.
    This will be displayed in the selection screen itself
    Regards,
    Vikranth

  • Show picture in dialog screen

    Hi,
    Any body can show me how to show a picture in dislog screen?
    Very appreciate for any help.
    Rgds
    Shaohua

    Hello,
    You can attach the picture using <b>picture co</b>ntrol.For a <b>dialog screen</b>,make sure that when you create the screen,you choose <b>MODAL DIALOG BOX</b> in <b>SCREEN TYPE</b>.
    Now make a cusom container in the screen layout and name it as <b>CONTAINER</b>.Use the sample code below:
    REPORT SAMPLE.
    DATA: picture type ref to cl_gui_picture,
    cont type ref to cl_gui_custom_container.
    DATA:
    OK_CODE TYPE SY-UCOMM,
    p_url type cndp_url.
    START-OF-SELECTION.
    call screen 100.
    *& Module STATUS_0100 OUTPUT
    text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'GUI'.
    SET TITLEBAR 'xxx'.
    if cont is initial.
    CREATE OBJECT CONT
    EXPORTING
    CONTAINER_NAME = '<b>CONTAINER</b>'.
    CREATE OBJECT PICTURE
    EXPORTING
    LIFETIME =
    SHELLSTYLE =
    PARENT = cont
    NAME =
    EXCEPTIONS
    ERROR = 1
    others = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD PICTURE->SET_3D_BORDER
    EXPORTING
    BORDER = 1.
    CALL FUNCTION 'DP_PUBLISH_WWW_URL'
    EXPORTING
    OBJID = 'HTMLCNTL_TESTHTM2_SAP_AG'
    LIFETIME = cndp_lifetime_transaction
    IMPORTING
    URL = p_url
    IF SY-SUBRC = 0.
    CALL METHOD PICTURE->LOAD_PICTURE_FROM_URL_ASYNC
    EXPORTING
    URL = p_url.
    ENDIF.
    endif.
    ENDMODULE. " STATUS_0100 OUTPUT
    *& Module USER_COMMAND_0100 INPUT
    text
    MODULE USER_COMMAND_0100 INPUT.
    CASE OK_CODE.
    WHEN 'BACK'.
    LEAVE PROGRAM.
    CALL METHOD CL_GUI_CFW=>FLUSH.
    endcase.
    endmodule.
    Also check demo program:<b>RSDEMO_PICTURE_CONTROL</b>
    <b>TO GET PICTURES:</b>
    Refer this link
    1... create a logo using paint shop and save it as tifffile then using RSTXLDMC (is a program name) used to upload logo
    2.....create a logo using paint shop and save it as bmpfile then using SE78 you can do this.
    <b>http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIIMAGE/BCCIIMAGE.pdf
    http://www.sap-img.com/human/linking-employee-photos-using-sap-archive-link.htm</b>
    Transaction OAOR,
    - OAOR (Business Document Navigator)
    Give Class Name - PICTURES Class Type - OT..... then Execute
    It will show you the list, then select ENJOYSAP_LOGO.
    On that list, you will find one control with a "create" tab.
    Click std. doc types.
    Select SCREEN and double-click.
    It will push FILE selection screen.
    Select your company logo (.gif) and press OK.
    It will ask for a description- for instance: "company logo".
    It will let you know your doc has been stored successfully.
    You can find your logo under ENJOYSAP_LOGO->Screen->company logo.
    Just run your ALV program, you should find your company logo in place of the EnjoySAP logo.
    Regards,
    Beejal
    **Reward if this helps

  • How to show a "Dummy" Selection Screen

    Hi All,
    I have written a Report that has no parameters. However, I still would like to show the Selection Screen so that the user can call the F1- Help for this Report.
    If I do not declare any parameters, the report is executed immediately and no means are given to show the F1- Help.
    Is there a way to show the Selection Screen without parameters?
    I have tried to create a "Dummy" Parameter that is hidden but causes the Selection Screen being shown, but that does not seem to be possible.
    Any hints for me on that one?
    Thanks, Johannes

    Hello Johannes,
    Try this workaround to "trick" SAP into displaying the selection-screen:
    PARAMETERS: p_dummy AS CHECKBOX MODIF ID m1. "Dummy Parameter
    SELECTION-SCREEN COMMENT /1(50) gv_cmnt.
    INITIALIZATION.
      gv_cmnt = 'Read the Report documentation before executing it'(001).
    AT SELECTION-SCREEN OUTPUT.
    * Hide the "Dummy" field
      LOOP AT SCREEN.
        IF screen-group1 = 'M1'.
          screen-output = '0'.
          screen-active = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Cheers,
    Suhas

  • Picture in selection screen (saved in clustertable) how to load?

    Hi everybody,
    we got an ABAP on wich a picture should be displayed.
    As we want wo have the picture in a transport ( to dispatch the ABAP on several other SAP systems ), we decided to store it in a cluster table:
    This is the way we store it:
       CALL FUNCTION 'WS_UPLOAD'
        EXPORTING
    *   CODEPAGE                      = ' '
          filename                      = file
          filetype                      = 'BIN'
         TABLES
           data_tab                      = pict_tab.
       EXPORT pict_tab = pict_tab TO DATABASE indx(hk) ID id.
    When I now want to display the picture I (hopefully) can use:
       IMPORT pict_tab = pict_tab FROM DATABASE indx(hk) ID id.
    My question is: How can I convert pict_tab to an appropriate format so that it fits for the class cl_gui_picture
    Thanks Regards
    Mario

    unfortunatelly no answer :-(

  • Fox Sports Gametrax for football doesn't load, starts to show picture and then screen goes blank ... baseball gametrax is fine in Firefox

    When I go to Fox Sports in Firefox and click on a football game, the Gametrax begins to load on a page ... showing the field and starting to show more and then it stops and goes blank. Gametrax for a baseball game works just fine. I have updated my version of Firefox to see if that fixes it and it did not.

    Hey Siim789, Welcome to the Nokia Forums!
    Please take your phone to a Local Nokia care point as I believe there is physical damage to one of the camera components or flash. An expert can diagnose your phone if you take it to them.
    I apologise about not being able to further assist you.
    Sheldrick
    Press the 'Accept As Solution' icon if I have solved your problem, Kudos my post if my advice has helped you!

  • Selection Screen on Web Report only show filter area varieables.

    HI ,
    I am using WAD 3.5 and web template uses the query developed in 3.5, This report has two selection variables one in filter area and one in Rows section.
    We recently did the Ehp 1 upgrade and after that it automatically showing only variable selection for character in Filter area. To show all I have to hit "All".
    For Query designer query I was able to change the property in RSRT but for Web report I am not able to change and it is still showing only one selection screen instead of Two .
    Have you faced any such issue. Please can you share your thoghts on how to correct it.
    Best Regards
    Som

    Hi,
    if you are able to see both variables in rsrt we could say that the variable definition are ok ( option: ready for input in variable definition)
    So open the web report on web application designer and in the web template Properties search for "Force Variable Screen display" option and check this option.
    Hope it helps,
    rp

  • Showing Selection screen Varible values on the workbook report

    Hi,
    I want to show values of selection screen variables on the workbook report.
    Please help me on this.
    Thanks,
    Isiri.

    Hey All,
    I'm also face the same problem.
    IF i use the TEXT related with filter,the workbook become bigger.
    In BEx analyzer 3.5 you had the possibility to remove query results from your workbook before saving it.
    Any idea's how you can do this in the BI 7.0 Analyzer?

  • Why my mac boots showing user selection screen?

    My mac freezed on the user selection screen las time I started it so I reseted it by holding the power on button on the back of the imac.
    Now when I boot it it just shows the user selection screen and freezes there. Mouse and keyboard don't respond. If I reset it or jnplug it I still have the same thing ocurrimg.
    What can I do to solve it?

    Try using a USB keyboard and mouse and see if they work. I'm assuming that you have the bluetooth wireless setup? If a wired keyboard and mouse work then you either should replace the batteries in both or have your Mac taken in because something is going on with the bluetooth

  • How to attach a logo to a selection screen?

    I needed to show the logo on the selection screen of a report.
    So I went through several postings on this topic, created and uploaded the logo via OAER against the PICTURES object.
    Per the posting, it tells to pass the value C:\logo.gif' as the url
    I did so - but the logo does not appear on the screen.
    So I went thorugh some demo programs - the demo programs are looking for entries in wwwparams table and are hard coding the object id while fetching these entries.
    I looked for my entry in the wwwparams table, but nothing got updated into this.
    Let me know if I am missing anything..
    Thanks,
    Ven

    Hi,
    Please check this thread..
    Picture in selection screen
    THanks
    Naren

  • Problem while hide a block on selection screen on button press

    Hi,
    I have added two buttons on the application toolbar of the selection screen. I have input fields under two blocks on the selection-screen. Initially the second block is hidden. If I press the button 1 the second block should be made visible.
    For this to happen, I captured the button 1 click event using the following statement.
    IF sscrfields-ucomm = 'FC01'.
    Inside the if ... endif, I looped at the screen and made the second block visible. It was working fine.
    loop at screen.
      if screen-group4 = '013'.
         screen-invisible = 1.
         screen-active    = 0.
      endif.
    endloop.
    Later the second button was added. Now when i run the report for the first time, if button 2 is clicked the hidden block appears on the selection screen even though i have not added any code for it.
    Just to check, i commented the logic to display the hidden block on button 1 click event. Even without any code the first time i press any of the two buttons added on the application toolbar the hidden block is displayed.
    I saved a variant for the report.
    During execution of the report, if i select any variant then the hidden block is displayed.
    Can anyone please tell me how to fix this problem.
    Regards,
    T2.

    Hi All,
    The problem is solved.
    Everyone was confusing between the pushbutton on the selectio-screen and on apllication toolbar
    (where you have the execute icon).
    Please find the code below. Thanks for you time and help. I appreciate it.
    REPORT ztest.
    INCLUDE <icon>.
    *  TABLES                                                              *
    TABLES: t001,              " Company Codes
            lfa1,              " Vendor Master (General Section)
            sscrfields.        " Fields on selection screens
    * To capture button press event.
    DATA: gv_button_press       TYPE c.
    * Menu Painter: Program interface for dynamic texts
    DATA: gs_dyntxt             TYPE smp_dyntxt.
    *  SELECTION SCREEN                                                    *
    SELECTION-SCREEN FUNCTION KEY 1.
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-s01.
    * Company Code.
    SELECTION-SCREEN BEGIN OF BLOCK ccode WITH FRAME TITLE text-s02.
    SELECT-OPTIONS: s_bukrs FOR t001-bukrs OBLIGATORY MEMORY ID buk.
    SELECTION-SCREEN END OF BLOCK ccode.
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN BEGIN OF BLOCK dsel WITH FRAME TITLE text-s04.
    * Vendor Master.
    SELECTION-SCREEN BEGIN OF BLOCK vend WITH FRAME TITLE text-s07.
    SELECT-OPTIONS: s_konzs FOR lfa1-konzs MODIF ID aw1.
    SELECT-OPTIONS: s_txcd1 FOR lfa1-stcd1 MODIF ID aw1.
    SELECT-OPTIONS: s_txcd2 FOR lfa1-stcd2 MODIF ID aw1.
    SELECTION-SCREEN END OF BLOCK vend.
    SELECTION-SCREEN END OF BLOCK dsel.
    * INITIALIZATION                                                       *
    INITIALIZATION.
    * Populate the Application toolbar button attributes.
      PERFORM populate_app_toolbar_buttons.
    * Hide the dynamic screen intially.
      PERFORM hide_screenfields.
    * AT SELECTION SCREEN                                                  *
    AT SELECTION-SCREEN.
    * Capture the button press event.
      PERFORM capture_button_press.
    * AT SELECTION-SCREEN OUTPUT.                                          *
    AT SELECTION-SCREEN OUTPUT.
    * Show/Hide the dynamic selection screen based on button press.
      PERFORM adapt_screen.
    *&  Form  populate_app_toolbar_buttons                                 *
    *   Display Icon on the application toolbar buttons. Also set the      *
    *   function codes for these buttons.                                  *
    FORM populate_app_toolbar_buttons.
      CLEAR gs_dyntxt.
      WRITE icon_fencing     TO gs_dyntxt-icon_id AS ICON.
      MOVE  text-b01         TO gs_dyntxt-quickinfo.   " Dynamic Selections
      MOVE gs_dyntxt         TO sscrfields-functxt_01.
    ENDFORM.                    " populate_app_toolbar_buttons
    *&  Form  hide_screenfields                                            *
    *   Initially hide the Dynamic selection screen.                       *
    FORM hide_screenfields.
      LOOP AT SCREEN.
        IF screen-group1 = 'AW1'.
          screen-invisible = '1'.
          screen-active    = '0'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    ENDFORM.                    " hide_screenfields
    *&  Form  capture_button_press                                         *
    *   Set the flag based on button press event. Appication bar button    *
    *   tcode is available only at 'At Selection-screen' event.            *
    *   Use the captured data at 'At Selection-screen Output' event.       *
    *   Screen adjustments is possible only under this event.              *
    FORM capture_button_press.
      IF sscrfields-ucomm = 'FC01'.
        IF gv_button_press IS INITIAL.
          gv_button_press = 'X'.
        ELSEIF gv_button_press EQ 'X'.
          CLEAR gv_button_press.
        ENDIF.
      ENDIF.
    ENDFORM.                    " capture_button_press
    *&  Form  adapt_screen                                                 *
    *   Show/Hide the dynamic selection screen based on button press       *
    *   captured at 'At selection-screen' event.                           *
    FORM adapt_screen.
    * If button press flag is initial hide the dynamic selection screen.
      IF gv_button_press IS INITIAL.
        LOOP AT SCREEN.
          IF screen-group1 = 'AW1'.
            screen-invisible = '1'.
            screen-active    = '0'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
    * Elseif button press flag is 'X' show the dynamic selection screen.
      ELSEIF gv_button_press EQ 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'AW1'.
            screen-invisible = '0'.
            screen-active    = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " adapt_screen
    Regards,
    T2
    Message was edited by: Titu Joseph

  • Creating Selection Screen version in Logical Database

    Hi,
    I want to design my own Selection screen while creating a report with Logical Database. My requirement is not to show the Standard Selection screen of LDB.
    Can it be achieved by creating Selection Screen Version in SE36 and using that version in Attribute of the Report?
    If yes, then how can it be created?

    You can change the Selection Include to include your selection screen version.
    Go to SE36
    Select "Selections"
    Change
    Create a new version like:
    SELECTION-SCREEN BEGIN OF VERSION 904 TEXT-904.
      SELECTION-SCREEN EXCLUDE PARAMETERS: KD_STIDA.
      SELECTION-SCREEN EXCLUDE SELECT-OPTIONS: KD_GJAHR, KD_BUDAT, KD_AUGDT,
                                               KD_ZUONR, KD_UMSKZ.
    SELECTION-SCREEN END   OF VERSION 904.
    Regards,
    Naimesh Patel

  • About pnp selection screen

    hi experts,
       i am using pnp selection screen  and i want
      emp no , personnel area , personnel subarea , epm group ,emp sub group  in my selection screen.
    how it can be possible ?
      actully there is option to select the particuler field option ,but when i again excute the program it shows the std selection screen .
    Thanks And Regards.
      Priyank Dixit

    hi,
    refer to this links
    Re: Change in LDP PNP Selection Screen
    Re: Change in LDP PNP Selection Screen
    http://brookshireconsulting.com/technical_rc.html

Maybe you are looking for

  • Burning discs that work in low-end DVD players

    Hi everybody. Situation: I'm burning DVDs of a rough cut of a documentary for festivals and various interested parties. I'm burning with DVD SP. I was using Memorex 16X DVDs. The resulting DVDs work on computers and most DVD players. But they don't w

  • Solaris 10 Oracle 10g

    Hello: Please let me know if there is a link to follow the instructions to install Oracle 10g in Solaris 10g. Thnks Paola

  • Is it possible to download iWork on iPad mini given that I've bought it already for my Macbook?

    I bought iWork for my Macbook Pro in August, and would like to download it for the iPad mini, obviously not wanting to pay for it again. I know that lots of Apple software can be transferred across devices, but seeing as I have iWork in a Mac OS form

  • Pc games on intel imac 1.83 ghz

    Oh please help I'm so confused. We're all mac, have been for twenty years, but my son wants to play some pc games and I'm giving in. I know this is supposed to be possible. This is what I think I know so far. I can buy parallels. I then have to buy w

  • Complaint about the service

    I have purchased laser toner cartridge from Thane shop. I found toner patches. He ask me to go Mumbai for replacement which is 25 kms away from my city. I went to Mumbai shop but he do not have stock at present and ask me to come after 5 days. What i