Invoice and Purchase Order info from r/3

Hi All,
I have a new requirement. I need to extract the following information from r/3. So can anyone please let me know the base tables in r/3 where I can find the following fields.
The fields that I need is:
1. Purchase Order number & PO Line Item number
2. Goods receipt number & Goods Receipt Date
3. Invoice number (and item number if any) & INVOICE DATE
Any help is greatly appreciated.
Points are assured.
Thanks in advance.

Hi All,
Thanks very much for the replies and your suggestions.
I think I got all the fields I need in EKBE table.
1. PO number (EBELN)
2. PO line number (EBELP)
3. Goods receipt number (BELNR- material doc number when VGABE-transaction/eventtype is 1) and Line item number (BUZEI)
4. Goods receipt date (Entered on - CPUDT)
5. Invoice number (BELNR- material doc number when VGABE-transaction/eventtype is 2) and Line item number (BUZEI)
6. Invoice date (Entered on - CPUDT)
But I manager has changed the requirement and now he wants the payment date (the clearing date(AUGDT) in BSEG table) also.
So problem is I am unable to relate the above information with this clearing date.
So Can you please help me here.
Thanks in advance...

Similar Messages

  • INVOICE AND PURCHASE ORDER

    What is difference in fields between invoice and purchase order ?

    Hi Jyotirmoy
    Can you please be more specific what exact details you require??
    Thanks
    G. Lakshmipathi

  • A/P INVOICE AND PURCHASE ORDER

    Is it possible to apply the following check on A/P Invoice Document.
    "The system should not allow a user to enter an A/P Invoice of amount greater than 10000 until it's purchase order is  entered in the system"

    Hi Divya,
            If you are directly copying Purchase Order into AP Invoice then you can use following Transaction Notification...
    If @object_type='18' and @transaction_type='A'
    BEGIN
    If Exists (Select * from [dbo].[OPCH] T0 Inner Join PCH1 T1 On T0.DocEntry=T1.DocEntry
    Where T0.DocEntry = @list_of_cols_val_tab_del and T0.DocTotal >'10000'  T1.BaseEntry is null)
    BEGIN
    Select @error = -1,
    @error_message = 'Please Raise PO First'
    End
    End
    Thanks & Regards,
    Shambhu

  • Validate invoicing parties between invoice and purchase order

    Hello
    I am trying to find a solution around how to validate invoicing party in invoice to invoicing party in purchase order.
    i.e. PO vendor is 8700 and has invoing party as 8500 as a partner flowing through partner determination from vendor master, when i create invoice though MIRO or EDI, system should hard stop invoice if invoicing party is not 8500 (other than purchase order invoicing party)
    i am trying to achive this through standard setting of partner detemination and setting M8-286/287 message as "E" in OMRM but system is not validating invocing parties and letting create invoice with any vendor.
    Our system does not have BADI MRM_PARTNER_CHECK due to EHP is not latest.
    This seems standard functionality to me but somehow not working through standard SAP settings.
    has anyone came across such a requirement and have soultion ?
    Any help will be appreciated <Text removed by Moderator as it suggested "favour">
    Thanks
    Dharmesh
    Message was edited by: Jyoti Prakash

    Hi,
       M8286 is triggered while you enter multiple PO's with different invoicing parties in MIRO. The system design is explained in the KBA:  1688253 - MIRO invoice is booked with different vendors from the Purchase Order . As of my knowledge, the same is not triggered if you change the invoicing party in MIRO header.
       From EHP 4, M8 777 message can be used to control the vendor change in MIRO. If you are in lower version, either you may go for development or you may make the invoicing party field as "output only" using transaction variant in SHD0 (but I am not sure whether SHD0 will work for EDI).
       If you are going for development, refer the note: 1156325 - BAdIs in the Logistics Invoice Verification environment
    Regards,'
    AKPT

  • How to get COUNT of  Invoice No and  Sales Order No from Multiprovider

    Hello Guys,
    I have a scenario like below. I have 2 info cubes (1) Billing Item Info cube (2) Sales Order Item Infocube which stores Item level data in infocube. I created Multiprovider for these Sales Order Item Cube and Billing Item Info cube.
    Now in My Multiprovider, Invoice No and Sales Order No gets repeated no of times because one Invoice and One order will have no of Materials. I have a requirement to count Total No of Billing Document and Total No of Sales Document for a Day in the BEx Report. I was thinking to use COUNT function but if Sales Document or Billing Document gets repeated then it will count those records which i don't want. correct me if i am wrong. 
    How to get Total no of Billing Document and Total no of Sales Document from a Multiprovider where i have Item level data is stored ?
    Regards,
    Komik Shah
    Edited by: Komik Shah on Aug 20, 2011 5:33 PM

    Hi,
    Count can be achieved as per the following document. Create for Billing Doc and Sales Doc separately.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
    Regards,
    Suman

  • Linking document info record and purchase order

    Hi all,
    I hope that someone can help me because I'm having a problem with creating links between document info records and purchase orders.
    By default in SAP I can create links between document info record and purchase order ITEMS! When I create that link, I can see it in document info record under Object links tab, but when I double click on the number of purchase order nothing happens (I expected that this purchase order will open).
    Why is that so?
    Why can't I access purchase order from document info record even though the link exists?
    The other question is about creating object links to purchase orders, not purchase order items! Is it possible to link document info record with purchase order?
    I would appreciate quick answer because we're in the middle of a project and we're stuck with that problem.
    Thanks!

    Hi Karlo,
             As you mentioned, object links could be linked to Purchase order items. In customisation you maintain these entries under the node SPRO > Cross Application Components> Document Management--> Control Data --> Define Document Types --> Define Object Links.
    There are many links in the standard system (possible entries).
    The system automatically determines the screen number (dialog box) where the key data for the object is maintained for document maintenance.
    You can check the screens when the screen entry is missing or contains errors by doing the following:
    Start the Object Navigator and display the objects for the development class  CV.
    Expand the function group 130. The structure nodescreens lista all screens that can be used for object links.
    You can make an object link to SAP objects that are not shown in the possible entries list. To do this, proceed as follows:
    In the standard system, there are already two special screens for the module pools SAPLCV130 and SAPLCV140 for the linked SAP object.
    You must create two new screens with the same number for the module pools SAPLCV130 and SAPLCV140 .
    The processing logic must follow that of screen 1204 in program SAPLVC130.
    Create function module OBJECT_CHECK_XXXX (XXXX = object name)
    If the object can be classified, this function module already exists .
    Otherwise copy the function module for linking equipment DOCUMENT_CHECK_EQUI and change it as required for the new object.
    Hope the above instruction helps in solving your problem,
    Sojan
    Note : Award points if you find the information useful

  • Printing invoice number and purchase order

    Hi All,
             I am newbie to SAP scripts.By using standard script ( f110_prenum_chk  ) modifying the script layout.and also need to print some extra fields.those are ,
                                --  Invoice number
                                --  Purchase order number
                                --  TDS
    from the above  i am able to display TDS by using the field &regud-sqste& .Is this right field to print the TDS ?
    and from which table i can fetch the details of invoice number ,and PO number ?i have the document number (reguh-vblnr).can i use this field to fetch the details of  invoice and PO numbr.please Help me out.
    Thanks and regards
    Naresh
    Edited by: naresh bammidi on Oct 12, 2011 2:17 PM

    Hi,
    You ERP system should be upgraded to Enhancement pack 3 to avail this datasource. Could you confirm the patch level of your ECC system. Or you can use 2lis_06_inv datasource to get the PO Number and accounting information.
    Thanks,
    RRR.
    Edited by: Rammi on Feb 18, 2010 10:11 AM
    Edited by: Rammi on Feb 18, 2010 10:12 AM
    Edited by: Rammi on Feb 18, 2010 10:12 AM

  • HOW to retrieve PURCHASE ORDER DATA from archieve file and print a report

    Dear all
    1) I have retrieve purchase order data from archived files.
    2)  print purchase order data and created pdf file.
    VIJ.............
    Moderator message - Please ask a specific question - post locked
    Edited by: Rob Burbank on Apr 28, 2009 12:00 PM

    Dear all
    1) I have retrieve purchase order data from archived files.
    2)  print purchase order data and created pdf file.
    VIJ.............
    Moderator message - Please ask a specific question - post locked
    Edited by: Rob Burbank on Apr 28, 2009 12:00 PM

  • Raising Partial Production and purchase order from MRP.?

    Hi Experts,
    How to raise partial production order and purchase order from MRP..
    Karthik

    Karthi,
    I believe you should go through both of these topics relating to Production Orders and MRP.
    https://websmp105.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000321882005E&_SCENARIO=01100035870000000183&_ADDINC=
    https://websmp105.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700001061692007E&_SCENARIO=01100035870000000183&_ADDINC=
    Best wishes
    Suda

  • Redemption code from Photoshop Elements 12 purchased from Best Buy does not work 'Oops! This code doesn't seem to be active. Please contact the retailer you purchased the card from, or use a different code.'   I have an invoice and the pickup notice from

    Redemption code from Photoshop Elements 12 purchased from Best Buy does not work 'Oops! This code doesn't seem to be active. Please contact the retailer you purchased the card from, or use a different code.'   I have an invoice and the pickup notice from Best Buy.   What other information does Best Buy need?   What will they do?   Will I get a new box?   What happened to the days of just typing in a simple s/n?   

    Redemption Code Help
    http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

  • Regarding Purchase order info records

    Hi,
    How do I read the text maintained against purchase order info records, transaction ME12. What is the key that I should use for reading the text maintained.
    Regards,
    Vijay

    it may differ from system to system, so i will tell you how i determined this, rather than what i determined.
    In your development or test system, make a change to the text.
    now, use SE16 and look at table STXH. Put todays date in the TDLDATE selection (and your id for TDLUSER, if you want)
    You should see the changes you made, and the keys associated with the texts. you can then use the FM READ_TEXT to get the text...
    Hope this helps

  • Inputs requried to create purchase order report from flat file

    inputs requried to create purchase order report from flat file

    At a guess, I'd say purchase order data.
    If you don't give us a clue what you are actually trying to do we can't really help you too much.
    Do you want to call a BAPI?  Do a BDC?  Use an IDOC?  Or just generally muck up the system by doing inserts into the purchasing tables?
    No doubt if you tell us, you'll get lots and lots of suggestions.
    Gareth.

  • Purchase Order Creation from ME5A Report

    Hi experts,
    My client wants Purchase Order Creation from ME5A Report.
    He wants show Open Purchase Requisition through ME5A report then he will select Purchase Requisition Number or line item for po creation from there only.
    Please advice how I can map this process in sap.
    Thanks in advance,
    Chandhu

    Why don't you use ME57 to display open PRs and then assign sources and convert them to PO?
    Or use ME57 to assign sources and ME59 to automatically convert them to PO.
    You can create your very own format for report display using  custom "Scope Of List" for ME57.
    Look in SPRO under Purchasing>Reporting>Maintain Purchase requisition lists.

  • Tables for credit Memo and Purchase order

    Hi all,
    I need to develop a report to dispaly all the credit memos for the open qty,
    My issue that is  there any table where we can have information for credit memos and purchase order,
    like the input fields is company code,customer number,fiscal year,
    hope you understnad,
    Please let me know if you need any more information,
    Thanks&Regards,
    Cghand

    Hi
    Invoice Verific. table:
    RBKP - Document Header: Invoice Receipt
    RSEG - Document Item: Incoming Invoice
    Regards
    Prasanna

  • Link between Service Order / Confirmation in CRM and Purchase Order in ECC

    Hi all,
    Does anyone knows what the possible link is between a Service Order / Service Order Confirmation in CRM and a Purchase Order in ECC ? I heard that this could be found somewhere in the document flow of a Service Order ....
    How do we get the Purchase Order number from ECC in the Document flow section of an Service Order in CRM ?
    We need the PO number somehow to be able to create a Goods Received document in ECC from CRM.
    BR,
    Abjuh

    Hello Abjuh,
    As of CRM 4.0 (with Service Industry extensions), you can automatically create ECC Purchase Orders from a CRM service order.
    It is possible to track the status of the individual service order items with the document flow.
    Please refer to the SAP Help for more information.
    http://help.sap.com/saphelp_crm70/helpdata/EN/46/8bae7e9e886160e10000000a1553f7/frameset.htm
    Kind regards,
    Kristoff.

Maybe you are looking for