Select parent row where child table does not contain a value

I have 2 tables Account and Transaction.
I want to find all accounts where there is not a transaction of a particular type.
eg find all accounts which do not have a transaction with a code of 20.
Help please.

Thanks for your help but I've got it sorted now.
The answer was
select clas_no, mainframe_acc_no, ttl_funds_available from summary_account sa1 where not exists (select 1 from
(SELECT unique sa.clas_no, sa.mainframe_acc_no, ttl_funds_available, tc.tc_type
FROM summary_account sa,
summary_transaction st,
transaction_type tt,
transaction_category tc,
transaction_group tg
WHERE sa.sum_acc_id(+) = st.sa_sum_acc_id
AND st.tran_type_id = tt.tran_type_id(+)
AND tt.tran_type_id = tg.tt_tran_type_id
AND tg.tc_tran_cat_id(+) = tc.tran_cat_id
     and tc.tc_type between 20 and 30)
          where sa1.clas_no = clas_no and tc_type = 20) and ttl_funds_available > 0
          order by clas_no

Similar Messages

  • Managed System Configuration ! The table does not contain any data !

    Hi,
    In Sol Man Setup , Managed System Configuration, in phase 6 - Create Logical Componets -
    There is no Product Version and Product Instance Available.
    The message is :  " The table does not contain any data "
    How can correct this problem ?
    Thanks

    Hi,
    while creating new Logical Component via SMSY , you need to specify Product first.
    e.g. if you managed system is ERP 6.0 , select Product as SAP ERP
    once you select Product , it automatically fetches information for product Version and Main Instance depending upon Product field input.
    Please check and let us know if issue still persits.
    Thanks,
    Rupali

  • E-recruitment - Table does not contain visible columns

    Guys,
    I am currently working on the e-recruitment. I had came across this
    Table does not contain visible columns
    in the all the tab in Application Entry, Preselection, Selection, Offer face... Is it a configuration or is it a portal error?

    Hello,
    This is a simple configuration issue I guess if you are using EhP4. There are no table entries for the respective processes in table V_T77RCF_CDCYLST. Just go and configure for each process in User Interfaces > Administrator and Recruiter > Settings for Candidate Selection > Assign Columns for Candidate Shortlists the columns you would like to be displayed in each process based on the business requirement.
    Regards,

  • Error remote table does not contain a primary key

    I make replication between oracle and Microsoft sql using getway for sql but when I insert to table in oracle I get this error in apply process
    information :
    ASD.SUBHI.COM is database link from oracle to microsoft sql
    "DBO"."REGIONS" name of the table
    CREATE TABLE regions (a INTEGER primary key) command to create table
    error
    ORA-26711: remote table does not contain a primary key constraint ORA-26712: remote object is "DBO"."REGIONS"@"ASD.SUBHI.COM"
    Note: I go to sql server and verify that primary key is creates
    is this the best place to like this question ?
    if you need more details please tell me I need the answer

    I make replication between oracle and Microsoft sql using getway for sql but when I insert to table in oracle I get this error in apply process
    information :
    ASD.SUBHI.COM is database link from oracle to microsoft sql
    "DBO"."REGIONS" name of the table
    CREATE TABLE regions (a INTEGER primary key) command to create table
    error
    ORA-26711: remote table does not contain a primary key constraint ORA-26712: remote object is "DBO"."REGIONS"@"ASD.SUBHI.COM"
    Note: I go to sql server and verify that primary key is creates
    is this the best place to like this question ?
    if you need more details please tell me I need the answer

  • Constant PCORP for Ledger !* does not contain any value

    Dear SAP Guru's,
    I have a user attempting to process a credit memo via t-code FB75 and is receiving the following error message while attempting to post the transaction.
    Constant PCORP for Ledger !* does not contain any value
    The user was able to post to other customer accounts but this one.  The customer master looks fine. 
    POINTS AWARDED.
    Thanks!

    Hi,
    Pls go to the following path
    GL accounting(new)-business transaction-Doument Spiltting-Activate doument spiltting.
    Praobaly you would have chosen the standary a/c assignment check box and constant.
    That's y this error occured even i have got same error and it resolved now.

  • Dump showing that table does not contain any elements.

    Hi All,
    I have a table, with lead select.Based on the row selected, corresponding values of the row are filled in the input fields.
           I filter the table and only those rows are displayed which has status "waiting". Now the problem is when there is only one row with status "waiting", and process it, its status changes to "done", as a result of which there is no row in the table, and i get following error:
    Adapter error in INPUT_FIELD "IF_STATUS" of view "ZPWB.DISTRIBUTE_VIEW": Context binding for property VALUE cannot be resolved: The DISTRIBUTE_VIEW.1.PD_ITEMS_TAB node does not contain any elements
    Can you please help out:)

    I have now the same problem.
    somebody found out what the solution is for that issue?
    if i have an empty context i get a dump due to the context binding. what is the work around?

  • ORA-12014 table does not contain a primary key constraint

    Hi
    I have some existing Materialised Views I am trying to redeploy through OWB as its now our standard tool.
    The existing code has
    CREATE MATERIALIZED VIEW .......
    .REFRESH ON DEMAND WITH ROWID AS
    SELECT *
    FROM apps.fafg_assets
    When I create in OWB you only put the select statement, there is nowhere to put the 'with rowid ' part hence I get the following error on deployment;
    ORA-12014: table 'FAFG_ASSETS' does not contain a primary key constraint
    I cannot put a primary key on this table though so how do I get around this in OWB? Like I say writing the MV in PL/SQL putting the 'with rowid' bit makes it work?
    Thanks

    Hi...
    I believe you'll need a PK so Oracle will know how to update the MV. Is there any particular reason for you not having a PK in FAFG_ASSETS table? As an alternative, you may want to create a new column in this table and having a table trigger/sequence populating this column.
    But It looks like you are using EBS, so, I don't know if you can add new columns to tables.
    See if this thread can help you:
    Re: ORA-12014: table 'XXX' does not contain a primary key constraint
    Regards,
    Marcos

  • How to verify that the variable "does not contain" a value?

    Hi
    I am using CP 7.0.1.237.
    We want to use Text Area widget for a custom quiz and verify an answer. While we figured out how to verify the existence of certain keywords, we are not able to figure out how to verify that the content should NOT contain certain keywords. For example, we want to ensure that the text entered in this widget should not contain "Transformation" and "Non-compliant".
    Is this possible at all?
    Thanks
    Sreekanth

    Here's what the solution might look like in JavaScript.  This would be for SWF output and aimed at Cp 7.  For Cp 8, this would still work for SWF output, but you'd probably want to take advantage of the new unified JS API that gets and sets Cp variables for both SWF and HTML5 output.  You can read more about that here:  Common JS interface
    //Get the text area value from Captivate (SWF output Only)
    var cpTextAreaValue = document.Captivate.cpEIGetValue('m_VarHandle.v_TextArea);
    //convert the value to lower case to properly compare
    cpTextAreaValue = cpTextAreaValue.toLowerCase();
    //Check if text area value contains the words "transformation" or "non-compliant"
    if(cpTextAreaValue.indexof('organizational') > -1 && cpTextAreaValue.indexof('behavioral ') > -1 && cpTextAreaValue.indexof('managerial') > -1 && cpTextAreaValue.indexof('transformation') < 0 && cpTextAreaValue.indexof('non-compliant') < 0){
      //the text area has the correct answer so increment varScore
      //get the current score from Captivate
      var score = document.Captivate.cpEIGetValue('m_VarHandle.varScore');
      //increment score by 1
      score++;
      //set score in Captivate
      document.Captivate.cpEISetValue('m_VarHandle.varScore', score);
    } else {
      //the text area does not have the correct answer so show message to user inside of Captivate
      document.Captivate.cpEISetValue('m_VarHandle.v_message', 'Answer is not correct');
    This JS has not been tested.  Note that the "does not contain" operator is done using the "indexof" operator in JS. 
    Jim Leichliter

  • A selected row in af:table does not get sorted.

    Hi,
    When a table supports single selection and the table contains quantity of rows gt it can fit into its viewport, then, on sorting, selected row gets out of the sorting process. But when you move to the end of the table, select a row there and then sort the table, then all rows sorted correctly. The selected row, after sorting, always set as a first row in the current viewport, doesn't matter whether it is in the order or out of it.
    Noteworthy, when number of rows is lt the viewport allows:
    1. sorting works as it should to;
    2. on sorting/PPR'ing, as it gets some time, one can see how the viewport updates in two steps and in the first step the first row is the selected one.
    JDev's version is 11.1.1.3.0.
    VO, iterator and tree bindings, af:table all the props related to data retrieving, fetching and row displaying have default values.
    What can cause that?
    Thx,
    Y.

    Hi,
    so what you are saying is that the selected table row is not sorted but added on top. I tried to reproduce this with 11.1.1.3 but can't see the issue. I tried with editable and read-only tables
    Frank

  • Front Row Photos - Aperture Library does not contain photos

    Dear all,
    Front Row is working fine (iTunes, movies etc) except for photos.
    I don't use iPhoto, so it's linked to my Aperture Library.
    Front Row shows two Aperture Libraries:
    - Aperture Library
    - Library
    However both are empty. The structure is shown, so projects are shown, but everywhere yellow triangles with an exclamation mark and the message"there are no photos in this album"
    It's been bothering me for a while, so any help is sincerely appreciated,
    Thanks,
    Peter

    and then 3 months later, I found out that I need to update my previews in all the projects in Aperture. Now my Front Row is working (as well as syncing with iPad iPhone etc.). So that mystery is solved, but, I still have two libraries showing up in Front Row:
    Aperture Library (which shows projects, no folder structure)
    Library (which is exactly what my Aperture contains)
    How do I get rid off one of these?
    Thanks,
    Peter

  • HTTPBC POST does not contain any values on the recieving end.

    I have a BPEL which reads the content of a file as String and send it to a Servlet using the HttpBC Post method.
    But when I want to get this value on the recieving end (The Servlet), the httpRequest object is empty and it returns Null value?
    If I do the same thing using HttpBC Get method, it works fine (I can't use the Get method because the content of the file is sometimes too long, and for that reason I HAVE to use the Post method).
    I was just wandering where the Object is, when I use the Post method? How do I have to read the httpRequest object if I used the Post on HttpBC?
    Thanks in advance.
    Here is more info about my code:
    The WSDL:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="caPostOverHttp"
    xmlns:tns="caPostOverHttp" xmlns:ns="http://j2ee.netbeans.org/wsdl/bpPostOverHttp/wsdlABSFile" xmlns:file="http://schemas.sun.com/jbi/wsdl-extensions/file/" xmlns:ns1="http://j2ee.netbeans.org/wsdl/bpPostOverHttp/wsdlError" xmlns:ns2="http://j2ee.netbeans.org/wsdl/bpPostOverHttp/wsdlHttp" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:fi="http://java.sun.com/xml/ns/wsit/2006/09/policy/fastinfoset/service" xmlns:tcp="http://java.sun.com/xml/ns/wsit/2006/09/policy/soaptcp/service" xmlns:wsp="http://www.w3.org/ns/ws-policy">
    <import namespace="http://j2ee.netbeans.org/wsdl/bpPostOverHttp/wsdlABSFile" location="../jbiServiceUnits/bpPostOverHttp/wsdlABSFile.wsdl"/>
    <import namespace="http://j2ee.netbeans.org/wsdl/bpPostOverHttp/wsdlHttp" location="../jbiServiceUnits/bpPostOverHttp/wsdlABSHttp.wsdl"/>
    <portType name="dummyCasaPortType"/>
    <binding name="casaBinding1" type="ns:wsdlABSFilePortType">
    <file:binding/>
    <operation name="wsdlABSFileOperation">
    <file:operation verb="poll"/>
    <input name="input1">
    <file:message fileName="EP.xml" pollingInterval="1000" part="file_IN"/>
    </input>
    <output name="output1">
    <file:message fileName="output.xml" part="file_OUT"/>
    </output>
    </operation>
    </binding>
    <binding name="casaBinding2" type="ns2:wsdlHttpPortType">
    <http:binding verb="POST"/>
    <operation name="wsdlHttpOperation">
    <http:operation location=""/>
    <input name="input1">
    <http:urlEncoded/>
    </input>
    <output name="output1"/>
    </operation>
    </binding>
    <service name="casaService1">
    <port name="casaPort1" binding="tns:casaBinding1">
    <file:address fileDirectory="C:\Temp\input" lockName="filebc.lck" workArea="filebc-in-processing" seqName="filebc.seq"/>
    </port>
    </service>
    <service name="casaService2">
    <port name="casaPort2" binding="tns:casaBinding2">
    <http:address location="http://localhost:8080/waPollFileToHttp/Process"/>
    </port>
    </service>
    <wsp:Policy wsu:Id="casaBinding2Policy">
    <wsp:ExactlyOne>
    <wsp:All/>
    </wsp:ExactlyOne>
    </wsp:Policy>
    </definitions>
    The Servlet:
    public class Process extends HttpServlet {
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    String httpIn = request.getParameter("http_IN"); // http_IN is the string variable used in the BPEL which contains the content of the file. Using Post returns null for this parameter, but using GET it returns the actual value.
    System.out.println("SERVLET PROCESS:");
    System.out.println(request.getQueryString()); // using POST returns null but using GET returns the actual value.
    System.out.println("HTTP_IN:");
    System.out.println(httpIn);
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    processRequest(request, response);
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    processRequest(request, response);
    }

    you are using request.getQueryString() in servlet to read the content however as per the specification it returns the query string that is contained in the request URL after the path. To read the content of the post request, use getInputStream method or any open source API.
    Edited by: Adhir_Mehta on Mar 4, 2010 3:57 AM

  • Request does not contain any saved update rules; rollback not possible

    Hi,
    In BW on hana, there's a 3.x flow DSO where it loaded a request from PSA.
    It failed due to activation error SID Generation.  But unfortunately, due to PSA Deletion process chain, it's PSA Request got deleted.
    Now, we couldn't delete the red request(failed request) from the 3.x flow DSO.
    If we try to delete, it shows job has been completed successfully with the following message:
    Job started
    Step 001 started (program RSDELPART1, variant &0000000004233, user ID )
    Delete running: DataStore object ZREBATE, from 630,138 to 630,138
    Delete is scheduled; Selection conditions were substituted
    Request REQU_6412GVIEWBJ0TZZIMZE2TZIOR does not contain any saved update rules; rollback not possible
    Deletion of request REQU_6412GVIEWBJ0TZZIMZE2TZIOR from data target ZREBATE failed
    Deletion of request REQU_6412GVIEWBJ0TZZIMZE2TZIOR from data target ZREBATE failed
    Request REQU_6412GVIEWBJ0TZZIMZE2TZIOR does not contain any saved update rules; rollback not possible
    Job finished
    I went to the table RSICCONT and checked the mentioned request.  But I couldn't find delete option enabled.  Even our basis team doesn't have authorization to delete the  mentioned request from the standard table RSICCONT.
    Request you to please help me how to handle this.
    Regards,
    Antony Jerald.

    Hi Antony,
    Once you have deleted the data in PSA there is no way to reconstruct the request hence you can do below things to correct it
    1) Identify the No of Records which having error , because if you have more records it will take more time as in debug mode we have option to edit only one record at one.
    2) Display only one record in Active table and change it using the Debug option ( not recommended ), but as you are in corner we need to use this
    3) change the records with respective values and active the request again
    Regards
    Jagan

  • In a purchase order for 3 GR's Quantity does not equal the value

    Hi,
    I have found the difference in one purchase order, there have been 3 GRs where the Qty does not equal the Value.  How has this happened?
    Any guesses why the difference has come.
    Thanks&regards,
    Veena

    Hi Vishal,
    In po history for agt 3 Gr's  Quantity does not equal the values. I hope the difference is Movement types. But exactly where to check this movements i am not getting.
    Can you tell me this which T.code.
    Tx,

  • Report painter execution error - GR657 - set does not contain any entries

    Hello,
    During our execution of report we are getting the below error:
    Set 0102PCBT1IPROVDIV in set 0002$ZA13#######ROW0236 does not contain any entries
    Message no. GR657
    Diagnosis
    You cannot use empty sets to define reports.  The single-dimension set contains a basic set that does not contain any values.
    Procedure
    Use a set that contains at least one value, or enter values for the set defined.
    This has been discussed in a similar Thread in May 2010 by puri & Praveen Jagdeesan,
    However I am unable to trace the set & how to delete the blank values.
    0002$ZA13#######ROW0236 or ROW0236 in the system.
    Set 1IPROVDIV is exisitng in system.
    Also when we go to KAH3 - Cost element hierarchy & see in the where used list we are not able to see the set being used in the report whereas the system from where we have exported the report we can see that this set is being used in the report.
    Please could you help in resolving the same.

    Hello Murali,
    Thanks for the reponse. But set 0002$ZA13#######ROW0236 is not available in system.
    Please could you guide me on the same.
    Thanks & Regards
    Shreenath

  • GR  Qty value does not equal the value

    Hi,
    In PO,there have been 4 GRs where the Qty does not equal the Value.  How has this happened? 
    Could you please suggest me why the difference has come.
    Thanks in advance,
    Cheers,
    Veena

    Hi,
    Yes.you are right.My suggestion does not work here.
    Mr.Adam has given the perfect solution.
    But the problem is the limitations on availability to
    define Before aggregation as the aggregation property
    for CKF,even in Version older than 7.
    So try to implement the solution given by Mr.Adam with
    reference to version7 in your query even though your
    version is less than version 7.
    With rgds,
    Anil Kumar Sharma .P

Maybe you are looking for

  • Files creating through remote desktop is not updating in office computer

    Hi, we are currently using windows 2008 standard server for terminal service. colleagues are allowed to work through rdp. Recently one of my colleague said, when he is accessing the terminal server through remote, the files, folders and whatever he c

  • Syndication server issue

    Hi All, I am facing an issue with the syndication server. The syndication server is scanning only 2-3 ports out of a total of 30. It is bypassing the rest of the ports. When i am checking the syndication server logs, i am able to see few ports only.

  • I am not able to download any new music to my ipod touch. It has all the updates.

    I am not able to download any new music to my ipod touch.  It has all the new updates.  When I connect my ipod to the computer, the new music does not download. I need some help please!

  • Import multiple CDs into i tunes ?

    I am new to i tunes and yesterday purchased a (2cd)album from i tunes all ok. I am trying to import one of my own albums that also has 2 CDs. Can someone give advise as to how i get "all" tracks from the 2 CDs onto the one album.Hope i have explained

  • Outage report

    There is a wireless data outage in Connellsville, PA 15425. Voice is fine, data needs fixed. Thank you.