How to find the Transactions that has credit memos

I have to write a query which should fetch all the invoices and the credit memos against the invoices.
for example : invoice# 12345 amt 1000
CM# 45678 amt -500
I tried to the fetch the data by using the previuos_customer_trx_id in ra_customer_trx_all, but the column is null in my case.
please provide inputs is there any other way of getting the data.

Receivable application data would be available in AR_RECEIVABLE_APPLICATIONS_ALL. The APPLIED_CUSTOMER_TRX_ID in this table would be the CUSTOMER_TRX_ID of your Invoice from RA_CUSTOMER_TRX_ALL and the CUSTOMER_TRX_ID in AR_RECEIVABLE_APPLICATIONS_ALL would be be the CUSTOMER_TRX_ID of your Credit Memo from RA_CUSTOMER_TRX_ALL.

Similar Messages

  • Windows Server 2008 R2 File in Use - How to find the computer that has it in use

    Lately we've been having an access database go into read only mode on our file server. When i go into the manage open files screen on the file server, it show the file being used by a functional account and the open mode is set to read. Which confuses
    me how the file can get set in read only mode when the only person who has it open has it open in read mode. Anyway, when i kick the user out of the file then the database is not read only mode anymore.  Since this is getting accessed by a functional
    account, I'm not sure who is opening it up. Is there a way to find the IP address of this person?

    To get the source IP address, you will need to enable File Share auditing: http://technet.microsoft.com/en-us/library/dd772690%28v=ws.10%29.aspx
    Otherwise, you can simply disconnect the user session.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • How to find the page that has the downloads?

    I am signed in to my valid creative cloud account. All I want to do is get to the page that lets me do the downloads of Acrobat, Photoshop, etc.  I can't for the life of me find the page!  Please help.

    Ted,
    For what it's worth, I agree.
    My experience is that Adobe has lots of valuable information tucked away in somewhat obscure, hard to find URLs. But it seems to be assumed that these locations are plain and clear and people know where to go.
    I find myself getting lost in dark corners of the Adobe website at times. Or sometimes just stuck on what to do next. Then I read through the forums and see that apparently everyone knows but me

  • How to find the TCODE that is created for the table maintanance generator

    Hi ,
    How to find the TCODE that is created for the table maintanance generator of particular table,if we only know the table name.
    Regards
    Ramakrishna L

    Hello,
    I try it this way
    1. Goto SE16 --> enter table TSTCP.
    2. In the selection-screen displayed, enter
    PARAM = *<ZTABNAME>*
    You will get the t-code for the TMG.
    BR,
    Suhas
    PS: Are you sure a t-code has been created for this TMG ?

  • How to find the file that delete from time capsule?

    How to find the file that delete from time capsule?

    I mean I saved JPEG file in Time capsule and unfortunately delete the file. Can I get it back
    IF.... .no other backups have occured since you deleted the file, you might be able to retrieve it using an application like Disk Warrior. It's about $100 as I recall, and there are no guarantees that it will work.
    DiskWarrior 4 - The Disk Utility for Mac  Disk Repair, Mac Directory ...
    Any of the free or low priced utilities that you might see or try will not be able to retrieve a deleted file from a Time Capsule.
    If any backups have occured since you deleted the file, the deleted file has almost certainly been overwritten. No way to retrieve it in that case.

  • I can't find the app that has locked my screen orientation on my iPhone 5?

    I can't find the app that has locked my screen orientation on my iPhone 5?

    Read here:
    http://support.apple.com/kb/ts3805

  • How to find the Transaction Code??

    Yeah, How to find the transaction code?
    Lets say suppose I know the path of what I want to do, for example I wanna assign chart of deprecition to a company code. The path will be "<i> SPRO - financial accounting - asset accounting - organizational structures - assign chart of depreciation to comp code".</i>
    <b>
    Where can I find the transaction code for this path??</b>
    FYI : The transaction code for this particular example is OAOB

    create a SQ01 quickview query for table TSTC  or, even do a join for TSTC&TSTCT
    TSTC - Transaction codes
    TSTCT - Transaction codes texts
    if you want to see where some of the transactions are in the hierarchy you can use transaction "search_sap_menu"  or SPRO and use the binocular button to search

  • Could you please tell me how to find the cause that made I/O high

    Could you please tell me how to find the cause that made I/O high
    please let me know

    hi ,
    Without any backgound inforamation it is very difficilate to help u out .
    Please Provide the statpack/Awr report durring that priode. oherwise top 5 wait event. so we can give some suggestion on this.

  • How to find the transaction code for the particular program or include

    Dear All,
    Please help me on this queary.
    1) How to find what is the transaction assigned for the particular Report
    2) How to find the particular include is used in which programs and also transaction codes
    I have one ZProgram that contains only includes no selection screen, I have to find where this program is used, in that one include is ther I would like to know in which program and in which transaction that is used,
    They have given ME9F, ME21N/22n, wheren this includle is calling.
    Please kinely help on this.
    Thanks and Regards,
    Muralikrishna

    HI
    1. you can find the transaction for your report by opening in se80. On the left side window it will show the transaction if there is any.
    2. to find in which programs particular inclue is called , just open include in se38 and press where used list icon. in the pop up window select programs.
    regards
    vijay
    reward points if helpful

  • How to find the query that generates print preview?

    Hello,
    How can I find the query that gets executed to generate  print preview? On SAP Business One client if I open a Sales Quotation and click on print preview a report is generated. What queries are run in the background to generate this report?
    Thanks for your help.
    Regards,
    Sheetal

    Hi Sheetal,
    In such cases i am using a Profiler which is connected to my company's database. If you are using SQL-Server, the start the "Profiler", connect it to your database server and start the trace. When the trace is running, execute the SBO action. After you executed this action you will see in the profiler the excuted SQL-Statements.
    Regards,
    Christian

  • How to find the message that processed a file

    Dear guys,
    I need to find the message that have processed a text file. Using sxmb_moni  I can see this information on DynamicConfiguration log but I don't know how to search this string text in all messages that were processed.
    Thanks,
    Helio Paixao

    Hi Paixao,
    As michal you need to have the EhP1 (enhancement package 1 for PI)  or if you have installed trex then you can see this blog on how to find:
    /people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine
    Else some other nonstandard ways through which you can get are shown in this blogs:
    /people/sravya.talanki2/blog/2006/02/21/abap-based-trex-in-xi-proto
    /people/alessandro.guarneri/blog/2006/02/14/super-message-monitor-for-sap-xi
    Regards.
    ---Satish

  • To find the number that has the highest value

    I have an internal table with one field containing numeric values. I want to know the number that has the highest value. Can you tell me how do I do that?
    Is there any keyword for this?
    Thank you,
    Krishen

    Hi,
      Use the below procedures..
    <b>CASE 1</b>
    SORT <itab> by <Fld>
    where <itab> - Internal Table.
    and <Fld>     - Field Name ( in your case it is the field with numeric values)
    describe table <itab> lines <no_of_lines>
    <no_of_lines> - total number of lines in the table.
    read table <itab> index <NO_OF_LINES>
    the above read statement gives the highest record.
    <b>CASE 2</b>
    SORT <itab> by <Fld> descending.
    where <itab> - Internal Table.
    and <Fld>     - Field Name ( in your case it is the field with numeric values)
    read table <itab> index 1.
    the above read statement gives the highest record.
    I hope this solves your problem.
    Regards,
    Vara

  • How to find the Program that triggered the outbound idoc

    Hi,
    I need to find the program that triggers a particular Outbound IDoc.
    I have the IDoc number/segment/message type.
    We need to Debug the Outbound IDoc but we do not know from where the IDoc got triggered.
    Is there a way we can find which program triggered it?
    Thanks!

    Hi Suresh,
    Go to tcode WE20, select ur partner profile type, which configured in output type for EDI documents.
    On right side, double click on the Message type in outbound parameters.
    go to message control Tab, double click on process code variable to see FM triggers for the IDOC.
    same as for Inbound also.
    Regards
    Syed A

  • How to find the Transactions using vendor number ranges

    Hi All,
    How can we find out the employee vendor transactional data ?
    and what are the Tcodes used to find it?
    Are there any finance transactions which allow vendor number?
    Advance,
    Thnks

    Hello Gayatry,
    1. Goto ST03. Select choose for analysis. Choose only one application server  at a time in case you have mutiple application servers. Choose time period of your choice.
    2. In the next screen from menu choose GOTOPROFILESUSER PROFILES. Here you will get the list on users who have worked on that application server.
    3. Double click on the required user and you will get all the transactions he/she has executed.
    4. In case you select TOTAL in step 1  and then follow the steps 2 and 3 you will only get the list of application server on which the user has worked and not the transaction details.
    Regards.
    Ruchit.

  • How to find the value that is in structure???

    hi experts,
                 i am changing standard form QM_INSP_RESULT I have an field MITTELWERT in QGRES
    ie QGRES-MITTELWERT where QGRES is a structure .i need the value that is present in the field.How to find it.

    Hi Manikandan Muruganandham ,  
    To find fields the refined search is through Transaction SE84.
    Go there and find the fields of your choice.
    1> <b>ABAP DICTIONARY</b>
    2> <b>FIELDS</b>
    3> Select <b>Table fields</b> to know where you can find the field of your choice.
    Reward Points if useful.
    Thanks,
    Tej..

Maybe you are looking for