Help required to get data from Cash Mgt

Hi
I need help to get following data from cash managemment .
Bank Name
Branch
Account#
Date
cheque#/Ref
Amount Direct Debited by bank
Amount Direct credeted by bank.
Kindly help
Regards

Hello.
See if this helps. When the Amount column shows a negative number it represents a Debit.
select b.bank_account_name "Bank Account" ,
bb.bank_branch_name "Branch",
b.bank_account_num "Bank Acc Num",
l.trx_date "Date",
l.trx_type "Type",
l.trx_text "Description",
l.amount "Amount"
from ce_statement_headers_all h,
ce_statement_lines l,
ap_bank_accounts_all b,
ap_bank_branches bb
where b.bank_account_id = h.bank_account_id
and l.statement_header_id = h.statement_header_id
and bb.bank_branch_id = b.bank_branch_id
and b.bank_account_id = <bank_account_id>
and h.statement_number = <'statement number'>
Octavio

Similar Messages

  • Need help about RRD4J, get data from rrdb

    i need more help about roundrobin database, especially using RRD4J library.
    i want to know, if i have one file database data1.rrd and i specific want to get data from startTime to endTime.
    how i can get that data from that database, and move them to another database file data2.rrd.
    can i do this?

    thx jschell
    javadoc from rrd4j not clearly enough for me to understanding about prosesing add, update and get data in there, so i ask in this forum may be anyone can give me solution.
    i think it's simple problem but i don't know how to implement with this API.
    with rrd4j we can create roundrobin database (rrd), the output in example: data1.rrd
    i just want to get data that i had put in data1.rrd to move them to another rrd, example: data2.rrd.
    data1.rrd and data2.rrd, they have same lastupdate time.

  • Help , How to get data from database using recordset with UI API

    I want to get a data from database
    when I want to create recordset i notice that UI API didn't has record set
    so I created recordset using DI API (SAPbobscom.recordset and SAPbobscom.company)
    ======================================================
    Dim oCompanyUI As SAPbouiCOM.Company <<UI API
    Dim oRecSet As New SAPbobsCOM.Recordset << DI API
    Dim oCompanyDI As New SAPbobsCOM.Company << DI API
    '=====================================================
    oCompanyDI.Connect
    Set oRecSet = oCompanyDI.GetBusinessObject(BoRecordset)
    oRecSet.DoQuery ("SELECT T0.CardCode, T0.CardName FROM OCRD T0")
    SBO_Application.MessageBox oRecSet.Fields.Item(1).Value
    ======================================================
    but I got an error it said "you are not connected to company"
    I'm really don't have an idea about how to get a data from using UI API (exp I want to get a date or costumer code)
    can someone help me please, I really need it
    Thanks

    you need a single sign on
            Dim oDICompany As SAPbobsCOM.Company
            Dim sCookie As String
            Dim sConnStr As String
            Dim ret As Integer
            oDICompany = New SAPbobsCOM.Company
            sCookie = oDICompany.GetContextCookie
            sConnStr = SBO_Application.Company.GetConnectionContext(sCookie)
            If oDICompany.Connected Then
                oDICompany.Disconnect()
            End If
            ret = oDICompany.SetSboLoginContext(sConnStr)
            If Not ret = 0 Then
                SBO_Application.MessageBox("set Login Context failed!")
                Exit Sub
            End If
            ret = oDICompany.Connect()
            If Not ret = 0 Then
                SBO_Application.MessageBox("Company Connect failed!")
            End If

  • Need to Get Data From Siebel On Demand ( I am new to Siebel Please Help)

    Hi All,
    I have a project in which i need to get data from Siebel On Demand and Automate this process.
    I have downloaded the Custom WSDL file and the Schema file from Oracle Siebel On Demand. I am using IDE WSAD and when i import these files into WSAD i am getting an error stating the schema definitions are wrong. Can anyone help me.....
    I need to complete it asap....
    Edited by: user491578 on Nov 11, 2008 6:50 PM

    You should probably ask Advantech. This question really has nothing to do with LabVIEW SE or NI-ELVIS. You could try posting to the LabVIEW board but there have only ever been two posts regarding 'advantech 4716'.

  • Help: getting data from a web page

    i have a jsp page which generates some strings. i pass these strings in to a login page on some server. the web page displays my login status. is it possible to read or get data from the web page?
    i have captured the header of a web page and modifying the header based on my generated strings.
    or jus say is it possible to read whats in a web page into a jsp page?
    thanks in advance for any help , assistance or redirection to a source where i can find help.

    hi,
    sorry for a poorly framed question.
    this is what i m trying to do.
    i call google with a header generated.
    now i want to read back the content in the google search result page onto my jsp page.
    possible?
    first.jsp calls google. i m using redirect (url)
    the url is modified based on user input
    now i want the links in the google page to be put up in my page itself. so i want to read the links there...
    Message was edited by:
    on_track

  • Help get data from socket

    hi all
    i am trying to get data from socket www.yahoo.com site and try to write in file with following code
    NOTE:here netClient is the soccket object accepted by server
    File f=new File(finalpath);
    BufferedReader fromClient = new BufferedReader(new InputStreamReader(netClient.getInputStream()));
    OutputStream fo=new FileOutputStream(f);
    String str;
    try{
    while((str=fromClient.readLine())!=null){
    byte buf[]=str.getBytes();
    fo.write(buf);
    }catch(Exception e){}
    finally{fo.close();}
    But i am not getiing data from socket
    please help
    regards krunal

    GeneralYerevan is absolutely right. Use URLConnection and you will get what you want. It seems to me that you do not know deeply how http works. The fact that you opened a connection to www.google.com doesn't mean that you will get data. The web server, after it accepts the socket object, waits for your request. In you case it is something like "GET / HTTP1.1", which you have to write to the stream. URLConnection does all this for you and all you have is to read the InputStream.

  • Help needed with variable - trying to get data from Oracle using linked svr

    Sorry if I posted this in the wrong forum - I just didn't know where to post it.
    I'm trying to write a simple stored procedure to get data from an oracle database via a linked server in SQL Enterprise manager. I have no idea how to pass a variable to oracle.
    Here's how I would get the variable in SQL:
    declare @maxkey INTEGER
    select @maxkey= MAX(keyfield) from [server].Data_Warehouse.dbo.mytable
    select * from [server].Data_Warehouse.dbo.mydetailtable where keyfield=@maxkey
    the select statement I need to do in oracle would use that variable like this:
    select * from OPENQUERY(OracleLinkedServer,'select
    * from ORACLEDB.TABLE where keyfield > @maxkey')
    and I get this message: OLE DB provider "OraOLEDB.Oracle" for linked server "OracleLinkedServer" returned message "ORA-00936: missing expression".
    I realize that I can't pass the @maxkey variable to oracle - so how do I accomplish this?

    Please refer the example in this link which deals with Oracle date format.
    You can finnd a command DECODE which is used for date formats. If you have a look at whole theory then you will get an idea.
    Link:[Bulk insert SQL command to transfer data from SAP to Oracle|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bulk-insert-sql-command-to-transfer-data-from-sap-to-oracle-cl_sql_connection-3780804]

  • Any helpful materials or sample on how to get data from lotus in SAP?

    I have some experience on get data from Biztalk (Microsoft Middleware). In that case, i could using "call FMxxxx DESTINATION rfc". the destination with type TCP/IP is created via SM59.
          and how about lotus ?
       ths

    I have some experience on get data from Biztalk (Microsoft Middleware). In that case, i could using "call FMxxxx DESTINATION rfc". the destination with type TCP/IP is created via SM59.
          and how about lotus ?
       ths

  • Getting data from mysql!!  please could someone help me?

    Hello people!!
    I can't get data from a Mysql database through a jsp page, there's a error message of conversion,
    here's my classes:
    package teste;
    public class GetDB {
        String str;
        Connection con;
        ObjectPage ob;
        public GetDB()throws Exception {       
            try {
                Class.forName("org.gjt.mm.mysql.Driver");
                con = DriverManager.getConnection("jdbc:mysql://127.0.0.1/Loja?user=root&password=131283");            
            } catch (Exception ex) {
                throw new Exception("Banco de dados n�o encontrado" +
                    ex.getMessage());
        public ObjectPage getOb(){
            try {
                String selectStatement = "select * from teste";
                PreparedStatement prepStmt = con.prepareStatement(selectStatement);
                ResultSet rs = prepStmt.executeQuery();
                while (rs.next()) {
                   str = rs.getString(1)+" "+rs.getInt(2);
                prepStmt.close();
                ob = new ObjectPage(str);
            }catch (SQLException ex) {           
            return ob;
        public void setOb(ObjectPage ob){
            this.ob = ob;
    }    and this:
    package teste;
    public class ObjectPage {
       String name;
       public ObjectPage(String nome) {
           name = nome;
       public String getName(){
           return name;
    }and this is myjsp page:
    <jsp:useBean id="dado" class="teste.GetDB" scope="page" >
      <jsp:setProperty name="dado" property="ob" value="{$name}"/>
    </jsp:useBean>
    <%--<jsp:getProperty name="dado" property="propName"/> --%>
    <p><b><h1><font color="orange">${dado.ob.name}</font></h1></b></p>so what's wrong? could you give me some tips? what should i do ?
    Thanks a lot!!!

    If there's an error message of conversion, are you sure that the 1st and 2nd columns returned in the result set are of type string & integer respectively (try getObject, then see what it's an instanceof)? Just guessing, maybe the actual database fields don't match the types you're expecting.
    And why don't you try ex.printStackTrace() to see what the actual error is in the getOb method?

  • Query required to get data

    hi
    i need to a query to get the data as per given structure below.
    tha data should be based on stock code and dates.
    for example : stock_code = 01 and
    from date 01/01/08
    to date 31/01/08
    Date particulars reciepts issued returns closing bal
    01/01/08 opening balance 0
    01/01/08 recieved stock : no 1 18 18
    02/01/08 issued stock : no 5 5 13
    03/01/08 return stock : no 50 3 16
    and so on
    here is the tables i m using
    SQL> desc bal_sheet (balance sheet holds the opening and closing record)
    Name Null? Type
    BDATE DATE
    ACC_CODE VARCHAR2(20)
    OPENBAL NUMBER(20,4)
    CLOSEBAL NUMBER(20,4)
    SQL> desc stock_reg
    Name Null? Type
    STOCKCODE NOT NULL VARCHAR2(20)
    ITEM_CODE VARCHAR2(10)
    DESCR NOT NULL VARCHAR2(50)
    COMCODE VARCHAR2(6)
    COMPANY NOT NULL VARCHAR2(200)
    SHORT_NAME VARCHAR2(10)
    PACK VARCHAR2(10)
    PRICE NUMBER(10,4)
    TOTAL_STOCK NUMBER
    SQL> DESC PURCHASE_HEADER
    Name Null? Type
    P_ID NOT NULL VARCHAR2(10)
    ACC_CODE VARCHAR2(10)
    P_DATE DATE
    REMARK VARCHAR2(500)
    INVOICE_DATE DATE
    NTOTAL NUMBER(12,4)
    SQL> DESC PURCHASE_DETAIL
    Name Null? Type
    STOCKCODE VARCHAR2(20)
    P_ID VARCHAR2(10)
    QTY NUMBER
    BONUS NUMBER
    PRICE NUMBER(15,4)
    EXPIRE_DATE DATE
    DAMAGE NUMBER
    AMOUNT NUMBER(15,4)
    SQL> DESC SALES_HEADER
    Name Null? Type
    S_ID NOT NULL VARCHAR2(8)
    ACC_CODE VARCHAR2(10)
    SALES_MANID VARCHAR2(20)
    S_DATE DATE
    REMARKS VARCHAR2(500)
    NTOTAL NUMBER(12,4)
    SQL> DESC SALES_DETAIL
    Name Null? Type
    S_ID NOT NULL VARCHAR2(8)
    STOCKCODE NOT NULL VARCHAR2(20)
    QTY NUMBER
    BONUS NUMBER
    BATCH_NO NOT NULL VARCHAR2(10)
    EXPIRY_DATE DATE
    AMOUNT NUMBER(15,4)
    SQL> DESC SALES_HEADER
    Name Null? Type
    SR_ID NOT NULL VARCHAR2(8)
    ACC_CODE VARCHAR2(10)
    SALES_MANID VARCHAR2(20)
    S_DATE DATE
    REMARKS VARCHAR2(500)
    NTOTAL NUMBER(12,4)
    SQL> DESC SALES_DETAILR
    Name Null? Type
    SR_ID NOT NULL VARCHAR2(8)
    STOCKCODE NOT NULL VARCHAR2(20)
    QTY NUMBER
    BONUS NUMBER
    BATCH_NO NOT NULL VARCHAR2(10)
    EXPIRY_DATE DATE
    AMOUNT NUMBER(15,4)
    hope the information would be enough to get understand the problem

    Query required to get data Agreed ! Even on your side it is required.
    Well, please, understand we are not here to do your job. So, make effort on your side, show us what you have already done/tried, and post here your results.
    And also, use the tags &#091;pre&#093; and &#091;/pre&#093; around your code against the forum side to keep your post readable.
    Help us to help you,
    Nicolas.

  • Single query to get data from different databases

    i need to capture certain fields from certain tables in database 1 and certain fields from certain tables in database 2 into one file using a single SQL statement.
    i tried searching on the net
    i found that dblinks can help
    but iam not sure if ill be able to create dblinks in my situation which is:
    i need to get data from oracle to be copied to mysql
    this is not a replication acitivity, but i need certain fields from one database and certain from the other
    so what iwas thinking is, if i use an sql query to get all the fields (i need around 40) from the different oracle databases and create a singlefile with one insert per select, i can then read that file into mysql
    instead of creating multiple sql queries for each table and creating separate files and eventually separate tables in mysql.
    can anyone help me here?
    or maybe suggest another approach.
    thanks

    Hi,
    I think dblink is the only option available to get data from different databases. It will work for your case too.
    CREATE DATABASE LINK db_link CONNECT TO user_name IDENTIFIED BY  password USING 'instance_name'you must have the system privilege 'create database link' to create db links. This way you can get the required data and put it in a table in oracle. But i dont know how to put this data from oracle table to Mysql.
    HTH
    Muneer

  • Getting data from infotype

    Hello Experts!
    I am a beginner in ABAP programming and I have problem with one of my task.
    I would like to get all users first and last names from infotype p0002. I've created a class, and method but only thing I've found in the Internet was something like this:
      DATA: lt_data     TYPE REF TO data,
             return      LIKE sy-subrc.
       FIELD-SYMBOLS: <table>  TYPE STANDARD TABLE.
       CREATE DATA lt_data TYPE STANDARD TABLE OF PA0002.
       ASSIGN lt_data->* TO <table>.
       CALL FUNCTION 'HR_READ_INFOTYPE'
       EXPORTING
         pernr       = '3'
         infty       = '0002'
         begda       = '18000101'
         endda       = '99991231'
       IMPORTING
         subrc       = return
       TABLES
         infty_tab   = <table>
       EXCEPTIONS
         infty_not_found = 1
         OTHERS          = 2.
       IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ELSE.
         me_it = <table>.
       ENDIF.
    any suggestions how I can use it for all users and how to get data from the result? or is it useless for this task? help please

    Hi Andrew,
    There is absolutely no problem with the query i.e. everyone have a beginning and it is upon us how we take it to final stage.
    Leave things apart, the answer to your query is suggested below.
    Structure:
    TYPES: Begin of typ_pa0002,
                    pernr type pernr_d,               "Personnel No.
                    begda type begda,                "Begin Date
                    endda type endda,                "End Date
                    nachn type PAD_NACHN,    "Last Name
                    vorna type PAD_VORNA,     "First Name
                    namzu type namzu,               "Salutation
                 end of typ_pa0002,
    typ_t_pa0002 type standard table of typ_pa0002 initial size 0. "Table Type Definition
    Data:  l_it_pa0002 type typ_t_pa0002,     "IT for PA0002     " Internal Table Definiton
              lv_pernr type pernr,
              lv_begda type sy-datum,
              lv_endda type sy-datum.
    "Data Declaration
    lv_pernr = '3'.
    lv_begda =.'18000101'.
    lv_endda = '99991231'.
    "Data Retieval from PA0002 DB Table
    select pernr
              begda
              endda
              nachn
              vorna
              namzu
              from pa0002
              into table it_pa0002
              where   pernr = lv_pernr
                   and endda GE lv_endda 
                   and begda LE  lv_begda.
    Please validate the same at your end and let me know in case you require any further inputs from my end.
    BR/Thanks
    Pranav Agrawal    

  • How to get data from three tables (A,B,C) having one to many relation between A and B .and having one to many reation between b and c

    i have  three tables A,B,C.  there is one to many relation between A and B. and one to many relation existed between table b and c . how will get data from these three tables

    check if this helps:
    select * --you can always frame your column set
    from tableA a
    left join tableB b on a.aid=b.aid
    left join tableC c on c.bid=b.bid
    This is just a general query. However, we can help you a lot more, if you can post the DDL + sample data and required output.
    Thanks,
    Jay
    <If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'>

  • Function module to get data from VARI table

    Hi All,
    thank you for viewing this thread. can anyone help me out in finding a function module which can get data from the VARI table?
    thank you

    Hi,
    FMs you will require are:
    RS_VARIANT_CONTENTS - Values of a variant returned in a table
    RS_VARIANT_EXISTS - Checks whether a variant exists for a report
    RS_VARIANT_TEXT - Returns short description of variant
    RS_VARIANT_VALUES_TECH_DATA - Reads variant parameters of a report
    Do search on them for complete details.
    Cheers.

  • How to get data from hard drive in dead iMac?

    I have an old slot-loading iMac (350Mhz G3 blueberry) that just died, probably a dead power supply or something. Won't turn on at all. I don't care about restoring it, I just want to take the hard drive out and grab data from it. I've found instructions for removing the HD ... but any tips on the best/cheapest way to hook it up to get data from it? It's EIDE I believe from what I've read so far. Thanks for any help.

    Hey Richard.....Thanks for the reply to my question about my wife's dead iMac.....
    Her iMac had been acting up lately, mostly to do with her Outlook Express freezing up in OS9. I dunno if OS9 was freezing or if the application was failing. Regardless, I would have to quit OS9, restart Outlook which at the same time restarted OS9. All would be fine for a while, a day or two and then the scene would repeat itself. But I think that issue is separate from the iMac being "dead". Often we have power outages in the area, more than we should. I had the iMac plugged into a battery backup, some APS product I think it is. I believe it is only good for less than an hour as we have other devices drawing on it too. Most of our power outages are of short duration, just enough to be aggravating, sometimes having to reset clocks, etc...And a couple times, I would have to reset the time and date on the iMac so this told me that the PRAM battery was below minimum voltage. But the iMac would ALWAYS restart, even with the low battery. But the most recent outage, about one hour duration, did in the iMac, somehow or other. I do believe the battery backup basically fully discharged. So I removed the battery, could not find a new battery locally so I drove to the big city and paid the local Apple service dealer a visit. I got ripped big time price wise, embarrassed to say. So I get home, put the battery in the holder, depressed the CMU reset, the powerbutton illuminated as did a green LED by the memory modules for less than three seconds and then quit. I also heard the HD trying to spin up and a high voltage THUMP which I assume is the CRT trying to ignite. If I unplugged the iMac, removed the battery, plug in the power again and hit the power button, the iMac would repeat the same short on period and then quit. So it did not seem to make any difference if there was a battery in place. I read somewhere to pull the battery, pull the AC cord, hold down the power button to dump any current (?) and let the unit sit for 24hrs. After that length of time, I was supposed to replace the battery, depress the CMU reset, wait ten seconds and then feed it AC. Well, when I pressed the power button, I heard life for maybe five seconds, maybe a second longer, then a beep and then it shut down. I pulled the AC cord, pulled the battery, re-inserted the battery, depressed the CMU reset, waited a few seconds, plugged in the AC cord, depressed the power button and I am back at the under three seconds of "power-up" and then nothing, dead, no beep, nothing. I think maybe it is a waste of time trying to mess with this unit, looking for a newer iMac on eBay, the snowball series with the 17" LCD, might be time better spent. Hate throwing stuff away, that's why I am up to my ears in junk, maybe u know that scenario. The wife likes my 19" ACER LCD screen, hooked up to this old dual 800mhz, though she dislikes the noise and the tower. But we both agree the large LCD screen is much easier on our aging eyes than the old iMac CRT. Anyway, I appreciate your help, always GREAT to correspond with an Apple fan.....John Bauer

Maybe you are looking for