<?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: picture in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/picture/m-p/1811267#M347826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;I uploaded it and trying to use the same FM but it doesnt work any more inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2006 16:24:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-20T16:24:23Z</dc:date>
    <item>
      <title>picture</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/picture/m-p/1811265#M347824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data:lc_container1 type ref to cl_gui_custom_container,&lt;/P&gt;&lt;P&gt;     lc_containert type ref to cl_gui_custom_container,&lt;/P&gt;&lt;P&gt;     lc_containerb type ref to cl_gui_custom_container,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     lc_PICTURE type ref to CL_GUI_PICTURE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     url type CNDP_URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create object lc_container1&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;      CONTAINER_NAME = 'CONTAINER1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create object lc_picture&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;      parent = lc_container1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DP_PUBLISH_WWW_URL'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        objid    = 'HTMLCNTL_TESTHTM2_SAP_AG'&lt;/P&gt;&lt;P&gt;        lifetime = 'T'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        url      = url&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        OTHERS   = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      CALL METHOD lc_picture-&amp;gt;load_picture_from_url_async&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          url = url.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am writing this..it is giving me a picture also. but i dont want the standard picture i want a picture of my choice &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;experts help. i am using CL_GUI_PICTURE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Kaluvala Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 15:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/picture/m-p/1811265#M347824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T15:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: picture</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/picture/m-p/1811266#M347825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use transaction SMW0 to upload the picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 16:02:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/picture/m-p/1811266#M347825</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-12-20T16:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: picture</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/picture/m-p/1811267#M347826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;I uploaded it and trying to use the same FM but it doesnt work any more inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 16:24:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/picture/m-p/1811267#M347826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T16:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: picture</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/picture/m-p/1811268#M347827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santhosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a simple example....I suppose you are using Screens for displaying the picture... Here the container name is &amp;lt;b&amp;gt;CONT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: container type ref to CL_GUI_CUSTOM_CONTAINER,&lt;/P&gt;&lt;P&gt;pic type ref to CL_GUI_PICTURE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;In PBO&amp;lt;/u&amp;gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If cont is initial.&lt;/P&gt;&lt;P&gt;CREATE OBJECT container&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PARENT =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;container_name = 'CONT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT pic&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;LIFETIME =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SHELLSTYLE =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;parent = container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD pic-&amp;gt;set_display_mode&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;display_mode = CL_GUI_PICTURE=&amp;gt;DISPLAY_MODE_FIT_CENTER&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ERROR = 1&lt;/P&gt;&lt;P&gt;others = 2&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD pic-&amp;gt;load_picture_from_url&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;url = 'file://D:\SP\cb.jpg'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;RESULT =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ERROR = 1&lt;/P&gt;&lt;P&gt;others = 2&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work. You can add pics from your system and try it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Award points if found useful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 17:13:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/picture/m-p/1811268#M347827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T17:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: picture</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/picture/m-p/1811269#M347828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santhosh,&lt;/P&gt;&lt;P&gt; U need to upload those pictures from presentation to web repository first using the transaction SMW0.&lt;/P&gt;&lt;P&gt; In that transaction,&lt;/P&gt;&lt;P&gt; 1) select Binary data for web RFC applications, enter and then F8&lt;/P&gt;&lt;P&gt; 2) select create button&lt;/P&gt;&lt;P&gt; 3) a pop up will come, there u need to enter ur object name and description say like 'ZSAMPLE.GIF' as object name and then select import button&lt;/P&gt;&lt;P&gt; 4) then it will ask u which picture needs to be uploaded, select the appropriate picture and then save it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this procedure, u can check the table  WWWPARAMS whether that object has been created or not. If that entry is there, then only u can view that pic on ur screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then normal call to those methods,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DP_PUBLISH_WWW_URL'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    OBJID                       = 'ZSAMPLE.GIF'&lt;/P&gt;&lt;P&gt;    LIFETIME                  = cndp_lifetime_transaction&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    URL                         = url&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    OTHERS                      = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD PICTURE_CONTROL_1-&amp;gt;LOAD_PICTURE_FROM_URL&lt;/P&gt;&lt;P&gt;       exporting url = url.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Satya Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 04:32:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/picture/m-p/1811269#M347828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T04:32:51Z</dc:date>
    </item>
  </channel>
</rss>

