NUmber of records in query mismatch number of records in file

Hi  Experts,
I am running an APD having as source a query and target file.
The issue is that in my query i have 78 records and in my file 138 any possible solutions??
Points will be awarded for useful answers.
Kevin

hello Kevin,
The reason for getting more records in file can be due to:
May be you will having a characteristic due to which the Key Figure values are getting split up into many rows.
For eg:
If you have condition type in Rows, and have other characteristics like, Material, Customer etc.. you will get out put as:
Sales Org Sales Dist AGI Code UC AGi code Bill Qty CondVal(Cond type1) CondVal(Condition type2) CondVal(Cond type3)
A B C D 122 10.00 0 0
A B C D 122 0.00 12.00 0
A B C D 122 0.00 0.00 15.00
When you will remove the char due to which you are getting the above output, you will get proper result as follows:
Sales Org Sales Dist AGI Code UC AGi code Bill Qty CondVal(Cond type1) CondVal(Condition type2) CondVal(Cond type3)
A B C D 122 10.00 12.00 15.00
Hope it helps
Regards
Lavanya

Similar Messages

  • Vat code change, EDI file number finding and EDI file structure chage?

    Hello Gurus
    Our client has a plant in Europe, which has a largest supplier. We process electronic invoices to the vendor through a provider OB10 ( private company - invoicing provider ).
    In the transfer of the electronic data to the invoice posting, a VAT code is added to the details, that appears to be pulling from a certain Table in the system.
    I want to know from which tables this field has pulled up to the Invoice?
    In continuation of the process ...I have come across an issue on EDI file structure change. I have provided with the the Idoc numbers of above invoices, from the idoc numbers i need to find out the EDI file number. But when i went to WE02, WE05 with those idoc numbers i couldn't find the EDI file number( Interchange file number ref).
    How can i find the EDI file number and i have to suggest the EDI team for changing the file structure in regard to the VAT code updating according to the Plants abroad function.
    What are the things i need to suggest them exactly in regard to this?
    Please reply me ASAP...
    Thanks
    Mallik

    The table for tax code is T076M - maintainable using T code OBCD.  For EDI file number, execute T Code WE02 - enter IDoc number and execute (F8). In the right window pane, choose select layout -> change layout and pick up the field Interchange file reference. Guess this is what you are looking for.
    OR
    Go to transaction WE02 or WE05 enter Idoc number and choose execute. When Idoc data is displayed double click on Control Record in left pane. Choose Details tab. Interchangable file under References.
    You can also refer the entries in table EDIDC.
    Reference to interchange file:
    This field contains the reference number of the interchange file in which the EDI message was transmitted.

  • False positive critical alert from OEM: number of missing media files is 7

    Hi all,
    We were a bit stunned here as we got a page from OEM that the number of missing media files is 7! We ran the query only to find that there are none missing. One of the SR. DBA's said he thought he remembered seeing this months ago and it cleared itself soon after.
    SELECT COUNT(FILE#)
    FROM V$DATAFILE_HEADER
    WHERE RECOVER ='YES'
    OR ERROR IS NOT NULL;
    After running that to verify the count is 0 (no missing files or corrupt files) I then looked in OEM at the alert and clicked the hyperlink to the graph that shows a spike to 7 then immediately went away so I assume this is some but in 10.2.0.4?
    Thanks,
    Dave

    Missing Media File Count metric represents the count of missing media files.
    You can remove it from monitoring template if don't need.
    Here is with screenshots demonstrated that:
    http://www.oracle.com/technology/obe/obe10gEMR2/Quick_Start/system_monitoring/system_monitoring.htm
    But basicaly under this message is select:
    SELECT count(file#)
    FROM v$datafile_header
    WHERE recover ='YES' OR error is not null;
    Do you have any rows returned?

  • I recently uploaded 10.8, but I have a number of VALUABLE old files which I can no longer read because "power PC applications are no longer supported.  How can I retrieve them?

    I recently uploaded 10.8, but I have a number of VALUABLE old files which I can no longer read because "power PC applications are no longer supported.  How can I retrieve them"?

    Here is a post I assembled for another with a similar problem:
    Unfortunately you got caught up in the minor miracle of Rosetta.  Originally licensed by Apple when it migrated from the PowerPC CPU platform that it had used from the mid-1990's until the Intel CPU platform in 2006, Rosetta allowed Mac users to continue to use their library of PPC software transparently in emulation.
    However, Apple's license to continue to use this technology expired with new releases of OS X commencing with Lion (and now Mountain Lion).  While educational efforts have been made over the last 6 years, the fact is that Rosetta was SO successful that many users were caught unaware UNTIL they upgraded to Lion or Mountain Lion.
    Workarounds:
    1. If your Mac will support it, restore OS X Snow Leopard;
    2.  If your Mac will support it, partition your hard drive or add an external hard drive and install Snow Leopard into it and use the "dual-boot" method to choose between your PPC software or Lion/Mt. Lion;
    3. Upgrade to an Intel compatible versions of your software, or find alternatives that will open your data files;
    3.  Install Snow Leopard (with Rosetta) into Parallels:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439
    NOTE: STEP ONE of the instructions must currently be completed on a Snow Leopard or Lion Mac and the resulting modified Snow Leopard.cdr install file can then be moved over to your Mountain Lion Mac for completion of the remaining steps.
    NOTE 2:  Computer games with complex, 3D or fast motion graphics make not work well or at all in virtualization.

  • Serial number adobe has on file for me for my Adobe Acrobat 9 pro is not working

    I lost the installation disc for my long time love Acrobat 9 pro.  I checked with adobe and the serial number they have on file for me is not working on my downloaded version of 9 pro.  I have a running copy of the software on another machine.
    How can I solve this problem?

    start here, http://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html
    if that info fails to resolve the problem, contact adobe support  https://helpx.adobe.com/contact.html

  • Changing a number in an excel file that has been changed to a PDF

    Changing a number in an excel file that has been changed to a PD ?

    Hi llkwx,
    I would like to confirm ,do you want to change the page number of the PDF  or any other number in the data given in that PDF?
    For changing the page number display
    You can select Page Thumbnail option from the left hand side .In that panel ,right click and select the option "Number Pages" from the drop down menu.You can further change the page numbers as per your requirement.
    Adding page numbers to PDF
    Tools>Pages>Edit Page Design>Header and Footer>Add Header and Footer>click Insert Page Number
    Do write us back with your response .We will be glad to help you out with your queries.
    Regards
    Sukrit Dhingra

  • Failed to start essbase process:  number of back up files exceeds limit

    Can someone help to take a look at this?
    More details is logged in bug 11887650
    Failed to start essbase process, message in log file:
    11/03/18 11:44:10 Start process
    Info: Essbase is reducing the number of soft file descriptors because the 32K limit has been exceeded. Exceeding the limit may significantly increase application load time.
    Environment variable [HYPERION_LOGHOME] is set - use it to define Log location folder.
    Log location is [u01/APPLTOP/instance/BIInstance/diagnostics/logs/Essbase/essbaseserver3/essbase].
    ODL log location is [u01/APPLTOP/instance/BIInstance/diagnostics/logs/Essbase/essbaseserver3/agent-log].
    [Fri Mar 18 11:44:10 2011]Local/ESSBASE0///4072736080/Warning(1056807)
    The number of back up files found on disk (40) exceeds the configured limit which is 2
    [Fri Mar 18 11:44:10 2011]Local/ESSBASE0///4072736080/Info(1051283)
    Retrieving License Information Please Wait...
    [Fri Mar 18 11:44:10 2011]Local/ESSBASE0///4072736080/Info(1051286)
    License information retrieved.
    65535 Essbase user 65535 Planning user system
    Logging configuration class "oracle.core.ojdl.logging.LoggingConfiguration" failed
    oracle.core.ojdl.logging.LoggingConfigurationException: ODL-52050: unable to process file '/u01/APPLTOP/instance/BIInstance/Essbase/essbaseserver3/bin/logging.xml', XML parse exception (line: 5, column: 38): org.xml.sax.SAXParseException: Attribute "class" is required and must be specified for element type "log_handler".
    Mar 18, 2011 11:44:14 AM oracle.security.jps.az.internal.common.scanner.PolicyChangeScannerThread run
    INFO: Policy store cleanup thread started.
    Mar 18, 2011 11:44:14 AM
    INFO: EPMCSS-CSS Fusion system initialized successfully. : [2724 ms]
    [Fri Mar 18 11:44:14 2011]Local/ESSBASE0///4072736080/Info(1051199)
    Single Sign-On Initialization Succeeded !
    [Fri Mar 18 11:44:14 2011]Local/ESSBASE0///4072736080/Info(1051639)
    Info: Essbase is reducing the number of soft file descriptors because the 32K limit has been exceeded. Exceeding the limit may significantly increase application load time.
    Essbase 64-bit - Release 11.1.2 (ESB11.1.2.1.0B154)

    I am an infrastructure idiot (I have all kinds of other idiocy available as well -- I am versatile), but I found:
    http://troubleshooot.wordpress.com/2010/05/26/essbase-login-is-not-working/
    To my ignorant eyes, this looks like some kind of *nix-centric issue.
    If the post doesn't help, perhaps one of the infrastructure guys will chime in.
    Regards,
    Cameron Lackpour

  • Define a version number for a chm file

    I need to fix a version number in a chm file to determine
    wich version a customer uses. At this moment I distinguish them by
    chm's content, but I'm not happy for this choice.
    Is this possible?
    Thanks.
    Raffaele.

    Hi rdinatale
    Another thing you can do is to simply edit the Window
    properties to include the version number. Of course, this too would
    need to be done each time you update the version. But once it was
    done, it would show up in the title bar of the .CHM.
    Just a thought... Rick

  • Job number from alert log file to information

    Hello!
    I have a question about job numbers in alert log file. Today one of our Oracle 10g R2 [10.2.0.4] RAC nodes crashed. After examining alert log file for one of the nodes I saw a lot of messages like:
    Tue Jul 26 11:52:43 2011
    Errors in file /u01/app/oracle/admin/zeme/bdump/zeme2_j002_28952.trc:
    ORA-12012: error on auto execute of job *20627358*
    ORA-12705: Cannot access NLS data files or invalid environment specified
    Tue Jul 26 11:52:43 2011
    Errors in file /u01/app/oracle/admin/zeme/bdump/zeme2_j001_11018.trc:
    ORA-12012: error on auto execute of job *20627357*
    ORA-12705: Cannot access NLS data files or invalid environment specified
    Tue Jul 26 11:52:43 2011
    Errors in file /u01/app/oracle/admin/zeme/bdump/zeme2_j000_9684.trc:
    ORA-12012: error on auto execute of job *20627342*
    ORA-12705: Cannot access NLS data files or invalid environment specified
    After examining trc files I have found no further information about error except session ids.
    My question is: how to find what job caused these messages to appear in alert log file.
    How do I map number in alert log file to some "real" information (owner, statement executed, schedule)?
    Marx.

    Sorry for the delay
    Try this to find the job :
    select job, what from dba_jobs ;
    How do I find NLS_LANG version?SQL> show parameter NLS_LANG
    Do you mean ALTER SESSION inside a job?I meant anywhere, but your question is better.
    ORA-12705 - Common Reasons and How to Resolve Them [ID 158654.1]
    If OS is Windows lookout for NLS_LANG=NA in the registry
    Is it possible you are doing this somewhere ?
    ALTER SESSION SET NLS_DATE_FORMAT = 'RRRR-MM-DD\"T\"HH24:MI:SS';NLS database settings are superseded by NLS instance settings
    SELECT * from NLS_SESSION_PARAMETERS;
    These are the settings used for the current SQL session.
    NLS_LANG could be set in a profile for example.
    NLS_LANG=_AMERICA.WE8ISO8859P1     ( correct )
    NLS_LANG=AMERICA.WE8ISO8859P1 ( Incorrect )
    you need to set the "_" as separator.
    Windows
    set NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    Unix
    export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    mseberg
    Edited by: mseberg on Jul 28, 2011 3:51 PM
    Edited by: mseberg on Jul 29, 2011 4:05 AM

  • Can Aperture Read the camera's sequential number metedata when naming files

    Before I started using Aperture I would use this naming convention in Bridge to batch rename files and It works great because it avoids duplicate file names and the files are in sequential order
    my last name(Blake)YYYYMMDDfour digit NON RESETTING sequential number, generated by my Nikon D2X. I don't have any duplicate file names unless I shoot more that 9999 images in one day.
    Has anybody found the option to use the camera's generated sequence number in Aperture's file naming scheme. I sure can't. I know that you can set a four digit sequence but that sequence doesn't start where the sequence leaves off in the previous import.
    Thanks
    John
    G4 Powerbook   Mac OS X (10.4.8)  

    I have two workarounds
    1. Rename the files in bridge after like I have always done and then import the folder as an Aperture project without changing the file names. I use photo mechanic to download the files from the card.
    2. Go to the library smart folders to see what was the last project I imported and check the four digit sequence before the file name extension. Set the sequential counter in Aperture to start at the next sequential number where the last file left off.
    I have to use the four digit sequence instead of using the date and Time sequence. It is very convenient for my clients to give me the four digit sequence when telling me what images they want prints from,etc. Avoids any confusion.
    I did request this feature of using the camera's generated file name in Apple's feedback link for future inhancements.
    thanks for your responses
    John
    G4 Powerbook   Mac OS X (10.4.8)  
    G4 Powerbook   Mac OS X (10.4.8)  

  • Bridge file number vs. camera's file number

    I've gone through everything I can think of on Bridge CC and the tutorials and I'm still stumped.
    My current camera (Olympus OM-D) file number is 4126 but when I open it in Bridge the file number is 3129. I've tried everything I can think of in Bridge file renaming, but can't seem to either change the file # or eliminate it. It's a problem because I've always used the date+camera file number to find archived files. I'm willing to change to fit into Bridge, but...
    Questions:  is Bridge using a sequential numbering system that is unique to Bridge? And if so, can I change it to be consistent with the camera sequential file number?

    Good day everyone,
    To khcole,
    Please check your memory card and verify if the old pictures and new ones are on the same folder (eg. 100MSDCF, 101MSDCF) under [DCIM] folder. Both folders will start the numbering sequence at DSC-00001, to start at DSC-05208 make sure that the folder will contain images which will fill out the sequence upto DSC-05207 otherwise that camera will fill those empty slots until it uses the DSC-05208 onwards.
    To grosenfeld,
    As both file using the same file name and extension cannot co-exist under the same folder, one needs to be saved on different folder. Using an image viewing software such as the Playmemories Home (PMH), you'll be able to view both pictures and you should be able to see when the images are taken, imported, modified or what camera was used for a particular image under PMH's filters or the properties of the pictures.
    2 things can happen if you try importing a picture that has the same file name and extension as the existing image on a destination folder.
    1. The original file could be replaced by the new one intentionally/unintentionally.
    2. The new picture will be saved with (#) between the file name and extension (eg. DSC-00001(2).jpg) as the computer will recognize these files as duplicates even if it isn't.
    If my post answers your question, please mark it as "Accept as Solution"

  • How to count the number or rows in file

    Hi Experts,
    I am file as source and Oracle as target. My file containing the some data which is going to load to the target.
    My requirement is that I want to count the number of rows which my file contains. Please help me how to count the total number of rows in file.
    Thx,
    Sahadeva.

    Hi,
    You won't give a name DEST_USER_NAME:ODI will get these information.
    it is important  Command on source and Command on Source side .
    -Pls write jython code on Command on Source side
    -And Command On Target side Choose technology as Oracle and set logical schema to HR_logical
    Sorry my mistake.İt is related jython syntax.Here is code:
    import java.lang as lang
    import java.sql as sql
    import java.lang.String
    import os
    lang.Class.forName("<%=snpRef.getInfo("DEST_JAVA_DRIVER")%>")
    cons=sql.DriverManager.getConnection("<%=snpRef.getInfo("DEST_JAVA_URL")%>", "<%=snpRef.getInfo("DEST_USER_NAME")%>", "<%=snpRef.getInfo("DEST_PASS")%>")
    dblinks= cons.createStatement()
    file1=open('EMP.txt','r')
    count=0
    line=file1.readline()
    while line !='':
         count+=1
         line=file1.readline()
    file1.close()
    sqlQuery = "insert into HR.ETL_FILE_LOG (FILE_COUNT) values (count)"
    rqQuery= dblinks.execute(sqlDBLink)
    cons.close()
    Regards

  • How to ceate Transport Request Number for importing transport files

    I'm trying to create Transport Request Number for importing transport files.
    I've copied the two transport files (K903281.QB8 and R903281.QB8) into subdirectories usr/sap/trans/cofiles and usr/sap/trans/data, respectively. Now, I want to import the transport files using transaction management system (STMS). Before using STMS, it seems like I need to create Transport Request Number, but I don't know how to create it. Could you please let me know how to create it?

    Sanjeev and Sajay,
    Thanks for your answer. I was able to import the files successfully as transport number QB8K903281 by using standard STMS transport function after manually adding new transport on STMS. My trouble was from my ingrorance of how to let STMS recognize transoprt number for transport files copied from outside SAP. Again thank you very much.
    Tetsuya

  • When opening microsoft word on mac it automatically opens a huge number of my word files and I have to wait for it to open them all then when i try to close them down it freezes and I 'force quit' and on reopening the same thing repeats

    When opening microsoft word on mac it automatically opens a huge number of my word files and I have to wait for it to open them all then when i try to close them down it freezes and I 'force quit' and on reopening the same thing repeatsI have to wait for it to open them all then when i try to close them down it freezes and I 'force quit' and on reopening the same thing repeats

    One thing to try/check - in System Preferences, General.  Check the box "Close windows..."

  • Changing a number in an excel file that has been changed to a PD ?

    Changing a number in an excel file that has been changed to a PD ?

    Hi llkwx,
    If I understand correctly, you've converted an Excel file to PDF, but now need to edit the PDF file? If so, you'll need either update the Excel file and re-create the PDF, or use Acrobat to edit the text in the PDF. If you don't have Acrobat, you're welcome to try ti for free for 30 days: see http://www.adobe.com/products/acrobat.html for more information.
    Best,
    Sara

Maybe you are looking for