Extracting Data from Archived data files in R/3

Hi Experts,
I have a situation here!!!
I want to extract data from R/3 for BW. In R/3 system, data is present in archived files (which are not in readable format). In R/3 system, the report definitions are ABAP codes which give output. These ABAP codes uses same infostructure, archived files are also same, but the logic is different for every report. I am trying to modify these ABAP codes to get data in a format which can be loaded in BW, but then i have to make different cubes for different report outputs in BW.
Is there any way in which i can read the structure of these archived files so that i can design a single cube to store data of these files?

Hi Arindam,
It is possible to extract archieved data from R/3. Following link contains the 'How to' guide for the same.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0ded994-c520-2a10-9da7-bc92c9e9882d
Hope this will be helpful. Thanks.
Sumit

Similar Messages

  • How to extract text from a PDF file?

    Hello Suners,
    i need to know how to extract text from a pdf file?
    does anyone know what is the character encoding in pdf file, when i use an input stream to read the file it gives encrypted characters not the original text in the file.
    is there any procedures i should do while reading a pdf file,
    File f=new File("D:/File.pdf");
                   FileReader fr=new FileReader(f);
                   BufferedReader br=new BufferedReader(fr);
                   String s=br.readLine();any help will be deeply appreciated.

    jverd wrote:
    First, you set i once, and then loop without ever changing it. So your loop body will execute either 0 times or infinitely many times, writing the same byte every time. Actually, maybe it'll execute once and then throw an ArrayIndexOutOfBoundsException. That's basic java looping, and you're going to need a firm grip on that before you try to do anything as advanced as PDF reading. the case.oops you are absolutely right that was a silly mistake to forget that,
    Second, what do the docs for getPageContent say? Do they say that it simply gives you the text on the page as if the thing were a simple text doc? I'd be surprised if that's the case.getPageContent return array of bytes so the question will be:
    how to get text from this array? i was thinking of :
        private void jButton1_actionPerformed(ActionEvent e) {
            PdfReader read;
            StringBuffer buff=new StringBuffer();
            try {
                read = new PdfReader("d:/getjobid2727.pdf");
                read.getMetaData();
                byte[] data=read.getPageContent(1);
                int i=0;
                while(i>-1){ 
                    buff.append(data);
    i++;
    String str=buff.toString();
    FileOutputStream fos = new FileOutputStream("D:/test.txt");
    Writer out = new OutputStreamWriter(fos, "UTF8");
    out.write(str);
    out.close();
    read.close();
    } catch (Exception f) {
    f.printStackTrace();
    "D:/test.txt"  hasn't been created!! when i ran the program,
    is my steps right?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Extract hierarchy from a flat file

    Hello,
    I’m trying to extract hierarchy from a flat file.
    The hierarchy is built from 3 different infoObjects each infoObject represent different level in the hierarchy. I built the hierarchy in the last level of the hierarchy and put all the levels as external chars in the hierarchy.
    (I used the blog: Hierarchy Upload from Flat files: /people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files )
    When I extract the data into the PSA it looks fine but when I choose to  update the PSA data into the infoObject  the request stays yellow. Three is no dump and I cant find the job in SM50.
    Please Advice,
    David

    Hi David,
    Thats the problem with using PSA for flatfile hierarchy loads. If you can change the transfer method to "IDOC" then change and retry the load. The IDoc method gives you an advantrage when dealing with flatfiles as you can debug and notice which record # has errors.
    Bye
    Dinesh

  • How to extract text from a PDF file using php?

    How to extract text from a PDF file using php?
    thanks
    fabio

    > Do you know of any other way this can be done?
    There are many ways. But this out of scope of this forum. You can try this forum: http://forum.planetpdf.com/

  • We want to extract mailboxes from exchange bkf file?

    We want to extract mailboxes from exchange bkf file? It there any manual method to get back mailboxes from bkf? Please suggest. It's urgent!
    Don't recommend me any third party software, please!

    Hi , 
    Then you could use the recovery storage group feature in exchange 2007 to extract the items from the restored backup for the selected mailboxes .
    Rererence link : http://www.msexchange.org/articles-tutorials/exchange-server-2007/high-availability-recovery/Working-Recovery-Storage-Groups-Exchange-2007.html
    Thanks & Regards S.Nithyanandham

  • How to eliminate special characters that appear in extracted data files

    Dear all,
    I need your help please,
    I have data files that are extracted via programs from a database db1. Those datafiles appear to have special character in the last record, so the last record in the datafile is entered in the database db2 via sql loader import and it appears in the table as a special character like a square.
    What could I do in the control file to skip the last record in the datafile that contains this special character?
    regards

    is it last row in the file or last field in each row (record)?
    *1. if last field in each row* then it looks like you are running import on unix box and it's dos file. Unix file have end-of-line LF, dos have CRLF
    a. in sql loader add the records terminator to INFILE clause http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/ldr_concepts.htm#sthref718 it's been I while since I used SQL Loader, I believe it would look like this
    INFILE '/myfile.csv' "str '\r\n'"
    b. in external table (this is not your case and you can ignore this comment) you can use RECORDS DELIMITED BY clause like this RECORDS DELIMITED BY '\r\n'
    *2. if it is very last row* in the file, then you can use WHEN clause to filter that row
    a. SQLLDR http://www.orafaq.com/wiki/SQL*Loader_FAQ#Can_one_selectively_load_only_the_records_that_one_needs.3F
    b. external table uses LOAD WHEN clause http://jiri.wordpress.com/2009/03/09/oracle-external-tables-by-examples-%E2%80%A6-part-2-reading-file-with-header-and-footer/

  • Figuring out how to extract images from a PDF file

    Hi,
    I'm trying to write a small app that extracts all images from a PDF file. I already wrote a nice parser and it works good but the only problem is that I can't quite figure out from the reference how to decode all images in a PDF file to normal files such as tiffs, jpegs, bmps etc. For now I'm focusing on XObject images and not dealing with inline images.
    From what I understand so far just by trying and looking at open sources I figured that if I see a XObject Image with a DCTDecode filter, taking the stream data without doing anything to it and saving it as a jpeg file works. But doing the same to FlateDecoded streams or CCITTFax didn't work.
    What is the right way to properly extract the images?

    In general you have to
    * decode the stream
    * extract the pixel data
    * use ColorSpace, BitsPerComponent, Decode and Width to unpack pixel
    values
    * reconstruct an image file format according to its specification
    There are no other shortcuts. The DCTDecode shortcut (which doesn't
    work for CMYK JPEG files) is just a piece of fantastic good luck.
    Aandi Inston

  • About Extract Information from a Indd File

    Hi!
    I need to extract meta information and a little preview from a indd file and others like Quark, i thought the adobe Indesign SDK Product could help me, but i saw this SDK is only for create plugins, my question is: Can i do that with a SDK from adobe? Or do anyone knows some tool to resolve my problem.
    Scenario: I have a web application and i need  too run this solution with the adobe solution.
    Regards,
    Rafael Bueno

    We already use XMP SDK metadata to extract metadata file information, but the thumbnail generated by XMP is very small.
    I need something to open the document and export a image in big resolution and extract all images inside the document, this is not a XMP information.
    Regards,
    Rafael Bueno

  • How do I extract audio from a .cpvc file?

    I have a .cpvc file that I would like to extract audio from.
    How do I do this? It doesn't seem clear in what I have Googled so far.

    Hi there
    Try clicking the Library button. Locate the audio, right-click and choose Export.
    Cheers... Rick

  • How can i extract text from Power point files,wod files,pdf files

    hi friends,
    i need to extract text from the power point files,word files,pdf files for my application.Is it possible to extract the text from the those files .If yes plz give solution to this problem.i would be thankful if u givve solution to this problem.

    My reply would be the same.
    http://forum.java.sun.com/thread.jspa?threadID=676559&tstart=0

  • Powershell script to search specific event ID's from Archive Event files

    Hi,
    I have to search some Windows Event ID's from Archive event (evtx) files. for that i am trying powershell code mentioned on below link but its not working. Kindly suggest how to search specific event id from archive logs.
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/83cbf185-bd96-4efc-b36b-59439024960a/parse-message-property-from-archived-eventlog
    Regards,
    Dhiraj

    Hi,
    Thanks for your response. I am using below code & getting below message. I changed the event ID & got some results. Can we remove those lines form results where record not found. like how can we get only those records which match given
    event ID. also it's not showing all field values. Is there any formating issue.
    $SearchID='4740' 
    get-childitem "C:\Windows\System32\Winevt\Logs\Archive-Security*.evtx" | select FullName | forEach{
     %{get-winevent  -filterHashTable @{path=$_.Fullname;ID=$SearchID} |                
        ? {$_.Properties[5].Value -match $UserName} |   
        Select-Object -Property TimeCreated, `
                                @{Name='SecurityId';Expression={$_.Properties[4].Value}}, `
                                @{Name='AccountName';Expression={$_.Properties[5].Value}}, `
                                @{Name='AccountDomain';Expression={$_.Properties[6].Value}}, `
                                @{Name='LogonId';Expression={$_.Properties[7].Value}}, `
                                @{Name='LogonType';Expression={$_.Properties[8].Value}}, `
                                @{Name='Workstation';Expression={$_.Properties[11].Value}}, `
                                @{Name='LogonGuid';Expression={$_.Properties[12].Value}} |
        Format-Table
    Get-WinEvent : No events were found that match the specified selection criteria.
    At C:\Users\sidadmin1\Documents\EventIDCheck.ps1:3 char:16
    +  %{get-winevent <<<<   -filterHashTable @{path=$_.Fullname;ID=$SearchID} |
        + CategoryInfo          : ObjectNotFound: (:) [Get-WinEvent], Exception
        + FullyQualifiedErrorId : NoMatchingEventsFound,Microsoft.PowerShell.Commands.GetWinEventCommand
    TimeCreated    SecurityId     AccountName     AccountDomain LogonId        LogonType      Workstation    LogonGuid
    3/11/2014 4... DC04$          MyDomain                 999
    Get-WinEvent : No events were found that match the specified selection criteria.
    At C:\Users\sidadmin1\Documents\EventIDCheck.ps1:3 char:16
    +  %{get-winevent <<<<   -filterHashTable @{path=$_.Fullname;ID=$SearchID} |
        + CategoryInfo          : ObjectNotFound: (:) [Get-WinEvent], Exception
        + FullyQualifiedErrorId : NoMatchingEventsFound,Microsoft.PowerShell.Commands.GetWinEventCommand
    Dhiraj

  • Cannot read or extract NEFs from some DNG files

    Hi, I'm hoping someone can help.
    I've got a subset of DNG files from an older shoot that have somehow become undreadable.  There are 119 bad files out of 1436 total images from the shoot. All of the bad files are in a consecutively numbered range (e.g., they are not randomly distributed).
    I'm on a 64-bit Windows 7 system. The bad files do not open in Bridge, Photoshop, CaptureOne, etc., nor will the images thumbnail in Windows Explorer using either the Adobe or Ardfry DNG codecs. I have no idea when or how the corruption occurred, whether is came about from use of a software program, or had something to do with a bad file copy operation. But my current backups are also corrupted.
    However, I always embed the original NEFs or CR2s in my DNGs, and so I was hoping to extract the originals.  However, the DNG Converter refuses to operate on these files, though they appear to be of the right size.
    Does anyone know of a way to salvage the original RAW NEFs from these damaged files?  Is anyone at Adobe looking for a little science project?  :-)  I would be grateful for any suggestions...
    Thanks very much,
    Gary

    I will attach a link to a troubleshoting document for this issue. If this does not resolve the issue you could TRY a restore to befor the issue started occurring, or a recovery MIGHT do the trick if it is not an actual hardware failure in the optical drive. The clicking concerns me that it might be a hardware issue... is it the typical clicking that you will hear when a disc is initially being read or is it a more aggressive clicking??
    There is a fix in this link http://support.microsoft.com/kb/982116 that has you go in and delete the upper and lower filters in the registry. It is a little tricky, so I suggest you follow it WORD for WORD once you are actually in the registry.
    I have seen deleting the upper and lower filters resolve most optical drive issues that were not hardware related.
    I work for HP

  • Extract XML from an XML File

    Hi All,
    I have an xml file from which data has to be extracted and inserted into table. XML file looks like this..
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE labels SYSTEM "label.dtd">
    <labels FORMAT="Harvest Label for Lot Project" QUANTITY="1" PRINTERNAME="PFP3400E006" JOBNAME="JA272017">
    <label>
    <variable name= "ITEM">PM191_JTEST</variable>
    <variable name= "ITEM_DESC">6 Pack Blue Assembled 2004 JTEST</variable>
    <variable name= " LOT ">ja28-10</variable>
    <variable name= "QUANTITY">1</variable>
    </label>
    </labels>
    In the above xml, if i remove <!DOCTYPE labels SYSTEM "label.dtd"> and use the below query, I am able to get the details.
    SELECT EXTRACTVALUE(VALUE(x), 'labels/@_FORMAT') format
    ,EXTRACTVALUE(VALUE(x), 'labels/@_QUANTITY') QUANTITY
    ,EXTRACTVALUE(VALUE(x), 'labels/@_PRINTERNAME') PRINTERNAME
    ,EXTRACTVALUE(VALUE(x), 'labels/@_JOBNAME') JOBNAME
    FROM (SELECT XMLTYPE
    ('<?xml version="1.0" encoding="UTF-8" standalone="no"?> <labels FORMAT="Harvest Label for Lot Project" QUANTITY="1" PRINTERNAME="PFP3400E006" JOBNAME="JA272017"> <label> <variable name= "ITEM">PM191_JTEST</variable> <variable name= "ITEM_DESC">6 Pack Blue Assembled 2004 JTEST</variable> <variable name= " LOT ">ja28-10</variable> <variable name= "QUANTITY">1</variable> </label> </labels>' ) xml
    FROM DUAL),
    TABLE(XMLSEQUENCE(EXTRACT(xml, 'labels'))) x
    But <!DOCTYPE labels SYSTEM "label.dtd"> tag is there means then i am getting error as
    Invalid resource handle or path name "/label.dtd"
    Please let me know how we can parse the xml and insert into table. OR how can i remove <!DOCTYPE labels SYSTEM "label.dtd"> tag and process it further.
    Thanks and Regards,
    Mahesh
    Edited by: magu on Sep 2, 2009 3:15 PM
    Edited by: magu on Sep 2, 2009 3:16 PM

    I don't understand why the DOCTYPE is in the XML, but it appears that Oracle is trying to resolve label.dtd to a registered resource. As you discovered, it may be easier to remove the DOCTYPE from the XML then try to register the label.dtd resource within Oracle. To do this, some options are
    - Use the REPLACE command
    - treat the data as a CLOB and instr/substr to build a new clob without the DOCTYPE tag in it.
    - Use the REGEXP_REPLACE command
    Also, if your DB version supports XMLTable, here is the way to do it with that.
    SELECT *
      FROM XMLTABLE('/labels'
                    PASSING XMLTYPE('<?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <labels _FORMAT="Harvest Label for Lot Project" _QUANTITY="1" _PRINTERNAME="PFP3400E006" _JOBNAME="JA272017">
         <label>
              <variable name="ITEM">PM191_JTEST</variable>
              <variable name="ITEM_DESC">6 Pack Blue Assembled 2004 JTEST</variable>
              <variable name=" LOT ">ja28-10</variable>
              <variable name="QUANTITY">1</variable>
         </label>
    </labels>
                    COLUMNS
                    format    VARCHAR2(15) PATH '@_FORMAT',
                    quantity  VARCHAR2(15) PATH '@_QUANTITY',
                    printername  VARCHAR2(15) PATH '@_PRINTERNAME',
                    jobname  VARCHAR2(15) PATH '@_JOBNAME');

  • Extracting attributes from a pdf file

    Hi,
    I would like to extract some of the information that is stored at attributes to a pdf file.
    I have seen other threads on the same subject and one suggested the use of DDX which, as far as I understand, is some kind of markup language.
    The only problem is that I do not know if that option is still available since the DDX homepage seems to have shut down a year and a half ago.
    Hence, I am not sure their products are available at the market any more and if so - which one to use (there seemed to be at least seven different products from DDX).
    Is there any other solution available which could provide the same result (i.e. an extraction of the data in the attribute fields of the pdf-file) ?
    Cheers
    /Hal

    If you're referring to the XMP metadata (subject, author, creation date, etc.) then provided the PDF file isn't totally-encrypted*, it's in plaintext at the end of the file. Just parse the file and look for the start of the XML structure block, which will begin with the tag "<x:xmpmeta".
    In a very large file, given you know the string is at the end, it's sensible to read from the end rather than the start.
    *If the file is encrypted, metdata can be left in plaintext depending on the choice made by the user on the encryption dialog.

  • Extracting frequency from a .wav file

    Hi
    I have a .wav file and I want to extract the list of frequencies contained in the audio file.
    Typically, I want to extract frequency after each 0.1 sec.
    I am new to java sound and have no idea where to start from, the most I can do is to read and play the wav file using java.
    An early response will be highly appreciated... :)

    If you have a monophonic (single note playing) signal, you might be able to do it, but you'll need to implement a Pitch Detection Algorithm (http://en.wikipedia.org/wiki/Pitch_detection_algorithm).
    If you use JSyn, which is a commercial product, then it has classes to read in .wav files, and also a class (unless this has changed with the latest version) to detect pitch in signals played through it, but you'd need to learn how to use JSyn. http://www.softsynth.com/jsyn/
    Regards,
    RPC

  • I want to extract audio from a video file into logic

    I have a video thats in the .WMV format and i want to extract certain bits of audio from it, how can i do this within Logic Pro 7.

    A quick google search on "convert WMF to quicktime" came up with this program: http://www.programurl.com/software/quicktime.htm
    Never used it, but it might be what your looking for?
    BTW, did you try just exporting the audio in WMP? Is that possible? I obviously dont use it You may also try to drag the file into logic and see what happens. Though I doubt it will work, its worth a try.

Maybe you are looking for

  • Error While Entering Transfer Postings

    Hello Friends, When i try to enter transfter postings, click on TO  PURCHASE ORDER  push button, i am getting error " NUMBER RANGE FOR TRANS/EVENT  WA IN THE YEAR 2012 DOES NOT EXIST", can any one pls help me how to rectify this error . Thanks Krish

  • IPhone 5 full bars and LTE but no internet (Verizon)

    Good Evening, I have an iPhone5 with Verizon LTE and I get GREAT service all over San Francisco EXCEPT at my garage! I can't understand it, everywhere in the city: at home, at work (in a basement), all over the place I get full LTE service but for so

  • Report on Cumulating Consumptions of Production Orders

    Dear Experts We have around 300 products and all products are having BOM. BOM main components are more or less similar in all production orders / BOM and only difference is quantities. we normally make each product production orders on daily basis ba

  • Images opening in blank tab

    I recently had a malware infection but all traces have been removed, except in firefox. The residual effect is that when I am searching google images and right click to open an image in new tab, the new tab window is blank. I have tried running with

  • Installation encountered an error please restart your system and try again 15

    any one there to  answer