Access Invoices in Incoming Payments

Hi everybody.
I'm trying to access the lines (Invoices) of a Incoming Payment.
When an Incoming Payment is successfully added by the user I have to get the number (DocNum) of the Invoice(s) that is being payed trough DI so I can use it to reference that invoice.
Any ideas?
Thanks

Hi,
you should look in the RCT2 table: Incoming Payments - Invoices
the fields you should look for are:
DocEntry (Invoice Key)
InvType (Invoice Category) - A/R Invoice has 13
make a SELECT and get the Information with a RecordSet
you can find the Table Description for RCT2 Table in SDK Folder
REFDB.chm
much luck
lg David

Similar Messages

  • Unreconcile AP Invoice from Incoming Payment

    Hi Experts,
    In SAP 2007, is it possible to unreconcile an Invoice and Incoming Payment?
    If I look go to Manage the Internal Reconcilation, the option to Cancel Reconciliation is greyed out.
    I believe this was possible in 2005 ?
    Thanks
    Greig

    Hi Greig,
    with version 2007 we finally see a unified internal reconciliation engine. System behaviour has changed quite significantly & you can access the IRU landing page for more information:
    English: http://service.sap.com/~sapidb/011000358700000380562007E
    It is hence no longer possible to manually unreconcile system reconciliations. In order to dissociate the invoice from the payment you need to cancel the payment. The invoice will revert to document status open & thus re-appear in the payments window.
    All the best,
    Kerstin

  • Sample for A/R invoice and Incoming Payment

    Hi,
    Have any samples for create A/R invoice and incoming payment by SDK?
    Which related tables are used?
    Thanks!
    Regards,
    On

    On,
    If you look at the SDK Help Documentation, specifically at the Documents, Document_Lines and Payments Objects for the DI API, the help discusses the tables involved as well as gives samples of common documents.
    Eddy

  • How to Post Customer invoice and Incoming Payment?

    Hi,
    Please give me some inputs for the below scenario. Please help me where i can do this..I could not find the T.Codes..
    1. Customer Invoice
    2. Customer Payment at Desk
    3. Down payment
    4. Down Payment Clearing
    I could able to find the t.code for Down payment, But i could not find the T.Codes for Invoice and Incoming Payment and Payment Drawer.
    Please help me..its bit urgent...

    Hi Kishore
    IS-H only generates invoices from a pseudo SD. In SD are seen as invoices entered form an external systems and transfered to FI.. So, no posible to do a FI invoice directrly in IS-H.
    Regarding the payment, once the invoice is created in NA30N and correctly transfered to FI, you will see a tab called Incomming, Payments. That tab is shown only when a valid cash desk to the user using the user parameter N_CASH_DESK besides, permitted values for the user parameter are all values that are stored for the field "Cash Desk" in the Customizing table  TN21Z1 (Set Up Cash Desk).
    I hope it helps.
    With best regards
    Matías

  • AR Invoice and Incoming Payments

    Hi, What link AR Invoice to Incoming Payments (Table/fileds)?
    I have try to explorer but not record found, anybody can help me please?
    please advise
    Thanks,
    Ben
    Edited by: Ben Rahman on Apr 11, 2008 6:39 AM

    Ben,
    You surely have got a few good replies already and I do not really like to digress but I just wanted to mention the relations so that you can build you own queries
    ORCT is the Incoming Payments - Header table
    RCT1 is the Incoming Payments - Checks table
    RCT2 is the Incoming Payments - Invoice table
    ORCT.DocNum = RCT1.DocNum
    ORCT.DocNum = RCT2.DocNum
    RCT2.DocEntry = OINV.DocEntry
    If you use the Query Wizard and select these table and the columns you need, the relationships are automatically made.
    Suda

  • Can We enter Sales Invoice and Incoming Payment VIA SDK

    Dear Experts
    We have to develop an integration bridge with retrieve data from excel sheet and upload in SAP , i want to clear is it possible to enter sales invoices and incoming payment via SDK?. If it is possible please guide me about objects name and any reading material for SDK development.
    Thanks

    Hello,
    Yes it is possible with 2 steps:
    1. you post the invoice
    2. you post the payment
    I have already posted into the forum several examples, you may check them:
    For invoice + payment
    for payment only:
    Regards
    János

  • Double invoice in incoming payment

    Hi All,
    The issues I have are paid/credited is filled after incoming payment canceled. and two invoices with same number in the incoming payment row detail. Checking in GL report, there is only one invoice.
    The scenario :
    1. Create advance payment # 999
    2. Create A/R Invoice # 222
    3. Link payment # 495 to A/R Inv # 222 usinglink invoice to payment feature
    4. Cancel payment # 999 because wrong Customer code
    The results are the 1st paragraph. Have you had experience the same issue ? Pls share to me. Hope it could be from SAP support or maybe work around. Tks
    Rgds,
    JM
    PS. SBO version 2005A SP 01 PL 27

    Hi Jimmy
    Sometimes I find that when a payment is cancelled it places an amount in the "Payment on Account field" and incorrectly updates the individual lines, even though this does not appear to agree with the Customer transaction list.
    We have only been ablt to resolve this by waiting until the next payment comes it and then netting of the lines with an amount in Payment on Account to clear the Incoming Payment screen back to normal.
    Regards
    Jenny

  • Function module to display offsetting invoice of incoming payment

    Hi all,
    I would like to print the customer statement of accounts through sap correspondence. 
    Is there any function module where it will display out the offsetting invoice numbers of the incoming payment that I can use in the sapscript? 
    Eg:
    Incoming payment:  1,000.00
    Offset against
    Invoice A: 500.00
    Invoice B: 300.00
    Invoice C: 200.00
    Thanks.
    Rgds,

    Hi,
    When you do the clearing, these invoices are stored in BSAD Table under the field BELNR and the link between the incoming payment and the invoice is the clearing document number. You dont need any function module to determine the invoice.
    You can also get this link in the table BSE_CLR.
    Regards
    Mahendra

  • Diffrent Currency in AR Invoice and Incoming Payments

    Dear Experts,
    I have an situation here where the AR invoice reads one currency but the incoming payments read a different one. What could be causing this ?

    Hi,
    Please clarify what you mean read here in your posting.
    Thanks,
    Gordon

  • Invoices or Incoming payment appear several times

    Hello
    We see on some customers statement invoices with the same amount and same document number twice and incoming payments same amount, same doc num three times
    We sue SAP 2007 SP00 PL 39
    What could be the issue because customer statement is obviously wrong...
    Thank you
    Guillaume

    Hello
    I modify my statement because what I said about incoming payment is wrong, the issue is only with invoices
    I give you an example
    Invoice amount is 249 euros
    Customer statement you see 2 lines with 249 u20AC and other invoices have a single line only... so I do not think it could be linked to payment terms
    Regarding PL01 we have an addon which has not been tested with PL01 so we do not want to upgrade before it is tested...
    Thank you

  • Delinking A/R downpayment invoices from incoming payments

    Dear all,
    Is there a way to delink an A/R downpayment invoice from an incoming payment?
    Kind regards,
    Monil

    Hi Monilshah,
    It is possible to cancel the payment. Then if you want to cancel the Down Payment Invoice you can create a credit note based on it.
    If you mean by delinking a kind of function that would be a reverse of the functionality in 'Linking Invoice to Payment', then this does not exist. Cancel is the only way.
    Hope it helps.
    Jesper

  • Incoming Payment with Reference to Invoice

    Hello All,
    I have created Customer Invoice via FB70. I have selected payment terms as 14 Day with 2% cash discount. I am now entering incoming payment via F-28 after 2 days, with reference to Original Invoice. Everything is going perfect.
    Now the problem is, after saving the document, neither i can see any invoice reference nor payment terms. They both are showing blank. Only i can see discount amount filled.
    I just want know that from which invoice reference, incoming payment has been posted.
    Regards,
    Jigar

    Hi,
    Hope you are checking in bank line item. Please check the same in customer line item, there you will see the reference inv doc no in it.
    Regards,
    Srinu

  • DTW Error when importing Incoming Payments-Invoices (RCT2).

    Hi Experts,
    I have imported invoices through DTW and they currently have the status 'Open'. I have tried importing Incoming Payment records but DTW gives me the following error: 'Base document card and target document card do not match'.
    After importing the invoices i ran the query for OINV and used the Internal Number / DocEntry for these invoices, in the RCT 2 table. (I read some where that its this DocEntry that will link Invoices and Incoming Payments). I have filled the DocEntry field in both ORCT and RCT 2 templates but am still getting the same error.
    Kindly assist.
    David.

    Hi, any luck fixing this issue?
    Im dealing with the same problem here.
    Thanks,

  • Link incoming payments to A/P invoices

    Hi All,
                I have a requirement where i need to make mandatory to link A/P Invoices with Incoming Payments.
               This means no incoming payment must be made without an invoice. can anybody give me the all possible ways to do this???????????????????
                Ive tried by making on account check boy inactive, but this dosnt help me out bcoz if there is any excess payment then the balance excess amout to be gone into on accout.
    Thanks in advance.......
    Sree.

    Hi,
    Are you sure you need to link incoming payments with A/P invoices?  Only outgoing one would link to those invoices.
    I think you must refer to the later because you are trying to stop manual payment.  If this is the case, it is doable through SP Transaction Notification.
    You could search this forum first to find many threads already discussing it a lot.
    Thanks,
    Gordon

  • Invoice details in Incoming Payment

    Dear All,
    we are making incoming payment against invoice. In Pld for incoming payments i want details of invoice (Invoice Number and Invoice Amount) against which receipt entry is made.
    Ex:
    Account Code...........Account Name......................................................Amount
    A0001.....................ABC
    ..............................Invoice Number 12..................................................1000  
    .....................................................13..................................................1500
    and so on ...
    I have tried in PLD but not able to get the OINV table in PLD. Is there any other option to get this details.
    Swapnil
    Edited by: SWAPNIL PATIL on Mar 20, 2009 9:50 AM

    Dear Friend,
    Which query u sended that working fine for Incomeing Payments. But ih this ur matching
    T1.DocEntry = T2.DocEntry. Means suppose in Income Payment entry there is no Invoice entry then it is not showing. But i want to show that entry also. Please refer the following formatt.
    SELECT T0.DocNum, T0.DocDate, T0.CardCode,T2.DocNum,   T1.SumApplied FROM [dbo].[ORCT]  T0 INNER JOIN RCT2 T1 ON T0.DocNum = T1.DocNum INNER JOIN OINV T2 ON T1.DocEntry = T2.DocEntry
    Formatt:
    Account Code...........Account Name......................................................Amount
    A0001.....................ABC
    ..............................Invoice Number 12..................................................1000
    .....................................................13..................................................1500
    and so on ...
    .................................................................................Total...................2500
    In that suppose Invoice not available in that then Total is not showing. But i want to show Total for Incomeing Payment. Can u plz tell me how to solve that proble.
    Swapnil

Maybe you are looking for

  • BAPI : Multiple assignment of a line ID error in BAPI_GOODSMVT_CREATE

    Hi All, I am using BAPI_GOODSMVT_CREATE  for upload using excel ........... but i find error when execute .... Multiple assignment of a line ID anyone know about this.......... Thanks in advance Santosh

  • Oracle in Starting (9i)

    Hi I delete a datafile of a tablespace manually (I don’t need my database any more so delete a heavy datafile in a tablespace). No my database is not connecting. And giving the following errors. Command prompt ORA-01157 : cant identify / lock datafil

  • Draw a continuous dashed line

    I suspect the answer is simpler than I expect, but it has been eluding me none the less, so I've been wondering how to draw a continuous dashed line, as per the title. I'm cleaning up a photo I made a while back and would to create a flowing line and

  • Audio not getting to logic

    OS 10.9.1 - MBPro 13" / Logic 9.  I'm using PreSonus AudioBox 22VSL and system preferences can see audio input.  But I can't get any audio into Logic 9! Help!  driving me nuts!

  • Configuration of Integration Engine Trace and Logging

    Hi, on XI we can configure tracing and logging of messages via SXMB_ADM / Conf Integr Engine / category RUNTIME parameter LOGGING or TRACE_LEVEL. I connected an application system (WAS 6.20) and cant find this parameters. They r not chooseable. Does