Tables-Delivery Number

Hi experts,
In which table i can find the Delivery Number, Invoice number and Invoice price.?
Thanks
SP

Check VBRP table..you would get the required information
So for an invoice.
VBRP would contain the invoice line details.
VBRP-VBELN  - Invoice number
VBRP-POSNR  - Invoice Line
VBRP-NETWR  - Net Price
VBRP-VGBEL - Delivery note
VBRP-VGPOS - Delivery line
VBRP-AUBEL - Sales order
VBRP-AUPOS - Sales order line
Message was edited by: Anurag Bankley

Similar Messages

  • Table for Delivery number & Quality inspection lot number.

    Hi Gurus,
    In which table, Delivery Number & Quality inspection lot number  are related?
    Reg.
    Amol

    Hi,
    In LIPS
    If required modify layout and select Inspection lot option
    Kapil

  • Table in which if I put the delivery number ..I should get the HEADER TEXT

    Dear Members,
    I am checking for a table in which if I put the delivery number ..I should get the HEADER TEXT. Does such table exists or a Z report shoudl be created for this kind of setup.
    Regards,

    Hi,
    There are two Tables in which the texts will be stored
    One is STXH -
    TEXT HEADER
    other   STXL------- TEXT ITEM
    If you want to get the Header text then input the values in the table
    In STXH
    TEXT OBJECT     is    VBBK
    TEXT NAME      is      DELIVERY NUMBER
    TEXT ID             is       ZS01  ( this is the standard ID for the  Header note 1 )
    Now goto SE37 and give the Function Module READ_TEXT and maintain all the above details and get the TDLINE Which contains the TEXT of the Delivery
    regards,
    santosh

  • Table for Delivery number

    Hi All,
    i've created a delivery for a STO order using VL10B.
    Now i need a table which has the delivery number along with the STO doc number and item number so that i can fetch it for further processing.
    Kindly help in this issue.
    regards
    Prabhu

    You have to make the following join to retrieve the delivery and the STO corresponding to it.
    Join LIKP, LIPS : LIKP-VBELN = LIPS-VBELN
    Join EKPO, LIPS : EKKO-EBELN - LIPS-VGBEL AND EKPO-EBELP = LIPS-POSNR
    Join EKKO, EKPO : EKKO-EBELN = EKPO-EBELN
    More than one inbound delivery can be created with reference to a STO, so STO is referenced in the delivery at item level in LIPS-VGBEL.

  • Delivery Number and EKBE table

    I have  a requirement to find out and print Delivery number all I have is PO number.
    and I was told that In EKBE if the PO history cat is "L" then fetch the Delivery Number.
    My question is from which table and which field i need to pull if the PO history category is L in EKBE table.
    Thanks in advance,,

    Here is the Link
    Get all the PO's From EKBE-BEWTP  " PO history cat is "L"
    Equal to 'L'.
    select * from ekbe
    into table it_ekbe
    where BEWTP = 'L'.
    if sy-subrc eq 0.
    select * from LIPS
       into table it_lip
       for all entries in it_ekbe
       where vgbel = it_ekbe-ebeln and
                vgpos = it_ekbe-ebelp.
    "This will give all the Deliveries realted to PO histort cat " L"
    endif.

  • Table for P.O or STO to fetch  Delivery number.

    Is there any other table for delivery like LIPS where i can enter P.O or STO (EBELN) number and fetch its delivery (VBELN) ?
    Based on STO or P.O number can I fetch data of outboound and Inboudn delivery ?
    I tried using
    LIPS -vgpos , but it is line item table AND
    EKES table in this table  based on P.O or STO i can get VBELN i.e Delivery ,
    But it work only with P.O not with STO

    Hi,
    You can get it from the table EKBE.
    Give the PO number you will get the list of documents created for the PO.
    For the delivery number the field PO history Cat = L (Delivery note)
    FOR GI the field PO history Cat = U.
    Regards,
    Gopal.

  • How to update Z table with delivery number using MV50AFZ1

    Hi Friends,
    I am working with user exit MV50AFZ1/ USEREXIT_SAVE_DOCUMENT.
    My requirement is I have a Ztable with delivery number field (initially blank). If I create a delivery thru sales order VA02 , my created delivery number should get populated/updated in my Ztable.
    I would appreciate if someone could help me on this.
    Thanks.

    Hi
    First of all, read SAP Note 415716 - User exits in delivery processing, as for instance, avoid your own COMMIT WORK.
    For instance, as the sample code suggests, the better is encapsulate your ABAP coding in a function module with the option IN UPDATE TASK. Define the interface with the data that you need (XLIKP, XLIPS, XVBUK, and so on), after in your own coding (for instance)
    FUNCTION Z_SAVE_DELIVERY
         IMPORTING
           VALUE(IM_LIKP) TYPE SHP_LIKP_T.
       DATA: w_zeta LIKE z_table.
       DATA: ty_likp TYPE likp.
      LOOP AT im_likp INTO ty_likp.
         MOVE-CORRESPONDING ty_likp TO w_zeta.
         MODIFY z_table FROM w_zeta.            "or your own algorithm, searching records and modify them.
      ENDLOOP.
    In the userexit you can do this coding:
      CALL FUNCTION 'Z_SAVE_DELIVERY' IN UPDATE TASK
          EXPORTING
                im_likp = xlikp.
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Jun 21, 2011 5:49 PM

  • How to get the last 3 digits of a Delivery Number

    Hi All,
    On the Transfer Order Collective form, the Delivery Number is printed. But I need to capture the last 3 digits of that delivery number and make the 3 digits to be printed on the same form with bigger font size. I would like to know how to capture the last 3 digits.

    If so, your form(subroutine) can look like this.
    form  get_last_3_digits tables co_sym_using   structure itcsy
                                   co_set_symbols structure itcsy.
      data: xvbeln type likp-vbeln.
    * Get the USING Values
      read table co_sym_using with key name = 'LIKP-VBELN'.
      check sy-subrc eq 0.
      shift co_sym_using-value left deleting leading space.
      xvbeln  = co_sym_using-value.
    * make sure it is internal format
      call function 'CONVERSION_EXIT_ALPHA_INPUT'
           exporting
                input  = xvbeln
           importing
                output = xvbeln.
    * Update the value
      read table co_set_symbols index 1.
      co_set_symbols-value = xvbeln+7(3).
      modify co_set_symbols index 1.
    endform.
    Regards,
    Rich Heilman

  • Delivery number for a material document posted

    Hi experts,
    I need to delivery number for the material document number posted,
    I tried to use the field XBLNR from the table MKPF
    but i see that the feild is empty in the case of inbound delivery
    why is it so.
    How ever i can get the data from VBFA ,but can any one tell me the reason why XBLNR is empty in case of inbound delivery.
    Thanks a lot in Advance.

    Hi,
    If you do GR w.r.t. Inbound Delivery No in MIGO then it will not update "Reference" field i.e. XBLNR.
    To update same with Inbound Delivery No, you have to do "Post Goods Receipt" from Inbound Delivery Document itself in VL31N or VL32N.

  • How to create invoice using bapi  base on delivery number with example

    hi,
    Pl give me one example to create invoice using bapi base on delivery number (PGI).

    Use this code
    * Pass the delivery no to the FM to create the invoice
          wa_vbsk-smart = u2018Fu2019.
            wa_komfk-vbeln = nast-objky. u201CuF0DF-----delivery number
            APPEND wa_komfk TO it_komfk.
            CLEAR wa_komfk.
    *    To fill the message structure
    *        l_wa_error-vbeln_vl = nast-objky. " Delivery No.
    *        l_wa_error-fkart = wa_ztab-bil_doc_type." Billing Doc type
            CALL FUNCTION 'RV_INVOICE_CREATE'
                    EXPORTING
    *                 delivery_date             = 0
                     invoice_date              = v_date  u201C<- date
    *                 invoice_type              = '    '
    *                 pricing_date              = 0
                     vbsk_i                    = wa_vbsk
                     with_posting              = u2018Du2019
    *                 select_date               = 0
                     i_no_vblog                = ' '
                     i_analyze_mode            = ' '
                     id_utasy                  = ' '
                     id_utswl                  = ' '
                     id_utsnl                  = ' '
                     id_no_enqueue             = ' '
                     id_new_cancellation       = ' '
    **             IMPORTING
    *               VBSK_E                    =
    *               OD_BAD_DATA               =
    *               DET_REBATE                =
                    TABLES
                      xkomfk                    = it_komfk
                      xkomv                     = it_komv
                      xthead                    = it_thead
                      xvbfs                     = it_vbfs
                      xvbpa                     = it_vbpa
                      xvbrk                     = it_xvbrk
                      xvbrp                     = it_vbrp
                      xvbss                     = it_vbss
    *               XKOMFKGN                  =
    *               XKOMFKKO                  =

  • 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

  • Report ( invoice number and delivery number)

    Hi
    Is there any report in SAP, which can show invoice number and delivery document number, I know the SAP table, but is SAP standard report available?
    Example:PO: 5500075241, plant abraod delivery number 3510000174 and plant abroad Invoice number 3550000019, we need report which gives Delivery and Invoice no.
    thanks

    No standard reports shows both delivery and billing references in a single report.  You can develop a query in SQVI by table joining VBFA, LIKP and VBRK.
    thanks
    G. Lakshmipathi

  • How to find out the Group Delivery Number from STO

    User performed WA08 to create Vendor PO and STO for stores.
    When GR was carried out on the Vendor PO, multiple Delivery Order were auto-generated.
    Now, is there a place whereby User could identified the Group Delivery Number which
    links all the DOs generated based on either
    a. The STO number  OR
    b. The vendor PO number OR
    c. the allocation table.
    Can some assist?

    Hi,
    Please check these tables
    LIPS...
    VBELN: for Delivery Number
    VGBEL: for STO Number
    with the above chk this.
    VBSS...
    SAMMG: Group Number
    VBELN: Sales and Distribution Document Number
    Regards
    GK.

  • Goods Issue of  a Created Delivery Number

    I am writing code to that will complete a delivery transaction by doing a Goods Issue for shipments that already have a  delivery number created (and are a 601 move type already). I just need to add the batch, carrier, and date (that are being passed to me in SAP in the interface) to the delivery record in the processing. I check table VBUK,field WBSTK, for a "C" indicator when I am done to make sure the delivery is "totally completed".
    The Users currently do a VL02N to do this. It is an Outbound delivery.I am automating the process.
    Has anyone had any similar requirement? Can anyone make a suggestion of which method or Function Module to use? Their are so many and would appreciate anybody's experience with this.
    Thank-You.
    Edited by: Tom Matys on Mar 1, 2010 11:28 AM
    Edited by: Tom Matys on Mar 1, 2010 11:30 AM

    You can use the FM "WS_DELIVERY_UPDATE_2" for posting GR. Using this FM you can also update fields by passing data to VBKOK_WA and VBPOK_TAB. If required you need to use "BAPI_OUTB_DELIVERY_CHANGE" to update your data.
    Regards,
    Ganga

  • ABAP query to find delivery number of a sales document

    Hi Gurus,
    Can anyone help me how can i create an ABAP query to fetch the delivery number of a sales order. What are the tables to be joined.
    Through tables I got the solution. From VBAP table I fetched the sales order numbers. I copied the sales order numbers and opened VBFA table. In the preceding documents field I had pasted those sales orders numbers. Then I've selected subsequent document category 'J' to get the deliveries.
    But now how to write an ABAP query for this.
    regards
    rama krishna

    Hi,
    Try to use join query like:
    Select vbfa~VBTYP_N  INTO CORRESPONDING FIELDS OF TABLE itab from VBFA inner join VBAP
      where vbapvbeln = VBFAVBELN.
    Regards
    Mudit

Maybe you are looking for

  • I want to play a movie from my ipad on my tv, all hooked up and i get an error message that the tv isn't authorized to play it.

    I Want to play a movie from my ipad, on a tv but get a tv not authorized message, how do you authorize a tv?

  • Memory Error on WiSM

    Hi, I'm seeing the following error on our clients WiSM (WS-SVC-WISM2-K9) installed in a 6500 chassis: *dtlDataLowTask: Mar 10 08:50:21.088: %SYSTEM-3-MBUFF_ALL_USED: sysapi_if_net.c:223 No free Mbufs available.Shared memory allocation failed. Interna

  • Spooling from PL/SQL Block

    Hi, Is it possible to do spooling from a pl/sql block.The spool cannot be the first command because I want to give the spool file name in a loop and each time the spool name should change based on the value. I tried all possiblities,but I couldn't ca

  • How To use MacBook Pro as airport base station?

    I am trying to set up my MacBook Pro as an airport base station to share my Internet connection. I am running OSX 10.7.2. I have checked Internet Sharing, and checked "Share your connection using "Internet" to computers using: ______________." There

  • Lost iPhoto Library due to system wipe

    I had to wipe my Mac due to a hard drive problem. I lost all of my iPhoto pictures from a year back in time. I had iCloud turned off on my phone because I didn't like how every single picture (even deleted pictures) were added to my library. My photo