Query for what incoming payments are linked to a/r downpayment invoices

Dear all,
Please advice on what query will give me the incoming payments linked to A/R Downpayment invoices in SAP business one 2005 pl 50
Kind Regards,
Monil

Thanks Gordon,
Please advice on which tables do I refer to?
Monil

Similar Messages

  • Automatic SAP Cash Application- for ACH incoming payments

    Dear experts,
    We have requirement to automatically apply cash for the ACH incoming customer payments. We have been using LOCKBOX for automatic cash application for Check incoming payments. Now we want to implement automatic cash application for incoming ACH payments as well. What are available best options? Can we do this through EBS?
    Any suggestions are highly appreciated.
    Thanks,
    Tina

    Hi Tina
    I suggest to use a different GL code for incoming ACH payments and set this up using BAI codes from your banks EBS file. I believe you are not running EBS statement upload or manual load currently. Identify all the bank transactions and their related BAI codes with the help from your bank.
    Thanks
    Sekhar

  • BDC / Bapi For  Post Incoming Payment (F-28)

    Hi
    Im creating BDC for F-28. But it got error coming out.
    >> It says DB05B-PSZAH(02) is not an input field.
    What I do is: First, I search for Line Item then Document Number. Then It return to basic list. Then I loop again for the second Line Item Number and Document Number.
    I can activate the first amount but cannot for the next amount and so on.
    Anybody could help me on this??
    Is there any BAPI for Post Incoming Payment (F-28)?
    Thank you.
    Regards.

    i dont think there is a BAPI for this Transaction...
    i have done a BDC on F-28 myself....pasting the code....hope it helps you....
    *******NOTE********
    the parameter in the subroutine is to see if there is a single document or multiple documents being posted.
    FORM fill_bdc_data_f-28_9005 USING p_i_mult_doc TYPE c.
    **BDC from screen 9005
      DATA : l_amt_bdc(13), l_amt_bdc_remain(13), l_amt_bdc_mult(13),
             l_amt_bdc_mult_remain(13), l_assignment(14), l_period(2),
             l_amount(13).
      CLEAR t_bdcdata.
      REFRESH t_bdcdata.
      PERFORM bdc_dynpro USING 'SAPMF05A' '0103'.
      PERFORM bdc_field USING 'BDC_OKCODE' '=AB'.   "OK CODE - doc overview
    **get user default date format and pass date in that format
      PERFORM convert_date_to_user_format USING bkpf-bldat.
      PERFORM bdc_field USING 'BKPF-BLDAT' w_date.  "cheque date
      CLEAR w_date.
      PERFORM bdc_field USING 'BKPF-BLART' i_blart.  "doc type
      PERFORM bdc_field USING 'BKPF-BUKRS' i_bukrs.  "comp code
    **get user default date format and pass date in that format
      PERFORM convert_date_to_user_format USING bkpf-budat.
      PERFORM bdc_field USING 'BKPF-BUDAT' w_date.  "posting date
      CLEAR w_date.
      l_period = sy-datum+4(2).
      PERFORM bdc_field USING 'BKPF-MONAT' l_period. "period
      PERFORM bdc_field USING 'BKPF-WAERS' 'INR'.    "currency
      PERFORM bdc_field USING 'BKPF-BKTXT' i_bankl.  "doc. hdr. text
      PERFORM bdc_field USING 'BKPF-XBLNR' i_xblnr.  "Ref. Document No.
      PERFORM bdc_field USING 'BSEG-ZUONR' i_zuonr.  "Assignment(Depot Code)
      PERFORM bdc_field USING 'RF05A-KONTO' i_bank_gl. "Bank GL acc
      PERFORM bdc_field USING 'BSEG-GSBER' i_gsber.  "Business Area
      l_amount = bseg-wrbtr.
      PERFORM bdc_field USING 'BSEG-WRBTR' l_amount. "Amount
      PERFORM bdc_field USING 'BSEG-PRCTR' ''.  "Profit Center
    **open items data
      PERFORM bdc_field USING 'RF05A-AGKOA' 'D'.     "Acc type (D=customers)
      PERFORM bdc_field USING 'RF05A-XNOPS' 'X'.     "Std OIs check box
    **end of first screen
    **document overview screen
      PERFORM bdc_dynpro USING 'SAPMF05A' '0700'.    "Overview Screen
      PERFORM bdc_field USING 'BDC_CURSOR' 'RF05A-AZEI1(01)'.     "cursor
      PERFORM bdc_field USING 'BDC_OKCODE' '/00'.     "OK CODE
      PERFORM bdc_field USING 'RF05A-NEWBS' '19'.    "posting key
      PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
      PERFORM bdc_field USING 'RF05A-NEWUM' 'B'.     "Spl GL Indicator
    **for single document selected
      CLEAR l_amt_bdc.
      IF p_i_mult_doc = ''.
    ***new screen - next line item
        PERFORM bdc_dynpro USING 'SAPMF05A' '0303'.
        PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE
    **for single document, use the bouncing amount calculated earlier
        l_amt_bdc = w_amt_ant_bouncing.
        PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc. "amount
    **due date - same as posting date on screen
    **get user default date format and pass date in that format
        PERFORM convert_date_to_user_format USING bkpf-budat.
        PERFORM bdc_field USING 'BSEG-ZFBDT' w_date.  "due date
        CLEAR w_date.
    **assignment
        CLEAR l_assignment.
        CONCATENATE t_seldoc_ant_bouncing-belnr
                    t_seldoc_ant_bouncing-gjahr INTO l_assignment.
        PERFORM bdc_field USING 'BSEG-ZUONR' l_assignment. "assignment
        PERFORM bdc_field USING 'BSEG-GSBER' i_gsber.
    **if there is some remaining amount, then go for another line item
        IF w_rem_amt_ant_bouncing > 0.
          PERFORM bdc_field USING 'RF05A-NEWBS' '15'.    "posting key
          PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
    **new screen
          PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
          PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-ZTERM'. "CURSOR
          PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE-ENTER
          l_amt_bdc_remain = w_rem_amt_ant_bouncing.
          PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_remain.
          PERFORM bdc_field USING 'BSEG-ZTERM' '0001'.
    **AGAIN
          PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
          PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-WRBTR'. "CURSOR
          PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE-SAVE
          PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_remain.
          PERFORM bdc_field USING 'BSEG-ZTERM' '0001'. "pmt term -hardcoded
          PERFORM bdc_field USING 'BSEG-SKFBT' l_amt_bdc_remain.
        ENDIF.
    **multiple documents
      ELSE.
    **initialize remaining amount to amt entered on screen
        l_amt_bdc_mult_remain = bseg-wrbtr.
        LOOP AT t_seldoc_ant_bouncing.
          IF l_amt_bdc_mult_remain > 0.
            IF bseg-wrbtr > t_seldoc_ant_bouncing-rem_amt.
              l_amt_bdc_mult = t_seldoc_ant_bouncing-rem_amt.
            ELSE.
              l_amt_bdc_mult = bseg-wrbtr.
            ENDIF.
    **remaining amt = screen amt - amt calculated above.
            l_amt_bdc_mult_remain = l_amt_bdc_mult_remain - l_amt_bdc_mult.
            PERFORM bdc_dynpro USING 'SAPMF05A' '0303'.
            PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE
            PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_mult. "amount
            PERFORM bdc_field USING 'BSEG-GSBER' i_gsber.  "Business Area
    **due date - same as posting date on screen
    **get user default date format and pass date in that format
            PERFORM convert_date_to_user_format USING bkpf-budat.
            PERFORM bdc_field USING 'BSEG-ZFBDT' w_date.  "due date
            CLEAR w_date.
    **assignment
            CLEAR l_assignment.
            CONCATENATE t_seldoc_ant_bouncing-belnr
                        t_seldoc_ant_bouncing-gjahr INTO l_assignment.
            PERFORM bdc_field USING 'BSEG-ZUONR' l_assignment. "assignment
    **posting key 19 for all but last document
            PERFORM bdc_field USING 'RF05A-NEWBS' '19'.    "posting key
            PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
            PERFORM bdc_field USING 'RF05A-NEWUM' 'B'.     "Spl GL
          ENDIF.
        ENDLOOP.
      ENDIF.
    **post remaining amount
      IF p_i_mult_doc = 'X'.
    **new screen if there is some amount left
        IF l_amt_bdc_mult_remain > 0.
    **posting key 15 with remaining amount
          PERFORM bdc_field USING 'RF05A-NEWBS' '15'.    "posting key
          PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
          PERFORM bdc_field USING 'RF05A-NEWUM' ''.     "Spl GL
    **new screen
          PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
          PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE
          PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_mult_remain.
          PERFORM bdc_field USING 'BSEG-ZTERM' '0001'. "pmt term - hardcoded
        ELSE.
    **if no amount is left, no need for a further line item
          PERFORM bdc_field USING 'RF05A-NEWBS' ''.    "posting key
          PERFORM bdc_field USING 'RF05A-NEWKO' ''. "customer
          PERFORM bdc_field USING 'RF05A-NEWUM' ''.     "Spl GL
        ENDIF.
      ENDIF.
    **clear variables
      CLEAR : l_amount, l_assignment, l_amt_bdc,
              l_amt_bdc_remain,l_amt_bdc_mult, l_amt_bdc_mult_remain.
    ENDFORM.                    " fill_bdc_data_F-28_9005

  • Error on creating Incoming Payment that links to another Incoming Payment

    Hi Experts,
    I am trying to create an Incoming Payment to pay an Invoice, as well as to use another Incoming Payment with an open balance (with Payment On Account box checked) to offset part of this payment.
    Conceptually...
    Incoming Payment A (-$75)
       --- link to Invoice B   ($85)
       --- link to Incoming Payment C  (-$10)
    This can be done manually, but by using DI API, I am facing this error:
    "-10: Base document card and target document card do not match.  (RCT2.DocLine)(line: 2)"
    Here is the source code:
    Dim oPayments As Payments = DirectCast(oCompany.GetBusinessObject(BoObjectTypes.oIncomingPayments), Payments)
    ' [HEADER]
    oPayments.CardCode = "C0001"
    oPayments.DocDate = Today
    oPayments.DocType = BoRcptTypes.rCustomer
    oPayments.CashSum = 0
    oPayments.BankChargeAmount = 0
    oPayments.TransferAccount = "12180208"
    oPayments.TransferDate = Today
    oPayments.TransferSum = 75
    oPayments.LocalCurrency = BoYesNoEnum.tYES
    ' [LINE 1 - AR Invoice B.]
    oPayments.Invoices.InvoiceType = BoRcptInvTypes.it_Invoice
    oPayments.Invoices.DocEntry = 16949
    oPayments.Invoices.SumApplied = 85
    ' [LINE 2 - Incoming Payment C with Open Balance.]
    oPayments.Invoices.Add()
    oPayments.Invoices.InvoiceType = BoRcptInvTypes.it_Receipt
    oPayments.Invoices.DocEntry = 20338           ' Journal Entry Number of the Incoming Payment
    oPayments.Invoices.SumApplied = -10
    If oPayments.Add() <> 0 Then
        oCompany.GetLastError(errCode, errMessage)
        BarError(String.Format("{0}: {1}", errCode, errMessage))
    Else
        BarSuccess("Success.")
    End If
    Initially I tried to set
    oPayments.Invoices.DocEntry
    with the Incoming Payment's DocEntry, but after trial and error, I realized I should be using the Incoming Payment's Journal Entry's Number instead. So this field should be correct. (If I were to use the Incoming Payment's DocEntry for this field, I get the "-2028: No matching records found (ODBC -2028)" error.)
    I have ensured that the Incoming Payment C's CardCode is the same as the one I set in
    oPayments.CardCode
    , so I'm not sure why it gives an error saying the document cards do not match. I would appreciate any form of help on this! Thanks!

    Hi,
    I am not trying to Pay to Account (you are referring to the top left radio button of the Incoming Payment right?). I am trying to create an Incoming Payment that uses another over-paid Incoming Payment (i.e. Open Balance > 0) to offset its Amount Due.
    Anyway I have found the solution to my problem. It seems that I need to also set the
    oPayments.Invoices.DocLine
    value to the over-paid Incoming Payment's Journal Entry's document line which contains the same business partner as my Incoming Payments. This DocLine value is usually 1 (0-based), as SAP usually creates the Journal Entry with the BP row in the second row.

  • HT204053 How do I create an Apple ID for my kids which are linked to my Apple ID so that they can make purchases without me having to tell them my user/password?

    How do I create an Apple ID for my kids which are linked to my Apple ID so that they can make purchases without me having to tell them my user/password?

    Welcome to the community.
    Unfortunately, you cannot do that. The first hurdle that you are going to face, is that mobile devices, by virtue of being prone to loss, will always require that a password is entered before a purchase of any kind is made.
    If your concern about the password, is related to your privacy in regard to your mail, contacts and calendar information rather than their acces to make purchases, then the best solution would be for you to use another Apple ID for iCloud.
    Apple have called the whole cloud thing iCloud, there are a number of features under the iCloud umbrella, some of which require their own login. iTunes is one of these, another is what Apple have unfortunately also called iCloud too.
    You can use the same Apple ID (account) to login to both iCloud and iTunes, but you don't need to and often users will login to each service using a different ID.
    The part that you need to remember is that the services available when you log into iCloud are completely different and unrelated to those when you log in to iTunes. Your iCloud login enables mail, contacts, calendars, find my phone, Back to My Mac, Documents & Data sharing and photostream, it does not affect any of your iTunes services.

  • Outgoing payment & Incoming payment are generated negative docentry in new year

    After creating New  financial year , Outgoing Payment and Incoming Payment Docentries are generated from beginning (1) but in Negative  why?.  In all documents the same is generated continuous nos from last years. why in OP & IP generated in different way.  If we create in next financial year 15-16 how the they generate.

    Hi,
    As per Mr.Jitin's  reply, if any overlapping, document entry will be in negative.
    Why DOCENTRY is not continuing from last years no. like other documents like OINV?
    If you change document numbering, new document entries will be created.
    why docentry filed is not there in VPM1 & RCT1  like INV1 & others?
    Because incoming payment (ORCT) table is common to check, invoice, account, vouchers. These tables are linked with document number.
    ORCT.docentry = RCT1.Docnumber
    Hope you understand.
    Thanks & Regards,
    Nagarajan

  • Payment methods for automatic incoming payment processing.

    Hi,
    We have been using 'f110'  program for automatic outgoing payment processing. Now we are trying to set the incoming payment processing using the same program.  It should be mentioned that its a Canadian organization.  For outgoing payment, we have been using Bank transfer method, one of the available methods for outgoing payment. Our organization wants the same bank transfer method for the incoming payment processing. However, Bank transfer method is not belong to the group of incoming payment methods, rather it has the following methods:
                          1. Debit memo
                          2.   Bill/ex
                          3. Bill/ exch. pyt req.
                          4. Payment demand .
    I am just wondering is there anyway we can include the bank transfer method inside the incoming payment group or we can use any of the existing method for the same purpose.      
    Reagrds,
    Lokman

    Dear Lockman,
    The payment method "B" can just be:   
    If outgoing payment:   Bank Transf           
    If incoming payment:   Debit memo            
    So Debit memo means Bank transfer for incoming payment.
    I hope this helps.
    Mauri

  • Process steps for customer incoming payment w.r.to Billing.

    Hi all,
    Can some body help me in by providing the process steps for customer incoming payment w.r.to Billing.i want to know the process from open items to cleared item , if possible pl give table names also and thier data flow using tables.
    thanks

    Dear Sai,
    Use the transaction code F-28.Give the document date, Bank account, amount received, Value date, and the customer code. In case you know which are the document numbers against which you have received the payment, select the "Document numbers" in the "Additional selection" tab and then click on "Process open items".
    Fill the document numbers in the next field, press enter and then click on "Process open items". Select the open items, simulate and then save.
    In case you do not have the document numbers, then directly click "Process open items", select the line items and click "Document > Simulate" and then save.
    Assign points if useful.
    Regards
    Venkatesh

  • Is there a way for my images that are links NOT to be denoted by whatever color i set my links to be in my page properties?

    Hi there.
    i have set my links to be black in my page properties.  i have somes images that i am using for links and i do not want the to have a black box tracing their outline.  it's messing up my design and tables.  is there a way for my images that are links NOT to be denoted by whatever color i set my links to be in my page properties?
    see attachment.
    thanks for sharing your knowledge with me.
    gina

    If you would like your NON-linked images to have a border, and only remove the border from linked images then this css:
    a img { border:none; }
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Query For PO's that are open (no receipt yet in the system)

    Hi All,
    I want to frame a query for PO’s that are open i.e. no receipt yet in the system. Also PO’s must be for Inventory Items.
    Can anyone please help me with this.
    Regards,
    Shruti

    Look at those records in po_lines_all where item_id is not null. And then look at the quantity and quantity_received fields.
    Hope this helps,
    Sandeep Gandhi

  • Adhoc query for Off cycle Payments(infotype 0267)

    Dear All,
    I have a rquirement to create a query for off cycle payments infotype(0267).
    It should show the payment done for each wage type.
    Can we pick the data from PC_payresult from table RT - Results Table.
    If yes, please let me know the process and if not, is there any other way to get the splits of offcycle payment.
    Regards,
    Prasad.

    Hi All,
    Do any one know how to create this query?
    Do we have any standard reports regarding the splits of offcycle payment infotype(0267)..
    Regards,
    Prasad.

  • How to trace deposit number for an incoming payment

    Hi all
    May I know how to trace a deposit number for an incoming payment that had already made deposit transaction?
    Thanks alot
    Regards,
    Catea k.

    Under Incoming Payment, Check Register is the next menu item.
    Just enter the selection including your required payment, you can find it.
    Thanks,
    Gordon

  • Query Print Layout - Incoming Payment

    Hi All,
    I have done the query print layout for incoming payment. but it cannot show the correct A/R invoice: document number. When I only make the payment for 1 invoice it seems to be correct, but when I choose 2 invoices to be paid, then the A/R invoice: document number for the second row is wrong ( if follows the first row).
    Below is the query:
    SELECT T0.DocNum, T0.DocDate, T0.DocCur, T0.DocTotal,
    T0.DocTotalFC, T1.DocNum, T1.CardCode, T1.CardName,
    T1.DocDate, T1.Comments,T1.TrsfrRef as 'Cheque No',
    T2.BankCode' 'T2.AcctNum as 'Bank Code' , T0.Address , T3.Phone1 , T3.CntctPrsn , T0.PaidToDate, T0.PaidFc , T4.AppliedSys , T4.AppliedFc
    FROM [dbo].[OINV]  T0 INNER JOIN ORCT T1
    ON T0.ReceiptNum = T1.DocEntry LEFT JOIN RCT1 T2
    ON T1.DocNum = T2.DocNum LEFT JOIN RCT2 T4
    ON T4.DocNum = T2.DocNum LEFT JOIN OCRD T3
    ON T1.CardCode = T3.CardCode
    WHERE T1.DocNum = [%0]
    ORDER BY T1.DocNum
    the fields that i want to display in repetitive area are: A/R invoice: Document date , A/R invoice: document number, Amount that they have paid ( partial payment / full payment) i used this database: Incoming payment - a/r invoice: paid, outstanding amount i used formula ( total document - paid to date), and document currency
    Thank you! hope you can help.
    Pauline

    Pauline,
    I've tested your query in B1 2007A SP00 PL30 and works fine. I even created PLD for the query and I can see 2 invoice paid by one incoming payment.
    Rgds,

  • BAPI for Posting Incoming Payments thru F-28

    Hi,
    we are trying to post the incoming payment thru standard BAPI (BAPI_ACC_DOCUMENT_POST) but unable to do so. the error message are coming in Object type and object key fields in header data.
    kindly help me, and if possible pls sent me  sample input parameters(for header and lineitem details) for this.
    It's very urgent
    Points assured.
    regards,
    Anand

    Hello,
    what is the error log?
    Pls mention
    Rgds
    Rajendra

  • Validation for Customer Incoming Payment

    Dear All,
    We are facing one issue regarding customer incoming payment. When user is making income payment via f-28, he enters the credit control area and GL Account according to division.
    Problem is, though customer master in Sales Area is not maintained, system allows to post the incoming document. Due to it, customer credit limit does not get updated and we have to update it manually every time by resetting the customer master.
    Do anyone have any validation for that in F-28?
    Regards,
    Jigar

    Hi,
    Look in to the given link for Create Validations.
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/5b/d231e143c611d182b30000e829fbfe/frameset.htm
    Regards,
    Sridhar Sha

Maybe you are looking for

  • Ipod Classic not recognized by iTunes

    I am trying to initilize my daughters iPod classic as it won't sync - it is not showing up in iTunes. Here are the trouble-shooting steps I have covered: - the ipod will not stay connected to itunes for long enough to sync or restore. It breifly appe

  • HP Officejet Pro 8600 color copy

    When trying to copy in color, it makes vertical colored lines all over the page.  I can copy fine in black.  I can also print from the computer fine.  It prints the test sheets fine.  It is only when I select to copy in color that is a problem.  I ha

  • Created a document with FM Author 12 and added a template in FM12 to the document

    Created a document with FM Author 12 and added a template in FM12 to the document. Can't open the document again in FM Author 12 "This file does not have a program associated with it for performing this action. Please install a program or, if one is

  • AirTunes on Express, 3rd Party Wireless

    Hi all, I just purchased a refreshed AirPort Express. What i am trying to do is get it to connect to my 2Wire wireless DSL base station and use AirTunes (and maybe even print). My 2Wire System has no WEP or WPA protection (my nearest neighbor is a mi

  • I acidently erased my external hard drive (G-Tech) while reformating my GoPro. Can they restored?

    When transferring files from a GoPro camera to an external hard drive (G-Tech) I accidently erased the hard drive video imovie files. I was trying to reformat (erase) the GoPro in the Disk utilities. I clearly had the GoPro highlighted but for some r