Addition of new line line items in delivery while creating

HI All,
i have the requirement of adding a new line item in delivery items while creating it referencing a sales order.
i have to add new line item based on the existing line items. i have done coding in badi save_doc_prepare.
now new line items are getting added  but we are not getting values in all the fields which are determined by SAP.
because after badi save_doc_prepare sap does not determine the values for newly added fields.
can anybody suggest some good solution.
thanks
Rajpal Sehrawat

try this BAPI BAPI_PO_CREATE

Similar Messages

  • URGENT: Multiple line items in delivery document created for a STO

    Hi Gurus,
    We ar ecreating deliveries using VL10b for a STO. Teh TSO has 40 - 50 line items. But the delivery is created with one line item only an dit creates a delivery for each line item. How cna we allow the inclusion of multiple line items in delivery?
    We are using delivery type NL an ditem categor is NLN.
    Geratly appreciate any help in that.
    Thanks,
    KHAN

    Hi Gianpaolo,
    Thanks for your suggestion I have 5 shedule line itmes for one material and two shedule line for another material and when i changed the material by selecting one line for each sales document no and creates the delivery it is howing three line itmes for the 1st material and line items for the second and quantities equal to the changed quantity in VL02N. and I have value "1" in field "Split per sched.line" in "user role" view of VL10E.
    Kindly help.
    Thanks and Regards
    Tanweer

  • Line item gets duplicated while creating billing document

    Hello,
    I have created an order with two billing plans (periodic & milestone) having single line item. When I create a billing document, line item gets duplicated.
    Can any one help me...
    Regards,
    Kishore

    Hello Balu,
    Kindly see the process below.
    Quotation -> Sales Oder -> Delivery -> Invoice (proforma) -> Excise invoice
    In the above mentioned process, I create quotation for 2 material for quantity 2 each say. I create SO with ref to quotation for only one material with quantity 2. Since I have to do proforma invoice & then the excise invoice, so I have created two billing plans. I have attached both the billing plans to SO. Now after completion of delivery, when I go for doing proforma invoice, I can see duplilcation of material (material in SO gets duplicated in Billing). When I go back to SO and remove one Billing Plan, then material is not duplicated in billing (proforma invoice). But as client said they want two billing plans to be attached to SO. So issue is with Billing Plan which creates duplication.
    I hope this clear's the issue to you...
    Can you suggest any way out....
    Regards,
    Kishore

  • User exit to prevent delivery while creating (VL01N).

    Hi Experts,
    Is there any User Exit, While creating Outbound Delivery with reference to Sales order using VL01N,subitem cannot be created without the related H.Level item. 
    So my requirement is:
    Check Higher Level Item (VBAP-UEPOS), If Higher Level Item value is set for an item, ensure that the related item that the Higher Level Item value refers to is also on the same delivery.  If not, then issue an error that sub item cannot be created without the related HLI item.
    How to achieve this, Any user exit ?  Help will be appreciated.
    Thanks,
    Ranjith.

    Hi
    I think that creating your own VOFM copying requirement from SO to delivery and setting it in copy rules (tcode VTLA) you can achieve. Take an standard as a template and develop the algorithm.
    I hope this helps you
    Regards
    Eduardo

  • Prob in activating a field in delivery while creating delivery via VL04

    hi thx i am also facing the same prob. this badi is working while creating deliveries via VL01N OR VL02N but if we are creating delivery via VL04 this badi is not working, can u please guide me.
    thanx in adv.

    In the Import parameter TECHN_CONTROL  one field called SENDER_SYSTEM is there, it takes the Logical System Name(Default will be Local System). Check whether it is defined or not. This can be viewed in SALE tranasction.
    Tcode SALE > Basic Setting>Logical System-->Assign Logical System to client.
    Here You check ur Client is assigned logical System Name or Not?
    Debug your program and check this value....
    It will resolve ur prob..

  • Automatically  assign delivery while creating shipment in VT01n

    Hi All,
    When i go to VT01N and create shipment . There i can add and assign delivery by pressing "+Delivery" button .
    Now my requirement is that as soon as I press this button then Delivery should get assigned automatically so that i do not have to assign it manually later.
    Do i need to do some configuration in SPRO for achieving the same.
    Thanks,
    Abhishek

    In my case for particular "Shipment type" delivery is
        getting assigned automatically in VT01N
    Interesting !!!!   As already stated, to my knowledge, through standard, it is not possible but however, please update here as to how it is getting updated automatically after checking in debug mode.
    G. Lakshmipathi

  • Set new value as a default value while creating PD(Performance Dailog) Form

    Hi,
    In Performance management,
    While clicking on the Create new PD Form Button, We are getting one Pop up window with the deafult selection screen.
    In that,
    We are getting Valid From: and Valid To value bydefault as a '01.01.2011' and '31.12.2011' .
    We need to change that value. How can we set our new value as a default value.
    We checked in debugging, this values are hardcoded in the SAP standard dyanpro component.
    how can we set our new default value?
    Please suggest.
    Thanks in advance.
    Monika

    You create it through PHAP_ADMIN_PA?
    The validity period is being defined by the BAdI HRHAP00_DOC_DEF_DV
    Implementation HRHAP00_DOC_DEF_DV02,
    can you chekc this/
    If you want to create appraisal documents for multiple participants, a
    more convenient way would be to use 'PHAP_PREPARE'. This also sets the
    validity period.
    If you still want to create the appraisal documents using 'PHAP_CREATE'
    and you want to use the BAdI for defaulting the validity period, you can
    adapt the BAdI implementation to your needs yourself. In that case,
    please make a copy of the BAdI implementation 'HRHAP00_DOC_DEF_DV02'.
    When creating a new appraisal, the system suggests the period January 1
    to December 31 of the current year as the default appraisal period. You
    can change this default by changing the Business Add-In (BAdI)
    HRPDV00APPRAISAL0001 in the ERP system."

  • ITem category  error while creating sales order through

    Hi,
    I am trying to create a sales order through Bapi  and in between im getting the below error.
    ' Item category TAM is not defined for non material items'.
    Can anybody pls provide the solution for this.
    Thanks

    speak to your SD functional person.  The Error is pretty self explanatory; SAP is telling you that the item category for that order item is not permitted by your SD configuration.

  • BOM item and Serial number item in Delivery through DI

    Hi Guys,
    When I create a delivery with one ore more sales-bom items and one ore more serial number items and I add one ore more sales-bom items before one of the serial number items the creation of the delivery goes wrong with the following error: "You should use existing serial/batch numbers for this document type   [الرسالة 29-51]"
    when I add all the seriail number items before the sales-bom items the delivery is created perfectly.
    Has anyone seen this error?
    It happens at least from SBO 9 PL08 and higher.
    Thanks
    Ad Kerremans

    Hi Ad!
    Thank you for your reply.
    Did you try a BOM item which components need serial numbers?
    I opened a ticket SAP B1: How to create a delivery with BOM items and serials numbers
    Would you mind to take a look and give me some advice?
    Billy

  • Exit to Post GR while creating Inbound Delivery

    hi Experts
    I need an user exit to Post GR against Inbound delivery , while creating Inbound Delivery in VL31N.

    Hi,
    Please check SAP note 1050944
    Regarding this issue

  • Change LIPS-PRCTR with value ' 0020990000' while creating a Delivery Vl01n

    Hi Gurus,
        I have a requirement to default the profit centre of the delivery while creating a delivery through Vl01n.
       Please let me know which enhancment / exit i should use and how.
    Regards.
    Avi...

    Hi Vijay,
      I need a help on this profit centre change.
    1) Create a Sales order through Va01
    2) Create a delivery for the sales order in Vl01n.
        Post good issue.
    3) Create Vf01 for the delivery.
    4) The profit centre change should be reflected in accounting document also.
    In my case its not getting updated in the accounting document .
    Can you please guide me where should I make changes.
    Regards,
    Avi...

  • Insert new line items in Delivery

    Hello All,
    Is there any BAPI or FM in which i can add new line item in SD delivery vl01n? The new line item will not be there in SO , but i want it in delivery. Manually i can insert new line item using VL01n , but i need FM to do the same.
    Thanks

    Hello,
    I need a Bapi or FM through which i can add new line item in delivery , maybe while creation of delivery or changing the delivery i.e. via VL01n or Vl02n. The new item will not be there in SO. It is a non valuated material.
    Helpful answers will be rewarded.
    Thank you

  • New GL Line Item Extraction

    Please clarify this requirement for Line Item Data from  New GL. my client BMW Inc have configured  New GL in ECC 6.0  if i pull all the records to BW from FAGLFLEXA (Line Item Table) is that sufficient to meet the <b>all line item GL data</b> or is there any other tables missing that also shall be combined to bring the Line item GL  data. Please help me for this if u can check with any of your friends in FICO.  
    2. I have seen that BSEG AND BKPF are used earlier in old FI  versions so what is there now in New GL ECC 6.0 that will suffice for these BSEG AND BKPF  or still i have to pull records by using these tables. for GL Line Item Data.
    If you can help me to give the short  overview of  New GL posting process it would be great.
    Thanks
    Regards
    Soniya Kapoor

    1. If I use FAGLFLEXA Line Item Table , how to combine the remaining fields such as BLART Document Type etc.. from BSEG AND bkpf
    We are using BSEG_ADD instead of bseg with the same DS – 0FI_GL_4. you would need to enhance the same DS to read the BSEG_ADD. But I would suggest talk to ur finance folks to see if BSEG_ADD captures all the required fields as that of FAGLFLEXA
    2. What is BSEG_ADD: Entry View of Accounting Document for Additional Ledgers, Should i also Include this table since it contains some fields like BSTAT
    document status etc for line item.
    It is a new table that comes along with the new GL – it even captures all the line items just like BSEG as in the old ledger.
    3. If I take the approach with line item as per new GL TABLE : FAGLFLEXA. and
    BSEG_ADD by creating generic data source on two table and enhance any other required fields like blart Document Type will it solve the line item extraction purpose
    If ur finance folks can confirm which table need to be used, ur strategy might change. If say BSEG_ADD is good enough to capture all the items, do as I suggested by enhancing the old DS - fi_gl_4
    4. I took the approach as mentioned in Point 3 . but not able to create the generic data source
    Not sure of ur approach
    5. I have reviewed 0FIGl_4 LINE ITEM Data source and found that it contains only bseg and bkpf but no faglflexa table fields. so suggest if i can proceed as number 4.
    Just as I said add code to make it read BSEG_ADD too along with BSEG.
    FAGLFLEXA & FAGLFLEXT

  • Insertion of extra line item in delivery creation

    Hi,
    I have a requirement like after the creation of delivery from sale order, if we insert new line item in sale order , created delivery should be overwrite with newly added line item in sale order.
    Im using RV_DELIVERY_CREATE for creation of delivery and BAPI_OUTB DELIVERYCHANGE for change of delivery. But for the above mentioned requirement is not getting by these Function Modules.
    Let me know which parameters should i pass for insertion .
    Code will be more sufficient.
    Thanks in Advance

    Try with this FM WS_DELIVERY_UPDATE where u can modify the created delivery

  • Adding a new schedule line for a line item using bapi_po_change

    hi experts,
    can i know how to add a new schedule line for a line item using<u> bapi_po_change</u>. what are the parameters that need to be filed. i filled poitem with total quantities and poschedule table with 2 different schedule lines and passing as the parameter.but then i get the error saying item 0000 doesnt exist

    Hi,
    Please check if you have properly populated the following fields in POSCHEDULE:
    PO_ITEM
    SCHED_LINE
    and the other fields required for your schedule line such as delivery date and quantity, etc.
    After that, make sure to properly populate fields in POSCHEDULEX:
    PO_ITEM -> same value as found in POSCHEDULE
    SCHED_LINE -> same value as found in POSCHEDULE
    All other values populated in POSCHEDULE should be ticked as 'X' in POSCHEDULEX.
    Kind Regards,
    Darwin
    Kind Regards,
    Darwin

Maybe you are looking for

  • How to transfer a playlist from Mac OS 10.5.8 (pre intel) to Android

    Will Android file transfer 101 work with my O.S?  I have a cyanogen mod One Plus Android phone and would like to download some i-tune files and also bring music and video back to my Mac! Thanks for any help, most appreciated. Oneplus.net

  • Creation of table in interactive form

    hai, any one can explain me the creation of table in interactive forms transcation code(sfp)  or any can send any material because i am  new to  this, how to build interactive forms advance thanks. regards, shravanramidi .

  • Nvidia GeForce 8800...in a Mac.

    Its finally out, is it possible to put it into my Mac Pro? Then i could play crazy cool games, like... Crysis, and such. On my Mac(with Boot Camp) Is it possible, or am i dreaming, way too much.

  • No VSTs in CS6 Effects Menu

    Hello. I'm hoping someone can help me with a significant problem. I cannot access ANY VSTs in my CS6 effects menu. I have some VSTs I've downloaded from Behringer. Unzipped them to appropriate VST folders, opened CS6, went to the plugin manager and a

  • Edit JTable Date Cell, press Enter, the Time Cell changes to GMT time!

    Has anyone seen this strange behavior? I try to edit a Date Cell in JTable (orig. value 10/02/2000) and change it to (10/03/2000), I press Enter. But, the value of my Time Cell in the next column, same row which I never edited (orig. value 00:05:00)