How to allocate material to delivery line

Hi
I need To allocate material to delivery line Through API . Is there Any API to allocate Material .
As requirement AUTO ALLOCATE is false and auto pick confirm is also false.I have to allocate material using Backend and then to confirm.
Thanks
Jitender

Hi
For theoritical point of view
[Task List|http://help.sap.com/saphelp_erp60_sp/helpdata/en/c0/04d5454ebb11d189110000e8322f96/frameset.htm]
For scenarios
[plant Maintenance|http://help.sap.com/saphelp_46c/helpdata/en/fe/67ec5c9d6f11d189b60000e829fbbd/frameset.htm]
- Pithan

Similar Messages

  • How to allocate space for headers in reports through line size r line count

    hi ,
    may i know how to allocate space for a header ( we do the same for footer through line-count ( footer space ) ) through line size or line count in reports...
    thanks in advance..

    Hi..,
    There is no need to reserve any space for the header. TOP-OF-PAGE can by default allocates the space for the header.
    If you still having confusion just  go ahead with this link. This is the research on same thing in defferent way.
    [Link|lines reservation for TOP-OF-PAGE & END-OF-PAGE;
    Thanks,
    Naveen.I

  • How to know - For a schedule line if delivery is already created

    Hi Gurus,
    I have a sales order with one line item - 10.
    For the line item 10 ,  I have 2 schedule lines.
    How can we know if delivery is created for a schedule line.
    Which table we need to refer ? VBEP !!!
    Please help.
    Regards
    Avinash.

    Hi,
    There is no way to check that but you can check the status of sales order line itam is delivered or not in table VBUP
    and filed RFGSA.
                   Not Relevant
    A     Not yet processed
    B     Partially processed
    C     Completely processed
    Thanks.

  • How to pack material (linked to a delivery) with BAPI_SHIPMENT_CHANGE ?

    Hello All,
    i would like to pack material into Handling Unit with the BAPI_SHIPMENT_CHANGE like in transaction VT02N
    i have created my shipment with BAPi_SHIPMENT_CREATE  : i see material with delivery reference in part of screen
    "Material to ba packed" and my Handling Unit in part of screen "All existing Hus available for packing".
    i want to pack the material into the Handling Unit but i don't know how to fill BAPI_SHIPMENT_CHANGE to pack the material.
    is it possible with this bapi ?
    Thanks a lot for your answers
    Regards,
    My

    Hello
    i think i make a mistake when i fill the tables :
    i 'm going to try again but with which values have i to fill the actions table ? (i think i have to fill alsot these two tables :
    IT_HUN_HDR_ACTION
    IT_HUN_ITM_ACTION  
    and i don't understand the difference between these fields in table HDUNITEM ?
    HDL_UNIT_INTO and HDL_UNIT_NO
    HDL_UNIT_EXID_INTO and HDL_UNIT_EXID ?
    i don't find a field like VEPO-VEPOS  in table HDUNITEM  ?
    Thanks a lot
    Regards,
    MY
    Edited by: MY on May 7, 2010 12:29 PM
    Edited by: MY on May 7, 2010 12:31 PM

  • No item generated for packaging material in delivery - packing (how?)

    Hi all,
    I am trying to customize packing for deliveries. I would like to have the packaging material as a line item in the delivery. I know this is possible but I can't seem to make it happen.
    I have already ticked "Gen. pack.matl item" in my delivery type. Also, I have selected in the packaging type "B Item generation in first packed delivery" for "generatedlvItms" option.
    Now, in the delivery after I packed the items, no line item was generated in the delivery for the packaging material. The "No. of Packages" in item overview is correct and the status is "C" completely packed. Btw, I am using manual packing here.
    Is there some more configurations I missed here?
    Thanks in advance for all your help.
    Edited by: Ritchie Caleb Chua on Aug 9, 2011 3:53 AM

    I assume that your basic HU configuration and master data have to be ok because you are able to pack your goods.
    1) Are you able to add your item w/o HUM (=not by creating a HU, just adding the material as a simple item) to the delivery? /For this you need define a record in T184L (where usage "PACK" is not there)/.
    If you are able it means that e.g. your delivery copy control settings are ok (V_TVCPLAK; delivery type: LF and sales doc type: DL --> HUPM/DLN item categories in your case)
    2) If you are able to
    - create the handling unit manually in the delivery
    - add the packing item to the delivery (w/o HUM) and also have the T184L with usage "PACK"
    - item generation is maintained for your packing material time "A" or "B" in field V_TVTY-KZPGN
    - plant determination for packing material type ("A" or "B" in field V_TVTY-WERFD)
    it should work in my opinion (for delivery type LF).
    Edited by: Csaba Szommer on Aug 9, 2011 1:37 PM

  • How to create a separate invoice for each delivery line?

    Hello,
    Our customer is requesting a separate invoice for each delivery line. Is there a way to configure this? Or a customization?
    Thanks,
    Joy

    Hello,
    You need to do this through copy controls. in the transaction code VTFL, you need to develop a new routine and attach it in the area "Data VBRK/VBRP"
    attach your custom designed routine and it will split the invoice according to each line item.
    check the standard routines available for hints to develop the routine with your abap. there are several  standard rotuines available
    Hope this helps
    Thanks
    akasha

  • Sales Order Grouped Delivery Lines - Ship Sets

    We have a need to ensure that groups of lines on our sales orders are all created on the same delivery.  The order is entered into VA01 and the ATP check is run to schedule.  This is fine.  However, at the time of delivery creation, a line may not be copied to the delivery for some reason (e.g. no stock in the storage loc).  All the other lines pass the requirement check and are created on the delivery.
    How do we prevent a delivery from being created with these grouped lines.  Is there such a concept as Ship Sets in SAP?
    What is the best way to prevent the delivery from being created if certain groups are not complete.
    As additional information:
    1. There may be several groupings of products on one line.  As an example, Group A consists of lines 10, 20 and 30 that must all ship together.  Group B consists of lines 40 - 70 that must all ship together.
    2. We can identify the grouped lines by the POItem field -- all grouped lines have the same POItem value.
    3. One group of lines should not prevent the other from shipping.  In our example, Group B must be shipped even if Group A cannot be delivered.
    Thank you in advance.

    Hi,
    If all the Group items are not delivered at a time eventhouh the Delivery date is same that means you dont have stock for the materials which are not coming into delivery.
    You cant stop total group for not being delivered if some lines are not delivering. You have to ensure the stocks of all the line items of that group. If you have the stock ( Which are not confirmed by any other order or delivery ) then you can delivery all the group items at a time.
    Some times eventhough stock is there it will say that there is no stock for that material. That means whatever the stock is available for that material which is already confirmed by other orders / deliveries but PGI is not done.
    So you have to ensure the stock for all the group items for at a time delivery. ( When the delivery date and shipping point and ship to party is same)
    Hope this gives you some idea.
    REWARD IF HELPFUL.
    Regards,
    Praveen

  • Released Schedule Delivery lines display

    Hi Gurus,
                       I have a scenario in my client place. User wants to display scheduled delivery lines which will sum all the released schedule delivery lines and will display the total quantity in a smart form which will be sent to the vendor. I.E Scheduling agreement Qty - 100. Schedule lines 10 Qty per day and it will hve 10 delivery lines(100Qty=10 qty per day x 10 days). output document will show only the total qty of released schedule lines(sum of all released qty).Is there any standard form/ output type available for this requirement.Kindly advice.

    As far as Db link is concern , I don’t remember exactly , but 3 years before I had written a report which see Sales order schedule lines and devilry note lines against sales order.  If you see process wise…. when ever you create PO ( production order you assign some qty using 101 movement type .. and against production order you also give sales order . When you do delivery ( run seclude run ) it delivers against that material number , its movement is 601 ...
    but I remember there’s a link between these tables, VBAP,VBFA AND VBEP , LIPS ...  against every sales order you can see sales invoice ( VBRP,VBRK) and you can also see your delivery note number in document flow .
    I hope this’ll give you some guide line, as right now I can not tell you the exact business process but I remember I written a report in SD 4 years before , in which they required Delivery against production order and sales order ... One more thing you also have production order reference on delivery item number. ( field :Empst ) . I think in my project they were maintaining this field .
    Thanks

  • Is there a DIRECT link between SD schedule lines and delivery lines?

    Is there a direct link (db table) between schedule lines on a sales order (VBEP) and the delivery lines (LIPS)? 
    Is there a function module to retrieve the data?
    Example-
    One order line with 3 schedule lines.
    Each schedule line is for 2 units (total of 6 units).
    Three deliveries made.  1st is for 2 units, 2nd is for 1 unit (backorder), 3rd is for 3 units.
    You can use document flow (table VBFA) or examine the SD document in the delivery line (LIPS) and link the delivery line to the order line.  The schedule line already references the order line.
    I am using math to decrement the schedule lines used and make the link between VBEP and LIPS.  It works fine.  I need four records back....
    1st schedule line for 2 units uses delivery 123
    2nd schedule line for 1 unit (partial) uses delivery 124
    2nd schedule line for 1 unit (partial) uses delivery 125
    3rd schedule line for 2 units uses delivery 125
    Like I said, it works. Just wondering if I missed a more direct link.

    As far as Db link is concern , I don’t remember exactly , but 3 years before I had written a report which see Sales order schedule lines and devilry note lines against sales order.  If you see process wise…. when ever you create PO ( production order you assign some qty using 101 movement type .. and against production order you also give sales order . When you do delivery ( run seclude run ) it delivers against that material number , its movement is 601 ...
    but I remember there’s a link between these tables, VBAP,VBFA AND VBEP , LIPS ...  against every sales order you can see sales invoice ( VBRP,VBRK) and you can also see your delivery note number in document flow .
    I hope this’ll give you some guide line, as right now I can not tell you the exact business process but I remember I written a report in SD 4 years before , in which they required Delivery against production order and sales order ... One more thing you also have production order reference on delivery item number. ( field :Empst ) . I think in my project they were maintaining this field .
    Thanks

  • How to clean project from comman line ?

    How to clean project from comman line ?
    I would like to invoke the same functionality as in Flex
    Builder Project -> clean... -> clean all projects...
    but from command line is it possible ?

    You can:
    1) Perform a project clean up (p.153 of the user manual) - it removes any unused recordings, samples and other files
    2) Consolidate project (p. 154 of manual) - this copies all the used audio material into the project folder and also deletes any empty folders within project folder, making it easier to navigate
    3) Save project as a copy - this creates another project folder, but without all the backups and other additional files

  • HOW TO FIND THE REQUIRED DELIVERY DATE IN VA02

    hi
    HOW TO FIND THE REQUIRED DELIVERY DATE IN VA02.
    i want to display this field in my report. what is the fieldname and in which table it is ?

    Hi Jyothsna,
    There are 2 dates when you say Requested Delivery Date
    1.  Header level in VBAK-VDATU is the field
    2.  At item level it is in the schedule line. VBEP-EDATU.
    The relationship between item (VBAP ) and schedule line ( VBEP )is 1 to many. But there will be mutiple schedule lines only if you are using the scheduling functionality. Also note to check for confirmed quantity (VBEP-BMENG) to be greater than 0 and use that schedule lines EDATU date as Requested delivery date.
    regards,
    Advait Gode.

  • FM to create subcontracting delivery lines

    Hi Folks,
    We are using one custom function module to create subcontracting delivery lines. Inside this custom FM, we are using ME_COMPONENTS_MAINTAIN function module first to maintain the components and then ME_UPDATE_SCHEDULES_DISPO to create delivery lines for the schedule agreement. Actually the ME_COMPONENTS_MAINTAIN is displaying a screen where you have to maintain the material, wquantit etc. manually. But we dont want that. We need to create subcontracting delivery lines without manual intervention. Is there any FM available for this requorement? Or else can I use ME_UPDATE_SCHEDULES_DISPO directly to create subcontracting delivery lines? I know this query is more functional than technical. Kindly provide your inputs.
    Thanks,
    Mani

    http://scn.sap.com/thread/175138
    (about halfway down, Stefan Berger's post)
    I've not completely tested this yet, but whilst investigating a similar problem, I came across the above thread. ME_COMPONENTS_MAINTAIN has a paramater "I_FCALL" which if you set to 'X' doesn't call the screens, and just runs in background.
    You can also see the variable population by putting a breakpoint in the top of this fm, and then running the frontend transaction.

  • How to Count Number of completed line items in past 6 months / 12 months ?

    How to Count Number of completed line items in past 6 months / 12 months ?
    Hi,
    I am trying to count "Number of Completed Line Items in Purchase Order Document" for my Key Figure ZPO_CNT.
    Purchase Order document = ZEBELN
    Line Item = ZEBELP.
    I need to find and count if the Line Item has been received in the past 6 months from today and similarly in the past 12 months.
    I have "Delivery Completed" field, ELIKZ.
    So, based on this would I be able to calculate it in Query Designer?
    If so, Please let me know how

    Hello Deva
    If youe want to calculate the completed line item for last 6 or 12 month then i think u will be displaying the query data for these montrhs...create a customer exit to give you date range and restric it in filter area....
    Now Choose any of the below option
    1. I would suggest to implement an additional key figure "counter" in cube and fill values with one for which delivery is completed.
    Now use calculated key figure in Query Designer based on logic
    IF counter = 1 THEN counter ELSE 0
    OR
    2. create a formula variable based on ELIKZ and use replacement path variable, it will display you no. of docs for which delivery is completed....
    Award points if it solves your problem
    Revert back in case of further assistance...
    Thanks
    Tripple k

  • How to combine sales and delivery data

    hi
    i have requirement to make a report from sales as well as deliveries. Important fields in report are sales document , material , plant , sales document type , country key , sold to party , ordered quantity , delivered quantity , price from vakon ( KBETR ), actual goods issue date.
    The required extractors are 2LIS_11_VASCL, 2LIS_11_V_SSL ,2LIS_11_VAKON.
    Problem is how to combine sales and delivery data as V_SSL has different key figures.Multicube is not the solution as dont have plant , sold to party and many other fields in V_SSL.
    Kindly suggest how to combine sales and deivery data.
    Regards,
    Monika

    I guess you do have shipping point in delivery.
    In most scenarios shipping point may not(or) may be same like order plant.
    Although they are different you can still roll up the delivery information to order level by plant since you have order # available as reference key in delivery.
    With this reference key you can convert all delivery information to order (item) level.
    I guess you can use one merge ODS with one cube (or) with 2 ODS for each at order level for validation.
    You may have to map delivery type to order type as per R3 configuration as well.
    speak with any Logistics guys for help.
    cheers
    Martin

  • Link between Delivery Line Item to DTR Line Item to Freight Unit Number?

    Dear All,
    I am creating DTR with reference to delivery from ECC. As per my logic in FUBR, I am creating separate Freight Unit for every DTR line item.
    Now how to identify (At Table Level) that which DTR line item belongs to which Delivery Line Item?
    Also how to determine which Freight Unit belongs to which DTR Line item?
    Request to please share the above flow at table level in SAP TM System.
    Regards,
    Vibhu Gupta

    Hi Vibhu,
    First, you know which DTR item you have on hand and then you can find the corresponding FU item by association(TOR ITEM from TRQ item to FU item), after retrieving the data of FU item you can find the root key of every result data entry(FU item data) and you can also get the DTR item key/FU item key pair(which DTR item/which FU item), actually the root key is the FU root key, then you can user service manager to retrieve the root data of corresponding FU root key.
    Hope this helps.
    BR, Dawson

Maybe you are looking for