<?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 ALV-Image Display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-image-display/m-p/2843496#M666020</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;&lt;/P&gt;&lt;P&gt;If i suppose want a image should be displayed along with the person details....what function module should i use......?&lt;/P&gt;&lt;P&gt;I have tried till the below but it not displayin the output what should i add more??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zfoto.&lt;/P&gt;&lt;P&gt;tables : zemployee.&lt;/P&gt;&lt;P&gt;type-pools : cndp.&lt;/P&gt;&lt;P&gt;type-pools : slis,icon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : d_fieldcat type slis_t_fieldcat_alv,&lt;/P&gt;&lt;P&gt;d_fieldcat_wa type slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;DATA : t_header type slis_t_listheader,&lt;/P&gt;&lt;P&gt;wa_header type slis_listheader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data url type cndp_url.&lt;/P&gt;&lt;P&gt;data : gd_layout type slis_layout_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF itab_vmoksha OCCURS 0,&lt;/P&gt;&lt;P&gt;empid like zvmoksha-empid,&lt;/P&gt;&lt;P&gt;empname like zvmoksha-empname,&lt;/P&gt;&lt;P&gt;division like zvmoksha-division,&lt;/P&gt;&lt;P&gt;visitors(20) type c,&lt;/P&gt;&lt;P&gt;duration TYPE time,&lt;/P&gt;&lt;P&gt;END OF itab_vmoksha.&lt;/P&gt;&lt;P&gt;data : line(30) type c,&lt;/P&gt;&lt;P&gt;linecount(30) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab_employee like zemployee OCCURS 0 with HEADER LINE,&lt;/P&gt;&lt;P&gt;wa_employee like LINE OF itab_employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen : begin of block blk1 with frame title text-001.&lt;/P&gt;&lt;P&gt;parameters : p_empid like zemployee-empid,&lt;/P&gt;&lt;P&gt;p_name like zemployee-empname,&lt;/P&gt;&lt;P&gt;visitors like itab_vmoksha-visitors,&lt;/P&gt;&lt;P&gt;duration like itab_vmoksha-duration.&lt;/P&gt;&lt;P&gt;parameters : path type rlgrap-filename.&lt;/P&gt;&lt;P&gt;selection-screen : end of block blk1.&lt;/P&gt;&lt;P&gt;select empid empname division from zvmoksha into TABLE itab_vmoksha where empid = itab_vmoksha-empid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      PROGRAM_NAME  = SYST-CPROG&lt;/P&gt;&lt;P&gt;      DYNPRO_NUMBER = SYST-DYNNR&lt;/P&gt;&lt;P&gt;      FIELD_NAME    = 'FILE'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      FILE_NAME     = path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; itab_vmoksha-empid,&lt;/P&gt;&lt;P&gt;    10 itab_vmoksha-empname,&lt;/P&gt;&lt;P&gt;    30 itab_vmoksha-division,&lt;/P&gt;&lt;P&gt;    50 itab_vmoksha-visitors,&lt;/P&gt;&lt;P&gt;    70 itab_vmoksha-duration.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;asha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2007 11:19:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-25T11:19:28Z</dc:date>
    <item>
      <title>ALV-Image Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-image-display/m-p/2843496#M666020</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;&lt;/P&gt;&lt;P&gt;If i suppose want a image should be displayed along with the person details....what function module should i use......?&lt;/P&gt;&lt;P&gt;I have tried till the below but it not displayin the output what should i add more??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zfoto.&lt;/P&gt;&lt;P&gt;tables : zemployee.&lt;/P&gt;&lt;P&gt;type-pools : cndp.&lt;/P&gt;&lt;P&gt;type-pools : slis,icon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : d_fieldcat type slis_t_fieldcat_alv,&lt;/P&gt;&lt;P&gt;d_fieldcat_wa type slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;DATA : t_header type slis_t_listheader,&lt;/P&gt;&lt;P&gt;wa_header type slis_listheader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data url type cndp_url.&lt;/P&gt;&lt;P&gt;data : gd_layout type slis_layout_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF itab_vmoksha OCCURS 0,&lt;/P&gt;&lt;P&gt;empid like zvmoksha-empid,&lt;/P&gt;&lt;P&gt;empname like zvmoksha-empname,&lt;/P&gt;&lt;P&gt;division like zvmoksha-division,&lt;/P&gt;&lt;P&gt;visitors(20) type c,&lt;/P&gt;&lt;P&gt;duration TYPE time,&lt;/P&gt;&lt;P&gt;END OF itab_vmoksha.&lt;/P&gt;&lt;P&gt;data : line(30) type c,&lt;/P&gt;&lt;P&gt;linecount(30) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab_employee like zemployee OCCURS 0 with HEADER LINE,&lt;/P&gt;&lt;P&gt;wa_employee like LINE OF itab_employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen : begin of block blk1 with frame title text-001.&lt;/P&gt;&lt;P&gt;parameters : p_empid like zemployee-empid,&lt;/P&gt;&lt;P&gt;p_name like zemployee-empname,&lt;/P&gt;&lt;P&gt;visitors like itab_vmoksha-visitors,&lt;/P&gt;&lt;P&gt;duration like itab_vmoksha-duration.&lt;/P&gt;&lt;P&gt;parameters : path type rlgrap-filename.&lt;/P&gt;&lt;P&gt;selection-screen : end of block blk1.&lt;/P&gt;&lt;P&gt;select empid empname division from zvmoksha into TABLE itab_vmoksha where empid = itab_vmoksha-empid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      PROGRAM_NAME  = SYST-CPROG&lt;/P&gt;&lt;P&gt;      DYNPRO_NUMBER = SYST-DYNNR&lt;/P&gt;&lt;P&gt;      FIELD_NAME    = 'FILE'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      FILE_NAME     = path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; itab_vmoksha-empid,&lt;/P&gt;&lt;P&gt;    10 itab_vmoksha-empname,&lt;/P&gt;&lt;P&gt;    30 itab_vmoksha-division,&lt;/P&gt;&lt;P&gt;    50 itab_vmoksha-visitors,&lt;/P&gt;&lt;P&gt;    70 itab_vmoksha-duration.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;asha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2007 11:19:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-image-display/m-p/2843496#M666020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-25T11:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: ALV-Image Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-image-display/m-p/2843497#M666021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;See the following&lt;/P&gt;&lt;P&gt;Change the logo in the right-hand side of the initial Log-on screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- To put your company logo in the right-hand side of the initial &lt;/P&gt;&lt;P&gt;screen: &lt;/P&gt;&lt;P&gt;Put your picture in the database with the transaction SMW0 &lt;/P&gt;&lt;P&gt;"Binary data" options, e.g. in ".GIF" format. &lt;/P&gt;&lt;P&gt;Put a record with the picture name in the key "START_IMAGE" of &lt;/P&gt;&lt;P&gt;the table SSM_CUST in the View maintenance transaction SM30. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- You can adjust the picture to the window size automatically or &lt;/P&gt;&lt;P&gt;center it in the right-hand side of the initial screen &lt;/P&gt;&lt;P&gt;("RESIZE_IMAGE" "YES" or "NO" in the table SSM_CUST). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- You can deactivate the picture globally so that no one sees it &lt;/P&gt;&lt;P&gt;with "HIDE_START_IMAGE" "YES" in the table SSM_CUST. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the links -&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2951640"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="559118"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="233816"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1026345"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3137912"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See following link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/basis/changing-the-sapgui-logo-on-the-right-hand-side.htm" target="test_blank"&gt;http://www.sap-img.com/basis/changing-the-sapgui-logo-on-the-right-hand-side.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See the link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/bc052.htm" target="test_blank"&gt;http://www.sap-img.com/bc052.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the transaction OAOR, you should be able to insert your company Logo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOTO - OAOR (Business Document Navigator)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give Class Name - PICTURES Class Type - OT..... then Execute&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will show you the list, then select ENJOYSAP_LOGO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On that list, you will find one control with a "create" tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click std. doc types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select SCREEN and double-click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will push FILE selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select your company logo (.gif) and press OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will ask for a description- for instance: "company logo".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will let you know your doc has been stored successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find your logo under ENJOYSAP_LOGO-&amp;gt;Screen-&amp;gt;company logo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just run your ALV program, you should find your company logo in place of the EnjoySAP logo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IT_LIST_COMMENTARY = HEADING[]&lt;/P&gt;&lt;P&gt;I_LOGO = 'ENJOYSAP_LOGO'&lt;/P&gt;&lt;P&gt;I_END_OF_LIST_GRID ='GT_LIST_TOP_OF_PAGE'.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;ENDFORM. "TOP-OF-PAGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here 'ENJOYSAP_LOGO' will replace by ur created logo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_enhanced.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_enhanced.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/alv-logo.htm" target="test_blank"&gt;http://www.sap-img.com/abap/alv-logo.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/fu002.htm" target="test_blank"&gt;http://www.sap-img.com/fu002.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2593327"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2852635"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2007 11:33:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-image-display/m-p/2843497#M666021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-25T11:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: ALV-Image Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-image-display/m-p/2843498#M666022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi asha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This cannot be done using fn mod. U have to use objects concepts here.&lt;/P&gt;&lt;P&gt;There is a standard global class avilable.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CL_GUI_PICTURE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;U have to use that class in ur program.&lt;/P&gt;&lt;P&gt;And in the screen u have to place a container.&lt;/P&gt;&lt;P&gt;If u have further doubts, shoot here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2007 12:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-image-display/m-p/2843498#M666022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-25T12:08:57Z</dc:date>
    </item>
  </channel>
</rss>

