How to upload images in to custom table and display them in normal ABAP report?

Hi Experts,
Can anyone suggest me ,how to upload images into customised table and display thoes images in normal abap report.
Thanks in Advance,
Rgds,
Anusha

Hi Experts,
Can anyone suggest me ,how to upload images into customised table and display thoes images in normal abap report.
Thanks in Advance,
Rgds,
Anusha

Similar Messages

  • How to join  fields from different internal tables and display into one int

    hai i have one doubt...
    how to join  fields from different internal tables and display into one internal table..
    if anybody know the ans for this qus tell me......

    hii
    you can read data as per condition and then can join in one internal table using READ and APPEND statement..refer to following code.
    SELECT bwkey                         " Valuation Area
             bukrs                         " Company Code
        FROM t001k
        INTO TABLE i_t001k
       WHERE bukrs IN s_bukrs.
      IF sy-subrc EQ 0.
        SELECT bwkey                       " Valuation Area
               werks                       " Plant
          FROM t001w
          INTO TABLE i_t001w
           FOR ALL ENTRIES IN i_t001k
         WHERE bwkey = i_t001k-bwkey
           AND werks IN s_werks.
        IF sy-subrc EQ 0.
          LOOP AT i_output INTO wa_output.
            READ TABLE i_t001w INTO wa_t001w WITH KEY werks = wa_output-werks.
            READ TABLE i_t001k INTO wa_t001k WITH KEY bwkey = wa_t001w-bwkey.
            wa_output-bukrs = wa_t001k-bukrs.
            MODIFY i_output FROM wa_output.
            CLEAR wa_output.
          ENDLOOP.                         " LOOP AT i_output
        ENDIF.                             " IF sy-subrc EQ 0
    regards
    twinkal

  • How to upload data in a custom table in quality server

    Hi All,
    I want to upload data in custom table in quality server.
    I forgot to tranfer TMG into QA. I also don't send any upload program to QA.
    Is there any way to upload data directly to table in quality server i.e. by use of debugging.
    Regards,
    Narendra

    Hi Narendra,
    As suggested by Jorge you can create data through T-code SM30 (for this you need to have table maintainence generator in development) and get it tranported to Quality and production and maintain the data through it or else to can create a request for data creation through SM30 in development and get it transported to quality and production.
    Thanks,
    Chinmay

  • How to track changes in a custom table and based on that run an interface

    I have an interface. The pre-condition for running the interface is "Run the interface only if there is new entry added to the table( a custom table). Now I have created a change document object using tcode SCDO for the custom table. Now how do i proceed further. Please tell me the steps which i need to follow to check if the custom table has been changed and also the entries changed  before running the interface.

    Hello,
    SAP has provided many changes tracking related programs for Sales order, Vendor changes etc.
    They all use the standard function Module
      call function 'CHANGEDOCUMENT_READ_HEADERS'
    call function 'CHANGEDOCUMENT_READ_POSITIONS'
    so with these you can get the changed records
    Let me know if this helps you
    Thanks and Regards
    Pushkar Joshi

  • How use PHP to read image files from a folder and display them in Flex 3 tilelist.

    Hello. I need help on displaying images from a folder dynamically using PHP and display it on FLEX 3 TileList. Im currently able to read the image files from the folder but i don't know how to display them in the TileList. This is my current code
    PHP :
    PHP Code:
    <?php
    //Open images directory
    $imglist = '';
    $dir = dir("C:\Documents and Settings\april09mpsip\My Documents\Flex Builder 3\PHPTEST\src\Assets\images");
    //List files in images directory
    while (($file = $dir->read()) !== false)
    if (eregi("gif", $file) || eregi("jpg", $file) || eregi("png", $file))
    echo "filename: " . $file . "\n";
    $dir->close();
    ?>
    FLEX 3 :
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="pic.send();">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.FaultEvent;
    import mx.events.ItemClickEvent;
    import mx.rpc.events.ResultEvent;
    public var image:Object;
    private function resultHandler(event:ResultEvent):void
    image = (event.result);
    ta1.text = String(event.result);
    private function faultHandler(event:FaultEvent):void
    ta1.text = "Fault Response from HTTPService call:\n ";
    ]]>
    </mx:Script>
    <mx:TileList x="31" y="22" initialize="init();" dataProvider = "{image}" width="630" height="149"/>
    <mx:String id="phpPicture">http://localhost/php/Picture.php</mx:String>
    <mx:HTTPService id="pic" url="{phpPicture}" method="POST"
    result="{resultHandler(event)}" fault="{faultHandler(event)}"/>
    <mx:TextArea x="136" y="325" width="182" height="221" id="ta1" editable="false"/>
    <mx:Label x="136" y="297" text="List of files in the folder" width="182" height="20" fontWeight="bold" fontSize="13"/>
    </mx:Application>
    Thanks. Need help as soon as possbile. URGENT.

    i have made some changes, in the php part too, and following is the resulting code( i tried it, and found that it works.):
    PHP Code:
    <?php
    echo '<?xml version="1.0" encoding="utf-8"?>';
    ?>
    <root>
    <images>
    <?php
    //Open images directory
    $dir = dir("images");
    //List files in images directory
    while (($file = $dir->read()) !== false)
    if (eregi("gif", $file) || eregi("jpg", $file) || eregi("png", $file))
    echo "<image>" . $file . "</image>"; // i expect you to use the relative path in $dir, not C:\..........
    //$dir->close();
    ?>
    </images>
    </root>
    Flex Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute"
    creationComplete="callPHP();">
    <mx:Script>
    <![CDATA[
    import mx.rpc.http.HTTPService;
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.FaultEvent;
    import mx.events.ItemClickEvent;
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    [Bindable]
    private var arr:ArrayCollection = new ArrayCollection();
    private function callPHP():void
    var hs:HTTPService = new HTTPService();
    hs.url = 'Picture.php';
    hs.addEventListener( ResultEvent.RESULT, resultHandler );
    hs.addEventListener( FaultEvent.FAULT, faultHandler )
    hs.send();
    private function resultHandler( event:ResultEvent ):void
    arr = event.result.root.images.image as ArrayCollection;
    private function faultHandler( event:FaultEvent ):void
    Alert.show( "Fault Response from HTTPService call:\n " );
    ]]>
    </mx:Script>
    <mx:TileList id="tilelist"
    dataProvider="{arr}">
    <mx:itemRenderer>
    <mx:Component>
    <mx:Image source="images/{data}" />
    </mx:Component>
    </mx:itemRenderer>
    </mx:TileList>
    </mx:Application>

  • How to sort data in PL/SQL table and print them in Order?

    Hi Guys
    I wan to create a csv file layout as below, maximum we got 12 weeks sales figure for each item. Week is week of the year, it will different every time based on sales_date.
    Item Number     Description     Sales Week      27 26 25 24 23 22 21 20..
    1234          Sample                10     6     2     8     10          
    1230          Test                50     60     2      10          
    I got item number, description, week_no and sales in a temp table which is populated by a procedure. Now I need to write these records from table to a file.
    I not sure how to store multiple records for each item in PL/SQL table, sort them and print them in above format.
    My select statement is as below
    select item_number,
    description,
    week_no,
    year,
    opening_stock_qty,
    production_qty,
    sales_qty,
    creation_date,
    (production_qty - sales_qty) net_qty
    from xxsu_planning_report
    order by item_number,year,week_no;
    Any help will be much appreciated.
    Thanks and regards
    VJ

    Above error occured because you are trying to concatenate dbms output with some other string, which is not allowed.
    Declare
    TYPE plan_type IS TABLE OF xxsu_planning_report%ROWTYPE
    INDEX BY BINARY_INTEGER;
    plan_table plan_type;
    BEGIN
    plan_table(1).week_no := 24;
    plan_table(1).description := 'This is week 24';
    plan_table(2).week_no := 21;
    plan_table(2).description := 'This is week 21';
    for i IN 1..2 loop
    dbms_output.put_line(plan_table(i).week_no) || ' ' || plan_table(i).description);
    end loop;
    END;From your code, I didnt understood what you want to do. Using Associative Array would be wrong approach in this case.
    As per your scenario, you have to store max 12 records for each item number.
    create or replace type dailySales as object(Description varchar2(100), Sales number,  Week number);
    create or replace type saletab as table of dailySales;
    create table t_sales (p_item number, p_sales saletab);
    insert into t_sales values
    (p_item, ---------enter value for item number 1
    saletab(dailySales($n1,$n2,$n3)), ---------enter value for sales record for week 1
    saletab(dailySales($n1,$n2,$n3)), ---------enter value for sales record for week 2
    saletab(dailySales($n1,$n2,$n3)), ---------enter value for sales record for week 3
    saletab(dailySales($n1,$n2,$n3)), ---------enter value for sales record for week 4
    saletab(dailySales($n1,$n2,$n3)), ---------enter value for sales record for week 5
    saletab(dailySales($n1,$n2,$n3)), ---------enter value for sales record for week 6
    saletab(dailySales($n1,$n2,$n3)), ---------enter value for sales record for week 7
    saletab(dailySales($n1,$n2,$n3)), ---------enter value for sales record for week 8
    saletab(dailySales($n1,$n2,$n3)), ---------enter value for sales record for week 9
    saletab(dailySales($n1,$n2,$n3)), ---------enter value for sales record for week 10
    saletab(dailySales($n1,$n2,$n3)), ---------enter value for sales record for week 11
    saletab(dailySales($n1,$n2,$n3)) ---------enter value for sales record for week 12
    Enter 0 if no sales exist for any week. Because NULL would throw an exception.
    Execute the SQL query to check the output.Try this and let me know if any fyrther issues.

  • How to read images from local hard disk and display in tile layout

    Dear Folks,
    I have 100 images in a folder @ local hard disk (E drive).
    I would like to display them in Tile view of 3X3.
    I have options (Radio buttons) to chnage the layout at runtime to 4X4 , 5#5 and 6X6.
    Also when the change in layout happens, I wanted to make use of backgroudLoading of image view so that user do not want to wait till the entire tile loads.
    How do I achive this requiremet?
    Sample code if any of great help. Thanks in advance.
    Edited by: JavaFX_Duo on Jul 9, 2009 12:02 PM

    1. So I would like to know which is the {color:#3366ff}best way to load local images in ImageView{color}.I'm no expert, but is there a reason that you are using Swing to do the loading?
    2. secondly, currently the system displays all images only after the completion of creating all images. {color:#3366ff}How to display images as and when they are created.{color} So that the user has a feeling that the images are loading.JavaFX Image class let you display a lightweight placeholder, and you can bind the progress to some kind of visual indicator. I don't think you can display an image that is partially loaded.
    def PATHS: String[] = [
        "C://Ariel Atom//ariel-atom-1.jpg",
        "C://Ariel Atom//ariel-atom-2.jpg",
        "C://Ariel Atom//ariel-atom-3.jpg",
        "C://Ariel Atom//ariel-atom-5.jpg"
    function getImage(path: String): Image {
        Image {
            url: "file:///{path}"
            backgroundLoading: true
    Stage {
        title: "Image Tiles"
        width: 1024
        height: 800
        scene: Scene {
            content: [
                Tile {
                    columns: 2
                    tileWidth: 400
                    tileHeight: 400
                    content: for (i in [0..3]) {
                        ImageView {
                            image: getImage(PATHS)

  • How to upload images to server using flex and blazeDS

    Hi All,
         Could you some help me, regarding uploading two images while click on the upload button. i am have two browse buttons and two upload buttons. i am able to select the image, while click on the browse button. but i am unable to upload the image, while click on the upload button. like this, i have to do in my application.
    if some help me i will appreciate , its very urgent.
    Thanks
    venkat

    When uploading a file, I use a byte array as a temporary buffer..
    So, you should then be able to store the byte array in the
    database as binary data.
    example>
    //Temporary Buffer To Store File
    byte[] tmpbuffer = new byte[860];
    //Some Code To Upload File...
    //File Should Now Be In Byte Array
    //Get DB Connection and execute Prepared Statement
    Connection con=//GET DB CONNECTION;
    String sql=insert into TABLE(page) values(?);
    PreparedStatement ps=con.prepareStatement(sql);
    ps.setBytes(1,tempbuffer);
    ps.executeUpdate();
    //Close PS and Free DB Connection
    ..... and this method looks like you dont even have
    to store the file in a byte array, you can just give
    it the input stream.
    ps.setBinaryStream(int, inputStream, int);
    You may have to make several attempts at this. I have
    uploaded a file and temporarily stored it in a byte array,
    but have never from there stored it in the DB as binary
    data.. but this looks like it'll work.
    Good Luck!

  • How to upload Images to azure media services and show the image on on click on Link?

    Hi,
    I want to upload the image to the Azure media service asset and show the Link on the page. When use clicks on the Link I want to show it user. How can I implement this with C#? Now I am uploading the image to asset as in the normal way and getting the URL
    for that. But I am not able to show it user when he click on the image link.
    Thanks,
    Pavankuamr H K

    HI
    Azure media services has a RESTful service and a C# SDK that you can use to interact with the Azure Media Services.
    Here is the documentation and sample code for calling the Media services and using the SDK:
    https://msdn.microsoft.com/en-us/library/dn735908.aspx?f=255&MSPPError=-2147217396
    Aram Koukia | Blog: koukia.ca | Twitter:
    @aramkoukia

  • How to load PDF files into oracle database and display them in APEX

    Hi All,
    We have a requirement for loading the Loading PDF files (lots of PDf files) to the oracle database and then display the PDF files in the Oracel APEX report.
    So that User can view the PDF files. Our current APEX verison is 3.2..
    Please let me know how to implement it and where to find the sample application!
    Thanks in advanced!
    Jane

    Thanks Tony for your quick response!
    We need to load a lot of PDfs (history + current).
    I have a questions about the SQL loader. I am trying to insert a pdf file into a table by following the oracle loading sample:
    http://download.oracle.com/docs/cd/B10501_01/text.920/a96518/aload.htm
    Example Data File: loader2.dat
    This file contains the data to be loaded into each row of the table, articles_formatted.
    Each line contains a comma separated list of the fields to be loaded in articles_formatted. The last field of every line names the file to be loaded in to the text column:
    Ben Kanobi, plaintext,Kawasaki news article,../sample_docs/kawasaki.txt,
    But i don't know to where should I put my pdf file on the server.
    for example:
    ,../sample_docs/kawasaki.txt,
    Where is the file 'kawasaki.txt'??
    I try my local path, it didn't work. like c:\temp.
    then I loaded teh PDf file into our server(/findev20/olmtest/orafin/11.5.7/olmtestcomn/temp) , and In my data file. I put the path
    1, pdf_emp1,../findev20/olmtest/orafin/11.5.7/olmtestcomn/temp
    but I got the error: the system can not find the file specified.
    Where should I put the PDf files on the server and how to specify the path in the data file?
    Thanks!
    Jane

  • Comparing records in tables and displaying them

    Hi,
    I have 2 sets of data as follows:
    Set 1
    AcctName |EffDt |     ExpDt|     BalAmt|     Status|
    ABC|     1-Jan-11|     31-Dec-11|     47500|     Active|
    DEF|     5-Jul-11|     4-Jul-12|     46204|     Active|
    GHZ|     5-Feb-11|     4-Feb-12|     43251|     Active|
    Set 2
    AcctName | EffDt | ExpDt| BalAmt | Status|
    ABC | 2 Jan 2010 | 1 Jan 2011 | 47500 | Exp|
    XYZ | 5 Dec 2010 | 3 Dec 2011 | 46564 | Exp|
    ABC | 11 Nov 2010| 10 Nov 2011 | 40142 | Exp|
    I want to compare the set 2 data with set 1 data.
    I need to get an output such that:
    if there exists an Acct with same name and the ExpDt is equal to the Effdt then, the output should be the union of set 1 and set 2 and should not contain the that matching acct from set 2 since there exists a nonzero balanced latest Acct -
    AcctName| EffDt | ExpDt | BalAmt | Status|
    ABC | 1 Jan 2011 | 31 Dec 2011 | 47500 | Act|
    DEF | 5 Jul 2011 | 4 Jul 2012 | 46204 | Act|
    XYZ | 5 Dec 2010 | 3 Dec 2011 | 46564 | Exp|
    GHZ | 5 Feb 2011 | 4 Feb 2012 | 43251 | Act |
    ABC | 11 Nov 2010 | 10 Nov 2011 | 40142 | Exp|
    Can you please help me in comparing these sets and get the desired output?
    Note: Column Names
    AcctName -> Account Name
    EffDt -> Effective Date
    ExpDt -> Expiry Date
    BalAmt -> Balance Amount
    Thanks & Regards,
    869467

    Thanks for the reply.
    Please find the scripts for table creation & insertions below-
    create table set1(AcctName VARCHAR2(50), EffDt DATE, ExpDt DATE, BalAmt NUMBER(10), Status VARCHAR2(10));
    insert into set1 values('ABC','1 Jan 2011','31 Dec 2011',47500,'Active');
    insert into set1 values('DEF','5 Jul 2011','4 Jul 2012',46204,'Active');
    insert into set1 values('GHZ','5 Feb 2011','4 Feb 2012',43251,'Active');
    create table set2(AcctName VARCHAR2(50), EffDt DATE, ExpDt DATE, BalAmt NUMBER(10), Status VARCHAR2(10));
    insert into set2 values('ABC','2 Jan 2010','31 Dec 2011',47500,'Active');
    insert into set2 values('XYZ','5 Dec 2010','4 Dec 2011',46564,'Active');
    insert into set2 values('ABC','11 Nov 2010','10 Nov 2011',40142,'Active');
    Yes I need the output in almost the same way.
    The output should not contain those accts records from set 2 where there exists a record for it in set1 on the expiry date of that acct.
    Thanks & Regards,
    869467

  • How do I retrieve all data from a table and display it on a text area?

    I want to retrieve all the data from one of my MS Access data table and display them all in a text area. how do i go among doing this?
    In my car table i have the fields lined up like this..
    license,color,doors and year_made
    I have an Object class called CAR that will contain methods to set the data from these fields when it gets retrieved.
    here's what i go so far.....
    statement = getDBConnection().createStatement();
         rs = statement.executeQuery("select * from car");
         boolean moreRS = rs.next();
    if(moreRS)
    car.setLicense(rs.getLong(1));
         car.setColor(rs.getString(2));
         car.setDoors(rs.getString(3));
    car.setYearMade(rs.getString(4));
    //but this will only get me one car. How do I get more car data?
    HELP!!

    Vector cars = new Vector();
    while (rs.next()) {
      String license = rs.getLong(1);
      String color = rs.getLong(2);
      String doors = rs.getLong(3);
      String year = rs.getLong(4);
      myTextArea.append(license+"\t"+color+"\t"+doors+"\t"+year+"\n");
      Car car = new Car();
      car.setLicense(license);
      car.setColor(color);
      car.setDoors(doors);
      car.setYearMade(year);
      cars.add(car);
    }t=tab
    n=newline
    Vector: http://java.sun.com/j2se/1.4.1/docs/api/java/util/Vector.html

  • How to upload Images in Forms 6i

    Dear all,
    How to upload images in Forms 6i and save it in database. Please anyone help me with example.
    Thanking you
    Shekhar

    why do you need an active/X for this?
    Can't you just create 2 default blocks on dept and on emp.
    Use the relationship wizard to define the relation. and set the number of records displayed for the emp block to 10?
    This will give you all you need with no hussle.

  • How to upload images on hard drive to iPad?

    how to upload images on hard drive to iPad?

    You can import them into iTunes then use that to get them onto your iPad.
    You can download the iCloud control panel and use photo stream to get the photos onto your iPad
    You can e-mail them to yourself and them save them from that e-mail
    You can upload them to something like dropbox and then download them onto your pad from there.

  • How to upload image files in sqlserver from jsp

    hi friends,
    i want to upload images to sqlserver how will i store url of the image or dorectly store the file in binary format, if we store in related path,plese give some ideas on store that paths in data base and how we store that image files in user directories.
    bye

    hi jay , I know that concept , but i dont know how to upload image files to server Please help me
    here i am giving my problem
    If any user register with site, he has the option to upload his image to the site, so i am using in html file upload option, But i dont know how to store that iamge into the server
    please give me suggestion
    regards
    sudhakar

Maybe you are looking for