Problem with pdf output of an internal table

Hi,
My requirement is to get the internal table out put to be displayed through pdf in a table form.
Internal table :  
     Matter       Matter Description -
> Table Head
     0011            Standard            -
> Table contents
     0022             Clerk
I want this to be displayed through pdf in same format.
I searched sdn and tried this way.
Please help if am wrong anywhere.
Thanks,
Sandeep
Edited by: SandeepReddy on Jun 9, 2010 9:13 AM

types:begin of ty_mara,
matnr type matnr,
end of ty_mara.
data i_mara type standard table of ty_mara.
data itab like line of i_mara.
DATA: v_handle LIKE sy-tabix,
v_spool_id type RSPOID,
v_rc TYPE c,
v_errmessage(100) TYPE c,
gd_spool_nr type RSPOID,
gd_bytecount type i,
v_text(70) TYPE c.
types ty_pdf type tline.
data it_pdf_output type standard table of ty_pdf.
data i_pdf like line of it_pdf_output.
gd_spool_nr = sy-spono.
SELECT matnr FROM mara INTO TABLE i_mara.
CALL FUNCTION 'RSPO_OPEN_SPOOLREQUEST'
EXPORTING
dest = 'LP01'
LIFETIME = '8'
IMPORTING
handle = v_handle
spoolid = gd_spool_nr
rc = v_rc
errmessage = v_errmessage.
LOOP AT i_mara into itab.
v_text = itab-matnr.
CALL FUNCTION 'RSPO_WRITE_SPOOLREQUEST'
EXPORTING
handle = v_handle
text = v_text
IMPORTING
rc = v_rc
errmessage = v_errmessage
EXCEPTIONS
handle_not_valid = 1
OTHERS = 2.
ENDLOOP.
CALL FUNCTION 'RSPO_CLOSE_SPOOLREQUEST'
EXPORTING
handle = v_handle
IMPORTING
rc = v_rc
errmessage = v_errmessage
EXCEPTIONS
handle_not_valid = 1
OTHERS = 2.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
LOOP AT it_pdf_output INTO i_pdf .
TRANSLATE i_pdf USING ' ~'.
CONCATENATE OUTPUT i_pdf INTO OUTPUT IN CHARACTER MODE.
ENDLOOP.
TRANSLATE OUTPUT USING '~ ' .
  app_type   = 'APPLICATION/PDF;'.
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
    EXPORTING
      text     = output
      mimetype = 'APPLICATION/PDF;'
    IMPORTING
      buffer   = l_xstring.
CONCATENATE cl_abap_char_utilities=>byte_order_mark_little
              l_xstring
         INTO l_xstring IN BYTE MODE.
  CONCATENATE 'attachment; filename=NIM2_matter_Summary_'
              sy-uzeit
              '.pdf'
         INTO l_content.
  CALL METHOD cl_bsp_utility=>download
    EXPORTING
      object_s            = l_xstring
      content_type        = app_type
      content_disposition = l_content
      response            = _m_response
      navigation          = _m_navigation
Edited by: SandeepReddy on Jun 9, 2010 10:30 AM

Similar Messages

  • Problem with PDF output quality

    We recently upgraded to CS4 Suite Design premium and i am having problems getting illustrator to print high quality output.  I have a file created in illustrator which contains 300dpi tiff images created in photoshop (CMYK colorspace in both photoshop image and illustrator file)  when i print this file to pdf everything looks hi-rez except these images.  i have attempted adjusting all the obvious settings in the print dialoge box including:  Output/Printer Resolution, Graphics/Postscript level, Advanced/overprint and transparency flattener options/custom settings.  and nothing has worked.  Other things i have noted, is that in the print dialog box the only presets listed are Custom, Default and Default Web/Video/Mobile.  I have looked through the online help files and found the info on how to add "High Quality Print" to my adobe pdf presets, however it doesn't work.  furthermore i have tried the instructions here: http://help.adobe.com/en_US/Illustrator/14.0/WSA79FA899-BC95-401e-BD44-5B26BC31B369.html  where it says to move the files from "Documents and Settings\All Users\Application Data\Adobe\Adobe PDF\Application Support\Adobe PDF"  however there is no folder called "Application Support" on my system.  I have run out of ideas.
    The odd thing here, is that i can take the AI file into photoshop, and print a "High Quality Print" from photoshop with no problems, but i'd like to remove this step to speed up my workflow.
    I've attached both the high-quality pdf output from photoshop and the low-quality pdf output from illustrator for reference. (look closely at the logo's)

    Figured it out myself! yay!  (only took my entire moring)
    The solution:
    Dont print to PDF!
    SAVE AS COPY, then select Adobe PDF and click SAVE, this will bring up a dialog box with the options you need (including the "High Quality Print" Adobe PDF Preset)
    This was not clear in any of the instructions i read

  • Once Again, Problems with PDF Output in 3.0

    Sorry that i write another thread to this topic. i think i ´ve read all other posts (and oracle documents from oracle) but i can´t find the answer to my problem
    there a two things i wondering about:
    first: What is the right port (and how can i prove it, which one is used?)
    Some write use 8888 , some use the listener Port 1521 ???
    second: after copying the fop directory, do i have to use
    oc4j -install ?
    Bonus Questions :-)
    I always get 0 length pdf documents. Is there a logfile, where i can look in?
    At my first try i put the 3 lines at the of the file application.xml, but i got an error
    now i use this :
    <library path="../../../j2ee/fop-0.20.5/build/fop.jar"/>
    <library path="../../../j2ee/fop-0.20.5/lib/batik.jar"/>
    <library path="../../../j2ee/fop-0.20.5/lib/avalon-framework-cvs-20020806.jar" />
    </orion-application>#
    Is this the right position?
    Thanks
    marco

    Hi Marco,
    First: What is the right port (and how can i prove it, which one is used?)In your OC4J configuration there will be a line which specifies which port should be used. To check which port it is try doing this -
    [jes@db j2ee]$ grep "port=" home/config/http-web-site.xml
    <web-site host="localhost" port="8888"
    <web-site port="8888" display-name="Oracle9iAS Containers for J2EE HTTP Web Site">
        <!-- <frontend host="your_host_name" port="80" /> -->I ran that command whilst in the j2ee directory, you can see the output I got (3 lines), so in my case it is running on port 8888 (the third line is actually commented out).
    To check if the port is actually listening, try this -
    [root@db root]# lsof -i:8888
    COMMAND  PID USER   FD   TYPE  DEVICE SIZE NODE NAME
    java    9047 root   14u  IPv4 5133190       TCP *:8888 (LISTEN)
    java    9048 root   14u  IPv4 5133190       TCP *:8888 (LISTEN)
    java    9049 root   14u  IPv4 5133190       TCP *:8888 (LISTEN)
    java    9050 root   14u  IPv4 5133190       TCP *:8888 (LISTEN)
    java    9051 root   14u  IPv4 5133190       TCP *:8888 (LISTEN)
    java    9052 root   14u  IPv4 5133190       TCP *:8888 (LISTEN)
    java    9053 root   14u  IPv4 5133190       TCP *:8888 (LISTEN)
    java    9054 root   14u  IPv4 5133190       TCP *:8888 (LISTEN)
    java    9055 root   14u  IPv4 5133190       TCP *:8888 (LISTEN)
    java    9057 root   14u  IPv4 5133190       TCP *:8888 (LISTEN)
    java    9058 root   14u  IPv4 5133190       TCP *:8888 (LISTEN)
    java    9060 root   14u  IPv4 5133190       TCP *:8888 (LISTEN)
    java    9061 root   14u  IPv4 5133190       TCP *:8888 (LISTEN)
    second: after copying the fop directory, do i have to use
    oc4j -install ?No, when you run OC4J it should automatically setup the files for you, you can start the OC4J container by doing this -
    [root@db home]# $ORACLE_HOME/jdk/bin/java -jar oc4j.jar
    07/03/29 07:05:43 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initializedYou can change the path to the java command to suit your own installation.
    Is this the right position?This is what my application.xml looks like -
    [root@db config]# more application.xml
    <?xml version="1.0" standalone="yes"?>
    <!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd">
    <!-- The global application config that is the parent of all the other
            applications in this server. -->
    <orion-application autocreate-tables="true" default-data-source="jdbc/OracleDS">
        <web-module id="defaultWebApp" path="../../home/default-web-app"/>
        <web-module id="dms0" path="../../home/applications/dms0.war"/>
        <web-module id="dms" path="../../home/applications/dms.war"/>
        <commit-coordinator>
            <commit-class class="com.evermind.server.OracleTwoPhaseCommitDriver"/>
            <property name="datasource" value="jdbc/OracleDS"/>
            <!-- Username and password are the optional properties
               replace with your commit_co-ordinator_super_user
                 <property name="username"
                                   value="system" />
                 <property name="password"
                                   value="->£$@£@£$!£" />
      -->
        </commit-coordinator>
        <persistence path="../persistence"/>
        <!-- Path to the libraries that are installed on this server.
         These will accesible for the servlets, EJBs etc -->
        <library path="../applib"/>
        <library path="../../../sqlj/lib"/>
        <library path="../../../rdbms/jlib/xsu12.jar"/>
        <library path="../../../lib/dsv2.jar"/>
        <!-- Path to the taglib directory that is shared
             among different applications. -->
        <library path="../jsp/lib/taglib"/>
        <!-- Comment out the jazn element to use principals.
        When both jazn and principals are present jazn is used  -->
        <!-- libraries below added for FOP support -->
    <library path="../../../j2ee/fop-0.20.5/build/fop.jar"/>
    <library path="../../../j2ee/fop-0.20.5/lib/batik.jar"/>
    <library path="../../../j2ee/fop-0.20.5/lib/avalon-framework-cvs-20020806.jar" />
    <!-- above libraries added for FOP support -->
        <principals path="./principals.xml"/>
        <log>
            <file path="../log/global-application.log"/>
        </log>
        <jazn provider="XML" location="./jazn-data.xml"/>
        <data-sources path="data-sources.xml"/>
        <connectors path="./oc4j-connectors.xml"/>
        <namespace-access>
            <read-access>
                <namespace-resource root="">
                    <security-role-mapping>
                        <group name="administrators"/>
                    </security-role-mapping>
                </namespace-resource>
            </read-access>
            <write-access>
                <namespace-resource root="">
                    <security-role-mapping>
                        <group name="administrators"/>
                    </security-role-mapping>
                </namespace-resource>
            </write-access>
        </namespace-access>
    </orion-application>Hope this helps
    John.

  • Problems with PDF output

    I created a journal page in Illustrator - which is a series of lines, some thicker than others.  They have been combined into a layout for a journal in InDesign.  All looks great and prints great from both programs.
    When I output to PDF I lose the integrity of my lines.  On screen they all look the same width (and they shouldn't), and when I print from the pdf, the thinner lines are completely gone.  I have tried various PDF settings and can't figure out what is causing the problem and why the pdf isn't looking exactly like the original.

    Are you printing with Adobe Acrobat? Other PDF software sometimes gives strange behavior, especially Preview.

  • Problem with PDF Output

    Hi all,i am new to Oracle Apps.Today i happen to show the PDF o/p from my form.I created the template and attached in the XML publisher responsibility.But,when i try to run the form i can't see the PDF o/p,instead i get the XML o/p.Can anyone kindly say me what might be wrong?
    FYI..
    x_request :=fnd_request.add_layout('appl_name','template_code','en','US','PDF');
    if x_request = false
    then
         fnd_message.set_string('appl_name' ||' unable to set layout options');
         fnd_message.show;
    else
         NULL;
    --  fnd_message.set_string('x_result=true');
    --  fnd_message.show;
    end if ;Thanks in advance!!

    HI,
    Check the Template registration Sequence and change it the output format to PDF or other wise while running the concurrent program there is a option to change the output format.
    Click the option button in the concurrent program window and change the format what u need
    Regards
    Srikkanth

  • Problem with Excel output format

    Hi Guys,
    I am creating a report in XML Publisher (not standalone). I am facing some problems could anyone please help me to figure out the issues.
    Is it possible to have all three output format (PDF, HTML & EXCEL) exact (same aligned) only by creating a single RTF Template? I am facing the problem with Excel output format the output format of excel is taking excels cell formatting.
    Example Numeric fields --> Right Aligned, text fields --> Left Aligned
    One more issue with excel is -ve(negative) values are getting displayed in red and in brackets like ($13) (with red color).
    Our client want excel output on priority.
    Is there any limitation for excel output format of reports?
    It is very urgent for us please help.
    Any help would be highly appreciated.
    Thanks,
    Pragati
    Edited by: user11237443 on Aug 27, 2009 1:22 AM

    Hi Mahi,
    Thanks for your response. But i could not understand how can we write wrapper program could you please give some light on this or provide some link it would be helpful for me:-)
    I have read that blog for excel limitations but i have more question?
    1) What about the negative values?
    if any field is displaying negative amount then excel not displaying right value for that:(
    2)How can we align header or data?
    Do XMLP with EBS provide any solution for formatting in excel?
    3) If for the alignment of numeric value we concatenate them with any special character then how can we perform calculation that field?
    Here are so many formatting issues do we need to write any code in xml for that?
    Please help.
    Many Thanks,
    Pragati

  • Report output list to internal table using submit report

    Hello,
    I have a report that generates the output in the form of an abap list. I want this data in an internal table for further processing. the report internally does not do a export data to memory so i cannot use import later on to get the data.
    i did the following
    SUBMIT <report name> exportING LIST TO MEMORY and return.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = itab_list
      EXCEPTIONS
        not_found  = 4
        OTHERS     = 8.
    CALL FUNCTION 'LIST_TO_ASCI'
      EXPORTING
        list_index         = -1
      TABLES
        listasci           = ascitab
        listobject         = itab_list
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2
        OTHERS             = 3.
    This returns the data in the ascitab, but the data contains additional unwanted info like lines and hyphens etc. Also the data is in a table with a single column, so pulling out individuals fields is again an issue. Is there a way to get this data into an internal table directly?
    best regards,
    Suraj

    hi suraj
    export the internal table  of report
    DATA: BEGIN OF SR_VBAK ,
          VBELN LIKE VBAK-VBELN,
          END OF SR_VBAK.
    DATA: IR_VBAK LIKE STANDARD TABLE OF SR_VBAK WITH HEADER LINE.
    EXPORT IR_VBAK TO MEMORY ID 'SALES'.
           SUBMIT <program name in which u want internal table records > AND RETURN.
    now import that data in submit program  .
    here u have to creat a internal table with same structure as the internal table from which u r trying to export the data
    DATA: BEGIN OF SR_VBAK,
          VBELN LIKE VBAK-VBELN,
          END OF SR_VBAK.
    DATA : IR_VBAK LIKE STANDARD TABLE OF SR_VBAK WITH HEADER LINE.
    IMPORT IR_VBAK FROM MEMORY ID 'SALES'.
    regards
    ANIL CHAUDHaRY

  • SUBMIT and RETUTN with ALV output into a interanl table.

    Hello Friends,
    I have one z program which returns ALV output.
    I have to create a one new Z program and in that I want to call this program and want the final output into an internal table into my Zreport.
    I used SUBMIT statement with RETURN but not working.
    can anybody tell me what I missed?
    or
    How can we do this.
    Thanks in advance.
    Suhas

    Hi Suhas,
    In Zreport1.
    Just open the first report program and assign internal table to some memory id like...
    EXPORT it_tab1 to MEMORY ID 'ZNITS'.
    In Zreport2.
    Now create an internal table with the same structure of it_tab1 and write the following in your program...
    SUBMIT Zreport1 WITH SELECTION-TABLE it_input
                                    AND RETURN.
    Note: it_input is of type rsparams and contains all selection parameters for *Zreport1*
    *   Import internal table content from memory id
        IMPORT it_tab1 TO it_tab2 FROM MEMORY ID 'ZNITS'.
        FREE MEMORY ID  'ZNITS'.
    Thanks
    Nitesh

  • How to Extract Data from the PDF file to an internal table.

    HI friends,
    How can i Extract data from a PDF file to an internal table....
    Thanks in Advance
    Shankar

    Shankar,
    Have a look at these threads:-
    extracting the data from pdf  file to internal table in abap
    Adobe Form (data extraction error)
    Chintan

  • Problem with PDF extract in a report

    Hi guys,
    We are facing a peculiar problem with PDF extract in a report. When we run a report and export PDF , all the records in the result set are populated in the PDF. however, if I navigate away from the report and return back to the same report, and click on export pdf (with the result set already populated) i get a blank PDF document without any records. If i run the report again and then export the PDF it works fine.
    Export excel works fine for all cases.
    I am assuming it has got something to do with the way the system handles the cache for PDF export.
    I also found that this occurs only when we have a value list filter with "none" set as default,and in this case, initially on opening  the report for the first time the query does not get executed automatically.
    Any help on this would be highly appreciated.
    Thanks and Regards,
    immanuel

    Hi Immanuel,
    Have you tried clearing the cache? My guess is, it is probably a defect.
    Regards,
    Vikram

  • Read MULTIPLE idocs data with all sgmn to my internal table in a single

    Dear SAP Folks!
    I have a question, I know to read SINGLE idoc data with all segments, we have FM IDOC_READ_COMPLETELY but my requirement is to Read MULTIPLE idocs data with all segments to my internal table in a single shot without keeping this FM in loop! since it is performance issue, at a time i may want to read 1000 idocs data!
    Could anyone please let me know is there any way to get this, keeping mind of performance and any other FM?
    Best Regards,
    Srini

    Hi,
    I know idoc numbers and i can write a select Query to DB table EDID4 to get all segments data to my internal table. But i am looking for FM to do this. because i have too many number of idocs and each idoc is having many segments(I am thinking in performance point of view!) The FM IDOC_READ_COMPLETELY can accept only ONE IDOC number as import parameters at a time to get segment data. in similar way do we have any other FM? or other way? except select query to EDID4 table?
    Best Regards,
    Srini

  • Problem with RTPExport output video files

    Hi, I have a problem with RTPExport output video files. One side streams H263/RTP(AVTransmit2.java) and other write this steam to a file by RTPExport.java. When network conditions are ideal, output video file has same fps and same number of frames like original file. Problem occures, when theres packet lost in network, then output file has different fps,and also has less frames like original video(because it didnt write missing frames to file, and thats why it get shorter). Pls how can I achieve output file that will have the same fps like original one? How to write to file an identical copy of what I can see while receiveing video with AVReceive2.java? Its there a way to modifi rtpexport or avreceiver to do this? Thanks a lot!

    Trubka wrote:
    When network conditions are ideal, output video file has same fps and same number of frames like original file. Problem occures, when theres packet lost in network, then output file has different fps,and also has less frames like original video(because it didnt write missing frames to file, and thats why it get shorter). Okay, first off, the second file is smaller on purpose. RTP intentionally drops packets that are old/out of order in order to make sure real-time video stays as close to real time as it can. This is by design, so there's really nothing that can be done about it.
    How to write to file an identical copy of what I can see while receiveing video with AVReceive2.java? Technically speaking, what you're getting in the RTPExport is exactly what you got on the receiving end. Any frames that are dropped during transmission will not be seen by the receiver, nor saved by the receiver.
    Pls how can I achieve output file that will have the same fps like original one? I'm not 100% sure that you can, but, you can give the following idea a try. I make no guarentees that it'll work, but it should work for you...
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/RTPConnector.html]
    That example is an example of a "custom transport layer" for RTP connections. Essentially, it's some code that's handed the RTP packets on the transmission end, and it's expected to deliver those RTP packets on the other end. And it doesn't care about how they get from A to B, only that they do.
    If you were to replace the UDP socket in that example with a TCP socket, you would be guarenteed not to drop packets due to network reasons. Every RTP packet you were handed by the transmitter, you would then hand to the receiver. There is no guarentee that none of the packets would be cast away as "old" by the RTP protocol itself, but there's also no guarentee any of them would be. It's a crap-shoot at best, but it's certainly worth a try.

  • Printing Problems with PDF - Adobe Acrobat

    Printer - HP Deskjet 3070A
    Laptop - Asus Zenbook running Windows 7 Home Premium
    Issue: Printing problems with PDF (Adobe Acrobat Reader)
    Dear All,
    Please help!
    My printer was working absolutely perfectly until my brother in law recently needed to borrow my printer. He plugged in his laptop running Windows 8 (awful thing that is). Since he did this to print his own PDF, I cannot print mine.
    Although all the text will appear on the page perfectly both in the document view and on actual printing, it appears that some of the transparent formatting stuff on a PDF - such as boxes you have to fill in and transparent areas (such as you find on glorious tax forms) are omitted completely. In fact, in their place I was getting a single black dot. Now, after uninstalling and re-installing updates for the printer, windows 7, adobe acrobat reader, etc.etc. I get squat. Just all the text laid out but none of the shading or boxes.
    I have tried fiddling with the printer settings; the  print as 'photo' option, dpi settings, greyscale - as much as I can think of and I am thoroughly stumped.
    In a desperate attempt, I even installed the Universal Printer Drivers - thinking it might have been that. No. All I got was a page of gobbledygook. Consequently, I uninstalled and reinstalled the normal drivers again.
    If there are any wonderful people out there with any fabulous ideas about how I can get my shading and boxes back; I'd  very much appreciate it. Sadly I have a tax return to fill out (which is already fabulously late) and need my printer to work!
    Much appreciation in advance x

    Hey there @Reverie!
    Thanks for posting on the HP Forums!
    I can see that the printer is no longer printing in the correct format after it was plugged into the Windows 8 computer!  You mentioned you have run the updates and uninstalled/re-installed the printer software.  Have you uninstalled and re-installed the Adobe software? Are you getting the same issue from other programs as well? Are you getting the same issues if you are logged in as a different user on the computer? 
    I have located the HP Update Software Utility that may be able to help.  You can download an run the utility.  It may be able to locate any other updates for the printer.
    I would also recommend running a disk cleanup on the computer to clear any temporary files and junk files that may be causing some performance or software issues. If you do not know how to run a disk cleanup on the computer please follow this document regarding Delete files using Disk Cleanup.  It is recommended to restart the computer after a disk cleanup. After the restart try the print job again!
    Let me know if that helped and thanks again for posting on the HP Forums!
    Cbert
    I work on behalf of HP.
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" at the bottom of this post to say “Thanks” for helping!

  • Problems with Click a row in the Table

    Dear All,
    I am new to Java GUI. I got some problems with clicking the row in a table.
    My table allows the user to delete some rows fromt the table. When the user click a row or some rows in my table, the delete button should be enabled. It does work in most of the time. But sometimes, even the row being hight lighted, the button is still not enabled.
    Do you have any idea for what can cause this problem?
    What I did is :
    1. add a mouse listener to the table
    _userTable.addMouseListener(new java.awt.event.MouseAdapter()
    public void mouseClicked(MouseEvent e)
    userList_mouseClicked(e);
    2. then, if the row being selected is > 0, I will enable my delete button.
    Can anybody help?
    Thanks!

    Dear All,
    I am getting problems with single selection in a table. Although I have set the selection model to single, if I select a row int the table and then depress Ctrl/Shift multiple rows are selected.
    The code for set single selection is :
    ListSelectionModel seleModel = myTable.getSelectionModel();
    seleModel.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    Any idea about this? Is this a bug in JAVA?
    Thanks!

  • Create an internal table with the rows of another internal table.

    Hi I want to know if posible to create an internal table structure with the  rows of another internal table?
    ex.
    If in i_tab column A has this values: row 1 = first, row 2 = second, row 3 = third.
    Now I want that the structure of my internal table be: first, second, third

    Hi,
    If you do this way then what will be the difference between the two table anyway?? First internal table has the same structure irrespective of which row you select. and you are going to store the data from each row to the rows of the second internal table. In that case, the structure of the internal table is the same as first table. and it would have same rows.
    Am I missing something here? or you want to declare the internal table with each field being the structure of the first table? In this case you'd have to do a dynamic declaration of data as the first table can have any no of rows then the second table would have any no of fields in the structure.
    Now if you know that your first internal table is going to have a fixed no of rows eg 3 rows then it becomes simple. Do the following then
    Data: begin of second_table occurs 0,
    first type <first_table type>,
    second type <first_table type>,
    third type <first_table type>,
    end of second_table.
    Regards
    Prasenjit

Maybe you are looking for

  • NEW Macbook user - problems with Flashdrive USB file transfer

    Hi, I hope someone can help me. I am a new Mac user, I have just started with a macbook and the latest Leopard software. I have a problem in that I save my Word docs (created or worked on with Office for Mac) on a flashdrive/USB pen and then take the

  • Time synchronisation fails on a cFP-2020

    Hi all, I am having problems with time synchronisation on my cFP-2020. Whenever I restart the FP, the time gets updated from the specified "server", a laptop running the control vi that communicates with the autonomuous  vi that runs the cFP. But the

  • H.263 vs h.264

    does h.263 provide better compression than h.264? also, why does a .flv file exported as h.264 (all things being equal) result in larger file?

  • Repository XSD in MDM 7.1

    Hi All, I need to genarate XSD for my one of repository in MDM 7.1.Did all the Configuration Required as explained in Blog and the Video. http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c065c565-60a4-2c10-8d95-af250ca89478 http://www.sdn.sap.c

  • Various credentials in ssas project metadata

    Hi.  We run 2008 R2.   In simple terms, can the community explain the purposes/differences amongst the following?... 1) connection string u see on general tab when opening datasource (maybe permissions to read star/source engine tables?) 2) impersona