<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: retrieve picture path in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930259#M1332933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Path se78 -&amp;gt; stored on document Srver&lt;/P&gt;&lt;P&gt;                          expand&lt;/P&gt;&lt;P&gt;                    -&amp;gt; Graphics -&amp;gt; BAMP  bit maps  -&amp;gt; Doouble click &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this path and select your file path  in right hand side screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before this you need to upload your graphic into srever using RSXLDMC program .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Rama reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ram reddy on Jul 14, 2009 4:05 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jul 2009 14:04:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-14T14:04:51Z</dc:date>
    <item>
      <title>retrieve picture path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930256#M1332930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;how can I find the path where a picture I can see in se78 is stored?&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;gabriele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 13:59:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930256#M1332930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T13:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve picture path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930257#M1332931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i worked a LOT with logo´s uploaded with se78, but i NEVER came across a requirement where i had to know the path of the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why should someone need this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m not sure, but i suspect this picture is not available anyway in a file path but beeing stored in database. At least that would hold some logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 14:04:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930257#M1332931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T14:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve picture path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930258#M1332932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gabriele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you upload picture through t-code SE78&lt;/P&gt;&lt;P&gt;then by using se78 you can view picture and not the path from where you have uploded that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your doubt.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 14:04:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930258#M1332932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T14:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve picture path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930259#M1332933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Path se78 -&amp;gt; stored on document Srver&lt;/P&gt;&lt;P&gt;                          expand&lt;/P&gt;&lt;P&gt;                    -&amp;gt; Graphics -&amp;gt; BAMP  bit maps  -&amp;gt; Doouble click &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this path and select your file path  in right hand side screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before this you need to upload your graphic into srever using RSXLDMC program .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Rama reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ram reddy on Jul 14, 2009 4:05 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 14:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930259#M1332933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T14:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve picture path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930260#M1332934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi I'll explain better:&lt;/P&gt;&lt;P&gt;I am using this code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM set_logo .
  DATA url(256) TYPE c.
  c_service=&amp;gt;get_pic_tab(
    EXPORTING mime_url = '/SAP/BC/fp/graphics/FPsamples/Tatze.bmp'
    IMPORTING pic_tab  = pic_tab ).

  CALL FUNCTION 'DP_CREATE_URL'
    EXPORTING
      type    = 'IMAGE'
      subtype = 'GIF'
    TABLES
      data    = pic_tab
    CHANGING
      url     = url.

  CREATE OBJECT: logo_container EXPORTING container_name = logo_containter_name,
                logo EXPORTING parent = logo_container.

  l_alignment = cl_gui_control=&amp;gt;align_at_left   +
                cl_gui_control=&amp;gt;align_at_right  +
                cl_gui_control=&amp;gt;align_at_top    +
                cl_gui_control=&amp;gt;align_at_bottom.

  CALL METHOD logo-&amp;gt;set_alignment
    EXPORTING
      alignment = l_alignment.

  CALL METHOD logo-&amp;gt;set_3d_border
    EXPORTING
      border = 0.

  CALL METHOD logo-&amp;gt;load_picture_from_url
    EXPORTING
      url    = url
    EXCEPTIONS
      OTHERS = 4.
ENDFORM.                    " SET_LOGO&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for load an image in a dynpro custom control. and it works correctly for Tatze.bmp that is a demo image. Now I would like to use the logo I loaded with se78... but I cannot see how to put the correct path ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 14:09:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930260#M1332934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T14:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve picture path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930261#M1332935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need the path to download the pic to your local disk, you better use this piece of code...no path needed -;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S: I know that WS_DOWNLOAD is obsolet...but this code is kinda old and still working, and also I'm lazy to change it -:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT Z_DUMMY_ATG_3.

DATA : L_BYTECOUNT TYPE I,
       L_TDBTYPE   LIKE STXBITMAPS-TDBTYPE,
       L_CONTENT   TYPE STANDARD TABLE OF BAPICONTEN INITIAL SIZE 0.

DATA: GRAPHIC_SIZE TYPE I.

DATA: BEGIN OF GRAPHIC_TABLE OCCURS 0,
LINE(255) TYPE X,
END OF GRAPHIC_TABLE.

CALL FUNCTION 'SAPSCRIPT_GET_GRAPHIC_BDS'
  EXPORTING
    I_OBJECT       = 'GRAPHICS'
    I_NAME         = 'ZPRUEBA'
    I_ID           = 'BMAP'
    I_BTYPE        = 'BCOL'
  IMPORTING
    E_BYTECOUNT    = L_BYTECOUNT
  TABLES
    CONTENT        = L_CONTENT
  EXCEPTIONS
    NOT_FOUND      = 1
    BDS_GET_FAILED = 2
    BDS_NO_CONTENT = 3
    OTHERS         = 4.

CALL FUNCTION 'SAPSCRIPT_CONVERT_BITMAP'
  EXPORTING
    OLD_FORMAT               = 'BDS'
    NEW_FORMAT               = 'BMP'
    BITMAP_FILE_BYTECOUNT_IN = L_BYTECOUNT
  IMPORTING
    BITMAP_FILE_BYTECOUNT    = GRAPHIC_SIZE
  TABLES
    BDS_BITMAP_FILE          = L_CONTENT
    BITMAP_FILE              = GRAPHIC_TABLE
  EXCEPTIONS
    OTHERS                   = 1.

CALL FUNCTION 'WS_DOWNLOAD'
  EXPORTING
    BIN_FILESIZE            = GRAPHIC_SIZE
    FILENAME                = 'C:\FirmaAsociado.bmp'
    FILETYPE                = 'BIN'
  TABLES
    DATA_TAB                = GRAPHIC_TABLE
  EXCEPTIONS
    INVALID_FILESIZE        = 1
    INVALID_TABLE_WIDTH     = 2
    INVALID_TYPE            = 3
    NO_BATCH                = 4
    UNKNOWN_ERROR           = 5
    GUI_REFUSE_FILETRANSFER = 6.

IF SY-SUBRC &amp;lt;&amp;gt; 0.
  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 14:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930261#M1332935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T14:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve picture path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930262#M1332936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not saving&lt;/P&gt;&lt;P&gt;I am loading image in dynpro. I think it's just path that miss.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 14:28:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930262#M1332936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T14:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve picture path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930263#M1332937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this...I called the custom container on Dynpro "CUSTOM_ALV".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES: BEGIN OF ty_graphic_table,
       line(255) TYPE x,
       END OF ty_graphic_table.

DATA: t_graphic_table TYPE STANDARD TABLE OF
ty_graphic_table.

DATA: ok_code TYPE sy-ucomm,
      url(255) TYPE c,
      container1 TYPE REF TO cl_gui_custom_container,
      picture TYPE REF TO cl_gui_picture,
      l_bytecount TYPE i,
      l_content TYPE STANDARD TABLE OF bapiconten INITIAL SIZE 0,
      graphic_size TYPE i.

START-OF-SELECTION.
  CALL SCREEN 0100.

MODULE status_0100 OUTPUT.
  SET PF-STATUS '100'.
  SET TITLEBAR '100'.
  PERFORM load_image.
ENDMODULE.                    "STATUS_0100 OUTPUT

MODULE user_command_0100 INPUT.
  ok_code = sy-ucomm.
  CLEAR sy-ucomm.
  CASE ok_code.
    WHEN 'BACK' OR 'STOP' OR 'CANCEL'.
      SET SCREEN 0.
      LEAVE SCREEN.
  ENDCASE.
ENDMODULE.                    "USER_COMMAND_0100 INPUT

FORM load_image.
  CREATE OBJECT: container1 EXPORTING container_name = 'CUSTOM_ALV',
                 picture EXPORTING parent = container1.

  CALL FUNCTION 'SAPSCRIPT_GET_GRAPHIC_BDS'
    EXPORTING
      i_object       = 'GRAPHICS'
      i_name         = 'ENJOY'
      i_id           = 'BMAP'
      i_btype        = 'BCOL'
    IMPORTING
      e_bytecount    = l_bytecount
    TABLES
      content        = l_content
    EXCEPTIONS
      not_found      = 1
      bds_get_failed = 2
      bds_no_content = 3
      OTHERS         = 4.

  CALL FUNCTION 'SAPSCRIPT_CONVERT_BITMAP'
    EXPORTING
      old_format               = 'BDS'
      new_format               = 'BMP'
      bitmap_file_bytecount_in = l_bytecount
    IMPORTING
      bitmap_file_bytecount    = graphic_size
    TABLES
      bds_bitmap_file          = l_content
      bitmap_file              = t_graphic_table
    EXCEPTIONS
      OTHERS                   = 1.
  CALL FUNCTION 'DP_CREATE_URL'
    EXPORTING
      type    = 'IMAGE'
      subtype = 'BMP'
    TABLES
      data    = t_graphic_table
    CHANGING
      url     = url.

  CALL METHOD picture-&amp;gt;load_picture_from_url
    EXPORTING
      url = url.
  CALL METHOD picture-&amp;gt;set_display_mode
    EXPORTING
      display_mode = picture-&amp;gt;display_mode_fit_center.
ENDFORM.                    "LOAD_IMAGE
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Jul 14, 2009 10:37 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 14:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930263#M1332937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T14:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve picture path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930264#M1332938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you very much &lt;/P&gt;&lt;P&gt;it works PERFECTLY .. also better than sap demo examples!&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;gabriele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 14:49:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930264#M1332938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T14:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve picture path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930265#M1332939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much&lt;/P&gt;&lt;P&gt;it works PERFECTLY .. also better than sap demo examples!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Woaw Grabiela! Thank you -:) First time someone told me something like that about my code -;) So glad I was helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 14:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-picture-path/m-p/5930265#M1332939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T14:51:38Z</dc:date>
    </item>
  </channel>
</rss>

