Delivery doc creation for a selected line item of the Sales order

Hi folks,
    Can any one help me in how to create a delivery order for a selected line item of the Sales order.My requirement is the request comes from the web browser where a sales document and details of the items are shown the user select one line item and request for delivery create of that particular SO doc.I have used couple of FM to create delivery but the delivery create is depend on the schedule line dates so iam unable to figure out where exactly i can distinguish between the line items.
Example:
SO:- 11193645
Line item -1 has 2 schedule line 06/11
                                 06/13
Line iteam-2 has 1 schedule line 06/12
so if i try to create Delivery doc for date 06/12
it creates partially for line 1 and line 2.
but my requirement is i wanted to create SO for only line item 1 as i wanted to process Del Doc for only line item 1.
If you have any idea please help me.

hi ,
You can develop a customised FM to process the Idoc data .
1. Read the Idoc data into internal table for the line items which need to be delivered .
2. Run BDC for transaction 'VL01N' ( delivery creation ) through which  eliminate the line items which are not in internal table and save the delivery document
Note : Because in VL01N , you specify the sales document with respect to which you want to perform delivery hence automatically all items are copied to the delivery document .
During BDC recording , select items by " MOVING TO TOP"
and then deleting the selected item
If you face problem in BDC recording , i can help u that too .

Similar Messages

  • How to delete a line item from the sales order

    Hi all,
    how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
    Regards
    Kumar

    Hi
    U can do this in two ways one u can short close the order by entering Reason for rejection in VA02 at header level and if yr order is multiple line item order u can enter the reason for rejection in any of the line item which u don't want to deliver.
    This is called short close ( as the qty is not delivered fully).
    Thx.

  • Sample Material in the 3rd Line item of the Sales Order

    Hi,
    We have configured the system in the sales order as follows.
    1. Commercial Material
    2. Bonus Material.(ie Free Material)
    Now, i want to add the 3rd line item in the sales order as Sample with different Material number. How go about this. kindly let me.
    Regards
    Ravi

    Hi there,
    Enter the material in the sales order & change the item catg manually in VA02.
    But free goods & sample materials are dealt differently..
    Freegoods is entered as TANN item catg along with nornam TAN item in standard order OR.
    But sample materials or free of charge items are processed through different order type FD for eg.
    Even thought the item catg proposed in FD is TANN,, the whole process will not have pricing as TANN items arenot relevant for pricing.
    Regards,
    Sivanand

  • 1 line item in the sales order ship to different shipping address

    Hi,
    Our customer A have 3 different branches (meaning 3 different shipping address).
    During the creation of the sales order for 1 material A, I want to ship 50pc to this customer A:
    10pc to address A1
    20pc to address A2
    20pc to address A3
    In my sales order, is there a way I just create 1 line item with the order qty 50pc for this material A, but split into 3 schedule line with 3 different ship to address?
    I know there is alternate way where I create 3 different line item (with order qty 10, 20 and 20) and change the ship to address in the Item -> Partner tab. But using this method, I have to create 3 times of the same material in 1 sales order, just with the different shipping address.
    I want to know is there a way I just need to create 1 line item?
    Kindly please advise. Thank you.

    Hi there,
    When you have 3 different ship-to address, system will anyway create 3 different deliveries. This is coz if the header data in shipping (ship-to) is different, system will split the deliveries. Routes are different to 3 ship-to addresses & they cannot be combined in the same delivery.
    So as mentioned in above thread, create 3 different line items or create different sales orders all together for different ship-to parties.
    Regards,
    Sivanand

  • Re: Printing Cancelled line items in the sales order on the packing slip

    Hi gurus,
    Currently we have a unique requirement in our company. Our wholesale customers send the Purchase order to us via EDI. Now saw they have requested an order containing 10 materials out of which we can fulfill only 8. the other 2 due to some reasons cannot be fulfilled.
    So the business wants to keep the other 2 line items to be entered in the sales order with a cancelled status.
    Now correct me if I am wrong, only the confirmed line items will be copied from a sales order to a delivery document. So thats the reason why these cancelled line items cannot be printed on the packing slip.
    However somehow the business wants the packing slip tp have the 2 line items printed on it with the reason of not being delivered. this is to facilitate the customer to know why those items couln't be fulfilled by our company. Now we cannot use a manual work-around of letting the customer know about the impossibility of not fulfilling the other 2 items as there are a lot of orders that come thru EDI per day.
    Can anyone suggest a solution to this requirement asap.
    Thanks in advance
    Vinit

    Hi Vinit,
    This requirement makes a lot of sense, that is to be able to inform your customer that some item(s) of the sales order could not be delivered, not even partially.
    A possible solution would be to allow for zero quantity in the delivery item (check customizing and mark "zero quantity allowed" in the item category).
    Then in the packing split, it would be easy to print the delivered quantity (0) and the sales order quantity (whatever it was), because you have the "null" item available in the delivery.
    Personally I am not found of having have delivery items with zero quantity, but they are useful in that case, and they can also be useful to automatically "close" the sales order item (instead of having to do it manually if the goods can't be served).
    Note: Usually in Consumer Goods, if you can't serve part of a sales order to a customer, you have to close it, because the Retailer's next Sales Order will include the remaining quantity.
    Hope it helps.
    Best Regards,
    Franck Lumpe
    Freelance SAP ERP Consultant

  • Splitting the Line Items in the Sales Order

    Hello,
             I have a requirement where when I enter a Particular Material and enter Quantity, then there should be a Line Item Split with Some Quantity with the First Line Item (000010) and there should be another Line Item which should be automatically created (000011).  I've tried MV45AFZZ - USER_EXIT_MOVE_FIELD_TO_VBAP but that is not of much help.
             Can someone give me the Place where I can create an Enhancement Implementation / or any Exit which would serve this purpose?
    Thanks and Regards,
    Venkat Phani Prasad Konduri

    Managed to find an Enhancement Point in the Standard SAP Code and hence the Issue is resolved.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Send all line items of a sales order to IPC along with condition lines data

    We wrote some pricing routines in R/3, where while doing he calculations for condition line item, we needed to pull in the material information for previous line items. So we exported vbap and imported it inside the routine to be able to have access to all the line items in the sales order. Now, we need to put in the same kind of logic in CRM/IPC. My question is what would be the equivalent of SAP's(import/export) commands for internal tables in case of IPC. I looked at the BADI CRM_COND_COM_BADI but still do not see how I can send all the line items  data to IPC. So I guess, the question comes down to, how do I send all the line items of the sales order (whole VBAP in R/3 terms) to IPC along with the condition line data? Can someone please help?
    Thanks

    Hi Vaibhav,
    If you can get the list of Sales orders which has deleted line items and force completion status. You can manage them in BI via lookup  or navigation attribute.
    Just my views I am sharing .
    Thanks,
    KDJ

  • How to delete the line item from a sales order

    Hi all,
    how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
    Regards
    Kumar

    Hi Kumar,
    I think you can just delete it in the sales order directly, if you are using make-to-order scenario, then there will be special stock left for the sales order as the production has been goods receipt, you need to use MM transaction move the stock to unrestricted use stock. If you are using make-to-stock scenario, there should be no further problem. If you are using assembly order, please try to reject the sales order item to see if it could fullfill your requirement.
    Regards,
    Rachel

  • I want a push button for line items in my sales order entry screen.

    Hi,
    I want a push button for line items in my sales order entry screen.
    How can I do so?
    Thanks.

    Hi Kumar ,
    To have a push buttons you need to first assign a pf-status .
    here a sample code for a push button and its handling :
      set pf-status 'SELECT' .
    at user-command .
      describe table t_lpr lines w_lines .
      case sy-ucomm .
        when 'SELECTALL' .
          set pf-status 'SELECT' excluding 'SELECTALL' immediately.
          do w_lines times .
            read line w_line field value w_check . " INTO W_CHECK .
            if w_check = space .
              w_check = 'X' .
              modify line w_line field value w_check.    "INTO W_CHECK .
              add 1 to w_line .
            endif .                        " IF W_CHECK = ' '
          enddo .
    Thus when you say pf-status say 'select' , Double click on that and you find a screen eher you can select icons and assign a function code to it!
    Hope it helps!
    Much Regards,
    Amuktha .

  • How to create an inspection lot for each line item of the Purchase order?

    Hi,
    How to create an inspection lot for each line item of the Purchase order ?
    In detail if possible.

    Hi
       please check this
    [thread|Create Inspection Lot;

  • How to combine the line items of 2 Sales orders into 1 delivry

    how to combine the line items of 2 Sales orders into 1 delivry
    and their process, pre-requisites and tcode

    The prerequisites are:
    1) In the customer master sales area data, shipping tab, there is a field called Order combination. u must tick that.
    2) for the two orders, the sold to party & ship to party must be same
    3) both orders must have created from same plant & shipping points
    4) the line items must have same loading grp.
    5) the both orders sheduline line date must be same.
    transaction code for the same is VL04.
    enter the required data and select the order nos to be processed.
    Do reward points if it is useful

  • Unconfirmed line items of a sales order into account in credit management

    Hi Gurus
    Updated the customer orders via prog. RVKRED09.
    There is only one open order for this customer = 720662. My question is: in the credit master the sales value/credit exposure is USD 77.100,00. The order is for USD 105,900.00 .
    Found out that line item 20 is not confirmed in the schedule lines. So the value in the sales value/credit exposure  equals item 10 and 30. So my 1question is: Where is the setting that  does not take unconfirmed line items of a sales order into account in credit management?
    Thanks in advance
    Regards
    Nalini Iyer

    Hi nalini
    Even though , you create a sales order for that line item , but if that item is not confirmed then the value  wont be considered.  into credit exposure. .
    But once it gets confirmed then the value will be taken into credit exposure..
    Regards
    Srinath

  • Route schedule not updated in some line item of a sales order

    Hi Gurus,
    All order are processed through the EDI interface automatically. Order
    XXXXXXXXX for USA customer 40000XXXX is maintained in route reschedule
    setup T-code VL52 on specific departure day thursday.
    above are line item of same sales order, with same shipping point and route .
    Why only some salesorder lines missing the route schedule ?? 
    Please Help
    Regards
    Abhilash

    When you post a query here, you need to have patience until some members go through your post.  Please dont expect somebody should respond to you immediately as everybody has their own priorities.
    Coming to your query, it could be due to many reasons as per the following note:-
    Note 1750978 - Route Schedule does not populate on sales order
    Go through the Resolutions given in the above note and check with your system
    G. Lakshmipathi

  • Keep Quote line item numbers in Sales order

    While creating a Sales order from Quote, SAP always creates line items with 100,200,300...and so on.
    If quote has 3 line items say 100,110, & 120 and we create a sales order with reference to this quote in VA01. The sales order line items become 100,200 & 300.
    The requirement is for Sales order to also have same line item numbers i.e. 100,110 & 120.
    To retain quote line item numbers in Sales order the ABAP change will be in VOFM or user exit?

    Hi,
    It is not a straight forward thing. Adding data to table XVBAP won't work. It will create inconsistency. There are so many other tables involve here too, like, VBPA, VBUP, VBKD, KONV. There can be other tables too based on how your sales order is configured.
    Also, modifying these tables (XTAB, YTAB ) in this user-exit may cause database inconsistency.
    Regards,
    RS

  • Can we limit the no of line items in a Sales Order

    Can we limit the no of line items in a Sales Order.

    Hi Atul,
    You can use user exit USEREXIT_MOVE_FIELD_TO_VBAP in MV45AFZZ
    Reward points pls.
    Regards,
    Govind.

Maybe you are looking for

  • I have an iphone 5s and when I make a playlist on itunes for music videos and sync my iphone the playlist does not show up. What can I do to fix the problem?

    I have an iphone 5s and when I make a playlist on itunes for music videos and sync my iphone the playlist does not show up. What can I do to fix the problem?

  • Binding JComboBox problems

    So I'm getting an error when I try to save the changes made from a bound combobox: Exception Description: Missing mapping for field [GALAXYY.USER_TYPE.id]. Descriptor: RelationalDescriptor(toast.crud.UserType --> [DatabaseTable(GALAXYY.USER_TYPE)]) S

  • Setting mail subject encoding

    Dear All, I'm now developing a web client to send email, all things was fine except when I want to set the subject encoding, I really can't get arround it, coz the javamail api I'm currently using is 1.3, and requirement won't let me change it to 1.4

  • Highlighting one row in a table control

    Hi All, Can i highlight one row in a table control. I found some stroke color in the properties for a field in table control. But i am not sure, will it be applied to the entire column or to a particular field. Anybody aware of this.? Regards, Manjun

  • Common distribution channel in SD

    Hi All, I got a product from sap ECC to CRM with sales area org1, dis(disribution channel)1, div1 dis1 is common ditribution channel for 2, 3, 4, 5 in ECC SD. but when am trying to create order in crm with that material in distibution channel 2, gett