Get Other Data

Hi All,
I have a query and need to be used in XLReporter as Get Other Data:
Select T0.DocNum, case (Select Top 1 T1.basetype from PCH1 T1 Where T0.DocEntry=T1.DocEntry) when 20 then (Select Top 1 T3.BaseRef from PCH1 T1 LEFT JOIN OPDN T2 ON T1.BaseRef=T2.DocNum INNER JOIN PDN1 T3 ON T2.DocEntry=T3.DocEntry Where T0.DocEntry=T1.DocEntry) else (Select Top 1 T1.BaseRef from PCH1 T1 Where T1.BaseType=22 and T0.DocEntry=T1.DocEntry) end As 'PO No.'
FROM OPCH T0 where t0.docentry in (Select Top 1 T4.DocEntry From PCH1 T4 LEFT JOIN OPDN T5 ON T4.BaseRef=T5.DocNum INNER JOIN PDN1 T6 ON T5.DocEntry=T6.DocEntry Where T0.DocEntry=T4.DocEntry and T4.BASETYPE=20 AND T6.BaseType=22 AND T6.BaseRef IS NOT NULL) OR t0.docentry in (Select Top 1 T7.DocEntry From PCH1 T7 Where T0.DocEntry=T7.DocEntry AND T7.BaseType=22 AND T7.BaseRef IS NOT NULL)
The query running ok in SQL and query generator, but i have problem to translate it into the fields in Get Other Data function (field Table, Fields, Condition).
Is there anyone who knows how i should separate the query in those 3 fields.
Any ideas or suggestion will be appreciated.
Thanks in advance.
Regards,
Lina Yuanita
Edited by: Darius Heydarian on Apr 22, 2008 10:40 PM

Hi
The Get Other Data function in XLR is rather limited and for one you can't have multiple tables with joins.
Your query seems way too complicated for the Get Other Data function. What I would do to get past this problem is to create a view in SQL and then query the view with the Get Other Data function.
Regards

Similar Messages

  • XLR Get Other Data Function

    Hi all,
    Im wondering if I can use cell valeu data in the Where clause of the GetOtherData function.
    EG Get Invoice Key where Payment No = whatever is in cell D9.
    I keep getting syntax errors.
    I'm trying to report accross 2 modules - AR and Banking.
    I need to display Invoice data as well as related payment data.
    In report composer after making my AR selections, I try to drag and drop data from the Banking module to show payment data related to the Invoices.
    The data is not retrieved.
    I was wondering if this might be possible using the GetOtherData function in Advanced Report Builder.
    Can I show data related to whats in a certain cell in my report?
    Thanks for any suggestions.
    John O'Brien

    Hello,
    In composer, you cannot use two modules together to get the information in each module.
    Get other Data function can get the value in a specific field in tables. Please check online help file, there is detailed example about it.
    the syntax in using Get Other Data is exactly same in SQL.
    Thanks,
    Maggie An
    SAP Business One Forum Team

  • Condition field in XL Reporter Get Other Data function

    I want to use the XL Reporter "Get Other Data" function to get data from a file not in the current Business Partner dimension  BPA.  Using the SalesPerson code SlpCode, I want to get the SalesPerson Name, SlpName. What is the value for the condition field to restrict the retrieval to just the one record that matches the SlpCode in the BPA dimension?  I've tried ocrd.SlpCode=oslp.SlpCode.  I've tried SlpCode=oslp.SlpCode. But I either get all the names in the Salesperson file or I get some type of syntax error.

    Jim,
    When you say I should be able to pass a parameter, do you mean while using the XLR "Get other data" function?  I thought that's what I was doing when I filled out the Get other data screen with the userid, password, then I specified the OSLP table, requesting SlpName in the Fields section, and then in Condition, I specified OCRD.SlpCode = OSLP.SlpCode.   When the report ran, I got a "#ixGetData error: The multi-part identifier "OCRD.SlpCode" could not be bound".   I tried substituting the BPA dimension qualifier, ie: BPA.SlpCode, but got the same error.
    If I removed the initial qualifier in the Condition field, ie: SlpCode = OCRD.SlpCode, when I ran the report I got ALL Salespersons names, not just the one that matched the SlpCode field on the current Business Partner line.

  • Questions on getting "other" data off ipad

    I have been reading the threads, but before I do a full restore I have a few questions.
    I have about 2GB of "other" space on my 8GB ipad 2 (OS 7 withou the latest patch). I need to get rid of it because I can't load the new OS and I have the ipad down to bare bones.
    Anyway, I was reading that "other" could be corrupted data or stuff that apps are using. I got rid of my photos. All I have is apps, and music plus the files I store in pages.
    1. How can I tell which apps are sucking up space?
    2. If I do a restore, will the corrupted data just come back from my MBP onto my ipad? I am backing up to the MBP and also syncing everything in icloud. This is where my brain gets lost because I don't understand where the bad data is being stored.
    Any thoughts or hints would be appreciated before I start doing neurosurgery.
    Thanks in advance!

    How much space is used by your Other? You may be able to reduce.
    How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
    http://tinyurl.com/85w6xwn
    How to Remove “Other” Data from iPhone, iPad and iPod Touch
    http://www.igeeksblog.com/how-to-remove-other-data-from-iphone/
    With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5/6/7, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
    What is “Other” and What Can I Do About It?
    https://discussions.apple.com/docs/DOC-5142
    iPhone or iPad Ran Out of Storage Space? Here’s How to Make Space Available Quickly
    http://osxdaily.com/2012/06/02/iphone-ipad-ran-out-of-available-storage-space-ho w-to-fix-quick/
    6 Tips to Free Up Tons of Storage Space on iPad, iPhone, and iPod Touch
    http://osxdaily.com/2012/04/24/6-tips-free-up-storage-space-ipad-iphone-ipod-tou ch/
    Also,
    How to Clear Message/iMessage Cache on iPhone & iPad And Reclaim Lots of Free Space
    http://www.igeeksblog.com/how-to-clear-message-imessage-cache-on-iphone-ipad/
    What is Stored in iCloud and What is Not
    https://sites.google.com/site/appleclubfhs/support/advice-and-articles/what-is-s tored-in-icloud
     Cheers, Tom

  • Using functions in Resultset while getting database data.

    Well I'm trying to reset my resultset and it doesn't work.
    Frist I extract data from it. Then I want to start to get other data from hte beginning again. Is this not possible. Can I just get thew data once.
    I'm working with an access database and developping at Oracle 10g
    <select name="kundKontakter" size="1" >          
               <%         
                do{
                 String OID_kont =resultatKontaktNamn.getString("OID_kont");
                 String namnKontakt = resultatKontaktNamn.getString("fKontaktNamn");
                <option value="<%=OID_kont%>" SELECTED><%=namnKontakt%>
                </option>
              <%
                }while(resultatKontaktNamn.next()); %>         
                </select>
                </td>
            </tr>
            <%resultatKontaktNamn.first();%>
            <tr><td>telefon</td>
            <td><input type="text" name="tel" size="40">
             <%=resultatKontaktNamn.getString("tel")%></td></tr>
            </tr>

    No, normally result sets are read-once. If you need to get at data multiple times, you should read it into an an-memory table structure, like a List of Maps (or a List of objects that represent a row on the DB...)
    So, for example, make a class:
    public class Kontakt {
      private String namn, OID, tel;
      public Kontakt(String id, String n, String t) {
        namn = n; OID = id; telefon = t;
      public String getNamn() { return namn; }
      public String getOID() { return OID; }
      public String getTelefon() { return telefon; }
    }Then when you access the database you fill up a java.util.List with a bunch of instances of this class...
      java.util.List kontaktList = new java.util.ArrayList();
      while(resultatKontaktNamn.next()) {
        String OID_kont =resultatKontaktNamn.getString("OID_kont");
        String namnKontakt = resultatKontaktNamn.getString("fKontaktNamn");
        String telefonKontakt = resultatKontaktNamn.getString("tel");
        Kontakt k = new Kontakt(OID_kont, namnKontakt, telKontakt);
        kontaktList.add(k);
      }That all done before you try any display.
    Then, your JSP output will look like this:
        <select name="kundKontakter" size="1">
        <%
          for (java.util.Iterator i = kontaktList.iterator(); i.hasNext(); ) {
            Kontakt kont = (Kontakt)i.next();
        %>
            <option value="<%= kont.getOID()%>" selected="selected"><%= kont.getNamn()%></option>
        <%
        %>
        </select>
      </td>
    </tr>
    <tr>
      <td>telefon</td>
      <td><input type="text" name="tel" size="40">
        <%= ((Kontakt)kontaktList.get(0)).getTelefon() %></input>
      </td>
    </tr>

  • XLR: query other data (UDT)

    Our customer has got several data stored in user defined tables. The data rows contain the business
    partner code as assignment to a business partner. I know, that UDTs are not exposed in the XL-
    Reporter, but there is the option to query other data (Formula builder: get other data). How can I assign
    the data stored in the UDT to a row expansion in an XL Reporter report matching the business partner
    code?
    It is possible to get all data from the UDT, but not to assign it to the business partner code according the one that is in the row expansion of my report.
    It should be possible to assign data from the UDT to the expanding row in my report, matching the
    business partner code with the code in the UDT.
    Does anyone know how to handle this?
    regards,
    Markus

    Hi!
    Further for Vlook up, you get Orther Data form UDT in same sheet. After that u use Vlook up funcition of Excell in order to look for the result from orther data of UDT through row expansion of my report.
    Ex:
    BP code       condition u wantt to get                                                                              The Data of UDT
    01             =vlookup( ....)                                                                                01         XX
    02                                                                                02         YY
    03                                                                                03          ZZ
                                                                                    04          AA
                                                                                    05          BB

  • How do I get rid of the "other" data on my iPhone 4?

    The "other" data on my iPhone 4 is currently taking up 4.5 gb of my 6.4 gb phone. As you can see I'm not very happy about this. I am basically limited too about ten apps and I cannot download iOS 7 due to my lack of storage. I was wondering if there were any ways to get rid if the "other" data without resetting my iPhone. I cannot reset my iPhone because my family has a shared data plan and a limited amount of storage to back up to on iCloud. We don't have enough storage on iCloud to backup the 5.8 gb I'm using because of the other data. Any help?

    You would need to restore the iphone.

  • How do I get rid of erroneous "other" data on an iPad?

    I own a 32G iPad Mini. I've been using it for about 60 days, and somehow I am showing about 11G of "Other" Data. Obviously I need that space back, it's taking up a third of my capacity, and I use the iPad almost exclusively for nothing more than watching different seasons of TV shows, and iMessage.
    I have tried "Reset Network Settings" as I've seen suggested in other posts.
    I have tried re-synching with nothing checked to remove any and all iTunes data.
    I have tried Backing up the device to my Mac, and restoring from Backup.
    Any ideas would be greatly appreciated, as I am overseas for work, and would like to try to resolve this instead of waiting until I return home to take to an Apple Store.
    Thank You in advance!

    "Other" is YOUR DATA. If you get rid of it you will lose your email messages and settings, all of your texts and iMessages, all of your system settings, etc.
    "Other" data is real data that you put on your phone by using the built in apps. It is not music, not videos, not pictures and not App Store app data. It is "OTHER" meaning everything that does not fall into these categories. Such as:
    email messages and attachments
    Reminders
    Notes
    Calendar entries
    Contacts
    Text messages
    MMS messages and attachments
    Genius data
    Music cover art
    Operating system settings
    Safari cache
    bookmarks
    Game Center status
    Music catalog

  • I just restored my iPhone so i could get rid of my other data but all it did was increase my other data by .5 gbs. How do i get rid of the "other data"?

    I just restored my iPhone so i could get rid of my other data but all it did was increase my other data by .5 gbs. How do i get rid of the "other data"?

    kmsammon wrote:
    ... How do i get rid of the "other data"?
    You will Not be able to get rid of it entirely...
    Other is usually around 1 GB...
    A  ' Large Other ' usually indicates Corrupt Data...
    First Try a Restore from Backup...
    But... if the Large Other Persists, that is an Indicator of Corrupt Data in the Backup...
    Then a Restore as New is the way to go...
    Details Here  >  http://support.apple.com/kb/HT1414
    More Info Here...
    maclife.com/how_remove_other_data_your_iphone

  • How do i get rid of the other data on my iphone 4s

    I have tried restoring my iphone, but the "other" data returns and continues to take up over 1.5G of my space. I would really like to get rid of the "other" data for good.

    "Other" is YOUR DATA. If you get rid of it you will lose your email messages and settings, all of your texts and iMessages, all of your system settings, etc.
    "Other" data is real data that you put on your phone by using the built in apps. It is not music, not videos, not pictures and not App Store app data. It is "OTHER" meaning everything that does not fall into these categories. Such as:
    email messages and attachments
    Reminders
    Notes
    Calendar entries
    Contacts
    Text messages
    MMS messages and attachments
    Genius data
    Music cover art
    Operating system settings
    Safari cache
    bookmarks
    Game Center status
    Music catalog

  • Mac won't start following change of permissions. I have started In recovery and run repair disk and reset permissions to all disks inc backups. What do I do now to get the mac up and running without loosing thousands of pics and all other data? I

    The problems occurred after photoshop elements said I did not have the necessary permissions to save changes to a photo. I then allowed all to permissions to all disks, I have three external hard drives but I cannot restore from any as they all appear to have some kind of problem. I have repaired all disks in recovery mode and verified all inc mac hd. All permissions are repaired and all disks are saying repaired. So where do I go from here to get the mac back on running mavericks without loosing thousands of photos and all other data ?
    Do I need to reinstall Mac OS ?
    The only options I get to reinstall is mountain lion?.. I have been running the latest mavericks .?.
    Do I reinstall and then update?
    The external drives are not smart drives so how do I ensure I retain all my files?

    your best option is to connect an external drive and reinstall OS X on that external to run the system from. then copy all your files over to the new install for safe keeping. then try doing a reinstall of Mavericks over the top of the current install on the internal drive and test.

  • HT4865 How can you use find my iphone or find my friends on a ipod for a kid (daughter) but restrict who can see your personal calenders on their device. I realize you can turn off icloud. If ipod is lost, others can get your data by turning on icloud

    I just purchased an ipod for my daughter. Since she is only 7 y/o she cannot create an icloud account. Therefore, I had to use my apple ID to create an icloud account on her ipod.  I would like to have find my iphone and friend finder on her ipod for tracking purposes.  The only problem is that all of my personal calender, notes, reminders etc get transferred automatically to her ipod which I don't want.
    I turned off the icloud calender, notes, reminders etc on her device so that my data doesn't get transferred to her device now. My biggest concern is that if she loses her ipod someone could turn the icloud function back on and automatically get my data. 
    Is there anyway to be able use the tracking features yet protect my icloud from being turned on by a thief?

    Password locks, Restrictions password protected or not anyone who gets your iPod can restore it to Factory Settings/New iPod.  This will completely disable Find My iPhone so that the iPod can no longer be tracked.  It is not a good idea to not use the lock password, because if someone get your iPod they can see all of your contacts, calendar entries email, email passwords, etc. 

  • I have 60GB other data after updating to iOS 8.1, how do I get rid of it?

    I updated my iPhone 6 to iOS 8.1 last week and now I have 60GB "other" data on my 128GB phone. WTH? How do I get rid of it?

    Hmm, I did receive an email saying that the thread was deleted, but did not explain why for some reason. It sounds like the Level 7 guy caused this. I will call Apple tomorrow to find out who is responsible. And see if I can lodge a complaint against that user. Maybe it was because of what the Level 7 guy was saying.
    There was useful information posted in that threat that addressed the issue that I am experiencing. I will try to reiterate from the apple website, it says.
    Recovery mode
    If you've never synced your device with iTunes, or haven't set up Find My iPhone, you'll need to put your device in recovery mode. Then you'll restore your device as new or from a backup.
    This will erase the device and its passcode.
    Disconnect all cables from your device.
    Hold down the Sleep/Wake button, then "slide to power off" to turn off your device.
    Press and hold the Home button and plug the device into your computer. If your device doesn't turn on automatically, turn it on. Don't release the Home button.
    Continue holding the Home button until you see the Connect to iTunes screen.
    If iTunes doesn't open automatically, open it. iTunes will alert you that it has detected a device in recovery mode.
    Click OK. Then restore the device.
    If your device doesn't go into recovery mode, try steps 1–4 again.
    They suggested that I try this over again until it works. It did not work for me the first time.

  • How to get rid of 'other' data in capacity?

    In april, i got my iphone 4 replaced because of a broken lock button. When i brought the replacement home, i noticed that when i plugged it in there was a lot of "other" data in the capacity bar, and there was nothing on my phone at the time. Now, the other data is still there and it takes up more than half of my storage, and i have no more storage left for pictures or music or apps. I think the other data is a result of a corrupted backup, because my backups do not work (once i figured that out i stopped using them). But now i need to find a way to get the other data off of my phone while keeping all of my photos and contacts without a backup, which means restoring it isnt an option until i find some way to back up my photos and contacts individually. I need to do this because if i backup everything on my phone on itunes, the "Other" will too be backed up, and then i'd be in the same place. can someone please help me? If i call apple tech support will they be able to help? Please let me know if you have had this problem/ has it been resolved/ how it was resolved. Thank you.

    You can use iCloud to backup your contacts, and you can import your photos to your computer. After restoring as *NEW*, then you can re-sync your photos; and sign back into iCloud and "Merge", to retrieve all contacts.

  • There is 7.82 gb of "other" data on my iPhone. How can I get rid of this? It's taking up a lot of space

    I plugged in my iphone today and saw that the "other" portion of my used space was at 7.82 gb! I'm not sure what this is exactly,  but how do I get rid of it or make it saller because it is hoging up a ton of the space on my phone!
    Note: I have been noticing that whenever I plug in my iphone to my Mac to sync it, the "other" data gets larger, just slightly. Is that normal?

    Restore from a backup will get you some 'other' back.
    Still not happy, Restore in iTunes, Setup as new. Sync back personal data using iTunes Tabs

Maybe you are looking for

  • Batch Sequence with JavaScript

    Hi Guys, I have a batch sequence that won't save the original files. I'm getting a message "The file may be read-only, or another user may have it open. Please save the document with a different name or in a different folder." However, another batch

  • Board Size in Ultiboard

    This is probably going to ne one of the most stupid questions ever asked, but I'm going to ask anyway. This is an Ultiboard question. How do I know what board size I am going to need in advance of placing components?  The way I have been doing this i

  • Reporting Standards

    Hi All, I am new to sap-abap programming .Can any one of you tell me the SAP standards that are to be followed while writing an abap program ? Also can I use joins for the four tables at once . I heard that this would have performance issues so we ll

  • Why does the Excel source think my query has parameters?

    Part of my current project involves converting an Excel spreadsheet having a number of tabs into an equal number of pipe-delimited flat files using an SSIS package. I've got one data flow task that opens up the excel file and selects the names of all

  • Order of images

    I just updated to a canon mark iii from a mark ii and therefore had to update my version of Lightroom. I downloaded the trial version of LR 4.4 and imported my first set of images.  However, the images are not in the order in which I shot them. I att