Which field, table for Document No in Incoming Payment

Need to retrieve all posted Incoming payments with matched Invoice Number, Credit Memo Number (checks, cash, credit card or wire transfer payment means).  I will use this result to compare the Invoice /CM to pay com.
Can someone provide the query?  Thanks.

Try this one:
SELECT T1.CardCode Customer, T1.CardName 'Customer Name', Case T0.InvType WHEN '13' THEN 'INVOICE' WHEN '14' THEN 'CR Memo' END AS 'TYPE', T0.DocEntry AS 'Invoice/CR#', T1.DocCurr AS 'BY',Case WHEN T1.DocCurr = '$' THEN T0.SumApplied ELSE T0.AppliedFC END AS 'Paid Amount', CASE WHEN T1.CashSum > 0 THEN 'Cash' WHEN T1.CreditSum > 0 THEN 'CC' WHEN T1.TrsfrSum > 0 THEN 'WIRE' ELSE 'Check' END AS 'Method', T1.DocNum AS 'RC#', T1.DocDate AS 'Posted' 
FROM dbo.ORCT T1   INNER JOIN dbo.RCT2 T0 ON T1.DocNum = T0.DocNum  WHERE Month(T1.DocDate) = Month(GetDate()) AND Year(T1.DocDate) = Year(GetDate()) AND T1.JrnlMemo != 'Cancelled' AND T1.NoDocSumSy > 0.02
Thanks,
Gordon

Similar Messages

  • Tables for Documents&doc. type assigned to Equipment master

    Hi
    I need a table for Documents&d oc. type assigned to Equipment master .I have tried in ITOB, EQUI, DRAW. i could not find this
    Thanks
    Seenu

    hi
    yes you can use object key, it  is the one which relates with the equipment ( object key <b>EQUI</b>)
    regards
    thyagarajan

  • What are the tables for documents in PP Orders

    Hi all,
    What are the tables for Document Items (type D) in PP orders ?
    Regards,
    Magda

    Welcome to SCN, please refer to the rules of engagement, link at the top of every forum, please search before asking basic questions.
    Thread locked.
    Thomas

  • Table for Document assigned to WBS

    In which table Document and WBS assignment is captured?
    Thx

    Hello,
    PRPS is separate table for WBS element. If you want to see it in DMS then check in object link field name in DRAW.
    Hope you are aware about the standard objects in SAP and their respective tables.
    Regards,
    Ravindra

  • PS Tables for Documents, Acitivity Relationships

    Hi Frinds
    We are looking for proper talbes for the following. Can any one help us which are tables to be referred for
    <b>1.   Documents (this icon we can see in overview screen of WBS elements)
    2.  Network Relationship Activity Relationships (Besides - AFAB)
    3. Hirarchy levels of WBS elements (besdes PRHI)</b>- "Hirerchy Graphic -Icon" which enalbe users to view hierarchy levels of elements.
    4.  "system status" and "user status"
    would appreciate help in this front and suitably rewarded with points for solution.
    Look forward to hear and thanks in advance...
    Thanks
    Sudhakar
    Message was edited by: Sudhakar Pappu Rao

    Hi Pranav
    Thanks for yr information. we can select the object WBS, and shall be able to view PS texts in overview and create PS Texts.
    My requirement rather, question is, can we attach any documents without having DMS. ie., can we assign any of the Windows document which are available in hard disc?
    please thorough some light on this and thanks in advance and belated happy diwali wishes to you.
    Thanks
    Sudhakar

  • Table for document type Number Range interval

    Hi,
    I want to know the number range interval for document type in the production system but I do not have authorisation for SPRO in the prd system.
    Kindly let me know the table name to check this number range interval for the document type.
    Table T003 stores only the number range and not the interval.
    Thanks
    Suresh

    Hi,
    The table which has document types is T003 but the number ranges are stored in a Structure IRDP. The number ranges are maintained directly in the production system.
    regards,
    radhika
    Edited by: kolipara radhika on Aug 25, 2008 6:01 AM

  • Which Setup Table for extractor 2LIS_08TRTLP

    Hi,
    Can anyone guide me which setup table i should execute if my extractor is 2LIS_08TRTLP?
    Thanks for your help!!
    Onn

    Hi Swetha:
      Use Transaction code SE11 or SE16 on R/3 to make sure the underlying tables used by the 2LIS_08TRTLP Extractor contain data. The main tables are:
    VTTK - Shipment Header
    VTTS - Stage of Shipment
    VTTP - Shipment Item
    LIKP - SD Document: Delivery Header Data
    LIPS - SD document: Delivery: Item data
    For the relations among the Tables take a look at the paper by Christopher Solomon "SAP Tables Relations", just google it to download a copy of the PDF file.
    Regards,
    Francisco Milán.
    P.S. One more thing: go to Transaction Code LBWE and make sure the DataSource 2LIS_08TRTLP is active, if not, activate it and fiill the Setup Table again.
    Edited by: Francisco Milan on Sep 2, 2010 11:22 PM

  • Table for documents

    hi experts
    iam doing report, i want to no in which table all sap documents are stored( iam talking about all modules not for one module))

    get specific.
    SAP has hundred of different documents and at least as much tables for them.

  • Technical field/table for Non moving report

    Dear All,
    I want the technical table name and field name for the following to make the Slow/NON moving stock report.
    Material Number
    Decription
    stock in hand
    batch no
    UOM
    Value
    Exp Date
    Mfg Date
    Date of last consumption
    Total No of days from last consumption
    Where used FG
    Date of Purchase
    Vendor
    Thanks & Regards,
    Sandeep.

    for a non-moving report you have to look at the stock and need to compare it probably with movements directly or consumptions stored in infostructures.
    depending on the basis you want analyze you may have to read much more tables than you expect and you certainly have the below listed fields in many tables
    Material Number (MARD, MCHA1, MCHB)
    Decription - MAKT
    stock in hand - MARD, MCHB and many other tables in case of special stock
    batch no . MCHA, MCH1, MCHB
    UOM - MARA, MARM,
    Value - MBEW - and may other tables in case of special stock
    Exp Date - MCHA, MCH1
    Mfg Date - MCHA, MCH1
    Date of last consumption - MKPF, SO32
    Total No of days from last consumption - have to be calculated by yourself in the report
    Where used FG - STPO
    Date of Purchase - EKKO
    Vendor - EKKO, MCHA, MCH1

  • Which field ,table gets the entry when we refresh cube statistics

    Hey,
    I just want to know  into which field or table entry is made when we Refresh statistics using the manage tab of the Infocube.. I saw the fields of the table RSDCUBE , there are two includes as given below and their fields, Im noy able to quite figure out which field gets the entry when i click on refresh statistics button in the Performance tab.
    1) RSDCUBEDBFLAGS (InfoCube: DB Performance Flags): which has the following fields namely
    CLEAR_INDEX     Boolean
    DELTA_INDEX     Boolean
    REBUILD_STAT     Boolean
    DELTA_STAT     Boolean
    PERCENTAGE     internal use
    NULLCOMP     Zero elimination in the summarization module
    COMP_DISJ     Flag: only disjunct records
    REFUPDATE     No update of the non-cumulative marker
    2)RSDCUBEBWSTAT (InfoCube: BW Statistics)
    BWSTATISTICS     Boolean
    BWSTATWHM     Boolean
    However , when i click on refresh statics, there is a job which runs from my id which triggers the program RSDSTAT1 with variant as the cube name..
    its kinda urgent...  helllpp
    Thanks,
    vaish

    Hey,
    I just want to know  into which field or table entry is made when we Refresh statistics using the manage tab of the Infocube.. I saw the fields of the table RSDCUBE , there are two includes as given below and their fields, Im noy able to quite figure out which field gets the entry when i click on refresh statistics button in the Performance tab.
    1) RSDCUBEDBFLAGS (InfoCube: DB Performance Flags): which has the following fields namely
    CLEAR_INDEX     Boolean
    DELTA_INDEX     Boolean
    REBUILD_STAT     Boolean
    DELTA_STAT     Boolean
    PERCENTAGE     internal use
    NULLCOMP     Zero elimination in the summarization module
    COMP_DISJ     Flag: only disjunct records
    REFUPDATE     No update of the non-cumulative marker
    2)RSDCUBEBWSTAT (InfoCube: BW Statistics)
    BWSTATISTICS     Boolean
    BWSTATWHM     Boolean
    However , when i click on refresh statics, there is a job which runs from my id which triggers the program RSDSTAT1 with variant as the cube name..
    its kinda urgent...  helllpp
    Thanks,
    vaish

  • Which fields taken for use in CD-Text info?

    I've been burning CDs with CD-Text using Toast for a while, and I have a very exact way how I want the track info to appear on my CD-Rs. I've upgraded from Panther to Tiger, and now that the Include CD-Text option is available, which fields, exactly, does it take from, and how does it arrange them when I see them when I insert an audio CD-R into my CD player? Thanks very much. Peace.

    You're right, but I'm a little under the gun with my employer to get something out there, asap, and I unfortunately have a full time job that doesn't allow me to commit a block of time to finish the text in one shot.

  • Which DB table for user profiles?

    Which Database table does Weblogic Portal server store users? We need to populate
    that table from an external data feed, since the master copy of our users are
    in an external system(not LDAP). The basic idea of the feed is so <um:> tags,
    and the out-of-the-box p13n features continue to work with the users coming from
    the feed, without changing any code.
    Any pointers would be greatly appreciated.
    Thanks in anticipation, Pravin

    http://edocs.bea.com/wlp/docs40/p13ndev/schemp13.htm
    You could also write a custom UUP PropertyProvider against your external
    system, this would give you "live" access to those properties instead of
    having to run a batch feed.
    Sincerely,
    Daniel Selman
    "Pravin Goel" <[email protected]> wrote in message
    news:3ca1d024$[email protected]..
    >
    Which Database table does Weblogic Portal server store users? We need topopulate
    that table from an external data feed, since the master copy of our usersare
    in an external system(not LDAP). The basic idea of the feed is so <um:>tags,
    and the out-of-the-box p13n features continue to work with the userscoming from
    the feed, without changing any code.
    Any pointers would be greatly appreciated.
    Thanks in anticipation,
    Pravin

  • Negative Document Entry in Incoming Payment Form

    Hello All,
    I have faced an unique problem in Incoming Payment Form  in SAP while entering the document for the Period 2014 the document is getting saved but while checking it from the table the DocEntry field is getting added in Negative values like '-1','-2' and soon .Document No. is getting added in normal manner this peculiar thing is happening in this specific Period not for the other period.
    Negative DocEntry will create any problem or not ?? How to resolve this problem.
    Thanks ,
    Rajeev

    Hi,
    Please check SAP note:
    1310893 - Negative docentry is used when there are overlapping
    numbers
    Thanks & Regards,
    Nagarajan

  • AR dunning even if document has an incoming payment method

    Hi,
    Our company have a situation where we need to dun documents even if there's an incoming payment method defined either in the customer master or in the document.   I know that the SAP standard behaviour says its not possible to dun these documents.   But I am wondering if someone out there has managed or was able to get around this?
    In some SCN topics, it says that BTE 0365 can be used to achieve this.  That BTE says its for contract accounting but we are only using the regular AR module.   Moreover, I can only see BTE no. 1705 to 1770 but not 0365 (if there is such a BTE, may someone give me direction where I can find this?)
    I am more of a functional person rather than an ABAPer so I apologize if my question seems to be inane. 
    Appreciate all the help.  Thanks!
    BR,
    Tess

    Hi Tess,
    TCODE:FIBF. Entre BTE framework.
    Environment->Info system(P/S): These interfaces can be enhanced function requirement, but cannot change any data.
    Environment->Infosystem(Processes): These interface can be copied and enhanced. And can change table data and change parameter data.
    You saw 1705 to 1770 which are info system(P/S).
    You can check Infosystem(Processes) again.
    click on the interface button in the second tool line. You can see the parameter of interface.
    check the parameter which you need.
    Thanks,
    Yawa

  • Usage of field VBEL2 (sales document) in customer down payments (F-37 or F-29)

    Hello Experts
    I need to know what is the point of field VBEL2 (sales document) while creating a customer down payments in tcodes F-37 or F-29. I did some tests in my client and still can't come up with the solution.
    I thought that somehow this field was used to link the downpayment with the invoice so that you can see them grouped in customer clearing (F-32), but that was not the case.
    Then I did a whole invoice cycle like this:
    1. Created sales order in tx VA01
    2. Posted customer down payment request in tx F-37. I gave VBEL2 field the sales order number I got in step 1.
    3. Registered customer down payment in F-29
    4. Posted outbound delivery in Tx. VL01N and gave sales order from step 1.
    5. Posted invoice from outbound delivery from step 4.
    After this I checked in F-32, or document flow and sales order to see any relation and couldn't find any.
    Can anyone explain what is this field for? Or is this only a reference field for reports.
    Thanks

    Hi
    I know that but the Sales Document filed is not there in that T.code. Thats the problem.
    Regards
    Rajaram

Maybe you are looking for

  • Premiere Pro CC won't import ANY audio file, be it an mp3 or part of an mp4 video (or other formats)

    Any audio or video file I drop in to premiere will almost immediately pop up with the window Audio Conforming Error Error compiling movie. Unknown error. When I check the error/event log (little red X in the bottom corner) that window says: "11/21/14

  • Cant add music to my zen to

    I have the latest firmware the playfor sure version everything works shows up as an extra HD etc But when i go to drag and drop my files onto the player i get cant add file do not have permisson to create It it was all work fine untill then! I dont w

  • Not looping menu music

    Is there a way to set the menu music to only play once, and not loop?

  • Installation failed to start

    Hi, Can anyone help me in resolving the below problem? I have downloaded the DVD version of solaris 10 into my windows system, but not sure on how to make the downloaded image as bootable one. I did exeucted the "sol-10-u3-ga-x86-dvd-full" file which

  • Help with having 2 same email address in calendars

    Help I am trying to put my kids hockey schedule into calendar but it won't let me because they have the same email address.  Is there a way that I can have both my kids schedules go into calendars?