Image in a SAP module-pool

Hi all,
i hope there is someone can help me.
My problem is: i've to insert an image (.gif or .bmp) in a SAP module pool custom created in SE38.
How can i do it?
Thanks a lots,
regards,
Alex.

SEARCH in SCn before posting you will get so many threads like these.
[Image in module-pool|https://forums.sdn.sap.com/click.jspa?searchID=24201936&messageID=3844659]

Similar Messages

  • COPY THE STANDARD SAP MODULE POOL PROGRAM

    HOW I CAN COPY THE STANDARD SAP MODULE POOL PROGRAM ((INCLUDING SCREENS) INTO Z REPORT?

    Hi,
    Go to transactionSE38 ABAP Editor.Type the program name.Click copy.It will ask whether you want copy documentation,screens,etc.,
    Check mark it.

  • How to display image and data in module pool screen?

    Hi,
    I want to display image and relevant data besides the image in module pool screen, I am using docking container to display the image.
    Actually I am able to display image or data any one but not both.
    one more thing I want to display multiple images and their data.
    Please suggest some one if you have any idea.
    Regards,
    Dileep.

    You can try below way, I have used in report.
    DATA: gc_docking              TYPE REF TO cl_gui_docking_container, "#EC NEEDED  "Docking Container
           gc_split                 TYPE REF TO cl_gui_easy_splitter_container, "#EC NEEDED  "Splitter
           gc_top_container         TYPE REF TO cl_gui_container, "#EC NEEDED  "Top Container
           gc_bottom_container      TYPE REF TO cl_gui_container, "#EC NEEDED  "Bottom Container
          gc_document              TYPE REF TO cl_dd_document, "#EC NEEDED  "Document
           gc_events                TYPE REF TO lcl_event_class, "#EC NEEDED  " Local Event Class
           gc_grid                  TYPE REF TO cl_gui_alv_grid, "#EC NEEDED  " ALV Class
    " Creating Docking
    CREATE OBJECT gc_docking
           EXPORTING
             ratio = c_95.
         IF sy-subrc EQ 0.
    * Splitting the Docking container
           CREATE OBJECT gc_split
             EXPORTING
               parent        = gc_docking
               sash_position = c_10 "Position of Splitter Bar (in Percent)
               with_border   = c_1. "With Border = 1 Without Border = 0
         ENDIF.
    *   Placing the containers in the splitter
         gc_top_container = gc_split->top_left_container .
         gc_bottom_container = gc_split->bottom_right_container .
    *   Creating Grid
         CREATE OBJECT gc_grid
           EXPORTING
             i_parent = gc_bottom_container.
       ELSE.
    * Background job handling
         CREATE OBJECT gc_grid
           EXPORTING
             i_parent = gc_docking.
       ENDIF.
    *   Creating the document
       CREATE OBJECT gc_document
         EXPORTING
           style = 'ALV_GRID'.
    Regards,
    Sameer

  • ALV Grid display on SAP Module Pool

    Hi All,
    I need to create a module pool screen, which would have 2 different ALV's. The format of screen would be something like:
    Some I/Ofields
    ALV 1
    ALV 2
    How can I restrict the display of ALV data to the areas predefined on the screen?
    What type of component is required to be defined on module pool for restricting ALV to that particular area?
    or , while displaying ALV (i am using ALV FM's) is there any addition that is required?
    Regards-
    Harmeet.
    Edited by: Harmeet Singh on Jun 5, 2009 4:56 PM

    Hi,
    There are number of examples in net, SCN and wherever you look for.
    Basically what you need is:
    - a screen
    - your screen fields placed on top of this screen
    - custom control on this screen underneath your screen fields
    - in PBO module of that screen you need to create splitter container
    - by means of this splitter container you get two containers
    - in both you place your ALVs
    For details how to implement this please refer [Displaying two ALVs on the screen|http://sample-code-abap.blogspot.com/2008/06/displaying-two-alv-grid-on-screen.html].
    Note!
    In above example you have such coding:
       CREATE OBJECT ob_custom
          EXPORTING
            container_name = 'CONTAINER' .   "CONTAINER is the name of CUSTOM CONTROL placed on screen (as exlapained above)
    Alternatively you can use two custom controls for each ALV separately. This will ensure that they have fixed position on screen (size too). Using splitter container as in the example it is, however, more flexible as you hold two alvs in one container and have nice splitter, which you can drag and rezise ALVs vertically. Custom container remains unchanged and is fixed on screen. It also defines boundaries of your ALVs (we can call it an area)
    I don't think you can achieve this using standard FMs, so you must use this OO aproach.
    Regards
    Marcin

  • How to add drop down in SAP screen module pool

    Hi,
    Can you please advise me on how to add drop down in SAP module pool screen (a drop down with fixed set of values).
    Thanks
    Mohit

    Hi,
    Hope it helpful.
    Refer the Program : rsdemo_dropdown_listbox
    Regards,
    Venkat.

  • Colours in Module Pool

    Hi,
    Can any one give idea for this?
    How to display different colours in Module Pool programming (Screen Programming).
    Thanks in Advance.
    Regards,
    Kumar.

    Hi ABAP,
    In SAP module pool programs you only can get RED color, this is to the best of my knowledge.
    Loop at screen.
    if screen-name = 'SCREEN_FIELD_NAME'.
    screen-color = '1'. etc
    MODIFY SCREEN.
    ENDIF.
    endloop.
    Cheers
    Ram

  • Multiple people working on one module pool - how?

    Hello SDN Community,
    I have a need for multiple people to be working on the same module pool.  Since the forms are in a shared include inside the main program, how is it handled the multiple people writing code at the same time for the same module pool?  Also the concurrent creation of screens in SE51 and pf-statuses in SE41?
    Thank you,
    Dean Atteberry.

    I was thinking about SAP module pool SAPMP50A (HR maintenance screen).  It has lots of screens, includes, pf-status, etc.  I realize that this has evolved over time and that lots had been added since original development.
    But the original SAPMP50A must have had a lot of screens designed for it.  Assuming it had, lets say 10 screens, did only one SAP developer build all 10 screens?   Or did SAP put multiple people on it?  And if so, how did they handle needing access to forms in same include with realities of editor locking?
    Best way that I can see this now is that only one developer to a given module pool.  Maybe a second one could build his part in a secondary module pool (and SE51/SE41) and then copy what they built to main module and SE51 and SE41.
    Just trying to think this thing thru.....

  • Using images in module pool programming.

    Can anyone tell the way to display an image in a module pool program screen?
    If its not too much of a headache, please give a detailed code.

    Hi Sahil,
                  Well you might want to take a look at the following link. I used SE78 to upload the picture and then used the picture in the module pool screen. I think that you can upload almost any picture using se78.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/uploading%2bse78%2bpictures%2bin%2bscreen
    Edited by: Aditya  Niyogi on May 26, 2008 11:25 AM

  • My Image Getting Scrolled in Tabstrip Change or Pagedown in Module Pool

    Hi All ,
                I have designed a module pool with Tabstrip . On the Top i have displayed image . My Tab1 is for Coversion , Tab2 is for Interface . When Click on the Interface Tab and Press page down the image also scrolls down and gets displayed in the Mid of the screen and when i press ESC button iimage goes to its normal position . I have created a Custom Container , I have also tried making a subscreen and display image but still same results . Please help me out in this ..
    Thanks & Regards
    Shankar
    Edited by: Shankar  SB on May 24, 2011 12:46 AM

    SEARCH in SCn before posting you will get so many threads like these.
    [Image in module-pool|https://forums.sdn.sap.com/click.jspa?searchID=24201936&messageID=3844659]

  • How to find out no of customize module pool program in SAP

    Hi All,
    I want to find out number of customize module pool program, Workflow, number of changes made to standard SAP objects (SPAU/SPDD in our SAP system
    Regards
    Sagar

    Join the table with TRDIR to find module-pool program (TRDIR-SUBC = 'M')
    Regards,
    Raymond
    Aravind. R  was faster...
    Edited by: Raymond Giuseppi on Jun 18, 2009 12:56 PM

  • Module Pool Programming - Calling SAP Standard Text Screen

    Hi Gurus
    I am working on Module Pool Programming...In the one of the screen there is a column named "Description"  where I need to keep a Button to call a SAP standard text editing screen and what ever information I enter in the field should be downloadable
    is this option possible?If so...Plz send me the Sample code
    Thanks
    Ganesh

    Hi Gani,
    I can help you till getting the text editor in your module pool program.
    TOP
    PROGRAM  ZREDDY_TEXT.
    constants: line_length type i value 132.
       data:
    reference to wrapper class of control
       g_editor type ref to cl_gui_textedit,
    reference to custom container: necessary to bind TextEdit Control
       g_editor_container type ref to cl_gui_custom_container,
       g_repid like sy-repid,                        " getting program name
       g_ok_code like sy-ucomm,                " return code from screen
       g_mytable(132) type c occurs 0,        " getting the text of table
       g_mycontainer(30) type c,                " string for the containers
       v_result(256) type c,                        " getting the text of table control
       gw_thead like thead,                        " for header information
       it_line type table of tline with header line. " internal table of type tline
    PBO
    MODULE STATUS_0900 OUTPUT.
      SET PF-STATUS 'ZTEXT'.
    SET TITLEBAR 'xxx'.
    if g_editor is initial.
    create control container
       create object g_editor_container
       exporting
       container_name = 'CUSTOM_CONTROL' " Make sure when you create custom container in layout give name as Custom container
       exceptions
       cntl_error = 1
       cntl_system_error = 2
       create_error = 3
       lifetime_error = 4
       lifetime_dynpro_dynpro_link = 5.
       g_mycontainer = 'CUSTOM_CONTROL'.
    create calls constructor, which initializes, creates and links
    TextEdit Control
      create object g_editor
       exporting
       parent = g_editor_container
       wordwrap_mode =
    cl_gui_textedit=>wordwrap_off
       cl_gui_textedit=>wordwrap_at_fixed_position
    cl_gui_textedit=>WORDWRAP_AT_WINDOWBORDER
       wordwrap_position                      = line_length
       wordwrap_to_linebreak_mode     = cl_gui_textedit=>true.
       refresh g_mytable.  " to initialize table upon OK_CODE 'BACK' at PAI
       endif.
    ENDMODULE.                 " STATUS_0900  OUTPUT
    Cheers!!
    Balu
    Edited by: Balu CH on Oct 22, 2008 8:55 PM

  • Displaying MIR4 attachment list TIF image in module pool screen

    Hi All,
    I have a screen with a custom container and I tried to call a TIF image from MIR4 which is in attachment list(which is stored in archived link).
    I need a function module to display this image in my Module pool screen using the container.
    I tried using below code
    * Create controls
         CREATE OBJECT container_1
           EXPORTING
             container_name = 'CONTAINER'.
    *    create object container_2
    *      exporting container_name = 'PICTURE_CONTROL_2'.
         CREATE OBJECT PICTURE_CONTROL_1
           EXPORTING
             parent = container_1.
    *    CREATE OBJECT PICTURE_CONTROL_2 exporting parent = container_2.
    CALL METHOD PICTURE_CONTROL_1->LOAD_PICTURE_FROM_URL
           EXPORTING
    *    URL    = 'SAPR3://984BE16932C81EE3B2AA1E3B0D12C6FF'
    *      URL    = 'file://E:\Personal\New_Passport4.jpg'
    *       URL    = 'SAPR3://984BE16932C81EE3B2BDF8E44B035648.TIF'
    *URL    = 'SAPR3://SAPR3CMS/get/100/Z1/984BE16932C81EE3B2BDF8E44B035648//.TIF'.
         URL    = 'SAPR3://WebRepository/0020698212/DEMOWORD97SAPLOGO?Version=00000'
         IMPORTING
              RESULT = lv_result.
    CALL METHOD PICTURE_CONTROL_1->set_display_mode
         EXPORTING
           display_mode = PICTURE_CONTROL_1->display_mode_fit_center.
    But I am able to display this URL    = 'SAPR3://WebRepository/0020698212/DEMOWORD97SAPLOGO?Version=00000' and not able to display my archive link image which is in TIF.
    note: Display image of Arc.link Doc.type ZBUSI_TIF (doc.class TIF)
    Please help me on this.
    Thanks
    Geetha Charan

    Hi sai,
    Please refer th procedure.
    For the select-options you might have defined a selection screen.
    Next you can fetch the entire data that you wanted to display in a module pool into an internal table.
    you can call the screen you defined for o/p upon the selection.
    Then, You define a screen XXXX  and a table control in the scree, and in the PAI module of the screen
    you write a chain end chain processing in which you can display the contents of your internal table.
    OR
    if you want the selection also to be in the module pool,  then for displaying the O/P you can definr a sub-screen of the initial screen and you can call that sub-screen on selcting, which can be done with a function code.
    Hope this helps

  • Module pool / Screen Prog is there any standard SAP functionality ?

    Hi I am creating a Module pool / Screen Prog. On this screen I have nearly 100 fileds , now I want to take print out of all the information shown on the screen for the same is there any standard SAP functionality ?
    Does SAP provides any standarar ready made functionality for the same. ?

    No, there is no standard functionality for this.  dynpros are not designed to "print out".  This is what list displays are for.  That said, you will need to write your logic to kick off  a list display with all of your field values there,  then the user can print.
    Regards,
    Rich Heilman

  • How to copy a Module Pool Program from one SAP server to another SAP server

    Hi Experts,
    My requirement is to copy some Module pool programs from one SAP server to another SAP server which do not have any link.
    Please advise on this.
    Regards
    Dipak

    put all relevant objects inside a transport request and release it. this will generate two files, a control file in /usr/sap/trans/cofiles/ and a data file in /usr/sap/trans/data/
    you can take these two files, zip'em up and e.g. email them to your destination. There they have to be put into the same directories of that other server and can then be added to the import queue and finally imported.
    These last steps would usually be done by an administrator.
    Both systems should be on the same release, as far as I know.
    Cheers
    Thomas

  • How to Upload a module Pool Program in SAP

    Hello All,
                I have downloaded My Program Using Report REPTRAN. Now i want to know how we can Upload the Module pool program and Reports in SAP .

    Hi Ram,
    Use open source project SAPLINK for downloading objects into files and uploading them into SAP. I think REPTRAN is only to download the source code.
    Regards,
    Shravan

Maybe you are looking for