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

Similar Messages

  • BI : Invoice number in Purchase Order

    Hi Experts,
    I am doing Standard extraction for having purchase order related data in BI. we are using the below data sources :
    2LIS_02_itm, 2lis_02_cgr,2lis_02_scn & 2lis_02_sgr. Our requirement is we want to have the invoice number(XBLNR,REBZG)  in the extraction but none of the standard PO related Datasource has these fields. Kindly advise how can we bring the invoice number for purchase order extraction.
    thanks & regards,
    M.S

    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

  • Excise Invoice Number through Purchase Order no. or Material Document no.

    Hi,
    Is there any report through which I can find Excise Invoice Number (J1IEX) with the help of either Purchase Order no. or Material Document no.?
    Can anyone provide some idea in this regard?
    Thanks in advance

    Using transaction code J1I7,You canfind excise invoice no in report,with purchase order no. or Material document no. as inputs.

  • Linking Between Sales Order And Purchase ORder

    Dear Gurus,
      How to link the Sales Order Number and Purchase Order Number. I know the Sales Order Number and I need the tables from which I can know the Purchase Order Numbers for that Sales Order Number.
    Points will be awarded.
    Thanks,
    Ravi

    Hi,
    Goto Table Mseg-kdauf is sales order no.
    get mseg-ebeln is purchase order.
    Or u can do the following code.
    from sales order no VBELN get VBFA-VBELV.
    SELECT SINGLE vbeln  FROM  likp
             INTO l_delno
             WHERE  vbeln   = vbfa-vbelv.
    SELECT SINGLE ebeln
               INTO l_sono
               FROM ekbe
               WHERE  belnr = l_delno    
               AND   bewtp = 'L' .  
    L_DELNO IS PURCHASE ORDER.
    If it is helpfull pls reward it.
    Regards
    Srimanta

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

  • Goods receipt number and purchase invoice nubember info objects

    hi experts
    i have the requirement to build the report with the  info objects of goods receipt number(document) , purchase invoice numbers and purchase document numbers from standard cubes or ods.i have checked in inventory management and purchasing cubes&ods i am not success got the purchase document number it is from ods   (0PUR_O02)  the InfoObject  is 0OI_EBELN(purchasing document number),like this i want InfoObject  for Goods receipt number and purchase invoices from where can i get these fields.
    if u need any more information i will provide.
    thanks and regards
    Sreenivas.

    Hi Ahamed,
    thanks for your reply,do u have any information about purchase invoice number.
    i need one more help from you, how to find out Debtors turnover ratio from Acceount Receivables(AR) (or)G/L (General ledger account).is there any standard queries from Business content,i was checked and i was failed,if you have any solution for this please let me know.
    thanks and regards
    Sreenivas.

  • In order confirmation i need invoice number and delivery number.

    Dear Experts,
    I need invoice number and delivery number in order confirmation.
    how can i get the delivery number an invoice number.
    Program name: RVADOR01
    Regards
    Ahmed

    Hi
    In the Order confirmation Only sales order details will be there
    You better write a PERFORM  statement in Script and in the subroutine fetch the Delivery number and Invoice number with the following links and display them in script
    LIPS-VGBEL = VBAK-VBELN
    LIPS-VGPOS = VBAP-POSNR
    VBRP-AUBEL = VBAK-VBELN
    VBRP-AUPOS = VBAP-POSNR
    You can also can use the VBFA table
    using Prev doc type = C (order) and Subsequent doc type = J to get the Delivery
    and Sunsequent type = M for getting the Invoice Number
    see the sample code for subroutine
    REPORT ZMPO1 .
    form get_freight tables in_par structure itcsy out_par structure itcsy.
    tables: ekko,konv,t685t.
    data: begin of itab occurs 0,
             ebeln like ekko-ebeln,
             knumv like ekko-knumv,
           end of itab.
    data: begin of itab1 occurs 0,
             knumv like konv-knumv,
             kposn like konv-kposn,
             kschl like konv-kschl,
             kbetr like konv-kbetr,
             waers like konv-waers,
             kwert like konv-kwert,
           end of itab1.
    data: begin of iout occurs 0,
             kschl like konv-kschl,
             vtext like t685t-vtext,
             kbetr like konv-kbetr,
             kwert like konv-kwert,
           end of iout.
    data v_po like ekko-ebeln.
    read table in_par with key 'EKKO-EBELN'.
    if sy-subrc = 0.
       v_po = in_par-value.
       select
         ebeln
         knumv
      from ekko
      into table itab
      where ebeln = v_po.
      if sy-subrc = 0.
        loop at itab.
          select
            knumv
            kposn
            kschl
            kbetr
            waers
            kwert
          into table itab1
          from konv
          where knumv = itab-knumv and
                kappl = 'M'.
        endloop.
        loop at itab1.
          if itab1-kposn <> 0.
            select single * from t685t
                              where kschl = itab1-kschl
                                and kappl = 'M'
                                and spras = 'EN'.
            iout-vtext = t685t-vtext.
            iout-kschl = itab1-kschl.
            iout-kbetr = itab1-kbetr.
            iout-kwert = itab1-kwert.
            append iout.
            clear iout.
          endif.
        endloop.
        sort itab1 by kposn.
        loop at iout.
          sort iout by kschl.
          if ( iout-kschl eq 'GSDC' OR
               iout-kschl eq 'GSFR' OR
               iout-kschl eq 'GSIR' ).
            at end of kschl.
              read table iout index sy-tabix.
              sum.
             write:/ iout-kschl,iout-vtext,iout-kwert.
          out_par-name = 'A1'.
          out_par-value = iout-vtext.
          append out_par.
          out_par-name = 'A2'.
          out_par-value = iout-kwert.
          append out_par.
              endat.
            endif.
          endloop.
        endif.
      endif.
    endform.
    IN THE FORM I AM WRITING THIS CODE.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:ENDPERFORM
    &A1&
    &A2&
    This Code is to be written in the PO form under ADDRESS window.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:DEFINE &A3& = ' '
    /:DEFINE &A4& = ' '
    /:DEFINE &A5& = ' '
    /:DEFINE &A6& = ' '
    /:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:CHANGING &A3&
    /:CHANGING &A4&
    /:CHANGING &A5&
    /:CHANGING &A6&
    /:ENDPERFORM
    &A1&
    &A2&
    &A3&
    &A4&
    &A5&
    &A6&
    Regards
    Anji

  • Invoice number and document number not printed in payment advice

    Hello Gurus,
           I am executing reprint check through transaction fch7, In that Invoice number and document number not printed in payment advice. I have created zscript for that and also assinged regup-belnr and regup-xblnr and used standard program RFFOUS_C.
    other fields from regup table are displayed but above two mentioned fields are not displayed.
          I even tried debugging standard RFFOUS_C prog, in that regup-belnr and regup-xblnr are coming but it is not printed on form.
    With regards,
    Vikram

    Hi,
    Debug you Zscript and check the invoice no and document no. Have assigned that script in FBZP..? check the which form is calling FCH7 in debugger mode..?
    Rgds
    Aeda.

  • 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

  • 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

  • Is the purchase order number and purchase document numer both are same

    is the purchase order number and purchase document numer both are same or different?
    thanks.

    Hi Sunny,
    Yes they are same. You will be creating a purchase order in ME21n. After creating purchase order you will shown a number for that order.
    Reward points if useful.
    Thanks,
    Swamy Kunche

  • Report for Vendor Invoices Parked against Purchase Order

    Dear Team,
    I want a report or table name where I can get the Parked Invoices against a Purchase order.My requirement is to know which are the invoices which are parked against a PO since ME2M shows Invoices posted, so bye anyway is it possible to get such report.
    Regards,

    Invioces Parked
    Transaction: MIR6 & MIR5
    In MIR6, Select Held/Parked and execute to get the results. 
    In MIR5, Select Parked and execute to get the results. 
    Table: RBKP
    FieldS:
      Status  - RBSTAT
      ( A - Parked
        C - Parked and Held )
      Inv Doc - BELNR
      Fis year- GJAHR
    Invoices Parked against a PO
    Table: EKBE
    Enter the below:
    EBELN  - PO Number                    (Enter the PO Number(s))
    VGABE - Trans./event type         (Enter P - Invoice Parking)
    BEWTP - PO History Category     (Enter T - VRe)  This is optional

  • 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

  • Table to show thw invoice for a purchase order

    In which table we can see the invoice for a purchase order?Or in which t code.

    Hi,
    Go to table EKBE in SE16/ SE16N and give the PO number and value "2 (Invoice receipt)" in the filed "Transaction/event type, purchase order history"
    Regards,
    SDNer

  • AP Credit Memo and Purchase Order

    Hi,
    can anyone tell me if it's possible to link a AP Credit Memo to a purchase order like an invoice can joined to ?
    thanks

    Dear GEORGES COURONNE,
    No, it is not possible to link Purchase order to Credit memo. Because, Credit memo is used to cancle the Accounting transaction done (like invoice), but in purchase order there is no such transaction.
    You can close the purchase order to copy it to Invoice or GRPO, and or by manual close choosing Data close.
    Regards,
    Raghu N
    SAP Business Forums Team

Maybe you are looking for

  • Report engine crashes

    Hi, When, i run the report from forms, i am getting the below error message. Any help would be appreciated " Terminated with error: <br>REP-56048: Engine rwEng-1 crashed, job Id: 73448 " Thanks & Regards A.Gopal

  • Need assistance with conditional join in SQL

    Hi All - I need to ask for help with this query: Create table user_tab_col_test (table_name varchar2(30), column_name varchar2(30), data_type varchar2(30)); Insert into user_tab_col_test (table_name, column_name, data_type) values ('table1', 'column1

  • Suggestion for WSDL Code Generation

    I need to generate multiple WSDL's into the same package in Flex. These WSDL's define a common set of classes and many unique classes. The generation fails because some of the files already exist. It would be nice if this could be interactive and all

  • Exporting options help..

    In CS3, when you export to windows media encoder, you can adjust the bitrate, width, height of the video. How do you do that in CS4?

  • Mi tablet no reconoce la tarjeta sim

    MC982E/A ipad 2 wifi 3G 16 GB mi tablet no reconoce la tarjeta sim que puedo hacer ??? cuando la compre le coloque una tarjeta sim con la compañía de claro , cancele el plan y que cambie el chip por uno de pre pago y ahora no lo lee con ninguna compa