Insert Picture or Logo in report not standard (Z Report )

Hi ABAPers, I need to insert and display an image or picture or logo in a not standard ABAP report ( Report Z).  Any ideas of how can I do it? Help will be appreciated.
I don't use the ALV grid report, SAp Form or Smartforms Neither.
Thanks in advance.
Regards.

hi,
Check these Links
Regarding Uploading Logo into SAP
logo in screen
Hope it helps,
Regards,
Santosh

Similar Messages

  • Insert picture on first page (title) - not working?!

    Dear iMovie-Users,
    I am trying to create my first videos for an exam next week. For this reason, I need your help, because I can't work out how to insert a picture on the first page. My first thing to see in my video is an empty text-page (in paper-design) where are letters to appear next. When the letters appear, I would like an orange square next to the writing. As a picture or something... Unfortunately, I couldn't work out how to do it. Does anyone know how to proceed?
    Thanks a lot and hope to hear from you soon ;-)
    Have a nice weekend!!!
    Raja

    Help is in the Pages forum.

  • INSERT PICTURE / LOGO

    sir,
    how we insert picture or logo in abap programm with in module pool. by oops method
    thankx in advance

    Check the following code:
    REPORT  ZTEST12.
    * Type declarations.....................
    TYPES pict_line(256) TYPE c.
    * data declarations......................
    DATA :init,
          container TYPE REF TO cl_gui_custom_container,
          editor    TYPE REF TO cl_gui_textedit,
          picture   TYPE REF TO cl_gui_picture,
          pict_tab TYPE TABLE OF pict_line,
          url(255) TYPE c.
    CALL SCREEN 100.
    * Dialog modules......................................
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN100'.
      IF init is initial.
        init = 'X'.
        CREATE OBJECT:
               container  EXPORTING container_name = 'PICTURE_CONTAINER',
               picture    EXPORTING parent = container.
      ENDIF.
      IMPORT pict_tab = pict_tab FROM DATABASE abtree(pi) ID 'ENJOY'.
      CALL FUNCTION 'DP_CREATE_URL'
           EXPORTING
                type    = 'IMAGE'
                subtype = 'GIF'
           TABLES
                data    = pict_tab
           CHANGING
                url     = url.
      CALL METHOD picture->load_picture_from_url EXPORTING url = url.
      CALL METHOD picture->set_display_mode
           EXPORTING display_mode = picture->display_mode_fit_center.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE TO SCREEN 0.
    ENDMODULE.

  • Can DME, EDI be used to build a form(with pictures and logos)?

    Hi All
    I have a question on DME,Electronic transmission and forms(sapscripts,smartforms etc).
    There is a program rfumsv00(advance tax return). Surprisingly this program doesnot give the option to output the data into a "form"(government specified format with logos, pictures etc).
    (The program gives this facility to output to a form only for Germany and Belgium.)
    Now i want to get the output of this program into a "format as prescribed by the government of India". How do i do this?
    The program has facility for "electronic transmission" and DME". Can we use this to get a output similar to a "form"?If yes...how?
    Message was edited by:
            kumar kumar

    Hi Anji
    Thank you(I am on the verge of awaring you points).
    But one last clarification. You have mentioned that i can design a FORM and then make the program call the form. But this would involve making a Z program.
    I want to know if instead of the form, I can use the option "electronic return" or "DME"?Maybe the  "electronic return" or "DME" already has pre defined forms (with pictures and logos) and if not will SAP allow me to define the form in DME  or electronic return and make the standard program to use that? This way i dont have to do a Z development. Can you help me?
    Message was edited by:
            kumar kumar

  • How to insert a Grpahics logo in Classical report?

    Hi Experts,
    I need to insert a graphics logo in a classical report without using split screen or graphics control. The size of the logo is normal Company logo we use in Smartform. The difference here is : I need to print the logo in a classical report.
    Regards,
    Anid
    Reward Points Guaranteed.

    Hi..
    It is possbile only when u create ALV report. In normal report we cannot insert Logos.
    In case of ALV:
    Inserting Logo:
    In the transaction OAOR, you should be able to insert your company Logo.
    •  GOTO - 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.
    <b>Reward if Helpful.</b>

  • 'insert picture' is not working

    hi
    i'm trying to insert a picture (logo) into report:
    Main menu -> Insert -> Picture... ->
    then i click somewhere in the report and i get browser dialogue where i choose .bmp file. After that a rectangle appears with a line by it's diagonal in my report but no picture at all. what's wrong?
    best regards, Pavel

    Elizabeth Nielsen,
    yes, you understood me right, i did everything as you say.
    but i've solved it!
    the problem is that the bmp file name had cyrillic(russian) characters, i renamed it into latin characters and it's ok now! Seems BO doesn't like russian language
    thanx for reacting.

  • How to Insert picture in Database & how to Show this picture in Report/form

    Hi
    I have create a table and want to insert picture in this table in Blob format and also want to show this picture in Form / Reports
    Regards
    Shahzaib ismail

    Hi Shahzaib,
    create table
    graphics_table
    bfile_id number,
    bfile_desc varchar2(30),
    bfile_loc bfile,
    bfile_type varchar2(4)
    SQL> INSERT INTO graphics_table
    2 VALUES(4,'April Book of Days Woodcut',bfilename('GIF_FILES','APRIL.JPG'),'JPEG');
    1 row created.
    In this way you can inserrt picture inside the database.
    Regards
    Rajat

  • Pictures, logos etc are not viewable

    Some web pages are not loading properly and all I see is a white screen and letters. I can't see pictures or logos and I cannot use 'buttons' like if I want to upload something.
    (windows 7, latest version of browser)
    I tried, unistalling-reinstalling browser, checked plugins and needed updates, cleared cache-cookies.....

    i uploaded picture of the screen, I cannot see if you can see it...

  • How to correct? Inserted pictures do not show in Mail programs.

    I can insert pictures into my Mail on Yahoo and they show. When I send them to another email address on Yahoo, the pictures are not there. However, they are there with IE. What do I need to change in Firefox?

    I'm having the same trouble.
    I just quit using iMac Mail.  This app did allow me to create nice messages showing the photo in the text body along with captions.  I could also add links from my ImageShack account and they would be displayed in the message body.
    Now, using Verizon's email directly, the program treats the photo as an attachment and puts in in my download folder.  I must go into the file and open each one. Many people won't bother because it involves so many extra steps.  Isn't there someway to place the image in the body of the message, move it, add captions, etc.  If not, I think I'm going back to iMail.

  • Insert picture from computer is not working

    Hello
    When I try to insert a picture from the computer, or insert a link from a adress, I am not prompt with anything usable. I can insert pictures from SP and links from SP.
    Se the screen-dump.
    What can I have missed ? Never encountered an error like this.

    Hi,
    Since the characters in screenshot is not English, please confirm if the issue occurs to this when you insert picture from computer:
    If that is the case, please right-click on any white space on this modal dialog and click the properties, copy the Address(URL), you should get something like:
    http://sitename/_layouts/15/Upload.aspx?UseDivDialog=true&LCID=1033&Source=http%3A%2F%2Fsp%3A60%2Fsites%2Fsecond%2FSitePages%2Fp2%2Easpx%3FWikiPageMode%3DEdit%26InitialTabId%3DRibbon%2EEditingTools%2ECPEditTab%26VisibilityContext%3DWSSWikiPage&AssetPageFolder=true&Title=Upload%20Image&DefaultList=Asset&seed=0.030095442653961746&IsDlg=1
    Please check if you can access it directly via IE browser.
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • I can not insert a field in ANY report . . .

    Post Author: Chass
    CA Forum: General
    I've searched around a bit about this. I can't find anything about anyone who had the same problem.
    I was reporting along and suddenly CR v8.5 wouldn't let me insert a field anymore. I can't insert a field on a new or old report from the field exporer. I drag the field to the area of the report that I want to drop it and it stays a black circle with a line through it. It won't allow me to insert any field in any report.
    I tested this on my coworkers computer and his is working fine. Same version, same report, same field.
    What would cause my install of CR to stop allowing insertion of fields?
    Thanks in advance . . .
    Chass
    ct

    Post Author: Chass
    CA Forum: General
    For anyone else that runs into this issue. I searched heavily and came up with nothing.
    I decided to uninstall and then reinstall the application and that fixed the problem.
    I still don't know the original cause . . .
    Chass
    ct

  • How to add logo in report

    Hello All,,
    Can anyone help in knowing how can i add a logo on report. That is in our Z report.
    Thanks in advance
    Anu

    See this example:
    * Program: ZZ_ALV_REPORT_STUB
    * Author : Clayton Mergen
    * Date   :
    * Purpose: Report using ALV function
    * Notes:
    * 1) Logos & wallpapers can be found in table BDS_CONN05
    *    with class = PICTURES
    * 2) Transaction OAER can be used to create PICTURES.
    *    Run transaction OAER with class name = PICTURES, Class type = OT,
    *    and Object key with whatever name you want to create.  In the
    *    next screen, right clicking on screen and import
    *                              Revisions
    * Name    :
    * Date    :
    * Comments:
    report zz_alv_report_stub
           no standard page heading
           line-size 200
           line-count 65
           message-id zz.
    * Tables
    tables:
      ekpo,
      trdir.
    * Global Types
    type-pools: slis.
    * Global Internal Tables
    data:
      i_fieldcat_alv  type slis_t_fieldcat_alv,
      i_events        type slis_t_event,
      i_event_exit    type slis_t_event_exit,
      i_list_comments type slis_t_listheader,
      i_excluding     type slis_t_extab.
    * Display data
    data: begin of i_data occurs 0,
            name    like trdir-name,
            clas    like trdir-clas,
            subc    like trdir-subc,
            cnam    like trdir-cnam,
            cdat    like trdir-cdat,
            myfield(1) type c,
          end of i_data.
    * Global Variables
    data:
      w_variant          like disvariant,
      wx_variant         like disvariant,
      w_variant_save(1)  type c,
      w_exit(1)          type c,
      w_repid            like sy-repid,
      w_user_specific(1) type c,
      w_callback_ucomm   type slis_formname,
      w_print            type slis_print_alv,
      w_layout           type slis_layout_alv,
      w_html_top_of_page type  slis_formname,
      w_fieldcat_alv     like line of i_fieldcat_alv,
      w_excluding        like line of i_excluding,
      w_events           like line of i_events,
      w_event_exit       like line of i_event_exit,
      w_list_comments    like line of i_list_comments.
    * Global Constants
    *constants:
    * Selection Screen
    selection-screen begin of block blk_criteria with frame title text-f01.
    select-options:
      s_name for trdir-name.
    selection-screen end of block blk_criteria.
    selection-screen begin of block blk_params with frame title text-f02.
    parameters:
      p_vari like disvariant-variant.
    selection-screen skip 1.
    parameters:
      p_grid radiobutton group rb01 default 'X',
      p_html as checkbox.
    selection-screen skip 1.
    parameters:
      p_list radiobutton group rb01.
    selection-screen end of block blk_params.
    * Initialization
    initialization.
      perform init_variant.
      perform variant_default using p_vari.
      clear: s_name[].
      s_name-sign   = 'I'.
      s_name-option = 'CP'.
      s_name-low    = 'Z*'.
      append s_name.
    * At Selection Screen PBO
    at selection-screen output.
    * At Selection Screen Value Request
    at selection-screen on value-request for p_vari.
      perform variant_f4 using p_vari.
    * At Selection Screen
    at selection-screen.
      perform variant_fill.
    * Start of Selection
    start-of-selection.
      perform get_data.
    end-of-selection.
      perform fieldcat_build.
      perform event_build.
      perform event_exit_build.
      perform exclude_build.
      perform print_build.
      perform layout_build.
      perform display_data.
    * Top of Page
    top-of-page.
    * Top of Page During Line Sel
    top-of-page during line-selection.
    * At User Command
    at user-command.
    * At Line Selection
    at line-selection.
    * Macros
      define skip_1.
        write: /001 sy-vline,
                    at sy-linsz sy-vline.
      end-of-definition.
    *                                 Forms
    *&      Form  variant_f4
    form variant_f4 using p_variant.
      call function 'LVC_VARIANT_F4'
           exporting
                is_variant    = w_variant
                i_save        = w_variant_save
           importing
                e_exit        = w_exit
                es_variant    = wx_variant
           exceptions
                not_found     = 1
                program_error = 2
                others        = 3.
      if sy-subrc <> 0.
        message i000(zz) with text-g01.
      endif.
      if w_exit is initial.
        w_variant-variant = wx_variant-variant.
        p_variant         = wx_variant-variant.
      endif.
    endform.
    *&      Form  init_variant
    form init_variant.
      clear: w_variant.
      w_repid              = sy-repid.
      w_variant-report     = w_repid.
      w_variant-username   = sy-uname.
      w_variant_save       = 'A'. "All types
    endform.
    *&      Form  variant_default
    form variant_default using p_variant.
      wx_variant = w_variant.
      if not p_variant is initial.
        wx_variant-variant = p_variant.
      endif.
      call function 'LVC_VARIANT_DEFAULT_GET'
           exporting
                i_save        = w_variant_save
           changing
                cs_variant    = wx_variant
           exceptions
                wrong_input   = 1
                not_found     = 2
                program_error = 3
                others        = 4.
      case sy-subrc.
        when 0.
          p_variant = wx_variant-variant.
        when 2.
          clear: p_variant.
      endcase.
    endform.
    *&      Form  variant_fill
    form variant_fill.
      clear: w_variant.
      if p_vari is initial.
        w_variant-variant = 'STANDARD'.
        w_variant-report  = w_repid.
      else.
        w_variant-variant = p_vari.
        w_variant-report  = w_repid.
        call function 'LVC_VARIANT_EXISTENCE_CHECK'
             exporting
                  i_save     = w_variant_save
             changing
                  cs_variant = w_variant
             exceptions
                  others     = 01.
        if sy-subrc ne 0.
          message i000(zz) with text-g02.
        endif.
      endif.
    endform.
    *&      Form  fieldcat_build
    form fieldcat_build.
      call function 'REUSE_ALV_FIELDCATALOG_MERGE'
           exporting
                i_program_name     = w_repid
    *           i_structure_name   = 'TRDIR'
                i_internal_tabname = 'I_DATA'
                i_inclname         = w_repid
           changing
                ct_fieldcat        = i_fieldcat_alv.
    * Modify displayed fields
      loop at i_fieldcat_alv into w_fieldcat_alv.
        case w_fieldcat_alv-fieldname.
          when 'NAME'.
            w_fieldcat_alv-hotspot   = 'X'.
          when 'MYFIELD'.
            w_fieldcat_alv-checkbox  = 'X'.
            w_fieldcat_alv-seltext_s = 'MyChkBox'.
          when others.
        endcase.
        modify i_fieldcat_alv from w_fieldcat_alv.
      endloop.
    endform.
    *&      Form  display_data
    form display_data.
      w_callback_ucomm   = 'CALLBACK_UCOMM'.
      case 'X'.
        when p_grid.
          if p_html = 'X'.
            w_html_top_of_page = 'HTML_TOP_OF_PAGE'.
          endif.
          call function 'REUSE_ALV_GRID_DISPLAY'
               exporting
    *               i_background_id             = 'SIWB_WALLPAPER'
                    i_background_id             = 'SIWB_WALLPAPER'
                    i_callback_program          = w_repid
                    i_callback_html_top_of_page = w_html_top_of_page
    *               i_structure_name            = 'TRDIR'
                    i_default                   = 'X'
                    i_save                      = 'A'
                    is_variant                  = w_variant
                    is_layout                   = w_layout
                    i_callback_user_command     = w_callback_ucomm
                    it_fieldcat                 = i_fieldcat_alv
                    it_events                   = i_events
                    it_event_exit               = i_event_exit
                    it_excluding                = i_excluding
                    is_print                    = w_print
    *               i_screen_start_column       = 1
    *               i_screen_start_line         = 1
    *               i_screen_end_column         = 70
    *               i_screen_end_line           = 30
               tables
                    t_outtab                    = i_data.
        when p_list.
          call function 'REUSE_ALV_LIST_DISPLAY'
               exporting
                    i_background_id         = 'ALV_BACKGROUND'
                    i_callback_program      = w_repid
                    i_default               = 'X'
                    i_save                  = 'A'
                    is_variant              = w_variant
                    is_layout               = w_layout
                    i_callback_user_command = w_callback_ucomm
                    it_fieldcat             = i_fieldcat_alv
                    it_events               = i_events
                    it_event_exit           = i_event_exit
                    is_print                = w_print
               tables
                    t_outtab                = i_data.
      endcase.
    endform.
    *       FORM user_command                                             *
    form callback_ucomm  using r_ucomm like sy-ucomm
                               rs_selfield type slis_selfield.
      message i000(zz) with r_ucomm.
      case r_ucomm.
        when '&IC1'.
          set parameter id 'RID' field rs_selfield-value.
          call transaction 'SE38'.
        when others.
      endcase.
    endform.
    *&      Form  get_data
    form get_data.
      select * up to 15 rows from trdir
             into corresponding fields of table i_data
             where name in s_name.
    endform.
    *       FORM ALV_TOP_OF_PAGE                                          *
    form alv_top_of_page.
      clear: i_list_comments[].
      w_list_comments-typ  = 'H'. "H=Header, S=Selection, A=Action
      w_list_comments-key  = ''.
      w_list_comments-info = 'Info 1'.
      append w_list_comments to i_list_comments.
      w_list_comments-typ  = 'A'. " H = Header, S = Selection, A = Action
      w_list_comments-key  = ''.
      w_list_comments-info = 'Begin of list'.
      append w_list_comments to i_list_comments.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
           exporting
                i_logo             = 'ENJOYSAP_LOGO'
                it_list_commentary = i_list_comments.
    endform.
    *&      Form  event_build
    form event_build.
      call function 'REUSE_ALV_EVENTS_GET'
           exporting
                i_list_type = 0
           importing
                et_events   = i_events.
      read table i_events
           with key name = slis_ev_top_of_page
           into w_events.
      if sy-subrc = 0.
        move 'ALV_TOP_OF_PAGE' to w_events-form.
        modify i_events from w_events index sy-tabix.
      endif.
      read table i_events
           with key name = slis_ev_end_of_list
           into w_events.
      if sy-subrc = 0.
        move 'ALV_END_OF_LIST' to w_events-form.
        modify i_events from w_events index sy-tabix.
      endif.
      read table i_events
           with key name = slis_ev_end_of_page
           into w_events.
      if sy-subrc = 0.
        move 'ALV_END_OF_PAGE' to w_events-form.
        modify i_events from w_events index sy-tabix.
      endif.
    endform.
    *       FORM alv_end_of_list                                          *
    form alv_end_of_list.
      clear: i_list_comments[].
      w_list_comments-typ = 'A'. "H = Header, S = Selection, A = Action
      w_list_comments-key = ''.
      w_list_comments-info = 'End of list'.
      append w_list_comments to i_list_comments.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
           exporting
                it_list_commentary = i_list_comments
                i_logo             = 'ZMYOBJECTKEY'
                i_end_of_list_grid = 'X'.
    endform.
    *       FORM alv_end_of_page                                          *
    form alv_end_of_page.
    endform.
    *&      Form  print_build
    form print_build.
      w_print-no_print_listinfos = 'X'.
    endform.
    *&      Form  layout_build
    form layout_build.
      w_layout-zebra                = 'X'.
      w_layout-no_vline             = 'X'.
      w_layout-colwidth_optimize    = 'X'.
      w_layout-detail_popup         = 'X'.
      w_layout-detail_initial_lines = 'X'.
      w_layout-detail_titlebar      = 'Detail Title Bar'.
    endform.
    *&      Form  event_exit_build
    form event_exit_build.
      clear: i_event_exit[].
    * Pick
      w_event_exit-ucomm  = '&ETA'.
      w_event_exit-before = ' '.
      w_event_exit-after  = 'X'.
      append w_event_exit to i_event_exit.
    endform.
    *       FORM HTML_TOP_OF_PAGE                                         *
    form html_top_of_page using r_top type ref to cl_dd_document.
      data:
        text     type sdydo_text_element,
        s_table  type ref to cl_dd_table_element,
        col_key  type ref to cl_dd_area,
        col_info type ref to cl_dd_area,
        a_logo   type ref to cl_dd_area.
    * Split TOP-Document
      call method r_top->vertical_split
                exporting split_area  = r_top
                          split_width = '30%'
                importing right_area  = a_logo.
    * Fill TOP-Document
      call method r_top->add_text
                exporting text  = 'Example of a Heading'
                sap_style       = 'HEADING'.
      call method r_top->new_line.
      call method r_top->new_line.
      call method r_top->add_table
                exporting no_of_columns = 2
                          with_heading  = ' '
                          border        = '1'
                importing table         = s_table.
      call method s_table->add_column importing column = col_key.
      call method s_table->add_column importing column = col_info.
      text = 'A key value marked'.
      call method col_key->add_text
                exporting text         = text
                          sap_emphasis = 'Strong'.
      call method col_info->add_gap exporting width = 6.
      text = '600' .
      call method col_info->add_text
                exporting text      = text
                          sap_style = 'Key'.
      call method col_info->add_gap  exporting width = 3.
      text = 'Block brick units'.
      call method col_info->add_text exporting text  = text.
      call method s_table->new_row.
      text = 'Storage Bin'.
      call method col_key->add_text
                exporting text         = text
                          sap_emphasis = 'Strong'.
      call method col_info->add_gap exporting width = 7.
      text = 'C-A-004'.
      call method col_info->add_text exporting text = text.
      call method s_table->new_row.
      text = 'Warehouse number' .
      call method col_key->add_text
                exporting text         = text
                          sap_emphasis = 'Strong'.
      call method col_info->add_gap  exporting width = 6.
      text = '200' .
      call method col_info->add_text
                exporting text      = text
                          sap_style = 'Success'.
      call method col_info->add_gap  exporting width = 3.
      text = 'marked success'.
      call method col_info->add_text exporting text = text.
      call method s_table->new_row.
      call method r_top->new_line.
      text = 'This last line is a comment in italics.'.
      call method r_top->add_text
                exporting text         = text
                          sap_emphasis = 'EMPHASIS'.
      call method r_top->new_line.
      call method a_logo->add_picture
    *           exporting picture_id = 'ZZTESTBMP'.
                exporting picture_id = 'ENJOYSAP_LOGO'.
    endform.
    *&      Form  exclude_build
    form exclude_build.
      w_excluding = '&GRAPH'. "Graphic
      append w_excluding to i_excluding.
    endform.                    " exclude_build

  • Dynamic image(logo) in reports 6i

    Hi,
    I want to insert an image (logo of my company) in all my reports, from a location for example d:\abc.gif, so that if i replace the image from a new one the report show the new image (logo),
    I tried file --> import --> image already but it is static and if there is any change in logo i need to change in all my reports,
    should i save the image in a table and show it , but how , please tell,
    Note ( Report Builder 6i
    Database 9i)
    Regards

    I got the solution and writing it below for other guys,
    •     Create a table with a column type BLOB or long raw in database
    •     Save the picture in it by making a form based on the table in previous step.
    •     Write the following code in when image pressed trigger
    DECLARE
    V_FILE_NAME VARCHAR2(40);
    BEGIN
    V_FILE_NAME := GET_FILE_NAME(File_Filter=> 'JPG Files (*.JPG)|*.JPG|');
    READ_IMAGE_FILE(V_FILE_NAME,'JPG', 'block_name.image_item');
    END;
    •     In reports, create SQL Query to read that table, and assign the BLOB, Long Raw field in to the report.

  • 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.

  • Insert 2 tables in 1 report

    Post Author: Nortas
    CA Forum: General
    Hi all!I'm sorry for my english my I'm from Italy!
    I have a problem with CR 9.2.
    I have 2 tables and i need to insert all 2 in the report. The problem is the tables contain multiples records so i have to put the fields in the Details section (to repeat it every record).
    I put the header of first table in the bottom of Page Header (Up to details) but for the second table how i need to do?!?
    I hope i wrote a comprensible topic! xD
    Thank you

    You don't say what you mean by a "Standard Report".  If you want to use the Report Generator to make an Excel file with two tables, look up a post I made here in January called Revised "Generate Excel Report" Example.  Note that the quotes actually are part of the title -- if you use the Search feature, you should see this pop up when you type the word Revised and then type a space.
    If this is not what you are looking for, give us further details.
    Bob Schor

Maybe you are looking for

  • Order status is coming "Being Processed" after return delivery

    Helloo Experts, We have a current situation here, Where order type (OR) with item cat (TAN) creates SO then delievry (LF) happened and PGI.. Due to some reasons the order needs to be void.Then the SO has been changed (VA02) by adding item cat YREN wi

  • Notes do not sync from iCloud to iPhone 4s AND Notes disappear from iPhone

    My notes are not syncing from iCloud to my iPhone 4s. I turned Notes 'off' on my iPhone (Settings>iCloud>Notes), then back on. Now all of my notes on my iPhone have DISAPPEARED. Restarted my 4s - no change. I created a test Note on iCloud.com and it

  • Configuring Single Sign-On using SAML in WebLogic Server 9.2

    Hi, I am trying to configure SSO using SAML as it is mentioned in the following URL - http://dev2dev.bea.com/pub/a/2006/12/sso-with-saml.html?page=1 It works well for appA and appB which are provided by bea as sample applications. However, when i tri

  • How can I restrict the total no. of recs. per physical page

    Hi ! I have created a report and I am saving that in a text file. The problem is that when I try to take the output on the printer then the total no of records overflows to the next pages and the next page heading comes much below to it's designated

  • New Muse CC 2014 won't run

    Perfect before yesterday's upgrade to new CC 2014.  Now, on launch, it just loads 2/3 of the way then hangs forever.  Should I uninstall and reinstall?