External images are not displaying in RDLC report

I need to add an external image in my RDLC report. My issue is the image has to come from an external site URL. I passed the URL using report parameter, but doesn't show any output. However, if I pass the URL directly in the RDLC report in the image control
it displays the image. Since this doesn't make the report dynamic, I need to know how to make Image display in RDLC report using report parameter.

Try below:
http://www.codeproject.com/Questions/440205/Display-image-on-rdlc-report-viewer
Dim paramList1 AsNew Generic.List(Of ReportParameter)
paramList1.Add(New ReportParameter("Path", "+ /images/CPC.jpg")) Me.ReportViewer1.LocalReport.SetParameters(paramList1)
http://www.c-sharpcorner.com/uploadfile/abylex/show-images-in-reports-at-run-time-using-reportviewer/
If you do not have images in your Application. That is, you want to use an external image.
a. Use an Image control on your RDLC file.
b. Set the Image's Property-Source = External.
c. Reserve a Report's DataSource Member for the image Path. For example-
DataSource.ImgPath.
d. Set the value for image path from the code in DataSource.ImgPath.
    For example:
DataSource.ImgPath = "http://www.google.com/intl/en_ALL/images/logo.gif";
e. The following self explanatory code also needs to be written:
    reportViewer1.LocalReport.EnableExternalImages = true; 
(reportViewer1
is the Name for the   ReportViewer Control)
f. Do the normal stuff to bind DataSource etc.
g. Done. Enjoy your image in the Report.
If this helped you resolve your issue, please mark it Answered

Similar Messages

  • Images are not displaying(PHP MySQL)

    Hi,
    I've created a database table (MySQL) to store file path of images stored in a folder but the only problem is that the images are not displaying on the web page. Here's the procedure that I've used:
    -Placed the cusor at the insertion point (div).
    -Then selected 'Insert image' from the insert menu.
    -Selected 'data sources' in the select image dialogue box.
    -Selected the 'path' field in the recordset containing the image details of the images I want to display.
    -Then OK.
    Here's the code generated:
    <td colspan="3" nowrap="nowrap"><img src="<?php echo $row_rsBanner['path']; ?>" width="950" height="141"/></td>
    Here's the client side code generated:
    <td colspan="3" nowrap="nowrap"><img src="C:/xampp/htdocs/Dirwebclient/banner3A_mod.png" width="950" height="141"/></td>
    But the funniest thing is that if I pull the image as a background of the <td> (table data) it displays perfectly.
    Here's the code:
    <td colspan="3" nowrap="nowrap" background="<?php echo $row_rsBanner['path']; ?>" width="950" height="141"></td>
    Can someone please give an idea of how I can pull the image using the <img> tag and not as a background.

    Here's the source code from the browser for pulling the photo;
    <td height="126" colspan="3"><p align="center"><img src="C:/xampp/htdocs/Dirwebclient/banner3A.png" alt="jpeg" width="950" height="124" /></p></td>
    And here's the source code for the whole page (It's quite long because I had not yet mastered CSS);
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title><style type="text/css">
    <!--
    @import url("links2.css");
    body {
    background-image: url();
    background-repeat: no-repeat;
    -->
    </style>
    <link href="style1.css" rel="stylesheet" type="text/css" />
    <link href="style2.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    <!--
    a:link {
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:hover {
    text-decoration: none;
    a:active {
    text-decoration: none;
    -->
    </style>
    <link href="links.css" rel="stylesheet" type="text/css" />
    <link href="copyright.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    <script src="jquery-latest.pack.js" type="text/javascript"></script>
    <script src="jcarousellite_1.0.1c4.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function() {
         $(".newsticker-jcarousellite").jCarouselLite({
              vertical: true,
              hoverPause:true,
              visible: 2,
              auto:500,
              speed:1000
    </script>
    <style type="text/css">
    <!--
    a:link {
         text-decoration: none;
    a:visited {
         text-decoration: none;
    a:hover {
         text-decoration: underline;
    a:active {
         text-decoration: none;
    -->
    </style>
    <link href="links2.css" rel="stylesheet" type="text/css" />
    <link href="link2.css" rel="stylesheet" type="text/css" />
    <link href="categories.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div align="center">
      <table width="51%" height="539" border="3" align="center" bordercolor="#008FE6">
        <tr>
          <th scope="col"><table width="85%" height="518" border="1" align="center" bordercolor="#D2EEFF">
            <tr>
              <td height="126" colspan="3"><p align="center"><img src="C:/xampp/htdocs/Dirwebclient/banner3A.png" alt="jpeg" width="950" height="124" /></p></td>
            </tr>
            <tr bordercolor="#A6DDFF" bgcolor="#A6DDFF">
              <td height="26" colspan="3" bgcolor="#A6DDFF"><table width="579" border="0" align="left">
                  <tr>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=1" class="links">HOME</a></div></th>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=2" class="links">ABOUT US</a></div></th>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=3" class="links">SERVICES</a></div></th>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=4" class="links">CONTACTS</a></div></th>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=5" class="links">BOOKING</a></div></th>
                                  </tr>
                </table>
                  <table width="220" border="0" align="right" cellpadding="0">
                    <tr>
                      <td width="248"><div align="right" class="style2">
                          <div align="center">
                            <!-- #BeginDate format:fcAm1a -->Saturday, May 19, 2012 1:07 AM<!-- #EndDate -->
                          </div>
                      </div></td>
                    </tr>
                </table></td>
            </tr>
            <tr>
              <td bordercolor="#FFFFFF" bgcolor="#D2EEFF"><table width="201" height="250" border="3" align="left" cellpadding="0" bordercolor="#7DCEFF" bgcolor="#D2EEFF">
                <tr>
                  <td width="215" height="164"><div align="left">
                      <table width="199" height="77" border="0" align="center" cellpadding="0" bordercolor="#7DCEFF">
                        <tr bgcolor="#A6DDFF">
                          <td width="215" height="35"><div align="center">
                              <span class="categories">CATEGORIES</span> </div>
                              </td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Plumbing</a>
                            <hr />
                          </div></td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Electricals</a>
                            <hr />
                          </div></td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Fittings</a>
                            <hr />
                          </div></td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Roofing</a>
                            <hr />
                          </div></td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Electronics</a>
                            <hr />
                          </div></td>
                        </tr>
                                          </table>
                  </div>
                    &nbsp;</td>
                </tr>
              </table>
              <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p></td>
              <td height="256" bordercolor="#FFFFFF"><table width="500" height="251" border="3" align="center" bordercolor="#7DCEFF">
                  <tr bordercolor="#FFFFFF">
                    <td width="469" height="247" bgcolor="#FFFFFF"><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','499','height','245','src','images/slideview','quality','high','flashvars','flashlet={imageLinkTarget:\'_blank\',captionFont:\'Verdana\',titleFont:\'Verdana\',showControls:false,frameShow:false,slideDelay:5,captionColor:#333333,transitionsType:\'Fade\',titleColor:#333333,slideAutoPlay:true,imageURLs:[\'images/test2.JPG\',\'images/test.JPG\',\'images/test1.JPG\'],slideLoop:true,imageLinks:[\'http://macromedia.com/\',\'http://macromedia.com/\',\'http://macromedia.com/\'],frameColor:#333333,bgColor:#D2EEFF,imageCaptions:[],title:\'VISUAL CONCEPT MEDIA\'}','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','flash_component','ImageViewer.swc','movie','images/slideview' ); //end AC code
                    </script>
                      <noscript>
                      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="499" height="245">
                        <param name="flash_component" value="ImageViewer.swc" />
                        <param name="movie" value="images/slideview.swf" />
                        <param name="quality" value="high" />
                        <param name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:false,frameShow:false,slideDelay:5,captionColor:#333333,transitionsType:'Fade',titleColor:#333333,slideAutoPlay:true,imageURLs:['images/test2.JPG','images/test.JPG','images/test1.JPG'],slideLoop:true,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#D2EEFF,imageCaptions:[],title:'VISUAL CONCEPT MEDIA'}" />
                        <embed src="images/slideview.swf" quality="high" flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:false,frameShow:false,slideDelay:5,captionColor:#333333,transitionsType:'Fade',titleColor:#333333,slideAutoPlay:true,imageURLs:['images/test2.JPG','images/test.JPG','images/test1.JPG'],slideLoop:true,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#D2EEFF,imageCaptions:[],title:'VISUAL CONCEPT MEDIA'}" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="499" height="245"> </embed>
                      </object>
                      </noscript>                  </td>
                  </tr>
              </table></td>
              <td height="256" bgcolor="#D2EEFF"><table width="218" height="229" border="3" align="right" cellpadding="0" bordercolor="#7DCEFF" bgcolor="#EAF4F5" margin="0">
                  <tr>
                    <td width="198" height="188" bgcolor="#EAF4F5"><div id="newsticker-demo">
                      <div class="title">
                        <p class="categories">Latest News</p>
                      </div>
                      <div class="newsticker-jcarousellite">
                        <ul>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/5.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/4.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/3.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/2.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/1.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/6.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                              </ul>
                      </div>
                    </div>                <p>&nbsp;</p>
                      </td>
                  </tr>
              </table></td>
            </tr>
            <tr bgcolor="#A6DDFF">
              <td width="215" bgcolor="#D2EEFF" class="style2">&nbsp;</td>
              <td width="503" height="63" bgcolor="#A6DDFF" class="style2"><table width="479" height="61" border="0" align="center">
                  <tr>
                    <td width="558" height="57"><p align="center" class="style1">WELCOME TO VISUAL CONCEPT MEDIA</p>
                        <p align="left" class="style2">To redefine the default formatting of a specific HTML tag, select the Tag option and then enter an HTML tag in the Tag text box or select one from the pop?up menu.
    To define the formatting for a particular combination of tags or for all tags that contain a specific Id attribute, select the Advanced option and then enter one or more HTML tags in the Selector text box or select one from the pop?up menu. The selectors (known as pseudo?class selectors) available from the pop?up menu are a:active, a:hover, a:link, and a:visited.
    Select the location in which the style will be defined, and then click OK:
    To place the style in a style sheet that is already attached to the document, select the style sheet.
    To create an external style sheet, select New Style Sheet File.
    To embed the style in the current document, select This Document Only.
    In the CSS Rule Definition dialog box, select the style options you want to set for the new CSS rule. For more information, see the next section.
    When you are finished setting style properties, click OK.
    Note: Clicking OK without setting style options results in a new, empty rule.
    </p></td>
                  </tr>
              </table></td>
              <td width="219" bgcolor="#D2EEFF" class="style2"><table width="218" height="29" border="3" align="right" cellpadding="0" bordercolor="#7DCEFF">
                  <tr>
                    <td width="215"><div align="left">
                        <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
                      </div>
                        <fb:like-box href="http://www.facebook.com/platform" width="205" show_faces="true" stream="false" header="true"></fb:like-box>
                      &nbsp;</td>
                  </tr>
                </table>
                <div align="right"></div></td>
            </tr>
            <tr>
              <td height="33" colspan="3" nowrap="nowrap" background="C:/xampp/htdocs/Dirwebclient/footer1.gif"><div align="center">
                <table width="374" align="center">
                  <tr>
                    <th class="copyright" scope="row">&copy VISUAL CONCEPT MEDIA 2011</th>
                  </tr>
                </table>
              </div></td>
            </tr>
          </table></th>
        </tr>
      </table>
    </div>
    </body>
    </html>

  • Images are not displayed in Details Page of Open script

    I am trying to record a web application with open script.
    After recording the images are not displayed when playing back the script.
    Are there any option we have to enable to get the images.

    Hi
    As per default OpenScript will ignore any URL that contains an image, to change the filters you can:
    View -> OpenScript Preferences > Record -> HTTP Module -> Select the URL filters Tab to add/remove or edit any filters
    You can un-check the first one on the list to enable image recording.
    Regards
    Alex

  • While using stumbleupon images are not displaying on homepage only links to images

    when i log onto stumbleupon and go to my homepage or any other users homepage in stumbleupon the images are not displayed. Instead there is a written description(link?) in its place. I have not excluded images in firefox preferences. I have updated all my add ons, plugins and exensions. I believe it started after i updated flashplayer or another add on and i had made stumbleupon my homepage in firefox. Also just updated to firefox 4 thank you for your help. another clue when i am downloading sites in stumbleupon the images are in the larger + size not the usual - size. normally they are in the - and you click and they enlarge(zoom?) to the + size click again and they go back to the -. Hope that helps.

    when i log onto stumbleupon and go to my homepage or any other users homepage in stumbleupon the images are not displayed. Instead there is a written description(link?) in its place. I have not excluded images in firefox preferences. I have updated all my add ons, plugins and exensions. I believe it started after i updated flashplayer or another add on and i had made stumbleupon my homepage in firefox. Also just updated to firefox 4 thank you for your help. another clue when i am downloading sites in stumbleupon the images are in the larger + size not the usual - size. normally they are in the - and you click and they enlarge(zoom?) to the + size click again and they go back to the -. Hope that helps.

  • Enabled UDF's are not displaying in XL Report Composer.

    Hi,
    I Enabled User Defined Fields (UDF) under manage user defined fields. But itu2019s displaying only Light dimensionu2018s fields. But Dimension attributeu2019s fields are not displaying in XL Report composer. How we can display Dimension attribute fields in XL Report.
    Regds,
    Sampath Kumar.

    Hi,Danie Posthumus
    First of all we are not able to see my User define filed in report composer except for light dimensions type. Only we are getting Light Dimension Data Item type only we are not getting Dimension Attribute Data item type.
    Regds,
    Sampath Kumar Devunuri.

  • Images are not displayed into gridPanel

    I use a gridPanel to display dynamically images.On the first load of the panel the images are correctly displayed.Then I have a button used to display other images when I click on.
    I had an exception of duplicated component id . So on each load I do a
    grid=new HtmlPanelGrid();grid is the panel in which I display the images.
    And due to this I have not the previous problem
    But after the click on the button I still have the previous images.My action listener works correctly.But I don't know why images are not displayed.
    Can you please help me.
    Thanks in advance .

    Hi
    As per default OpenScript will ignore any URL that contains an image, to change the filters you can:
    View -> OpenScript Preferences > Record -> HTTP Module -> Select the URL filters Tab to add/remove or edit any filters
    You can un-check the first one on the list to enable image recording.
    Regards
    Alex

  • SAP Webdispatcher :Images are not displayed after using the URL filtering

    Hello,
    I have installed the SAP webdispatcher 7.3 on Linux redhat 5.4 in front of the Portal 7.3.
    I wanted to restrict the access just for the IRJ prefix so for this i used the parameter wdisp/permission_table = PermFile
    with Permfile as follows:
    #Denial of the useradmin URL from the WebDispatcher
    P /irj*
    P /irj/*
    The filtering is working well except that for IRJ the images are not displayed so i was using so i added the following line to disply the images to the logon page
    icm/HTTP/auth_
    P /logon_ui_resources/*
    P /logon_ui_resources*
    but i still have the same issue for the irj page where no icons are displayed and i can do nothing.
    The same issue also happened when using the icm/HTTP/auth_xx
    Do you have an idea how to deal with this issue?
    Thanks in advance;
    Hassan

    Hello,
    After checking the HTTP code of the irj page on IE,  i foud the needed URL to permit so i modified the permision table and it works fine for the moement
    P /irj*
    P /irj/*
    P /logon_ui_resources/*
    P /logon_ui_resources*
    P /AFPServlet/*
    P /AFPServlet*
    P /com.sap*
    P /com.sap/*
    P /webdynpro/resources*
    P /webdynpro/resources/*
    Thanks for you help,
    Hassan

  • Images are not displaying properly i.e Broken

    images are not displaying properly i.e Broken .they are not opening in any website even in facebook

    Hi Himanshu,
    Tools>Internet Options>Advanced tab, click the "Reset" button.
    Close all open IE windows and then start IE and try again.
    Post consumer questions about IE to http://answers.microsoft.com (Help>Online Support menu from IE.)... at the answers forum you have to select what version of windows and IE you are using with your question...
    which you did not stipulate here.
    You can also choose at answers your preferred language and receive an answer in your preferred language.
    Also include with your questions to answers, the FULL address of any websites you are having problems with... so that the support engineers can visit and test the web page...
    Just saying Facebook is not sufficient as when you say 'pictures' are not displaying...perhaps you mean 'video' pictures... also websites like Facebook have different addresses for different parts of the world.
    eg. http://facebook.com.au/ or http://youtube.com.au/nasa
    This forum is for questions from System Administrators who manage 100's of computers that use IE with IEAK and GPO.
    Regards.
    Rob^_^

  • After upgrading to 3.5 from a library of images are not displayed.

    After upgrading to 3.5 from a library of images are not displayed. All images are filled with black. Ifoto the same library looks fine.

    Yes, they are compile errors, which state 'xmlObject cannot be resolved to a type' on this line: protected XmlObject xmlDocument = null;
    and on an import line: import org.apache.xmlbeans.*;
    the compiler states the import.org.apache.xmlbeans cannot be resolved.
    I have three classes that deal with xml objects and all three have the same errors.
    Also I'm getting the same type of errors on an import javax.media

  • Column Heading are not displayed in ALV Report using CL_SALV_DISPLAY?

    Hi,
       I am using CL_SALV_DISPLAY class to display data. I Created an Internal Table Dynamically based fieldcatalog which was prepared based data at run time. When i displayed data using CL_SALC_DISPALY data is display in output but column headings are not displayed.
    can anyone suggest me how to display heading in ALV using CL_SALV_DISPLAY class, My code is
          CLASS lcl_report DEFINITION
    CLASS lcl_report DEFINITION.
      PUBLIC SECTION.
        METHODS:
          display  IMPORTING l_table  TYPE string
                             l_fcat   TYPE string.
    ENDCLASS.                    "lcl_report DEFINITION
          CLASS lcl_report IMPLEMENTATION
    CLASS lcl_report IMPLEMENTATION.
      METHOD display.
        DATA: gr_table   TYPE REF TO cl_salv_table.
        DATA: gr_columns TYPE REF TO cl_salv_columns_table,
              gr_column  TYPE REF TO cl_salv_column_table,
              ls_fcat    TYPE slis_fieldcat_alv.
        DATA: gr_display TYPE REF TO cl_salv_display_settings.
        DATA: l_o_functions TYPE REF TO cl_salv_functions_list,
              l_field    TYPE string.
        FIELD-SYMBOLS : <fs_table>    TYPE STANDARD TABLE,
                        <ft_fcat>     TYPE STANDARD TABLE.
    Get the ALV object refering to the output table
        ASSIGN (l_table) TO <fs_table>.
        ASSIGN (l_fcat)  TO <ft_fcat>.
        TRY.
            cl_salv_table=>factory(
              IMPORTING
                r_salv_table = gr_table
              CHANGING
                t_table      = <fs_table> ).
          CATCH cx_salv_msg.                                "#EC NO_HANDLER
        ENDTRY.
    Add basic default functionality in the ALV report
    Functions
        l_o_functions = gr_table->get_functions( ).
        l_o_functions->set_all( abap_true ).
        gr_columns = gr_table->get_columns( ).
        gr_columns->set_headers_visible( abap_true ).
    Display the list
        gr_table->display( ).
      ENDMETHOD.                    "extract
    ENDCLASS.                    "lcl_report IMPLEMENTATION
    *& start-of-selection declaration
    START-OF-SELECTION.
      PERFORM :
      get store codes
        get_storecodes    USING      p_stfile
                          CHANGING   it_t001w,
      fetching mard data
        read_mard_data,
      preparing fieldcatalog for Final Data
        create_filedcat   USING      it_t001w
                                     it_site
                          CHANGING   it_fieldcat,
      preparing structure & internal table for Final Data
        create_final_table_structure  USING  it_fieldcat,
      prepare output data
        prepare_final_data.
    *& end-of-selection declaration
    END-OF-SELECTION.
      PERFORM :
      display data
        display_data    USING l_table
                              l_fcat.
    *&      Form  get_storecodes
    FORM get_storecodes  USING    p_p_stfile
                         CHANGING p_it_t001w  LIKE it_t001w[].
      DATA  :
    internal table for RAW
      lt_raw    TYPE truxs_t_text_data,
      rs_site   LIKE LINE OF rt_site,
      l_index   LIKE sy-tabix.
      FIELD-SYMBOLS :
    field symbol for it_t001w
      <fs_t001w>   LIKE LINE OF p_it_t001w.
    calling function module to get Stores Data from File
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
          i_line_header        = 'X'
          i_tab_raw_data       = lt_raw
          i_filename           = p_p_stfile
        TABLES
          i_tab_converted_data = p_it_t001w[]
        EXCEPTIONS
          conversion_failed    = 1
          OTHERS               = 2.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
      SORT p_it_t001w BY werks.
      CLEAR rs_site.
      rs_site-sign   = 'I'.
      rs_site-option = 'EQ'.
      rs_site-low    = p_dccode.
      APPEND rs_site TO rt_site.
      IF it_t001w[] IS NOT INITIAL.
        LOOP AT p_it_t001w ASSIGNING <fs_t001w>.
          l_index   = sy-tabix.
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
            EXPORTING
              input  = <fs_t001w>-werks
            IMPORTING
              output = <fs_t001w>-werks.
          MODIFY p_it_t001w FROM <fs_t001w> INDEX l_index.
          IF <fs_t001w>-werks GE s_site-low AND <fs_t001w>-werks LE s_site-high.
          append site to ranges
            CLEAR rs_site.
            rs_site-sign   = 'I'.
            rs_site-option = 'EQ'.
            rs_site-low    = <fs_t001w>-werks.
            APPEND rs_site TO rt_site.
            CONTINUE.
          ENDIF.
        ENDLOOP.
        SORT p_it_t001w BY werks.
        SORT rt_site.
      ENDIF.
    ENDFORM.                    " get_storecodes
    *&      Form  create_final_table_structure
    FORM create_filedcat   USING    p_it_t001w      LIKE it_t001w[]
                                    p_it_site       LIKE it_site[]
                           CHANGING p_it_fieldcat   LIKE it_fieldcat[].
      FIELD-SYMBOLS :
    field symbol for p_it_t001w
      <fs_t001w>     LIKE LINE OF p_it_t001w,
    field symbol for p_it_site
      <fs_site>      LIKE LINE OF p_it_site.
      DATA :
    fieldname
      l_fieldname    TYPE slis_fieldname,
    workarea for site ranges
      rs_site        LIKE LINE OF rt_site.
      CLEAR : l_fieldname, rs_site.
      l_fieldname    = p_dccode.
      PERFORM
    prepare fieldcatalog
      build_fieldcatalog USING :   'MTART'      'CHAR'        '5'  ,
                                   'MTBEZ'      'CHAR'        '25' ,
                                   'MATKL'      'CHAR'        '6'  ,
                                   'WGBEZ'      'CHAR'        '20' ,
                                   'MATNR'      'CHAR'        '18' ,
                                   'MAKTX'      'CHAR'        '30' ,
                                    l_fieldname 'CHAR'        '17' .
    create header for excel
      PERFORM create_excel_header USING  : 'Division',
                                           'Divsion Description',
                                           'MC Code',
                                           'MC Description',
                                           'Article',
                                           'Article Description',
                                            l_fieldname.
    loop for creating fieldcatalog
      LOOP AT it_site ASSIGNING <fs_site>.
        READ TABLE it_t001w ASSIGNING <fs_t001w> WITH KEY werks = <fs_site>-werks
                                                                  BINARY SEARCH.
        IF sy-subrc = 0           AND <fs_t001w> IS ASSIGNED AND
           <fs_site> IS ASSIGNED  AND <fs_site>-stock GT 0.
          CLEAR : l_fieldname, rs_site.
          l_fieldname    = <fs_site>-werks.
        prepare fieldcatalog
          PERFORM build_fieldcatalog USING : l_fieldname    'CHAR'   '17'.
        create header for excel
          PERFORM create_excel_header USING  l_fieldname  .
          CONTINUE.
        ENDIF.
      ENDLOOP.
      l_fcat  = 'it_fieldcat[]'.
    ENDFORM.                    " create_final_table_structure
    *&      Form  build_fieldcatalog
    FORM build_fieldcatalog  USING    p_fieldname      TYPE slis_fieldname
                                      p_datatype       TYPE datatype_d
                                      p_length         TYPE intlen.
      DATA : ls_fieldcat    LIKE LINE OF it_fieldcat.
      CLEAR  : ls_fieldcat.
      ls_fieldcat-fieldname   = p_fieldname.
      ls_fieldcat-datatype    = p_datatype.
      ls_fieldcat-intlen      = p_length.
      APPEND ls_fieldcat TO it_fieldcat.
    ENDFORM.                    " build_fieldcatalog
    *&      Form  create_final_table_structure
    FORM create_final_table_structure  USING    p_it_fieldcat.
    Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fieldcat
        IMPORTING
          ep_table        = t_table.
      ASSIGN t_table->*  TO <ft_final>.
    ENDFORM.                    " create_final_table_structure
    *&      Form  create_excel_header
    FORM create_excel_header  USING    p_p_fieldname.
      DATA : ls_header  LIKE LINE OF it_header.
      CLEAR ls_header.
      ls_header-col_name  = p_p_fieldname.
      APPEND ls_header TO it_header.
    ENDFORM.                    " create_excel_header
    *&      Form  prepare_final_data
    FORM prepare_final_data .
      DATA          : l_matnr       LIKE g_matnr,
                      l_werks       LIKE g_werks,
                      l_index       LIKE sy-tabix.
      FIELD-SYMBOLS : <fs_mard>     LIKE LINE OF it_mard.
    Getting No. of Lines in IT_MARD internal table
      DESCRIBE TABLE it_mard LINES g_lines.
      LOOP AT it_mard ASSIGNING <fs_mard>.
        l_index    = sy-tabix.
        IF l_matnr IS INITIAL.
          l_matnr  = <fs_mard>-matnr.
          CLEAR : l_werks.
          l_werks    = <fs_mard>-werks.
          UNASSIGN : <fs_value>, <fs_final>.
        Create dynamic work area and assign to FS
          CREATE DATA t_line LIKE LINE OF <ft_final>.
          ASSIGN t_line->*   TO <fs_final>.
          ASSIGN COMPONENT 'MATNR'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_mard>-matnr.
          ASSIGN COMPONENT l_werks  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_value> + <fs_mard>-labst.
        getting Article Type,MC & its Descriptions
          PERFORM get_other_data    USING     l_matnr
                                              l_werks.
        ELSEIF l_matnr <> <fs_mard>-matnr.
          APPEND <fs_final> TO <ft_final>.
          CLEAR l_matnr.
          l_matnr  = <fs_mard>-matnr.
          CLEAR : l_werks.
          l_werks    = <fs_mard>-werks.
          UNASSIGN : <fs_value>, <fs_final>.
        Create dynamic work area and assign to FS
          CREATE DATA t_line LIKE LINE OF <ft_final>.
          ASSIGN t_line->*   TO <fs_final>.
          ASSIGN COMPONENT 'MATNR'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_mard>-matnr.
          ASSIGN COMPONENT l_werks  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_value> + <fs_mard>-labst.
        getting Article Type,MC & its Descriptions
          PERFORM get_other_data    USING     l_matnr
                                             l_werks.
        ELSE.
          CLEAR : l_werks.
          l_werks    = <fs_mard>-werks.
          ASSIGN COMPONENT l_werks  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_value> + <fs_mard>-labst.
        ENDIF.
        IF l_index = g_lines.
          APPEND <fs_final> TO <ft_final>.
        ENDIF.
      ENDLOOP.
      l_table  = '<ft_final>[]'.
    ENDFORM.                    " prepare_final_data
    *&      Form  get_other_data
    FORM get_other_data  USING    p_l_matnr
                                  p_l_werks.
      FIELD-SYMBOLS : <fs_mara>     LIKE LINE OF it_mara,
                      <fs_t023t>    LIKE LINE OF it_t023t,
                      <fs_t134t>    LIKE LINE OF it_t134t,
                      <fs_makt>     LIKE LINE OF it_makt.
      READ TABLE it_mara ASSIGNING <fs_mara> WITH KEY matnr = p_l_matnr.   " BINARY SEARCH.
      IF sy-subrc = 0 AND <fs_mara> IS ASSIGNED.
        ASSIGN COMPONENT 'MTART'  OF STRUCTURE <fs_final> TO <fs_value>.
        <fs_value>        = <fs_mara>-mtart.
        ASSIGN COMPONENT 'MATKL'  OF STRUCTURE <fs_final> TO <fs_value>.
        <fs_value>        = <fs_mara>-matkl.
        READ TABLE it_makt  ASSIGNING <fs_makt>  WITH KEY matnr =  <fs_mara>-matnr   BINARY SEARCH.
        IF sy-subrc = 0 AND <fs_makt> IS ASSIGNED.
          ASSIGN COMPONENT 'MAKTX'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_makt>-maktx.
        ENDIF.
        READ TABLE it_t023t ASSIGNING <fs_t023t> WITH KEY matkl = <fs_mara>-matkl  BINARY SEARCH.
        IF sy-subrc = 0 AND <fs_t023t> IS ASSIGNED.
          ASSIGN COMPONENT 'WGBEZ'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>      = <fs_t023t>-wgbez.
        ENDIF.
        READ TABLE it_t134t ASSIGNING <fs_t134t> WITH KEY mtart = <fs_mara>-mtart  BINARY SEARCH.
        IF sy-subrc = 0 AND <fs_t134t> IS ASSIGNED.
          ASSIGN COMPONENT 'MTBEZ'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>      = <fs_t134t>-mtbez.
        ENDIF.
      ENDIF.
    ENDFORM.                    " get_other_data
    *&      Form  display_data
          text
    FORM display_data  USING    p_l_table
                                p_l_fcat.
      DATA:
    Variable for Object Creation
      o_report TYPE REF TO lcl_report.
      CREATE OBJECT o_report.
      o_report->display( EXPORTING l_table = p_l_table
                                   l_fcat  = p_l_fcat ).
    ENDFORM.                    " display_data

    I don't know how to read the code you pasted or I would have checked this myself.
    Do your fields in the internal table reference dictionary objects or elementary types? If not using dictionary types, the column names will be blank by default. If you can't change your fields to be dictionary types, you can try this to change the column names:
    I made a method inside my local class to add the names:
            call method set_colname
              EXPORTING iv_tab = alv_tab
                        iv_colid = 'xxxx'  "fieldname from the table
                        iv_stxt = text-t54
                        iv_mtxt = text-t55
                        iv_ltxt = text-t55.
    METHOD set_colname .
      data:
              alv_cols type REF TO cl_salv_columns_table,
              alv_col type REF TO cl_salv_column.
      TRY .
    *... Change fieldnames
            call METHOD iv_tab->get_columns RECEIVING value = alv_cols.
            call method alv_cols->get_column EXPORTING columnname = iv_colid RECEIVING value = alv_col.
            IF iv_stxt <> ''.
              CALL METHOD alv_col->set_short_text EXPORTING value = iv_stxt.
            ENDIF.
            IF iv_mtxt <> ''.
              CALL METHOD alv_col->set_medium_text EXPORTING value = iv_mtxt.
            ENDIF.
            IF iv_ltxt <> ''.
              CALL METHOD alv_col->set_long_text EXPORTING value = iv_ltxt.
            ENDIF.
       CATCH cx_salv_not_found.
      ENDTRY.
    ENDMETHOD. "set_colname

  • Edge animation-images are not displayed on my dreamweaver-site

    Hello, could someone please help me?
    My animation, which is inserted into  a Dreamweaver-website, shows no pictures - only text elements when you open the page in the browser. In the live view and preview in the browser the images are displayed but on the Website they are not display. I have already set the file permissions to 777 - but it did not help.
    When i open the Animation without my Dreamweaver-site - only the Animation in the browser the Images are displayed correctly.

    I've just found the error! One file was not uploaded... sorry !  Anyway thanks for the quick reply!!!

  • After forward, relative paths images are not displayed

              Hi,
              I have two web archives (war1.war, war2.war) and a jar with
              common code (jar.jar). war1.war contains jsp1.jsp and
              servlet1.class, jar.jar contains common.class, and war2.war
              contains jsp2.jsp.
              The user brings up jsp1.jsp in a browser and clicks a button
              which invokes servlet1.class (via post). In turn, servlet1.class
              invokes method forwardTo(...) of the common.class which brings
              up jsp2.jsp in user's browser. In the forwardTo(...) method I am
              using the servletContext for war1.war to get a dispatcher on
              which I then apply forward.
              The problem that I am seeing is that the images (.gif) in
              jsp2.jsp are not displayed at all. They are defined in the jsp
              file using a relative path as img="images/img.gif". It is as if
              the web server gets confused and does not know that the images
              should be based in the war2 application and is looking for them
              in the war1 application.
              I do not want to store the absolute path in the definition of
              the image (i.e., img="war2/images/img.gif").
              I am using WLS6.0sp1. What could be wrong?
              Thanks,
              Vladimir
              

    maybe try this
              instead of
              img="images/img.gif"
              try
              img="<%=request.getContextPath()%>/images/img.gif"
              "Vladimir" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi,
              >
              > I have two web archives (war1.war, war2.war) and a jar with
              > common code (jar.jar). war1.war contains jsp1.jsp and
              > servlet1.class, jar.jar contains common.class, and war2.war
              > contains jsp2.jsp.
              >
              > The user brings up jsp1.jsp in a browser and clicks a button
              > which invokes servlet1.class (via post). In turn, servlet1.class
              > invokes method forwardTo(...) of the common.class which brings
              > up jsp2.jsp in user's browser. In the forwardTo(...) method I am
              > using the servletContext for war1.war to get a dispatcher on
              > which I then apply forward.
              >
              > The problem that I am seeing is that the images (.gif) in
              > jsp2.jsp are not displayed at all. They are defined in the jsp
              > file using a relative path as img="images/img.gif". It is as if
              > the web server gets confused and does not know that the images
              > should be based in the war2 application and is looking for them
              > in the war1 application.
              >
              > I do not want to store the absolute path in the definition of
              > the image (i.e., img="war2/images/img.gif").
              >
              > I am using WLS6.0sp1. What could be wrong?
              >
              > Thanks,
              > Vladimir
              >
              

  • OA_MEDIA images are not displayed after importing VO

    My requirement is to add a custom check box to MES Operator page. In the process I extended CO, VO successfully and the check box functionality is working fine. But we found out that some images (coming from $OA_MEDIA) are not displayed. There are two image columns in the page. Images in one column are displayed while images in other aren't. Also what I have observed is, missing images are displayed until I run the VO import on server.
    Any help would be appreciated.
    Thanks.

    Can anyone please help me with this issue?

  • Images are not displayed in Cp7/SCORM/HTML5

    Hello, everyone.
    I am a Japanese Captivate7 user.
    Captivate7 is a good authering tool for us.
    I am belonging to some projects and using this tool.
    In project-A, we are making a SCORM1.2/HTML5 content incuding 150 pages, many images, many advanced actions, 10 quizzes but not including videos, sounds. In this content, some of images are not dislpayed on the specified slide (Quiz No.6 or 7), refer to Fig.1.
    Note : no images in green line
    In this time, HTML data between server and client is funny, PNG images are recognized as txt/html in server side. Normally, I think an image is recognized as image/html in server side.
    Refer to Fig.2
    This is issued in only Safari (IOS7,6 and Safari5.1.7).
    Please help me ASAP.

    Dear Vikram,
    Thank you for your reply.
    >Are you working on Windows or MAC ?
    Windows8
    >Make sure you have CP 7.0.1 update installed.
    CP 7.0.1.237
    >Does this issue (Images not appering) occurs when you open the CP 7 published output ? (On your computer, not on SCORM 1.2) ?
    Yes.
    C:\Program Files\adobe\Adobe Captivate 7 x64\utils\opt\win\pgnquant.exe
      ”ファイル名または拡張子が長すぎます。” --> Translated by me  : "File name or Extension is too long."
    >As you mentioned iOS7, are you viewing your content on iPAD or on MAC computers ?
    IOS7
    Other information:
    Our sever is based on CentOS : 2.6.32-431.1.2.0.1.el6.x86_64
    Moodle 2.6+ is also installed.
    Best Regards,

  • Heirarchy values are not displaying correctly in report.

    Hi,
    I am having a heirarchy field in my report.
    I have 2 local RKF's in my report and 2 manadatory variables(which are FISCAL YEAR AND CAL MONTH).
    When i am executing the report , it is displaying the Heirarchy values with respect to one restricted KF.
    The heirarchy values correspoding to other RKF are not getting displayed properly, it is showing as (NOT Assigned).
    Its giving the correct values for the RKF's but not showing the  heirarchy values.
    I hided the 2nd RKF, then also its showing in the same way.
    Please help me on this,
    Thanks in advance!

    Hi, Saro,
    >
    I have taken a std. report to customize, and the name of the report is Asset Retirements from Fixed Asset module.
    From the existing base query, i have added some query to customize it.
    I have summed  the cost column in the report using summary column.
    For example, im passing a parameters which displays 5 lines in the report output. Im getting the cost value correctly in all the 5 lines, but when i tried to sum all the 5 lines, it is taking the first line of cost value and it is not summing the cost value of all the 5 lines in the report. I dont know why this problem occurs.
    Summary column should be place one level up of the query and set the following values under summary
    Function
    Source
    Reset As

Maybe you are looking for

  • Client side object model examples in sharepoint 2010

    Hi, I wanted to learn client side object model in share point 2010.Please provide some urls with examples. Regards, Praveen

  • How to make and build a dinamic web project

    hi people, i just downloaded the flex 2 beta 3, and installed this "separated" of the eclipse application, but my question is .. how i have to create a new dinamic project, that contains the Web-Inf folder and Meta-Inf folder..?? off course that i ha

  • Inbound Idoc error

    Hi , I am getting error in Inbound idoc as follows "CC. .EX.593 does not exist" when i go to BD 87 and process it says "order is not valid for making status changes ". can some one please guide how to solve this  error "CC. .EX.593 does not exist"? T

  • Can I make a LOB segment tablespace 'READ ONLY' so no backup?

    Greetings Environment: Oracle 11.2.0.3 on Solaris 10.5 LOB newbie here. I am currently supporting a database, but not the application, that is loading fairly large XML files into CLOB columns. Today I have 121 LOBSEGMENTs taking up about 1GB of space

  • Apple response time for an At&t unlock

    Hello. Talked to an At&t assistent about unlocking my iphone 4 (3-04-2012). I was told that it would take about 7-10 days to get an answer on my mail from apple but... still waiting... Already done a restore hopping that it was done... Got a Case ID,