LOB fields and group

Hello all!...
if I have a TABLE(FunctionName())'s dataset, where it returns three fields which they are a NUMBER, a VARCHAR and a BLOB, and a table TBL01 and I create a view LIKE:
CREATE OR REPLACE VIEW vw_detail
rs.ID,
rs.DESCRIPTION,
rs.DOCUMENT,
TBL01.AUTHOR,
TBL01.DATE_CREATION
AS
SELECT
FROM
TABLE(FunctionName()) rs
JOIN TBL01 ON
(TBL01.FK_RS = rs.ID)
GROUP BY
rs.ID,
rs.DESCRIPTION,
rs.DOCUMENT,
TBL01.AUTHOR,
TBL01.DATE_CREATION
ORDER BY rs.ID DESC;
why it returns me this following error?
ORA-00932: inconsistent datatypes: expected -, got BLOB
I would create that view so in the next step I'd SELECT directly the VIEW to obtain whatever I want...uhm maybe is there a different way to implement this CREATE VIEW?....

You could perhaps try something in this style... +(untested)+
CREATE OR REPLACE VIEW vw_detail (FIELD1,FIELD2,FIELD3,FIELD4,FIELD5) AS
  WITH rs AS (SELECT * FROM TABLE(FunctionName()))
  SELECT rs.ID,
         rs.DESCRIPTION,
         rs.DOCUMENT,
         TBL01.AUTHOR,
  FROM   rs
         JOIN TBL01 ON (TBL01.FK_RS = rs.ID)
  WHERE  (rs.ID,rs.DESCRIPTION,TBL01.AUTHOR,TBL1.DATE_CREATION) =
                                      (SELECT rs.ID
                                              rs.DESCRIPTION,
                                              TBL01.AUTHOR,
                                            , MAX(DATE_CREATION)
                                       FROM   TBL01
                                              JOIN rs ON (TBL01.FK_RS = rs.ID)
                                       GROUP BY
                                              rs.ID,
                                              rs.DESCRIPTION,
                                              TBL01.AUTHOR,
  ORDER BY rs.ID DESC;Edited by: BluShadow on Sep 5, 2008 9:14 AM

Similar Messages

  • How to update a People and group field using a sandbox solution

    Hi,
    I am creating a sandbox solution for office 365 and creating a custom form using visual web part, which will allow users to enter data in a custom list.
    And that list also have a user field. I am able to get SharePoint user field on the form (using javascript) which is searching for the user and get a value (working fine).
    Issue: But I am not able to save the user value. Because to save user value I require web, UserID and login name, to construct SPFieldUserValue object or string in "111;#TestUser" format. Moreover that user should be present in
    SiteUserInfoList. 
    I tried web.EnsureUser() but did not work under sanbox solution.
    Can you please provide any pointer or workaround to the problem? I may be missing something here.
    Thanks,
    Himanshu

    Hi,
    According to your description, my understanding is that you want to update the people and group field in Sandbox solution.
    In the sandbox solution, you can still use the web.EnsureUser() function to get the user information, see the thread below:
    EnsureUser in sandboxed solution
    In additional, there is a demo with your similiar requirement for your reference:
    Using the People Picker Control in Sandbox Solutions / Office 365
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Difference between field staus group for posting key and GL account

    Hi all,
    can anyone tell me what is the difference of usage for field status group in posting key and GL account as i notice the fileds are the same. during data entry, system will check both field status or how?
    thanks.

    Hi
    Both are to control the field status of the line item.
    But, the FSG of the Posting Key and the GL FSG status should not clash like below.
    Take 'Assignment' field as example :
    Posting key FS - Suppress & GL FS - Required    - will give you error message at the time of posting
    Posting key FS - Required & GL FS - Suppress    - will give you error message at the time of posting
    Otherthan the above, all other combination works
    VVR

  • Group Description in Drill down and grouping on field

    I want to put a formula field for grouping, but I want to display some text(description) in group drill down.
    My group field is numeric and I want to display text on right side of drill down report.

    Hi Seema,
    In order to display a different group name you may try the below steps:
    -  Right click on the group and click on change Group option and then click on Options taband then check the box which says 'Customize Group Name Field'.
    - Now either 'choose from existing field' or 'use a formula as group name' to display the group description.
    This would help you to display the appropriate description for that field.
    Regards,
    Komal Prasad

  • Subtring and grouping field

    I need to know how to group by the last four position of field such as 02 1604 430 5015. I would like group by 5015 and sum by 5015. I new to crystal reports and trying to create a report for a end-user.

    50160
    01   1042 540  5160   Con Workshop   10.00  45,000.00        01   1042 540  5160   Con Workshop     0.00  30,000.00       
          Total                                            10.00  75,000.00      
    This what I am tyring to do get  the substring and sum to do. Now  the substring and grouping works but I need totals of the amounts by that subcode.(5160) as shown above.

  • Field Authorization Groups for partners and texts

    Hello,
    We would like to use the Field Authorization Groups in the customer master to restrict update of specific fields.  One problem we face is that we can't seem to find a way to restrict the authorization on the partners and texts.  Has anyone come across this issue and found a solution?  If so, could you please share it with us?
    Thanks,
    Christine

    Hi,
    For the text this is clearly not possible.
    Text is an additional component above of the transaction. It is not fully integrated. So there are some limitations
    For the partners. I guess you mean partner functions of a customer.
    I'm a bit surprise. The fields below should be customizable
    KNVP-DEFPA
    KNVP-KNREF
    KNVP-KUNN2
    KNVP-LIFNR
    KNVP-PARNR
    KNVP-PARVW
    KNVP-PERNR
    Hope this helps
    Alain

  • Field status group and variant

    hello all,
    i know the concept of field status and field staus group.
    but there is one thing i am not getting is where we are defining the field staus
    group in IMG and how do we link it to its variant.
    . kindly guide me.
    regards
    abhinav kumar

    Hi abhinav,
    You have to define field status outside of the master record. Mark the field status you need for each field or field group under a field status group. Then assign the field status group to individual G/L accounts in the G/L account master records.
    Field status groups are independent of company code, attaching instead to the field status variant. A separate variant exists in each company code for field status groups in the standard system. The name of the variant is identical to the company code. Each company code is assigned to the variant with the same name. You can work with the same field status groups in more than one company code, as outlined below: Proceed as follows:
    Maintain field status variants
    Assign a company code to the field status variant
    Do not forget to maintain the field status. Otherwise, all fields are suppressed.
    =========================================================
    The another way of saying the same thing is as following.
    Since the same fields for document entry are required for several G/L accounts, you define the status of fields for a group of G/L accounts. You create the definition under a field status group. Enter the key of the group in the master record of the G/L account. Field status groups are cross-company code, that is, they do not depend on the company code but on the field status variant. In the standard system, a separate variant for field status groups exists for each company code. The name of the variant is the same as the company code. Every company code is assigned to the variant with the same name. You can work in several company codes with identical field status groups as long as these company codes are assigned to the same field status variants. You define the field status for each individual posting key.
    Hope I had been able to help you out. please assign points and close the thread. let me know if you need anything specific.
    Rgds
    manish

  • Screen sequance and Field selection group

    Dear All,
    Kindly help me by explaining the different steps( in detail)  to modify the screens of Media product and media issue according to my requirement using screen sequance (Reference screen) and field selection group ?

    Hi,
    These are Object based (Like Material master, BOM, Routing etc..), so depending on how you want the screen layout and how you want the mandatory/optional field defination you can define it here.
    Regards,
    Prasobh

  • Trading Partner and Field status Groups

    Hello,
    I've red in previous posts how it's possibile to be mandatory the  trading partner field (VBUND) for G/L acounts.
    At the end; it seems that it could be done with a validation.
    But someone could explain me why it cannot possible to manage this with Field status Groups?
    Thanks in advance
    Alberto

    Hi,
    There are 2 options availabel to populate trading partner 1 is by populating in the GL account master in the initial screen by which you would need to have multiple inter-company accounts. Or you can go to the document type configuration OBA7 and select "enter trading partner " in control data this would populate trading partner in case the inter-company posting is between 2 co codes.
    You would also populate trading patner in the customer and vendor master which are inter-company.
    In scenarios where you have posting in more than one inter-company the system doesnt derive the trading partner there you need to populate the trading partner manually and hence you require a validation to make trading partner for a group of GL accounts.
    Hope this clarifies.
    Thanks and regards
    K.R

  • Known limit for how many characters can be entered in the To field when adding People and Groups ?

    I am running MOSS 2007 SP1. I browse to site settings > People and groups and a group which has more than 60 members. I select all > Click Actions > Email Users. Nothing happens. I select less users, new outlook window comes up as it should. I am running outlook 2007. I first thought that the limit was 50 users, but different user selections let me select 51 users as well. I then concentrated on the character limit and I noticed that there were about 1580 characters in the To field when I selected 50/51 users.
    Is there a known limit in sharepoint/outlook client for this function on how many characters can be entered in the To field?

    Hello Amar,
    This is a by-design behavior, not from SharePoint side, but Internet Explorer. The limitation by the 2083 characters in IE for the Max URL length is described in the following KB article:
    (KB208427) Maximum URL length is 2,083 characters in Internet Explorer
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;208427
    As a workaround, you may need to divide the list up and not send all the email at the same time. Hope it helps!
    Best Regards,
    Lionel

  • User and group field values not propagating in Sharepoint 2013 variation

    Hi,
    I have a issue, we have a User and group field in my Content type and this content type is attach to Pages library.
    I created one Page in source variation site and fill User and Group field with two user one is domain user and another is sharepoint\system account user.
    After variation work and page propagate to target variation , there is only sharepoint\system account and no domain user in user and group field.
    *****The main issue is domain user are not propagating in target variation site's fields.
    Thanks,
    dinesh

    can any one hep me on this

  • How to Hide Fields and shrink group in a crystal report

    I am workling on a report that is looking for the top 15 accounts by state based on assets. I did that by creating a running total field and supressing anything where that running total field is greater than 15. However, my problem is that if the state has more than 15 I have blank space between that state and the next one. Any way to clear that blank space??
    Thanks for your time

    Hi,
    How you suppressed the particular section Which containing the Objects.
    Suppose you are displaying Accounts in Details section , Suppress the section itself with your condiotion.
    Selection Expert>Common Tab> Suppress-->x-2
    {#RTotal0}>15
    Regards,
    Salah.

  • Selection criteria are not applied to summary fields on group footers.

    I wonder if anyone can help me with this problem.  I am using Crystal reports version 11.2, and my data source is a Sql Server view.
    The records on the view have a date field, and I have selected all records within a given date range in "Selection Formulas".
    The records are then grouped, and the Crystal summary facility used to summarise number fields on the group footers.
    So for example, if my view contains four records, one with field "amount" = 2, one with field "amount" = 8, one with field "amount" = 6, one with field "amount" = 3, but only the first two records are within the valid date range, you would expect to see the first two records listed out at detail level, then field "amount" summarised at group level, with a summarised value of 10.
    ie ....                record1                      2
                           record2                      8   
                           group level total         10
    This works fine when I run the report using Crystal's "print preview" facility.  However, when the report is run from within an application written in C#.NET, the selection criteria are not applied to the summary field, so you get ..
                           record1                      2
                           record2                      8   
                           group level total          19
    I tried putting the date selection criteria at both record and group level, but that did not work.
    I googled the problem and found an article explaining that Crystal first performs the record-level selection, then it creates the groups and totals up any summary fields, and only then does it apply the group-level selection criteria, which can lead to problems like the one I have described above.  However, since I have put my date selection criteria at both record and group level, I do not understand why I still get the problem.
    In one report I got round this problem by creating a formula that returned zero if the record date was outside of the valid date range, and returned the number field to be summarised if the date was valid, then summarising that formula, instead of summarising the number field directly.
    In other reports I created one formula to set a shared variable as zero, then another formula to accumulate it at detail record level, then another formula to display the variable at the group footer.  In other words, I did not bother with the Crystal summary facility at all, but created my own summary facility.
    While googling the problem to see what other people did in this situation, I noticed that most fixes used variations of the "shared variables and formulae" fix to get round the problem.
    The problem is that I have lots of complex reports and it will take ages to replace the summarised fields with shared variables and formulae.  The reports were initially tested with "Print Preview" so we did not notice this problem until the C#.Net application was ready to use them.  And I can't believe that you are simply meant to ignore the summary facility and re-invent the wheel by doing it all manually.
    Please tell me that there is something simple that I have been doing wrong!!!  If I have not given enough information for you to answer, please let me know.
    Thanks,
    Anne-Marie

    Hi, Anne-Marie;
    You may be running into a common issue that is docuemented here:
    [SelectionFormula|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303334333833393335%7D.do]
    Regards,
    Jonathan
    Edited by: Jonathan Parminter on Mar 16, 2009 8:03 AM

  • Form Field Layout-Group Not Working

    I have LiveCycle 8.0 and when I select multiple text field to group them the group menu item in the layout menu is grayed out.  I've selected items by CTRL-click, lasso and no method works.  Please help.  Thanks, Roy

    you want to email it and I'll look and/or group the fields?
    [email protected]

  • Field  and Table name for purchaser

    I want to know the field and table name for purchaser id and purchaser name.
    Plz help me.

    Dear
    Purchaser name are define in Header level data in Purchase Order EKKO & Purchase ID define as a Purchasing Group
    Purchser Name EKKO-ERNAM
    Purchase I D  EKKO-EKGRP
    Regards
    Aamir

Maybe you are looking for

  • Special Stock Indicator (SOBZK) and Inventory Extractors

    I have activated business Business Content for the Inventory Management (0IC_C03) cube with Grouping as In DataFlow Before and Afterwards.  However, the special stock indicator field which is part of the extractor and not hidden does not come across

  • Storage Bin for Interim Storage Type 902 for GR

    Hi, We know that the the dynamic storage bin for goods receipt for PO is the PO number. However, when we are posting GR, system creates TR with interim storage bin as material document number. I looked into the movement type config. However, we can o

  • Creating movies in keynote???

    hi! i dont really know how to articulate my question so i will describe what i am planning to do. on one of my foils in keynote i would like to display a xray. i would like to create a movie of several regions of this xray being zoomed in and comment

  • Error while participant.assignToGroup

    When obpm executes this myparticipant.assignToGroup(groupId : "WS_Group"); it give me this error *Object [fuego.directory.DirHumanParticipant:WS_ABC] already exists in the directory. InternalId [OBPMDir.fuego_participant-fuego_in].* The error really

  • DVD Writer Upgrade Questions

    I have a few questions about upgrading my DVD+-RW Drive that I cannot seem to find anywhere on this wonderful world wide web of ours. What model are the superdrives currently going in G5's? Does anyone know if the Pioneer DVR-R100 would be compatible