PO for delivery

how to get PO number for a particular delivery ..tried using VBFA but could not find

EKBE holds the entries when a delivery is done.
LIKP - Get the delivery number
LIPS-VGBEL - Holsd po no
LIPS-VGPOS - holds item no , avoid the first character of this field and use the rest.
Use view m_vmvaa to get the sale order reference of a po, pass po to field bstkd.
Check this query
    SELECT vbeln
           posnr_i AS posnr
           vstel
           lfdat
           lifnr
           bolnr
           matnr_i AS matnr
           werks
           lgort_i AS lgort
           lfimg_i AS lfimg
           vgbel_i AS vgbel    "PO NO
           vgpos_i AS vgpos
      INTO TABLE i_delivery
      FROM wb2_v_likp_lips2
      WHERE vbeln   IN s_vbeln AND
            lfdat   IN s_lfdat AND
            bolnr   IN s_bolnr AND
            lifnr   IN s_lifnr AND
            matnr_i IN s_matnr AND
            werks   IN s_werks AND
            lgort_i IN s_lgort AND
            vgbel_i IN s_ebeln.  "PO NO
CHECK i_delivery[] IS NOT INITIAL.
    IF s_ebeln[] IS INITIAL.
      SORT i_delivery BY vgbel ASCENDING.
      DELETE i_delivery WHERE vgbel = space.
    ENDIF.
    LOOP AT i_delivery ASSIGNING <fs_del>.
      <fs_del>-vgpos_t = <fs_del>-vgpos+1(*).
    ENDLOOP.

Similar Messages

  • Proforma invoice is created for delivery without PGI in STO(Depot sales)

    Dear Gurus,
       I am facing a strange issue, user created Purchase order with some material X of 4 quantity, and he created the replenishment delivery for 1 quantity and without doing any Picking and PGI but system allowed to create proforma invoice with 4 quantity I checked the copy control config settings for Delivery and Proforma invoice all are maintained fine (viz., billing qty as D, copying req:311 and Data VBRK\VBRP:001)( Ichecked the change log for delivery but I didnt observed any chanes in delivery) .. strange to watch ........created the same scenario in quality but system doesnt allowed to create proforma invoice without PGI and picking(Just one month before quality is refreshed with Production).
    If anyone faced the same problem let me konw the solution ate the earliest.
    Best Regards,
    Kishore.SGR

    Hi
    As already said, as per the standard the Performa Invoice do not check the Goods Issue status of a Delivery since it uses the Copying Requirement 009 in transaction VTFL.
    If you want your performa invoice to be created only after the PGI of a delivery, then use the Requirement 003 in Copying Requirement field for the combination of your Delivery Doc. and Billing doc. in transaction VTFL at Header level.
    Regards
    Amitesh Anand

  • Report for delivery costs

    Hi,
    1.
    I need to have a report for the paid delivey costs(planned and unplanned) for the given pos.
    2.
    Is there any std transaction which can give the list of fast moving items based on movement types?
    Please help me, it is very urgent.
    Your help is appreciated.
    Regards,
    Subbu.

    Hi,
    For Delivery Cost look in Table EKBZ ,EKBZH.For Fast moving item use the T Code MCBE (also MCBA,MCBC)in which you can find the fields like number of valuated stock receipts and issue and also number of movements .Selecting a given period range if the number of movemnets is sorted in descending order the maximum moved material can be found.
    Dhruba
    Message was edited by:
            Dhruba Charan Behera

  • Sales order need to be blocked for delivery while creation

    Hi experts,
                    My requirement is to block sales orders for delivery, for the selected distribution channels, and for selected countries while creation itself, so for this I came to known that a program MV45AFZZ include, here in this at which form can I write code to block SO for delivery. and is it enough to put a reason in the field LIFSK in VBAK table to block SO for delivery.
    Thanks in advance
    Regards
    SriNivas........

    Hi,
    You can use form routine USEREXIT_SAVE_DOCUMENT_PREAPRE of user exit MV45AFZZ to update the delivery block.
    MOVE '10' to vbak-lifsk.                    "13 is the reason for block in header"
    MOVE '10' to xvbak-lifsk.                  "13 is the reason for block in header"
    Use following code to update delivery block at item level
    MOVE '10' to vbep-lifsp.                      "13 is the reason for block in item schedule line"
    MOVE '10' to xvbep-lifsp.                    "13 is the reason for block in item schedule line"
    Regards
    Vinod

  • Want to know the sale order report for Delivery bclok at header level

    Dear,
    i would like to know some reports
    1). I would like to know  is ther any  SAP std report  is available for Sale order if Blocked for delivery(VBAK-LIFSK)??
    2). is ther any report for knowing the Sale order  if header/item text  is maintained??
    Pl advice if any std report is available.
    Thanks in advance

    Dear Pradyumna,
    Thanks for your reply, I did't find any Header r item text in the report.
    Pl suggest is there any other report is availble???
    Thanks in adv.

  • Sale order block for delivery

    Hi,
    My requirement is -
    whenever I save any sale order,by default it should be block for delivery.
    how to make the setting in system.
    Harsh

    Hi
    Put Delivery Block at  Sales Order type  in t code  VOV8.
    regards
    kedasu.a

  • Can't change quantity when copy from Sale order for Delivery

    Hi all!
    Can i use authorization for can't change quantity when copy from Sale order for Delivery.

    Tien,
    Approval will not work when you have mutiple rows of data.  You would have to work with SP Transaction Notification
    There has been threads before on the forum on the same topics.
    Block the Quantity in Sales Delivery
    Approval Procedure for chaning quantity in Delivery Document
    Suda

  • Open Order scheduled for delivery

    Hi there ,
    Please suggest me the report to spool the Open Order scheduled for delivery for a material ....
    Regards
    Kaushik

    Hi
    Check the delivery due list, its shows open orders due for delivery for a particular date
    and the list can be printed or sent to spool
    Anurag

  • Bursting Control file, Error!! Could not deliver the output for Delivery

    Hi,
    I am using bursting control file to send report output to email in R12.1.3.
    If the report output is having data, it is working fine. if there is no data it is getting errored out with the below message.
    "Error!! Could not deliver the output for Delivery channel:null "
    In the report output i put "No data found", when i click on view output the output in application is showing as "NO DATA FOUND" in PDF .
    "Bursting VMC Approved Purchase Orders for a period (XML Publisher Report Bursting Program)" got above error.
    my requirement is if there is no data, still i require the output to email.
    Thanks in Advance
    Adina.

    Hi,
    I am facing the same situation and want the bursting program to finish in normal even when there is no data.
    Can you please let me know how you resolved this?
    Thanks
    RG

  • Root cause for delivery to show up on LX47 transaction

    All,
    I am new to SAP and supporting an off site warehouse location.  I'm trying to research and locate the root cause for why a delivery shows up on LX47.
    The situation the warehouse is experiencing is that they are having to run the LX47 transaction multiple times a day to correct delivery issues.
    I know from my initial research that deliveries show up on LX47 due to the OB Delivery being blocked, and that this is caused by the OB delivery and related Transfer Orders do not match in the system.
    What I'm trying to figure out is, from an Operations standpoint, what is causing the OB Delivery and the TO's not to match?
    Is there only 1 reason?  Are there 100?  This is what I'm trying to understand.
    The only thing I have found thus far is that 2 people/transactions are in the delivery at the time of the update.  Is this accurate?

    Hi Nicholas,
    I am sure you are very much aware about the process flow however i just want to narrate again, if the plant and storage location is WM managed then you generally create a transfer order with reference to the delivery document to perform the picking process now at the time of confirmation of the transfer order you can update the Delivery immediately (Standard SAP) or you can set the indicator to delay the delivery update(Check the below mentioned screen and IMG path).if you choose to delay the delivery update those delivery will appear in the LX47 and you have the provision to manually update  the Delivery from there. (Apart from the above mentioned there are some instance where after confirmation of the transfer order and in between updating the delivery either material master / Batch master / or some other relevant parameter is in edit mode or locked which cause failure to update the delivery immediately and you will find those delivery will also appear in the LX47)
    Hope this will help to get some idea about LX47 and reason for delivery whose appear in the LX47
    SPRO PATH
    SPRO---Logistic Execution---Warehouse management ---Shipping ----Define Shipping control -- Shipping control per warehouse

  • Items due for delivery as per available stock

    Hello Gurus,
    May i know if there is report which gives me a visibility if all sales order items are available to create a delivery.
    I know the report VL10H & VL10C gives the items due for delivery, these are reports that gives the as per the schedule line.
    As you all know a sales order may get confirmed due to some production order and purchase orders are expected, if in case a production order is delayed and items are in no stock, we will not be able to completely deliver all the items.
    thank you

    Hi Verada
    To know which orders can be delivered; a fresh ATP-check are required.
    An idea could be to run the backorderprocessing (report sdv03v02) and use the resultlog and/or create your own report.
    Kind regards
    Søren Nielsen

  • Release Orders Blocked for Delivery

    Hello Experts!!
    We have V.23, release orders blocked for billing.. is there a similar transaction where we can release orders blocked for delivery??
    Help is greatly appreciated.

    Hello Carla,
    Yes in the T-code "V.23", you can release the billing block for SALES ORDER in one single click. While releasing the delivery block for the Sales order the following T-code are useful:
    1. VDBLOCK
    2. V.14
    3. VA14L
    When you are using these T-codes, you get the list of all the Sales order which are blocked for Delivery. Then you can select the document for which you want to remove the delivery block and do the required updation.
    Regards,
    SARTHAK

  • Sales Orders Blocked For Delivery

    Hi,
    Do we have T-Code for Sales Orders Blocked For Delivery other than VA14L,Because Customer name is not there in VA14L list.
    Thanks,
    NAG

    Hi naga sudhir
    Go to T-code--VA14L
    In that  go to menu-SettingsLayout--Current/Choose
    In this layout u can choose fields what u want to appear in that row.
    Any quries revert back to me
    Regards
    Srinivas.

  • Purchase report on PO due for delivery

    I wanted to get report of list of PO due for delivery/not yet delivered though delivery date is past
    When i go ME2M, give open GR in Selection parameters and give delivery date then execute this gives list of PO's still need to be delivered
    In output we dont have delivery date to review, is there any other way to fetch a report of list of PO's due for deliver and output must have delivery date as a column
    Thanks

    Check this links
    past Due delivery date in PO
    Report: PO with delivery date
    Delivery due in days

  • BAPI Error: No schedule lines due for delivery up to the selected date

    Hi,
    I have created a program to create delivery orders with reference to sales orders using BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
    After execution I get the error: No schedule lines due for delivery up to the selected date
    Please help.
    Thanks in advance!!!
    Regards,
    Sriram

    hi,
    this is to inform you that,
    please check the schedule line date in the sales order because the date is not matching here for the BAPI to upload.
    here,  for example the schedule line is 4 days after and you are running BAPI today. that will mismatch no.
    the same thing is happening in uploading case also.
    so please check the date.
    because in teh sales order if teh schedule line date is today it will accept the uploading with out throwing any errors.
    regards,
    balajia

  • Schedule line blocked for delivery

    Hi Friends,
    Can you please tell what does Schedule line blocked for delivery ( LIFSP )  means?can you please explain the business process involved in this?
    Regards.
    Dinesh

    At schedule line level, the following are some important prerequisites must be fulfilled, else the same would be set as blocked:
    1. The schedule line must be due for shipping on the specified selection date.
    2. The schedule line is due for shipping as the material availability date or the transportation scheduling date is reached.
    3. The schedule line is not blocked for delivery.
    4. The delivery quantity must be greater than one.
    5. The items in the order must be fully processed.
    6. The product status of the material must permit delivery.
    7. No credit check are pending.
    Regards,
    Gauravjit
    Reward Points if solution is helpful.

Maybe you are looking for

  • Why can't I burn a backup CD?

    Help! I can't burn a CD anymore. I try it in finder and get a can't communicate error...in iTunes...same thing...in iPhoto, (you guessed it...same thing) I can read my created CD's just fine with no problems (those I have created as well as those fro

  • Difference between Navigation attribute and normal attribute

    Hi Experts, What is the use of Navigation attribute in place of normal attribute? When we need to use navigation attribute instead of normal attribute? Thanks! Sapna

  • Payment terms in Rebates

    Hi Can any body tell what is the use of the Payment tems in Rebates partial settlement screen? I have a requirement, to pay the customers Cash discount (quantity base) based on the payment terms. Ex. If customer buys 100 Qty @ Rs 100 his total invoic

  • Can I copy a Master Page from one document to another?

    Hi - this might be a basic question, but I haven't figured out the answer yet. I have one .muse site with a Master Page that I used... I want to use that same Master Page on another .muse site that I'm working on. Is there a way I can copy the Master

  • Problem in Deployment as Exploded archive

    Hi All, I am really saturated working on above. currently My application deploy as single .ear file. I need to deploy my application as exploded archive. for the same I have changed my deployment scripts which explode my ear file and .jar file inside