Purchase order number addition to Delivery

what is the process of adding the purchase order to a return delivery.
Plz let me know. Thanks.
Edited by: raghav nba on Nov 25, 2008 9:40 PM

sorry, it was a custom enhancement here. I got it.

Similar Messages

  • Purchase order number for the Delivery

    How do we get the Purchase order number from a delivery.
    Hello all
    Say i have an Purchase order [EKKO] and from that i have created a delivery.[LIKS]
    In my output for the delivery, i need the preceeding document number for the delivery which is the PO number.
    How do i get the same. what table should i look in. I checked the VBFA table, but i am not able to get the same there...
    is there any table with which we can get this info.
    thanks and Regards,
    Gauravjit.

    No, it will be at the line item level because you can potentially combine several PO (or sales order) line items into one delivery.

  • Purchase order Number and Outbound Delivery

    Hello All,
    I want write a select query which will show all outbound deliveries of a Purchase order. How shoudl I relate them? I mean what database tables can I use?
    Regards
    Puru

    Hi,
    You can use following database tables.
    VBAK- Sales header for PO number
    LIKP-  Delivery header for outbound delivery number.
    VBFA-To link sales  and  delivery in document flow.
    Reward if useful.
    Thanks,
    Pramod

  • Finding Purchase Order Number through the Delivery Document

    Dear all,
    I'm doing an EDI 856 ( ASN / Shipment Notice) and I need to know how can I find the PO Number if I only have the Shipment (Delivery) number.
    What I wanna know is the relation between PO and Delivery Document.
    Best Regards,
            Eduardo Arruda Pimentel.

    Hi Eudrado,
    There is no direct relation.
    Technically, the relation between PO and delivery is many to many i.e. one PO can be related to multiple deliveries and many POs can appear in single delivery..this depends on your business scenario.
    for ex., one sales oder might be split into multiple deliveries or many sales orders can be merged into one delivery.
    In this case, you can consider searching table VBFA by item number also..as VBKD contains line item number also.
    Regards,
    Raghu.

  • How to get purchase order number from delivery number?

    hi all,
    how to get purchase order number and item if i have only delivery.
    and in same way how to get po number and item if i know only batch number.
    kindly give me some solution i need this urgently.
    thanks in advance.

    Check the logic below:
    * Selecting the Sales Documents from VBFA for corresponding Invoice
        SELECT vbelv
                     posnv
          FROM vbfa
          INTO TABLE gt_itab3
         WHERE vbeln EQ gt_itab5-vbeln
           AND posnn EQ gt_itab5-posnr
           AND vbtyp_n EQ 'J'.
        IF sy-subrc EQ zero.
          SORT gt_itab3 BY vbelv posnv.
        ENDIF.
      ENDIF.
      IF NOT gt_itab3 IS INITIAL.
    * Selecting the Purchase Orders from VBFA for corresponding Sales Documents
        SELECT vbeln
               posnn
          FROM vbfa
          INTO TABLE gt_itab4
       FOR ALL ENTRIES IN gt_itab3
         WHERE vbelv EQ gt_itab3-vbelv
           AND posnv EQ gt_itab3-posnv
           AND vbtyp_n EQ 'V'.
        IF sy-subrc EQ 0.
          SORT gt_itab4 BY vbeln posnn.
        ENDIF.
      ENDIF.
    Batch number will be there in delivery item.
    Regards
    Kannaiah

  • Getting delivery number by  using Purchase order number

    Hi,
      I need to get a delivery number for a perticular Purchase order number.give me the sap tables link for getting the delivery number by using the purchase order number.
    As per my knowledge,
    'Likp' for delivery number and
    'ekbe' for purchase order.how we can link these 2 tables?
    Thanks,
    suma.

    U can use the field BELNR field EKBE to link the two tables..please not that it is only valid for VGABE = 8.
    select EEBELN EEBELP EBELNR LVBELN
    into itab
    from ekbe as E inner join likp as L
    on Ebelnr = lvbeln
    where vgabe = 8
    Regards
    Anurag
    Message was edited by: Anurag Bankley

  • Customer purchase order number at schedule line level in scheduling agreeme

    Hi,
    We have one typical requirement from scheduling agreement functionality. The scenario is we receive the schedule lines from Idocs from customer with purchase order number for each schedule line. We need to print that PO number on packing slip and ASN. How do we capture the schedule line po number in SAP SA?
    Please share your ideas on this.
    Regards, Lakshmikanth

    Hi Chandrasekhar,
    Thanks for your reply, here we create one delivery for each schedule line quantity, we need to copy the respective purchase order number into delivery. There is no Corelation between schedule line number and additional data field, so we can not use very freely.  Do we have any other option?
    Regards, Lakshmikanth

  • Purchase order number for each postings with FBL3N

    Hello
    With tcode FBL3N, I need to get all the postings on expenses accounts. Additionally it is possible to get more information on the postings from the orginal paper invoice. It shall be also more convenient to get the purchase order number walk trhough SAP with it. Then is it possible to get the purchase order number for each postings with FBL3N?
    thanks for inputs
    sb

    Hello,
    Could you please add field BSEG-EBELN as a special field in FBL3N (from
    menu path Settings -> Special fields).
    Then, select the Purchase order field again from "Change Layout"
    (Ctrl+F8). Now this field is available for display variants, it has the
    technical name 1-U_EBELN and the description 'Purchase Document'.
    The other field has the same description but as technical name
    '1-EBELN'. When you create a display variant be aware that you select
    1-U_EBELN and not 1-EBELN.
    *******Please also refer to attached notes 215798 and 984305.
    Best regards, Hana

  • Purchase Order Number in Vendor Line Item (FBl1N) and Clear Vendor (F-44)

    Hello,
    I am not getting the Purchase Order Number in Vendor Line Item.(FBl1N).
    Also during Clear of Vendor through F-44 i am not able to identify the Line item on the basis of Purchase Order Number.
    Could any one pleae help me out on this issue as i have to clear the vendor Line item in mass.
    Thanks
    Nitin Jindal
    Moderator: Please, respect the rules of the forum and search SDN before posting new thread. This question has been answered several times. Also, please choose proper forum to post your questions; this one is related to Financials and not to Controlling

    Based on my experience std feature from SD-FI . Depending on the SD Billing config which can be by delivery(VTFL) or sales order(VTFA). You can assign options of A: Cust PO No. B Sales order no. C Delivery no. D External delivery no.  E Actual invoice number to available header fields of Assignment No. or Reference No. Try it out

  • Purchase order number in FBL1N

    Dear all,
    Please suggest how we can fetch purchase order number in fbl1n report even by putting sort key 014 (purchase order number) in vendor master and G/L master it is not fetching
    Thanks and Regards
    Priya

    Hello Priya,
    You should get PO number on vendor account with using FBL1N. But you must do some developments for it.
    I wrote message how can you add additional field in FBL1N before message below.
    Re: Vendor & Customers in FBL3N
    But you can update PO field on vendor line items display.
    You can skip adding field section on message which I gave you above.
    You must copy from SAMPLE_INTERFACE_00001650 to ZFI_INTERFACE_00001650 FM and some customizing for updation BTE. I specified it on message.
    Then you'll write some ABAP for PO number update in vendor line items.
    I'm giving to you some examples below.
      TABLES : bkpf, bseg.
      e_postab = i_postab.
      IF sy-tcode EQ 'FBL1N'.
        SELECT SINGLE *
          FROM bkpf
          WHERE bukrs = i_postab-bukrs
            AND belnr = i_postab-belnr
            AND gjahr = i_postab-gjahr.
        IF sy-subrc EQ 0.
          IF bkpf-awtyp EQ 'RMRP'.
            SELECT SINGLE *
              FROM bseg
              WHERE bukrs = i_postab-bukrs
                AND belnr = i_postab-belnr
                AND gjahr = i_postab-gjahr
                AND ebeln NE space.
            IF sy-subrc EQ 0.
              e_postab-ebeln = bseg-ebeln.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.

  • How 2 Copy Header & Line Item Text from Purchase Order 2 Out Bound Delivery

    Hi SD Gurus,
    I want to copy header and line item text from Purchase Order to Out Bound Delivery (This is required in Stock Transfer Process).
    I have been able to do successful config. for copying header and line item text from Sales Order to Outbound Delivery but config. doesn't seems to be same for copying text from PO to OBD.
    Is there any way to achieve the same? Can some expert show the way to achieve this.
    Thanks in advance.
    Warm regards,
    Rahul Mishra

    Hi Ravikumar thanks for u quick reply.
    This is wht is currently coded.
    concatenate values to get item text for read text function
       invar3+0(10) = invar1. "PO number
       invar3+10(5) = invar2. "PO line number
       SELECT SINGLE * FROM stxh WHERE tdobject = 'EKPO'
                                   AND tdname   = invar3
                                   AND tdid     = 'F01'
                                   AND tdspras  = sy-langu.
       IF sy-subrc = 0.
         invar4 = invar3.
    reading the text for the document items.
         CALL FUNCTION 'READ_TEXT'
           EXPORTING
             id       = 'F01'
             language = sy-langu
             name     = invar4
             object   = 'EKPO'
           TABLES
             lines    = it_itab.
    I have seen some PO's which have info rec texts in that, which gets pulled by the above code...first thing is its id is F02 which exist in STXH table also there is other text with F01 id, and hence the table it_itab gets both these text hence no pbm.
    but i came across a PO which has only one text which is info rec text with id F05 and is not store in stxh and hence doesnot get pulled by read_text fm. How do i change my cod to get this text which should not hamper other PO's as well.
    As mentioned in above msgs, this F05 could be retrieved by providing object name as EINE.
    anyhelp will be appreciated and rewarded.
    thanks

  • Inspection Type 05 require input purchase order number for rejection

    Hi Experts,
    I have inspection and needed to reject in QA12.
    When inputting the stock posting quantity to return, it prompts the reason for rejection, and required to input purchase order number also.
    Since that is material return from production(inspection type 05) with no purchase order number, where in SPRO I can check the setting of this and disable this?
    Please kindly advise, thanks!
    Regards,
    Daniel

    Hi SujitSND,
    I have some materials in inspection lot which is created from material return in production.
    This lot is rejected by QA and needed to return to production line.
    When inputting the qualtity field RETURN DELIVERY, system forced me to input Purchase Order number which is not available.
    My target is to not needing to input purchase order.
    Regards,
    Daniel

  • Purchase Order number in Billing document

    Hi Gurus
    My STO Billing document# IV  - Line item (double click) P.O Data tab
    Over here doesn't have the Purchase Order number.
    What settings to be done to obtain the Purcahse Order number here...
    Regards
    RG

    hi,
    in STO case billing is dependent on OUT BOUND DELIVERY.
    not on PO.
    so you will have a reference of DELIVERY DOCUMENT only here in IV.
    there are two methods for it:
    goto display document from BILLING you will find the reference of PO
    take delivery number and goto display document flow you can find the reference of PO.
    if you want to see the PO number as a reference then you have to talk to the ABAPER & the above is the simple methods you have to find the reference of PO
    hope this clears your issue.
    balajia

  • Customer purchase order number in Billing document

    Hi Experts
    Billing documen --> Item double click --> Last Tab is PO Data
    Table (VBKD) --Field (BSTKD) -- Customer purchase order number
    How do I get populated my PO here in this field. I am not using the sales order. Only P.O --> D.O --> Billing.(inter Co. STO)
    Any help can be appreciated
    regards
    RG.

    Hi,
    You have the PO number in the delivery (in items, LIPS-VGBEL) or in VBFA table.So, you can achieve it in the copy rules from delivery to invoice (in a VOFM in VTFL). Check so the splitting of invoice (structure ZUK or field ZUKRI), so, see SAP Note 11162 - Invoice split criteria in billing document.
    I hope it helps you
    Regards
    Eduardo

  • Customer Purchase Order Number in line item and F.27

    Hi Experts.
    I was just wondering if its possible to populate customer purchase order number (entered in sales order) in line item, so that I can use in customer statement in F.27.
    The requirement is to populate customer purchase order number in customer statement (F.27) which is sent to the customer at month end.
    Is there a some other better way to do, please advice.
    Thanks in advance
    Best Regards
    Jen

    Based on my experience std feature from SD-FI . Depending on the SD Billing config which can be by delivery(VTFL) or sales order(VTFA). You can assign options of A: Cust PO No. B Sales order no. C Delivery no. D External delivery no.  E Actual invoice number to available header fields of Assignment No. or Reference No. Try it out

Maybe you are looking for

  • My camera does not work? On my new ipad3 any come across this?

    It starts to take them and freezes

  • 2 different subnets on single vlan

    I have this setup. 2 3750G switches stacked. I have 2 servers with IP 10.10.10.1/30 and 10.10.10.2/30 connected into port g1/0/1 and g1/0/2 respectivily on switch1 both in vlan 100 I have another 2 servers with IP 10.10.20.1/30 and 10.10.20.2/30 conn

  • Webdispatcher with load-balancing and local icm configuration

    Dear all, we have a webdispatcher in place to load-balance the requests to our three application servers (ABAP). The webdispatcher has a hostname that is resolved by the DNS. The application servers use local hostnames that can't be resolved in our i

  • L How many are running trials on Virtual Machines and under what software

    I'm just curious here -- I'm not sure if this Forum has something like a POLL but I'm interested in what type of Virtual Machine setups people are using. I'd like to know HOST OS (RAM size) , Guest OS (Ram size),  ABAP trial / JAVA trial / both, Virt

  • ABAP Query Variant Problem

    Hi,    I am trying to Execute a query through Program   I had copied standard querys (ME80FN) Program  RM06EAAW  to my custom program   In that program , it is caaling a query and assigning one variant   Any idea from when that variant was assigned o