RSDMWB - Create Model  - BW Query Model Field Selection - Problem

I am trying to create a Data Mining model.
In RSDMWB I select "Create Model" in the right click context menu after selecting a Data Mining model.
In the "Create Model" window I try to select a BW Query I have previously created as source for Model Field Selection.
To find the query I press F4 and get a list of available objects sorted by InfoAreas. However, the InfoArea containing my InfoProviders and the BW Queries is not visible.
If I try selecting a BW Query that is visible this BW query does not appear in the BW Query field in the Create Model window.
However as I press 'enter' I get a field selection list!
Last but not least, I cannot type manually a BW Query name in the abovementioned BW Query field.
I am not sure it is related, but I found a note about some UI problem at model creation
"Data Mining: UI adjustment SAP Note Number: 851886". It says that BW35 SP14 should be needed. I am currently on SP12.
Does anyone have the same problem. What is the solution to it?
Claudio Ciardelli
SAP BI Consultant at Unisys.

Hi,
- do you see the variables from the BW query in Crystal Reports ?
- where in the BW query are the variables defined ?
Ingo

Similar Messages

  • Linking Session Model with query model

    Hi All,
    How do we implement a basic Session Model? Can we use a Session Model similar to Query Model and bind all the columns/attributes with that of ViewBean's ? Does Studio support that. We have a requirement wherein we need to manipulate the fields in the session across page request and then update the database from session. Is there any way to transfer values from Session Model to Query Model at runtime? Please throw some light on this topic.
    Thanks
    Allam

    All models work the same when it comes to binding to display fields of ViewBeans and TiledViews.
    A SessionModel does operate a little different though. The fields of a SessionModel are just "passthrough vehicles". In other words, when value is set on a display field that is bound to a SessionModel field, that value is not stored in the model, like a QueryModel, rather the value is written directly to the HTTPSession attribute immediately. There is not need to "execute" the model to make it update it's backend datastore, like a QueryModel with a DB.
    As for transferring values from SessionModel to a QueryModel, you would have to do that manually, but I think you are missing the point of the SessionModel. It was meant as a means to bind a view's display fields to the HTTPSession and not much more. If you want to use a QueryModel over several page requests and update it at the end you can just "session" the QueryModel.
    The QueryModel (and other executable models) have an API that declares them to be stored in session at the end of the request, and retreived from session when you get the model.
    See the javadocs for
    getModel(<Model>, <String>, <boolean>, <boolean>)
    and then let me know if you have further questions.
    craig

  • How to show additional column in the Query searchby field selection window?

    Hi Experts,
    I have a simple query as below:
    select * from ocrd where cardcode between '[%0]' and '[%1]'
    Now, it is evident that the searchby field is the cardcode, so when I click on the browse button, all cardcodes will be displayed for me to choose on a separate selection window. Now, on this separate selection window, can I also show an additional column "customer name"?? This is because I cannot really identify every customer code, and need to depend on customer name instead.
    Thanks!
    Warmest Regards,
    Chinho
    note: please dont ask me to use the below query instead, that is not what I want to achieve.
    select * from ocrd where cardname between '[%0]' and '[%1]'

    Hi!
    It's not possible i belive. You can use Filter Option instead on Selection Parameter.

  • Please help creating data model where query has & in select

    Below is the actual code of the part of select having a problem.
    When I had '&' instead of chr(36), a window opens up saying 'Please enter values for lexical references in sql then has *&' and empty box and check box then flex field.
    So I replaced '&' with chr(36) below
    After I put the code in, it is asking me the question ====>
    'Do you want to create a bind parameter? : //wwwapps.ups.com/WebTracking/processInputRequest?sort_by
    ,'=HYPERLINK("http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status'||CHR(36)||'tracknums_displayed=1'||CHR(36)||'TypeOfInquiryNumber=T'||CHR(36)||'loc=en_US'||CHR(36)||'InquiryNumber1='||mbl.tracking_number||CHR(36)
    ||
    'track.x=0'||CHR(36)||'track.y=0","'||mbl.tracking_number||'")' "Tracking Link (Click to Track)",

    Hi,
    Looks like no more problems creating data models after replacing the '&' and ':' with their chr(x) counterparts. But when they I run the report, it shows the hyperlink code below instead of the hyperlink tracking number they can just click on. Also when I try the query in toad, it works.
    =HYPERLINK("http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status&tracknums_displayed=1&TypeOfInquiryNumber=T&loc=en_US&InquiryNumber1=&track.x=0&track.y=0","")

  • Adhoc query custom field selection

    Hi Experts,
    In adhoc query, we have added a custom field and we find that it is giving correct output.  However, we want to make the "selection" box appear and we don't know how to do it.  Would you have instructions?
    If we add standard/ready-made fields to a field group, both the selection and output boxes are already available but if we copy the standard to make a custom field, only the output box is available.

    Hi,
    Where do we find this customizing field we need to select? We have tried accessing sq01 and changed a query we have created. We clicked on the basic list button and checked the checkboxes for list field and selection field.  When we got to infoset query, the selection checkbox is still missing.  Are we checking the right path?  The infoset is also missing that checkbox.
    We also got a suggestion here that maybe the problem is on the "extras" tab in SQ02 - that our field should have an entry there.

  • Field selection problem in a form created in Oracle forms 9i

    I am using an application created in Oracle 9 i Forms. Mouse navigation in the forms do not work properly. Since a field is selected and some string is typed then first character is allways ignored hence it is necessary to press a key like before typing required string. The same application works well when I'm using Oracle JInitiator.

    Hi, again and thanks for the patience. I am using the oracle plugin all the time and it works. But I need to use the application on different computer where the oracle JInitiator could not be installed. There I am trying to use the Sun Java Plugin Version 1.4.2_06 (build 1.4.2_06-b03) which shall be compatible. Since last time I asked again the provider and I found that the application is pure Oracle Forms 9i application which doesn't need Java when it is run on the computer where the application is instaled. The Java plugin is then used to show the forms and to provide the comunication between clients and application server. Probably it is clear to you however I am not a developer but poor user only. I have also tried to play with the application to find how it works (or doesn't works). It seems that the problem is exactly with mouse navigation. When tab or enter is used then it works fine. But when a form field is selected by mouse then a character is typed and i can see it. But when I continue with the writing the first character is overwrite. Sometimes when there is a list of records row by row and I try to get to next row using the mouse the application tells me that some bloody key is not valid but using the key down I can easily go ti next row. To tell the truth I don't like mouses at all so it is no problem to me but other users do not know how Tab works :-)

  • Field selection problem in Oracle Forms

    I am using an application created in Oracle 6i Forms (patch 11).
    Mouse navigation in the forms do not work properly.
    Since a field is selected and some string is typed then first character is always ignored hence it is necessary to press a key like before typing required string.
    I'm using Java VM 1.4.1 on client-side,
    The same application works well when I'm using Oracle JInitiator.
    does anybody know how to work around the problem ?
    thanks

    Hi, again and thanks for the patience. I am using the oracle plugin all the time and it works. But I need to use the application on different computer where the oracle JInitiator could not be installed. There I am trying to use the Sun Java Plugin Version 1.4.2_06 (build 1.4.2_06-b03) which shall be compatible. Since last time I asked again the provider and I found that the application is pure Oracle Forms 9i application which doesn't need Java when it is run on the computer where the application is instaled. The Java plugin is then used to show the forms and to provide the comunication between clients and application server. Probably it is clear to you however I am not a developer but poor user only. I have also tried to play with the application to find how it works (or doesn't works). It seems that the problem is exactly with mouse navigation. When tab or enter is used then it works fine. But when a form field is selected by mouse then a character is typed and i can see it. But when I continue with the writing the first character is overwrite. Sometimes when there is a list of records row by row and I try to get to next row using the mouse the application tells me that some bloody key is not valid but using the key down I can easily go ti next row. To tell the truth I don't like mouses at all so it is no problem to me but other users do not know how Tab works :-)

  • SAP Query Manager Parameter selection problem

    Experts,
    Declare @Fromdate datetime
    Declare @ToDate datetime
    set @Fromdate =(select MIN(T0.docdate) from OPCH T0 where T0.DocDate >='[%0]')
    set @Todate =(select Max(T0.docdate) from OPCH T0 where T0.DocDate <='[%1]')
    select
    ROW_NUMBER()  OVER (ORDER BY  T0.DocNum) '#',
    T0.DocNum 'AP Invoice Document Number',
    T0.DocDate 'AP Invoice Posting Date',
    T0.NumAtCard 'Vendor Ref No',
    T0.CardName 'Vendor Name',
    T1.ItemCode 'Item Code',
    T1.Dscription 'Item Description',
    T1.Quantity 'Quantity',
    T1.LineTotal 'Gross Total',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '4') ), 0) 'VAT 4',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '5') ), 0) 'VAT 5',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '12.5') ), 0) 'VAT 12.5',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '14') ), 0) 'VAT 14',
    T0.DocTotal 'Grand Total'
    from OPCH T0 inner join PCH1 T1 on T0.DocEntry = T1.DocEntry
    where T0.DocDate >= @Fromdate
    and T0.DocDate <= @ToDate
    This gives error again

    Hi,
    Try this one:
    Declare @Fromdate datetime
    Declare @ToDate datetime
    set @Fromdate =(select MIN(T0.docdate) from OPCH T0 where T0.DocDate >='[%0]')
    set @Todate =(select Max(T0.docdate) from OPCH T0 where T0.DocDate <='[%1]')
    Select * FROM ( select ROW_NUMBER() OVER (ORDER BY T0.DocNum) '#',
    T0.DocNum 'AP Invoice Document Number',
    T0.DocDate 'AP Invoice Posting Date',
    T0.NumAtCard 'Vendor Ref No',
    T0.CardName 'Vendor Name',
    T1.ItemCode 'Item Code',
    T1.Dscription 'Item Description',
    T1.Quantity 'Quantity',
    T1.LineTotal 'Gross Total',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '4') ), 0) 'VAT 4',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '5') ), 0) 'VAT 5',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '12.5') ), 0) 'VAT 12.5',
    ISNULL ((Select MAX(T2.TaxSum) from PCH4 T2 where (T2.DocEntry = T1.DocEntry and T2.LineNum = T1.LineNum and T2.staType = '1' and T2.TaxRate = '14') ), 0) 'VAT 14',
    T0.DocTotal 'Grand Total'
    from OPCH T0 inner join PCH1 T1 on T0.DocEntry = T1.DocEntry
    where T0.DocDate  BETWEEN @FromDate AND @ToDate ) as result
    Thanks.
    CLint

  • Field Selection in Query

    Hi Experts,
    I created a query with a join on 2 tables( Table A and B). B may not have records all the time so I joined them with left outer join. Now I get all records from A based on selection criteria showing blank in fields from B if no entries are found in B.
    Now I have entires from B that repeat in output. I want to stop multiple entries from B (Eg: value field). I have 2 entries in table B, with value 0 and value $$. <b>I want all entries from A with entries from B ( but only those entries from B that have value $$) AND blank entries but NOT entries with value=0.</b> I cannot select value field in <i>selection</i> and do an exclusion as this will exclude my blank entries from table B.
    Is there a way to select entries from 1 table based on a field entry eg: Select only those fields with value $$ but NOT Value 00, while joining tables in Query.
    Thanks
    ABAP, Query, Joins, Field selection, Exclusion

    you can do a where condition as below example..
    SELECT
        SALESREP.EMPID,
        ORDERNO,
        CUSTID,
        ORDDATE,
        BILLED,
        PAID
    FROM
        SJD.SALESREP SALESREP
        LEFT OUTER JOIN SJD.SALESORD SALESORD
        ON
        SALESREP.EMPID = SALESORD.EMPID
    WHERE
        SALESORD.PAID NE 00.

  • Creating a complex query in CR designer

    I'm running Crystal Reports XI Release 2 on Windows NT. I have a very complex query and cannot figure out how to make it work in CR. Basically, I've got a table A with fields containing reference codes that may or may not be present. I created a SQL query that imbeds select statements in the select fields (the field names between SELECT and FROM). So, it would read something like SELECT field1, field2, (select Code_Name from REF_Table where REF_Table.code=TableA.code and TableA.code is not null) FROM TableA. That works great in SQL Developer.
    In CR, I tried a command field but that produces a cartesian set where I get a line for every record that has the field for each and every record in TableA.  No good. I just want the name for the value in the TableA record translated to the name if it is present.  Is there a way to do this in CR? I used to be able to edit the SQL directly in CR but now it won't let me do that. Anyone know a better way to solve this kind of problem?

    I'm not an Oracle guy so I don't know what you can or can't do in PL SQL.
    I'm surprised that you are getting different results between SQL Developer and the CR Command. CR should pass the query, exactly as it's written back to the server, same as SQL Dev.
    IN T-SQL...If  you want to make sure that the sub-query is returning only 1 row, try placing "TOP 1" behind the SELECT.
    (select top 1 loc.location_name
    from ref_location loc
    where loc.location_num=obd.location_num and odb.location_num is not null)
    I'm thinking that Oracle doesn't have the the TOP N option but it does have a rownum feature. So maybe...
    (SELECT x.location_name
    FROM (
        select loc.location_name
        from ref_location loc
        where loc.location_num=obd.location_num and odb.location_num is not null) x
    WHERE rownum = 1
    ORDER BY rownum)
    This is assuming that Oracle allows you to use ORDER BY in a sub-query. T-SQL only allows it if it's used in conjunction with TOP N...
    Just a thought,
    Jason

  • FIELD SELECTION KEY

    Hi,
           I have a query regarding Field Selection Key.
    I want to know the difference between Field Selection Keys AKTH, ME21, and ME21N.
    I have observed during Testing that, AKTH and ME21N are almost the same.
    But, I like to know the difference.
    Which is to be used when?
    Please give suitable suggestions in this regard.
    Thanks in advance.
    Thanks & Regards,
    Srinivasa M.S
    +91-9910077829

    Hi,
    Go through following information.
    Field selection key: -
    You should not delete the field selection keys listed below, which the dialog program uses for control purposes, otherwise the dialog may terminate during processing:
    1. Field selection key: transaction
    The field selection key that corresponds to the transaction code: for example, field selection key ME22 for the transaction "Change Purchase Order". For the Enjoy Purchase Order transactions (creating, changing, displaying), there is only field selection key ME21N.
    2. Field selection key: activity type
    Is set from the activity type as follows:
    AKTH    In creation mode
    AKTV    In change mode
    AKTA    In display mode
    AKTE    With PO extension
    You should note that you can also add items in change mode (for example, transaction ME22). Field selection key AKTH would be used for this item.
    3. Field selection key: purchasing document type
    The field selection key that you have assigned to the document type for the purchasing document. For example, field selection key UBF is assigned to document type UB, which is used for stock transfer orders (within a company code). In this key, the fields Price and Price unit are suppressed.
    4. Field selection key: item category/document category
    This is determined from the item and document categories as follows: The first two characters consist of the letters 'PT', the third character of the item category (internal representation), and the fourth of the document category:
    A   for RFQs,
    B   for purchase requisitions
    F   for purchase orders
    K   for contracts
    L   for scheduling agreements
    Accordingly, field selection key PT3F would be used for a subcontracting item in a purchase order.
    Field selection key: function authorization/release status
    Purchasing documents: Used for authorization control. If the user parameter EFB (function authorizations in Purchasing) has been assigned and a field selection key has been assigned to the relevant value, this field selection key is used. Otherwise, field selection key $$$$ is used if the user has insufficient authorization to display prices.
    Purchase requisitions: If the purchase requisition is subject to a release strategy and a field selection key has been assigned to the current release indicator, this field selection key is used.
    Field selection key: subitem/creation indicator
    Purchasing documents: Is only used in the case of subitems. The field selection key is put together in the same way as for the item categories (field selection key 4), with the string 'UP', the subitem category, and the document type.
    Purchase requisitions: the field selection key that is derived from the creation indicator in the purchase requisition, that is, ESTV, ESTF, or ESTD, is used in the case of purchase requisitions generated from within Sales and Distribution, from a production order, or through direct procurement.
    5. Field selection key: purchase requisition
    In addition to the available field selection keys, you can define a field selection key at function authorization level to influence the input characteristics of fields in the Enjoy Purchase Requisition.
    You can use this field selection key to set up groups of users that have certain restrictions when editing purchase requisitions.
    SAP Recommendation: -
    SAP recommends that you accept the settings defined in the standard system. In this case, no action is required on your part.

  • Field Selection Keys related to Purchase Order

    Hi,
           I have a query regarding Field Selection Key.
    When we go to Field Selection Screen connected to Purchase Order, we can find so many Field Selection Keys viz., $$$$, $$$2, AKTH, ME21N, etc.
    How to judge which is to be used when?
    I like to know how these Field Selection Keys are linked to Purchase Order Screen in the background.
    Please guide me in this regard by giving proper suggestions in this regard.
    Thanks in advance.
    Thanks & Regards,
    Srinivasa M.S
    +91-9910077829

    Hi Karthik,
                        Thanks for your valuable information.
    I like to know few more things.
    1) Is it possible to create our own Field Selection Key?
    2) If you observe the list of Field Selection Keys related to Purchase Order Screen, you can see that there are Field Selection Keys by name ME21N, ME21, AKTH, etc.
    If the Field Selection Keys are predefined by SAP, it is OK. But, if there is an option to create our own Field Selection Key, then what is the procedure to do the same?
    It seems that ME21N, ME21, and AKTH are used for Create Purchase Order Screen.
    There are also keys ME22N and ME23N used for Change Purchase Order Screen and Display Order Screen.
    I am little bit confused about this.
    We are linking the Field Selection Keys to the Document Types.
    But, I think it is only for create Purchase Order Screen. Please correct, if I am wrong.
    Also, I like to know how we are linking the Field Selection Keys related to Change Purchase Order Screen and Display Purchase Order Screen?
    Please clarify all my doubts by giving proper suggestions.
    Thanks in advance.
    Thanks & Regards,
    Srinivasa M.S
    +91-9910077829

  • Field selection PT1L not defined

    Hi,
    We have configured a new document type and field selection for scheduling agreement. When we tried creating an SA, system prompted "Field selection PT1L not defined" error. What does the error mean? How do we go about it?
    Please advise.

    Hi,
    PT1L is something whose use is not at all logical the reasons are and thus not defined in standard SAP
    1> From the term PT1L it represents Limit item (i.e Blanket ) for Scheduling agreement
    2>Now we use SA to work with schedule lines but for Limit items there no GR or any goods receipt so what is the use of SA in     this case better you go with PO.
    3>obviously you can create PT1L by copying any other existing field selections in (but I would suggest not to do this)
    OLME ->Scheduling agreement ->Define Screen Layout at Document Level
    Also read this
    http://www.sap123.com/a/41/

  • Query related to filter group on matnr created in ALE distribution model

    Hi All,
    I have query related to filter group on matnr created in ALE distribution model.
    I have created a filter group on matnr in ALE distribution model and put the value E*  ( purpose is that all the material number started with E should be triggered in case of any changes in the material).But it is not working.
    <b>Can anybody suggest the solution for this i.e how to capture E* value for the material master changes and should trigger idoc using change pointer using BD21.</b>
    Thanks & Regards
    Prabhat

    Unfortunately, you cannot filter using wildcards or exclusions.  You have to explicitly list each allowed value in its entirety.
    In my opinion, the simplest solution would be to copy function MASTERIDOC_CREATE_SMD_MATMAS, modify it to handle your custom filtering and update the message type entry in transaction BD60.

  • Creating an SQL Query for Project Custom Fields Values

    Hello:
    I'm currently trying to create an SQL Query to show all of the server's Project Custom Fields Values, along with the modification date.
    So far, I've managed to display correctly all of the data for all of the Projects' text value Custom Fields (those not based on a LookUp Table) with this query:
    SELECT
    MSP_PROJECTS.PROJ_NAME,
    MSP_CUSTOM_FIELDS.MD_PROP_NAME,
    MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE,
    MSP_PROJ_CUSTOM_FIELD_VALUES.TEXT_VALUE,
    MSP_PROJ_CUSTOM_FIELD_VALUES.MOD_DATE
    FROM
    MSP_PROJ_CUSTOM_FIELD_VALUES
    INNER JOIN
    MSP_CUSTOM_FIELDS
    ON MSP_CUSTOM_FIELDS.MD_PROP_UID = MSP_PROJ_CUSTOM_FIELD_VALUES.MD_PROP_UID
    INNER JOIN
    MSP_PROJECTS
    ON MSP_PROJECTS.PROJ_UID = MSP_PROJ_CUSTOM_FIELD_VALUES.PROJ_UID
    WHERE
    MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE IS NULL
    ORDER BY
    MSP_PROJ_CUSTOM_FIELD_VALUES.PROJ_UID,
    MSP_PROJ_CUSTOM_FIELD_VALUES.MD_PROP_UID
    However, when I try a new Query to obtain the actual values for the Projects Custom Fields that do use a LookUp Table, I can't seem to find what table in the model I'm supposed to link to the MSP_PROJ_CUSTOM_FIELD_VALUES.CODE_VALUE field (the TEXT_VALUE
    field has NULL value when CODE_VALUE field isn't NULL)
    Any suggestions on how to obtain the actual Projects' custom fields values instead of the Code Value, for Metadata that do use a LookUp Table?
    Also, I'm able to run this query only in the Published Database, since the MSP_CUSTOM_FIELDS table is empy in the Draft Database. Why is that?
    Awaiting your kind reply,
    Sebastián Armas PMO Project Manager

    Hi Sebastián, rather than directly accessing the database it would be better to use the PSI to get this data.  Take a look at the ProjTool sample in the SDK whcih gets this data.
    Best regards,
    Brian.
    Blog |
    Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
    Project Server TechCenter |
    Project Developer Center |
    Project Server Help | Project Product Page

Maybe you are looking for

  • How do I keep my contacts separate from other users under the same Apple ID?

    First, we have a single Apple ID that we use to log into iTunes and App Store.  We also have separate iPads.  Recently, my wife purchased an iPhone 4S.  During setup, she entered the Apple ID we use.  What happened next was that all of my contacts we

  • Crystal Report as PDF without Crystal Report Viewer

    Hi, i have a question to a Crystal Report document. The situation is, that i have a document in InfoView. If i open the Crystal document, it will be launch the Crystal Report viewer in the IE. The next step is to use the export function, to create a

  • Pdf not opening in browser

    Just starting yesterday I am unable to open a PDF file with my browser (Chrome) . It wants me to download the file.  Until yesterday I was able to open any file and just view it with the browser with out downloading it as a file. What do I need to do

  • Layer menu colours ps cs4

    Hi I know it is probably very easy and obvious, but after a lot of searching i cant find an answer. I have got as far as thinking its something to do with the edit> menu...  options. So, how do i change the colour of a selected layer in the menu gui

  • I do not have the Privilege to update my iPod

    I just switched from my PC to my new Macbook. I had to restore my iPod and reload all of my songs but when I try to update it, it gives me the message, "The iPod...cannot be updated. You do not have the privilege to make changes." I'm new to Mac so I