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

Similar Messages

  • 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 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;

  • Query for Vendor

    Hi All,
    I'm a new user of SAP B1 Please help me generate query for unpaid vendor by due date. Below is the query that I did. But I want to modify and will only display unpaid vendor. Thanks..
    SELECT T2.[CardCode], T2.[CardName], T0.[TransId], T0.[DueDate], T1.[Credit], T1.[U_DisBank], T4.[Name] FROM OJDT T0  INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId  INNER JOIN OCRD T2 ON T1.ShortName = T2.CardCode  INNER JOIN "@HOFFICE"  T4 ON T1.U_Disbank = T4.Code WHERE T1.[Credit]  !=0  AND  T0.[DueDate] >=[%0] AND  T0.[DueDate] <=[%1] ORDER BY T4.[Name]
    Edited by: Arlmi2000 on May 27, 2011 10:35 AM

    Hi Arlmi,
    Try This,
    SELECT T0.DocNum as 'Purchase Invoice', T0.DocDate, T0.CardName,
    T0.DocTotal As 'Opening Amount',
    T0.PaidToDate, (T0.DocTotal-T0.PaidToDate) As 'Pending Amount',
    T0.DocDueDate,
    Datediff(dd,T0.DocDueDate,GetDate()) As 'OverDue Days'
    FROM dbo.OPCH T0 Where Datediff(dd,T0.DocDueDate,GetDate()) > 0
    and T0.DocTotal>T0.PaidToDate
    AND T0.Canceled = 'N'
    Regards,
    Vamsi

  • Af:query for master detail

    Hi Experts,
    Can we have an af:query to show master detail data ?
    What we generally have is af:query showing records of 1 table. What i want is for the records that get populated from af:query in the master table, i want to show the records in the detail table of the row selected
    any idea ?
    thnks

    Thank you NewBee. It worked and am able to get the detail information from the master table. I am struggling with another implementation. I have 3 radio buttons in the global template which I am referencing in all my pages.
    The template has 3 radio buttons. Contacts, Plans and Users. The three queries are completely different from one another.
    On click of Contacts, I should display the respective af:query for Contacts, Plans and Users without displaying the resultant table. This query panel will be global to all the pages.
    I have tried setting it as follows:
    <af:panelGroupLayout layout="vertical"
    id="pt_pgl3"
    rendered="#{baseBean.searchContactsSelected == 'true'}"
    visible="#{baseBean.searchContactsSelected == 'true'}">
    <af:query id="qryId1" headerText="Search" disclosed="true"
    value="#{bindings.GloablSearchByContactsVOCriteriaQuery.queryDescriptor}"
    model="#{bindings.GloablSearchByContactsVOCriteriaQuery.queryModel}"
    queryListener="#{bindings.GloablSearchByContactsVOCriteriaQuery.processQuery}"
    queryOperationListener="#{bindings.GloablSearchByContactsVOCriteriaQuery.processQueryOperation}"
    resultComponentId="::contactSearch:md1"/>
    <f:subview id="contactSearch">
    <jsp:include page="/contactsSearchResults.jspx"/>
    </f:subview>
    <af:panelGroupLayout>
    I have tried various implementations to the best of my knowledge but its not rendering. Is it possible to navigate to a different jspx on click of Search button of af:query. This will give me an opportunity to display different pages based on the Search action and keeping the search on a global level.
    Hope I was clear in explaining the issue
    Thanks!

  • Tables for Vendor details

    I want to know the name of the following tables:
    Vendor Master (General level)
    Vendor Master table (purchase organization level)
    Vendor Master (Company Code Level)
    I used LFM1 table but could not find vendor name there.  I want details like vendor, purch organisation, company code, reconciliation account, vendor name.
    Moderator: Please, search SDN

    Dear:
                   I have these details regarding master data saved in word file . Please follow given below tables for vendor master data information
    Vendor Master (General Section) u2013 LFA1
    Vendor Master (Company Code) u2013 LFB1
    Vendor master (VAT registration numbers general section) u2013 LFAS
    Vendor master (dunning data) u2013 LFB5
    Vendor Master (Bank Details) u2013 LFBK
    Vendor master record (withholding tax types) X u2013 LFBW
    Vendor master record purchasing organization data u2013 LFM1
    Vendor Master Record: Purchasing Data u2013 LFM2
    Partner Functions - WYT3

  • FM for Vendor Detail??

    Hi
    Can anyone plz tell me the name of FM if there any,which tells the details of vendor,like its name & its address.
    rgds
    vipin

    Is there any other FM exits whcih fects the address data,whcih is stroed in a structue:ADDR1_DATA,where data is maintained through XK03.
    I need all the adress data ,whcih is there in the structure.Can i access it.
    alos i want to know,how can i make a link to lifnr,thruogh matnr?
    I need to generate a report for vendoor details against the material on selction-screen.
    Plz help me?
    Rgds.

  • 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.

  • Query for dispatch details in Delivery

    Hi all,
    I require simple query which will display item wise dispatch details for delivery.
    Query Output required based on delivery document is as follows
    Doc Num, Doc Date,Card Name, Item Code, Item Description, Quantity, Batch Number, Comments
    Input for query will be From date and To date.
    Solution appreciable

    Hi
    Try this:
    SELECT T0.DocNum, T0.DocDate, T0.CardCode, T0.CardName,
    T1.ItemCode, T1.Dscription, T2.Quantity, T2.BatchNum, T0.Comments
    FROM ODLN T0
    inner join DLN1 T1 on T1.DocEntry = T0.DocEntry
    LEFT JOIN IBT1 T2 ON T2.BsDocEntry = T0.DocEntry and T2.BsDocType = 15 and T2.BsDocLine =  T1.LineNum
    WHERE T0.DocDate >= '[%0\]' and T0.DocDate <= '[%1\]'
    Thanks,
    Gordon

  • Query for EFT Details

    Dear All
    I need to develop a query in which the user sees EFT details based on Policy Number. The Policy Numbers are stored in BSIS and EFT details ( like amount ,method of payment...) are stored in Table REGUH. However When I try to join the tables, it generates an auto link and everything looks fine. But when I try to execute the report it doesnt give me any data returns. I already checked in se16
    . Do I need to do something or am I missing something ?
    Please help me out
    Thanks
    Sameer

    Hi
    Try this:
    SELECT T0.DocNum, T0.DocDate, T0.CardCode, T0.CardName,
    T1.ItemCode, T1.Dscription, T2.Quantity, T2.BatchNum, T0.Comments
    FROM ODLN T0
    inner join DLN1 T1 on T1.DocEntry = T0.DocEntry
    LEFT JOIN IBT1 T2 ON T2.BsDocEntry = T0.DocEntry and T2.BsDocType = 15 and T2.BsDocLine =  T1.LineNum
    WHERE T0.DocDate >= '[%0\]' and T0.DocDate <= '[%1\]'
    Thanks,
    Gordon

  • Query for dispatch details for BP SO

    Hi experts,
    I am new to the forum and would appreciate your help. I am trying to make a report about the pending and dispatched material for BP. The qurey is -
    SELECT T0.[DocNum], T0.[CardName], T0.[NumAtCard], T0.[TaxDate], T0.[DocDueDate], T1.[ItemCode], T1.[Quantity], T1.[OpenQty], T2.[DocNum], T2.[DocDate], T2.[ShipToCode], T2.[TrackNo] FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry, OINV T2 INNER JOIN INV1 T3 ON T2.DocEntry = T3.DocEntry, OPOR T4 INNER JOIN POR1 T5 ON T4.DocEntry = T5.DocEntry, ODLN T6 INNER JOIN DLN1 T7 ON T6.DocEntry = T7.DocEntry WHERE T0.[CardName] = [%0] AND  T3.[BaseRef] =  T6.[DocNum] AND  T7.[BaseRef] = T0.[DocNum]   AND  T1.[ItemCode] =  T3.[ItemCode]
    But i get an error message -
    1). [Microsoft][SQL Native Client][SQL Server]The conversion of the nvarchar value '3700081929' overflowed an int column. Maximum integer value exceeded.  'User-Defined Values' (CSHS)
    Pl help. Thanking you in advance.

    Hi..........
    Welcome to SAP Forum.......
    Please try this....
    SELECT Distinct T0.DocNum, T0.CardName, T0.NumAtCard, T0.TaxDate, T0.DocDueDate, T1.ItemCode, T1.Quantity, T1.OpenQty, T2.DocNum, T2.DocDate, T2.ShipToCode, T2.TrackNo FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry, OINV T2 INNER JOIN INV1 T3 ON T2.DocEntry = T3.DocEntry, OPOR T4 INNER JOIN POR1 T5 ON T4.DocEntry = T5.DocEntry, ODLN T6 INNER JOIN DLN1 T7 ON T6.DocEntry = T7.DocEntry WHERE T0.CardName = '[%0]' AND T3.BaseRef = T6.DocNum AND T7.BaseRef = T0.DocNum AND T1.ItemCode = T3.ItemCode
    Above query wont give any error.
    But from your Subject the query report seems give wrong result......
    Regards,
    Rahul

  • I want know the RFC or BAPI for Vendor details which gives customise lfa1

    Hello Experts,
    I want to fecth the Supplier information from SAP server to PDM server (non sap) using RFC call.But the LFA1 have some customised fields..
    1) I want the RFC or BAPI which Gives the supplier details with customised fields in LFA1.
    2) How Can I code In the PDM server??I mean How can I call In the PDM script??
    Please send me how to write a script and code of the script??
    Thanks In Advance
    Preethi

    hi,
    use BAPI_VENDOR_GETDETAIL
    A.

  • Query For Purchase A/P Cycle Details

    Hi
    All export pls. provide me Query for Purchase A/P Cycle Details i.e Vendor Code  Vendor Description doc. date posting date po date amount quantity unit price same as Grpo returns and invoice in singal screen
    Thanks & Regards

    Hi,
    What do you mean by Query for Purchase A/P Cycle . All Query  for A/P Cycle , you can search  in SDN.Any specific unsolved query for you can be posted here.Ok.
    Check the details:
    1.PO creation
    http://e-mory.blogspot.com/2008/01/sap-me21n-create-purchase-order_30.html
    2.Goods Receipt
    http://e-mory.blogspot.com/2008/02/sap-migo-goods-receipt.html
    3.Invoice Verification
    http://e-mory.blogspot.com/2007/11/sap-miro-enter-invoice-verification.html
    Regards,
    Biju K

  • Vendor details address table for streets

    Hi,
    Can any one tell me the table name for vendor adrress details for STREET1 STREET2??
    thanks in advance.
    cheers!!
    biswajit.

    Hi
    Try <b> ADRC table in SE16</b> but u need a address number to get data which is available in <b> LFA1 table as ADRNR field</b>
    now u will be able to fing street address with respect to vendor
    If required u can club these reports to develop query take help from abaper
    Vishal....

  • Query development for Vendar details

    Dear All,
    We want to develop an query for the below mentioned requirement.
    As we have not familiar (not worked) with SAP Query development process,can any one guide us how to proceed with detail steps.
    The input will be the Vendor Code ( with selection range )
    The output requirement are as  follows
    Vendor Code
    Vendor Name
    Vendor Address
    (We need a selection field in the input screen for vendor code)
    Thanks for your time and patience
    Regards

    Hi.
    In SQ02 create info-set. You need table. Choose  Table join...  (Table  LFA1).
    ThanDrag and drop requared fields from left to right(to field gruop).
    You can use button Join to join some more tables(LFB1 etc)
    Save it and generate.
    After that go SQ01,enter name of query and click Create, while doing it select Created infoset.Save...
    Than choose buton InfosetQuery and select which fields do you want in selection and output list.
    Than go QUERY-MORE function-Generate program. Mantion this name.
    Go se93, create transaction with this name of program

Maybe you are looking for