Query for Vendor Payment in SAP

Hello All,
I am a sap abap developer with little knowledge in SAP MM and SAP FI modules.
As per some requirement of my company ,i have created a PO then its GR and finally IR.
Now when i checked EKBE table (History per Purchasing Document) , i found two record in this table out of which one with
VGABE = 1 (Good Receipt) & another with  VGABE = 2 (Invoice Receipt) .
Now my requirement is ,i want a entry in this table with VGABE = 5 (Payment) but i don't know how to do payment of vendor in sap so that this table will populate with a entry for payment type.
Please help me and let me know what will be the flow with tcodes to do the vendor payment in sap.
Please reply ASAP.
Thanks in advance.
Regards.
Abhinav Goel.

Hello Mr.Raman,
Thanks for your response to my query.
As per my company requirement i have to track duplicate payment made to the vendor against same PO.
So for that after completing the cycle PR-PO-GR-IR-F-53 finally i found two records in BSAK table out of which :
One record was  with my accounting document no from my invoice receipt of type RE.
Another record was with the vendor payment clearance document with type KZ.
Now again i have done payment to the vendor using F-53 tcode and now i found one more record with belnr = last payment document no and augbl = new payment document no. with type KZ.
So if i use below mentioned logic to track for duplicate payments made to the vendor ,then it will be fine or if not can you suggests me the needful changes in the logic.
1.) Check If record exists for my belnr no from invoice recipt in bsak.
2.) Take AUGBL No for this BELNR No and check if record exists for this AUGBL with type KZ.
Note:Means payment is done to the vendor upto this logic.
3.) Now if with the found record with type KZ any other record found with type KZ it can be taken of as duplicate payment made to the vendor.
Please suggest me if above mentioned logic is fine.
Regards.
Abhinav Goel.

Similar Messages

  • Infoset query of vendor payments at the cost distribution level

    We would like an infoset query of vendor payments at the cost distribution level of the document.  The issue seems to be joining vendor to the document cost distribution lines. 
    1.) BSAK + BSIK can be combined with an infoset data structure but only contain the vendor line of a document;  the cost distribution lines are not in the tables. 
    2.) BSIS + BSAS can be combined with an infoset data structure but lack vendor data and joins (to a vendor source) are not an option with data structures.  Vendor data added with an additional field is too slow to be a primary selection field. 
    3.) Logical data base KDF in an infoset returns only the vendor line of a document, not the cost distribution lines. 
    4.) Logical data base BRM in an infoset can have vendor from BSAK/BSIK attached by an additional field but performance is too slow to be useful.  Joins are not an option in a logical data base infoset.
    5.) Complete data is lacking when table joins between document cost distribution tables and vendor data tables are possible, (SPL actual line item table & BSIP or FMIFIIT & FMIFIHD).  BSIP lacks AB documents (reversals).  FM tables lack general ledger only documents. 
    6.) BSAK and BSIK together have complete vendor data but joins of both to a basis table do not work well.  Left outer joins are too slow, inner joins won’t work since the tables have mutually exclusive data. 
    It would be ideal to have vendor in BKPF, like FMIFIHD has, but it isn't a field.
    Does anyone know of any other options?  I have seen the helpful thread on How to Read BSEG Efficiently

    Hi,
    This is SAP Business one reporting and printing forum. Please find correct forum and repost above discussion to get quick response.
    Please close this thread here with helpful answer.
    Thanks & Regards,
    Nagarajan

  • Infoset query of vendor payments at the cost distribution level of the document

    We would like an infoset query of vendor payments at the cost distribution level of the document.  The issue seems to be joining vendor to the document cost distribution lines. 
    1.) BSAK + BSIK can be combined with an infoset data structure but only contain the vendor line of a document;  the cost distribution lines are not in the tables. 
    2.) BSIS + BSAS can be combined with an infoset data structure but lack vendor data and joins (to a vendor source) are not an option with data structures.  Vendor data added with an additional field is too slow to be a primary selection field. 
    3.) Logical data base KDF in an infoset returns only the vendor line of a document, not the cost distribution lines. 
    4.) Logical data base BRM in an infoset can have vendor from BSAK/BSIK attached by an additional field but performance is too slow to be useful.  Joins are not an option in a logical data base infoset.
    5.) Complete data is lacking when table joins between document cost distribution tables and vendor data tables are possible, (SPL actual line item table & BSIP or FMIFIHD & FMIFIIT).  BSIP lacks AB documents (reversals).  FM tables lack general ledger only documents. 
    6.) BSAK and BSIK together have complete vendor data but joins of both to a basis table are not an option.  Left outer joins are too slow, inner joins won’t work since the tables have mutually exclusive data. 
    Does anyone know of any other options?

    Hi,
    This is SAP Business one reporting and printing forum. Please find correct forum and repost above discussion to get quick response.
    Please close this thread here with helpful answer.
    Thanks & Regards,
    Nagarajan

  • Query for vendor details in F-53

    Hi,
    Need help on query development for vendor payment through F-53 with selection criteria Co. code, Fiscal Year, Fiscal Period, Transaction code and document type. Required output would be Co. code, Fiscal year, vendor number, document number and amount.
    I tried to develope query using tables BKPF & BSEG but system did not allow BSEG as it's a structure. Then tried with BKPF & BSAK but it's not pulling any data for query.
    Also, would like to know is there any standard report available for vendor payment through F-53?

    Hi Hein,
    Thanks for your reply.
    The issue in FBL1N is I cannot enter the TCode F-53 and the document type used for F-53 , is used by other transactions also. Hence I am not getting the correct report.
    Any help on developing a querry for this.
    Thanks
    Rajesh

  • Tables for vendor payments

    Hi,
    Are there any tables available in SAP for vendor payments.
    I know some tables PAYR,REGUH,REGUP ETC.
    But these are for after the printingof check is happened.
    I want the table for manual payment,residual payment,advance payment etc.
    Vendor invoices and cleared items will be stored in BSIK,BSAK,as well as these will be stored in BKPF,BSEK also.
    In such a way vendor payments are all so stored in any other tables apart from BKPF,BSEG.
    Kindly Reply......
    Thanks in Advance
    Radhika

    When you raise a vendor invoice then it will be captured in BSIK, and as the payment takes place the value in BSIK will be cleared and the value appears in BASK. If the invoice is cleared or say the payment happened for the invoice then the cleared item will be captured in BSAK (Payment), there is no other table apart from these that capture the payment.
    Just tell you requirement clearly.

  • Trigger of Milestone for Vendor Payment

    Hi,
       Is there some functionlaity available in SAP for Vendor Payment similar to Triggering of Milestone for Customer Invoices?
    i.e when we confirm activities milestones are triggered which will remove billing block and vendor payments can be made.
    Regards,
    B P Singh

    Hi,
    As suggested by Ahmed search the forum. You will get a lot pointers. Just type Invoicing Plan as the search criteria and proceed. You can also check the link,
    http://help.sap.com/saphelp_erp60/helpdata/en/86/98853478616434e10000009b38f83b/frameset.htm
    Regards,
    Gokul
    Edited by: Gokul on Nov 10, 2009 1:32 PM

  • Query for vendor rating

    Dear All
    I want a query for Vendor rating, which is based on PO Date  PO Quantity GROP Date GRPO Quantity (i.e comparision on that and we can find out this vendor is good for me.)
    Pls Provide me solution.

    Moving this thread from ERP-MM to [SAP Business One Core|SAP Business One Application;

  • FEBAN - FB05 - error F5243 for vendor payment

    Hello,
    I kindly ask for a hint.
    The vendor payment is included in eleclonical bank file.
    From transaction FEBAN (Edit bank statement) for item which is not fully cleared we get to trans. FB05 (post with clearing) and try to post to account type K (vendor) - changed manually from D (customer) which is defaulted to K and vendor account number entered. The document type is not visible on selection screen when FB05 is accessed through FEBAN.
    The document type for vendor payment should be KZ.
    Somehow the transaction intend to hold DZ (customer payment) --> and when we hit enter an error message appears:
    Account type K is not defined for document type DZ
    Message no. F5243
    Not sure what is driving this ...
    Please, advise ...
    Thanks a lot
    Marcela

    Hello,
    Please check your configuration:
    IMG => Financial Accounting => Bank Accounting => Payment Transactions => Electronic Bank Statement => Make Global Settings for Electronic Bank Statement
    Give your chart of accounts
    Double click on posting rules.
    Check the document type given for the posting rule you are using to post.
    You need to change from DZ to KZ.
    Regards,
    Ravi

  • Calculate due date for vendor payment

    hi friends,
    In my project i need to calculate the due date for vendor payment.as my client maintain different payment terms for different vendors am not able to pick the payment key from t052 table and calculate the due date.
    do anyone have a solution for this......
    prajith

    Hi
    You can insert Payment terms in Vendor master and also you can change or assign payment term while making transaction.
    But first of all you should have payment term.
    IMG -- Financial Accounting -- Accounts Receivable and Accounts Payable -- Outgoing Invoices/Credit Memos -- Maintain Terms of Payments
    Regards,
    Amit

  • How to create ABAP Query for vendor open items

    HI,
    My client has requested me to create ABAP Query for vendor open items . So that it will be usefull for the users . Could anyone help me with this. I will assign you points.Thanks in advance.

    Hello,
    Use Table BSIK <Open Items of AP > & BSAK <AP Cleared items>......
    For Query you can use SQ01.
    USE BSID & BSAD for AR open/clear items...
    LFA1, LFB1 are vendor master data tables
    This is FYI
    Hope this helps.
    Rgds
    Rajendra

  • Query for Incoming Payments

    Hi Guys,
    I written a query for incoming payments  for some particular account heads and i have tried this.
    But did not achieved the  desired result.
    Anybody please modify the query.
    SELECT T1.[DocNum], T0.DocNum,  T0.AcctCode, T0.SumApplied,  T0.AcctName ,
    (Select sum(SumApplied) from rct4 where T0.docnum = t1.docentry and T0.acctcode='355102'),
    (Select sum(SumApplied) from rct4 where T0.docnum = t1.docentry and T0.acctcode='211417'),
    (Select sum(SumApplied) from rct4 where T0.docnum = t1.docentry and T0.acctcode='355103'),
    (Select sum(SumApplied) from rct4 where T0.docnum = t1.docentry and T0.acctcode='211436')
    FROM RCT4 T0 
    Left outer  JOIN ORCT T1 ON T0.DocNum = T1.DocEntry INNER JOIN NNM1 T2 ON T1.Series = T2.Series
    WHERE T2.[SeriesName] ='Spares' and t1.docdate between [%0] and [%1]
    Regards,
    Vamsi

    Hi Vamsi,
    Try this:
    SELECT T1.DocNum, T0.DocNum,
    (Select SumApplied from rct4 where docnum = t1.docentry and T0.acctcode='355102') AS '355102',
    (Select SumApplied from rct4 where docnum = t1.docentry and T0.acctcode='211417') AS '211417',
    (Select SumApplied from rct4 where docnum = t1.docentry and T0.acctcode='355103') AS '355103',
    (Select SumApplied from rct4 where docnum = t1.docentry and T0.acctcode='211436') AS '211436'
    FROM RCT4 T0
    INNER JOIN ORCT T1 ON T0.docnum = T1.DocEntry
    INNER JOIN NNM1 T2 ON T1.Series = T2.Series
    WHERE T2.SeriesName ='Spares' and t1.docdate between [%0\] and [%1\]
    Thanks,
    Gordon

  • Validation option for Vendor payments

    Hi Everybody,
    We have about 150 vendors for whom we make cheque payments (manual payment processing). Now, we started implementing online payments and currently we are making online payments for about 30 vendors.  We want to create validation process for these 30 vendors in payment transaction code F-58 not to allow for cheque payment processing.  If these vendors are selected in t code F-58, an error should be thrown saying these vendors are not for cheque payments. Please advice on this option in SAP in detail.
    With best regards,
    Hemanth

    hi
    check with validation GBB1.

  • Bapi for vendor payment with details of tunover and blocked payment

    Dear all
    I want to know whether any BAPI available for the details of vendor payment made and the open item with  blocked payment (with the reason for the blocked payment) and the turnover of the vendor for a particular fiscal year...................
    The client want to get the output as mentioned below.
    e.g...
    PO no : 45629810
    Inv.No : 73409 (Vendor's Invoice no.)
    Payment : Paid amt with date and details
    Payment : Outstanding (Due and Over Due with no.of days)
    Blocked Payment : Amt with the reason for blocking the payment.
    Turn Over : Total turn over for that fiscal year.
    This is an urgent req. from my client,i will be very grateful if any one can  help me over this issue ..............
    Appreciate for any relevant answers and suggestion ...........
    I am in ECC 6.0
    Regards
    Praveen

    Hello Raj,
    Unfortunately there is no BAPI for payment detals and other company code data. The only possibility is via direct input (external data transfer).
    Please have a look at the following Easy-Access-path:
    SAP Menu
    -> Accounting
      -> Bank Applications
       -> Loans Management
        -> Environment
         -> External Data Transfer
    Within this menu entry you find diverse functions. Please start the function KCLJ to transfer data. Before you can do this you need to
    prepare the transfer by creating your own transfer structure and so on. You can get further information on what to do here by navigating to
    "Help   > Application help" within transaction KCLJ. From here you get to the right area of SAP library.
    Thanks Amber

  • BACS  File for Vendor Payments in Foreign Currency

    Hi,
    My client has Bank Accounts in UK both in GBP and USD currency. I am trying to generate a BACS file for payments made in currency other than GBP.
    The BACS file generation for GBP payments are in place and is working fine.
    But when I am trying to generate the BACS file for payments made there is a problem with the file format .The bank requires only payment lines in the file but the file I have generated contains some extra lines in the header and footer.
    Could you please let me know on how to generate a correct file with only the payment information.
    Thanks

    Hi,
    If the LC of the system is INR and the Vendor currency is INR too, then the Invoice can be added in INR and the payment will be made in INR only.
    If the Vendor is USD, then the Invoice can be added in USD as well the Payment. When you enter the Payment Means window, you can select the currency in the top field - currency.
    Regards,
    Jitin
    SAP Business One Forum Team

  • Consolidate IDOCs for vendor payments

    Hi AP Experts,
    When using PEXR2002 to create IDOCs for outgoing payments, there is a single IDOC create for each vendor payment. Can you advise if it is possible to produce just one consolidated IDOC (per payment method) for these payments rather than a single IDOC for each one? Is there a way to achieve that is standard SAP or perhaps a user exit that can allow it? If a user exit is there any general advice on how that can be achieved?
    Thnaks and regards
    Mike

    Hi,
    The reason for the requirement is that each IDOC get's its won generated payment file in the shared middleware site. The bank then will charge by payment file. Therefore the goal is to minimize the number of IDOCs generated.
    Is it possible to do this?
    Thanks

Maybe you are looking for

  • Email Stops Sending - Constant Spinning Black & White Wheel

    I mistakenly attempted to send a large attachment (over 30mb) and since then (10 hours ago) my email account has the spinning black & white wheel spinning. I am able to receive emails, but not send. When looking at the Activity Monitor, the Network t

  • How Do We Charge N8 with its USB Cable?

    Hello Everyone, I tried to charge my N8 with USB cable but it didn't charge. I connected its USB Cable to my phone and laptop, but it didn't start charging my N8. Do I have to do something else? If you know anything about it, please share the informa

  • My settings menue is in chinese language (help)

    Whenever i enter my settings menu for the new (webcam live ultra for notebooks) all the words are in japanese or chinese. How can i get these to be displayed in english? thanks' leo kowal

  • Wireless printer

    I connected my Airport Express on my existing wirelle network.I have a wireless printer connected to this network. How can I use this printer?? only using USB??

  • ITunes Radio jumping through songs and not playing

    What the heck is going on with iTunes raddio!!! It flashes through songs rapidally and then won't play!  My regular purchased playlists work fine.  It's only iTunes radio.