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.

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

  • 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

  • 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

  • Scheduled report gets no data but returns success status

    I have a large scheduled webi report which normally takes 2 hours to run against SAP BW. Sometimes, the report will complete very quickly (within 30 miunutes) and returns success, but there is no data in the report. Is this a WEBI problem  or some sort of BW time-out? The thing bothers me is that it should not have returned success.
    I'm using 3.1 SP2, FP 2.5.

    How much huge data you have?? (No.of rows -- In WebI)
    Scheduling done by User logged in BO or Administrator??
    If User, he/she have rights to do that(data access) or have only Schedule right??
    Thank You!!

  • Conditional field in a report

    I am creating a report in APEX. I am trying to show a column in the report when my :bind variable is 'WEB'. How do I do that? The only way I know to not show a column is to uncheck the show column but I do not see a place to put a condition or code for that. Any help would be greatly appreciated.

    Pam wrote:
    I am creating a report in APEX. I am trying to show a column in the report when my :bind variable is 'WEB'. How do I do that? The only way I know to not show a column is to uncheck the show column but I do not see a place to put a condition or code for that. Any help would be greatly appreciated.
    Always include your APEX version when asking a question, and always indicate whether a "report" is a standard report or an interactive report...
    In a standard report, leave the Show Column checkbox checked, click the edit icon for the column to display the Column Attributes, and use a condition in the Conditional Display section to control whether the column is shown or not.

  • Insert fields in a report header using SortValue() function  (PLD)

    Hi...
    I need to create a user report, based on a query, that shows the following fields.
    CardCode |  CardName | Phone1  | E_mail  (header)
    Adress   | AddrType  | Street   | Streetno ...(repetitive area)
    I have inserted only one filed sucessfully using the <Group 1> and adding the SortValue() function  in the header with the cardcode field...
    How can i insert the other fields in the header?
    thanks...

    I just put a formula in the header with the Field name...and works fine...
    Thanks....

  • Chart report Condition fields and Data fields

    Hi all,
    i have tried chart report by adding two condion fields and one data field, the report is more meaning full in this scenario. the first condition field is taken as x-axis, the 2nd condition fields is taken as legend.
    while adding more condition fields and data fields, i feel its not showing meaningfull data.
    can anyone explain how the condition fields and data fileds are manipulated by crystal report.
    i am using CR XI R2 Server.
    Thanks
    Padmanaban V

    i am using Crystal Report XI R2 RAS Embedded in my server.
    as we can add any number condition fields programatically using the method
    ConditionField.Add(FieldObj), i would like to know how these fields are manipulated internally by the RAS server.
    that means, what is the significance of condition fieldobject 1, condition fieldobject 2,condition fieldobject 3 etc...
    if i add more than two condition fields , RAS Chart Report always returns 0 as legend value for all legends.
    Thanks in advance
    Regards,
    Padmanaban V
    Edited by: Padmanaban Viswanathan on Dec 22, 2008 9:53 AM

  • Xl Reporter get data

    Hi, all!
    i want to get data from groupname field of OCRG table by xl reporter
    Now, i am using xl reporter version 6.80.01.29, SAP B1 2005B
    How can do i! Can you help me! Thank you very much!

    "Get other data" is in the function tab, inside the option Other.
    The last field in it, after you specify the fields and tables you want, is comparable to the WHERE sentence from a query, so you can do somethings.
    Another possible solution is to select the hole table and then use Excel's function VLOOKUP.
    Let me know if this solves your problem.

  • XL Reporter not getting any data

    <b>Hi</b>
    When I am using XL Composer and generating report using it, I am getting data what the fields I have dragged. Not getting any data when generating same report in organizer from composer except the Title field names. Before I got but now I am not getting.
    <b>STEPS Taken</b>  
                     XL Reporter Composer Tool bar
                     Generate
                     Generate(Window)(Name: given Sample & checked Generate report    then ok)
    And having another problem when generating sample reports I am getting data and when editing that report are preparing new with some fields, I am not getting any data.
    <b>Example:</b>   I have made Edit of Bank Book and placed extra field Document No,   saved the report and generated I am not getting any data except titled fields.
         In new report I have taken BP Code and sales Employee I am not getting any data.
    Please Can any one help me,   It is urgent.
    Thanks in Advance.
    <i><b>Urs
    Sindhu</b></i>

    If you did not select any "total" field (quantities, totals, etc), XL Reporter will show data only at report composer. It will not work at final XL Report itself.
    This is a normal behaviour of XL Reporter, unfortunetaly.
    If you are trying to create a simple list of records, I suggest to use Query Generator, combined to PLD in order to get a formatted report.

  • 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

  • Discoverer report returns no data from a certain time

    Using Discoverer 10g,a discoverer report which returned data normally last month gets to return no data now.
    We have four same environments, and two of them has this problem, two is OK.
    And the SQL of the discoverer of the four environments are the same.
    We have no any changment of this discoverer and related EUL for more than one year....
    How should we investigate into this issue.
    For example ,a point we should notice or something...
    Could somebody give us a suggestion?
    Thank you.

    Thanks for your qiuck reply.
    1.empty table that is joined in the query.The four environments has almost the same data,it is not the cause.
    2.security issue with the data, maybe the security definitions are different from one environment to another.we are now invesgate into this cause.
    and there is a sql of the discoverer's EUL which shows no data in a enviroment(in this enviroment discoverer report gets no data), but in another enviroment data can show.
    the sql is as following.
    =============
    SELECT loc_bu.org_id
    ,loc_bu.location_id building_id
    ,loc_bu.building building_name
    ,loc_bu.location_code building_number
    ,loc_fl.location_id floor_id
    ,loc_fl.location_code floor_number
    ,loc_fl.floor floor_name
    ,loc_of.location_id office_id
    ,loc_of.location_code office_number
    ,loc_of.office office_name
    ,loc_of.suite office_suite
    ,loc_of.location_alias office_alias
    ,loc_of.assignable_area office_assignable_area
    ,loc_of.space_type_lookup_code office_space_type_code
    ,lst.meaning office_space_type
    ,loc_of.function_type_lookup_code office_function_type_code
    ,fun.meaning office_function_type
    ,(SELECT ffv.description
    FROM fnd_flex_values_vl ffv
    ,fnd_flex_value_sets ffvs
    WHERE ffv.flex_value = loc_of.attribute1
    AND ffv.flex_value_set_id = ffvs.flex_value_set_id
    AND ffvs.flex_value_set_name = 'MB_PN_ON') occupancy_exception_flag
    ,loc_of.active_start_date
    ,loc_of.active_end_date
    --ADD BY KEVIN 2008/6/26 START
    ,loc_of.attribute7 division_code_office
    ,(SELECT ffv.description
    FROM fnd_flex_values_vl ffv
    ,fnd_flex_value_sets ffvs
    WHERE ffv.flex_value = loc_of.attribute7
    AND ffv.flex_value_set_id = ffvs.flex_value_set_id
    AND ffvs.flex_value_set_name = 'MB_PN_DIVISION') division_description_office --ヌヨ-ホ・ヒオテ・
    --ADD BY KEVIN 2008/6/26 END 
    FROM pn_locations loc_bu
    ,pn_locations loc_fl
    ,pn_locations loc_of
    ,fnd_lookups fun
    ,fnd_lookups lst
    WHERE loc_bu.location_id = loc_fl.parent_location_id
    AND loc_bu.location_type_lookup_code IN ('LAND', 'BUILDING')
    AND nvl(loc_bu.attribute6, '99') <> '01'
    AND loc_fl.location_id = loc_of.parent_location_id
    AND loc_fl.location_type_lookup_code IN ('FLOOR', 'PARCEL')
    AND nvl(loc_fl.attribute6, '99') <> '01'
    AND loc_of.location_type_lookup_code IN ('OFFICE', 'SECTION')
    AND nvl(loc_of.attribute6, '99') <> '01'
    AND loc_of.function_type_lookup_code = fun.lookup_code(+)
    AND fun.lookup_type(+) = 'PN_FUNCTION_TYPE'
    AND loc_of.space_type_lookup_code = lst.lookup_code(+)
    AND lst.lookup_type(+) = decode(loc_of.location_type_lookup_code,
    'OFFICE',
    'PN_SPACE_TYPE',
    'SECTION',
    'PN_PARCEL_TYPE')
    AND nvl(loc_of.space_type_lookup_code,'99') <> '07';
    ====================
    Ps.before excute this sql, we always first excute following command.
    ====
    begin
    fnd_client_info.set_org_context(117);
    end;
    ====
    The analyst of our team is not very good at the security problem, could you help us?
    Thanks a lot.

  • Storage Condition field in Material Master Grayed Out.

    Hi folks,
    We are trying to use the Storage Condition field in a Material Master Plant Data/ Storage Location View. However I noticed the filed is grayed Out.
    Then I looked at the Configuration in "Field Selection for Data Screen**" and the selection group 87 which is already selected as Optional which means it should let me pick the Storage Condition field.
    **(SPRO->Log Gen->Mat Master->Filed Selection->Maintain Field Selection for Data Screen.)
    Please note,  I have already created Storage Conditions in SPRO. I am not trying to create new conditions now. I am just not able to pick one and enter it while creating or updating a Material Master.
    your input is appreciated. Thanks in advance.

    where exactly you are looking at that you are so certain that is is optional?
    In OMSR find your field selection group, then click the button on the right to the field selection group to see in which field reference it is used..
    You can probably see many many field references.
    There is e.g. a field reference for the transaction, at least for transaction MM03 your field selection should be display only.
    there is a field reference for your material type,
    there is a field reference for your industry (M, C etc ... the indicator you have to enter in MM01 initial screen)
    there is a field reference for your material type,
    Are all references (except MM03) are set to optional, or do you see references with display only among them?

  • 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>

  • Data Functions

    Hello all,
    Last three days i am trying to get the data functions uses with scenario in query designer.
    but i didnt get that,can anyone help me especially

    Hi,
    I have Sale as Key figure in my report, so using sale I will explaing the things that you need.
    SUMCT function using Result.
    Year -
    Region---Sales-SUMCT u201CSalesu201D
    1999--N30--
    60
    1999--S30--
    60
    RESULT--60--
    120
    If you use SUMCT function using Result, actuall sale = 60 , in the last column we used SUMCT u201CSalesu201D on result so for each row it will diplay the RESULT of Sales.
    In the same way if you use SUMGT on Overall Result, then it works on Overall Result instaed of Result.
    Processing a Value as a Time:  
    I have keyfigure ABC and teh value is -4812 , if I use this TIME(ABC) then it display in HH:MM:SS formate i.e u20131:20:12
    Calculation is:
    Total value = 4812 for this value our out put is 1:20:12.
    1 hour = 3600 seconds
    20 Mints = 1200 seconds
    12 sec=      12 seconds
    Total second = 4812
    Thanks
    Reddy
    Edited by: Surendra Reddy on Mar 2, 2009 10:05 AM
    Edited by: Surendra Reddy on Mar 2, 2009 10:06 AM

Maybe you are looking for

  • Can I burn a dvd to my hard drive?

    I have a dvd I'd like to keep on my computer for travel and commuting time killing but I can't seem to figure out a way to burn it directly. 'Little help?

  • Need more battery life...

    I'm going on a veeeeery loooong plane ride and would like my son to be kept busy watching some of the videos I've purchased... how can I get more than 2 video hours from my ipod vido (30) without a power source to plug into...?????

  • Format to MS-DOS (FAT) still doesn't allow more than 4GB on USB flash drive

    I have a 32GB USB flash drive but it only allows files that are 4GB of lees to be placed on the drive. I've read that I can remove this limit by formatting the flash drive on my MAC by going to Disk Utility>Erase>MS-DOS (FAT)>Erase. I've done this bu

  • Customizing ENDPOINT URL generated in PI

    Hi Experts, I have generated the WSDL in PI. The Endppoint URL is as follows. http://hostname:port number/XISOAPAdapter/MessageServlet/sender_party;senderService = xxx;receiverparty=;receiverService=yyy;interface name;namespace But the client needs t

  • Question?  XML Publisher Desktop

    Hi Folks, I'm exploring this option for my organization and I have a question or two. I have remote users logging in to develop their reports. Is the XML Publisher Desktop required to build their reports or is it only a nice to have? If they're suffi