Partial delivery on VA01/02

hiiii all
i am in complete lost,
i need to do something in VA01/02 that concern partial delivery.  i have the user exit i need to impletement some code.
pstyv     order qty        confirm qty                                         UOM
ZO11      100               50                                                      PC
ZO12      100               100(which is wrong it must be 50)         PC
ZO12      2                   2(which is worng it must be 1)              Palette
there can ba a possibility that the pstyv(ZO11) which is a type of item can have  several ZO12 (i.e partial delivery)
I need to retrieve detail such as matnr , pstyv from table xvbap then search if there is a relation in table MAST STOP  (i.e if for a pstyv ZO11 there is a ZO12)
I need to take into consideration the unit of measurement is there a function module this can convert the QTY
Title was edited by:
        Alvaro Tejada Galindo

Hi,
Is it STPO table?
Please try this links for VBAP -> MAST -> STKO -> STPO.
VBAP-MATNR = MAST-MATNR
VBAP-WERKS = MAST-WERKS
MAST-STLNR = STKO-STLNR
MAST-STLAL = STKO-STLAL
STKO-STLTY = STPO-STLTY
STKO-STLNR = STPO-STLNR
Regards,
Ferry Lianto

Similar Messages

  • Third party Partial Delivery by vendor

    Dear Experts,
          During third party process, if the vendor does partial delivery to the customer i.e. 50 instead of 100. now my question is can we process the remaning 50. if yes how?
    Regards...

    Hi,
    Process
    VA01 - Create sales order(Qty 100 ) >> ME52N - PR generated after save of OR >> ME21N - Convert PR in to PO >> Then vendor will ship goods to customer(qty 50 ) >> MIRO - Invoice receipt from vendor for qty 50 >> VF01 - then invoice issue to customer for qty 50
    Now again vendor will ship remaining qty 50 and will send you invoice then enter that vendor invoice and again create final invoice to customer.
    Kapil

  • Partial delivery with BAPI_SALESORDER_CREATEFROMDAT2

    Dear All,
    Is there a way to force partial delivery in BAPI_SALESORDER_CREATEFROMDAT2 ?
    By default "complete delivery" is chosen.
    I read somewhere that people fixed the issue using transaction OVZJ but in my case, this solution is not satisfactory because if I change this customizing, it changes the working order of the transaction VA01 (sales order creation).
    If found a dedicated flag (PART_DLV) in ITEMS_IN table but I was not able to make it work...
    Follow my example:
    -     27 items in stock
    -     I want to make an order for 30 items
    -     VA01 creates the sales order and a delivery with confirmed quantity 27
    -     BAPI_SALESORDER_CREATEFROMDAT2 creates the sales order and u201Cno delivery createdu201D.
    Thanks for your help.
    Best regards

    In order to give the solution to all reader in the future. I finally find a solution.
    I wrote an OSS message to SAP and they aswer me in this way:
    "Dear Customer,
    In a BAPI, the ATP check is performed in the background.
    Since the system is performing the availability check
    in background, the availability screen cannot be performed.
    So it is not able to make decisions regarding full
    delivery, delivery proposal...In this case,the system uses
    the configuration found in OVZJ. If your availability checking
    rule in OVZJ is blank, the system will choose full delivery.
    Sorry, but I can not give you a better solution to customizing in
    OVZJ, if you whish a partial delivery."
    In that transaction in customizing I insert the value "E" and the partial delivery is created from VA01 and from bapi too.

  • Partial delivery SO status became completed

    Dear All,
    I faced the following problem:
    1. SO was created for 10 pcs
    2. Via SO reference a delivery doc was created for 5 pcs
    3. WM-TO was created and PGI was executed
    4. The status of SO item became completed
    What is the reason? I checked VTLA > document flow update is set. No partial delivey indicators are maintained in SO and customer master (the field is blank).
    I'd like to ask you to please help if you can.
    Thanks,
    Csaba

    Dear All,
    I'd like to ask to please help in this issue.
    I tested the same without WM and in case of partial delivery I faced the same problem: the status of the sales order becomes completed.
    1. SO created for 2 pcs (VA01)
    2. Delivery document created for 1 pc (VL01N)
    3. Picking (w/o WM!) was done (VL01N) > 'Pick status' & 'Overall pick status' become 'C'; 'Pick confirmation' Picking/putaway confirmation' become 'C' (delivery document, 'Status overview' tab)
    The result is that SO becomes 'Completed'.
    If I delete the picked qty from 'Pick qty' field (VL02N, delivery doc 'Picking' tab) and I save the result:
    1. 'Pick status' & 'Overall pick status' become 'A'; 'Pick confirmation' Picking/putaway confirmation' remain 'C' (delivery document, 'Status overview' tab)
    2. After saving the above mentioned change SO document remains completed.
    (Please consider no GI took place!!!)
    If I delete the item from Delivery doc, SO becomes open (not delivered - don't know exactly what is the proper expression since I1m not in english environment) again - so it seems something is wrong with picking...
    Thanks,
    Csaba
    Edited by: Csaba Szommer on May 23, 2008 9:59 AM

  • Partial delivery per item in sales order and ATP - schedule lines

    Hi,
    I've problem regarding ATP- schedule lines and partial delivery flag.
    In sales order there is flag Partial delivery per item B / 1 . That means create only one delivery even with quant 0. That comes from customer master or customer info-record and it is OK.
    Please look at next example.
    Customer requires:
    10 PCS of materail A on date X. Only 5 PCS are available on date X.
    10 PCS of material B on date X 0 PCS are available on date X, 10 PCS are available on date Y.
    So if we create outbound delivery on date X it will contain only 5 PCS of material  A. No successive deliveries will be created for material A because of the flag B/1. That item is closed.
    Problem is with material B.
    The sales order will be open because of material B and on date Y we can easily create another delivery with 10 PCS of mat B.
    That is wrong. Agreement with customer is only one delivery for ALL items in sales order. If we create delivery on date X it should contain only materials which are available on date X and sales order should close.
    Do you know how to fix this problem?

    Hi,
    I've think you didn't understand my requirement. I allways get schedule lines but they are confirmed on different dates.
    Example in same sales order we have:
    Schedule line for item A:
    DATE X confirmed quantity 10
    Schedule line for an item B.
    DATE X confirmed quanitity 0 (zeroe)
    DATE Y confirmed quantity 10.
    I would like to create outbond delivery on date X with:
    item A quantity 10
    item B quantity 0.
    And if that hapens than B/0 rule will work or reference customzing that you suggested before. So order will be closed because all items are processed or referenced once.
    Do you know how to do that?
    Regards

  • Open Orders Values at partial delivery statuses.

    Hello All,
    I want to report on Quantities and Amounts for all the Open orders based on different Delivery statuses. I tried to use 2LIS_11_VAITM and 2LIS_11_VASTI. With this I just get the consolidated values at order item level but not the actual break up values at Delivery level.
    Can I use 2LIS_11_V_SSL to get the partial delivery statuses and respective quantities?
    Thanks and Regards,
    Prashanth Reddy

    Hi Prashanth,
    yes the best way for you is to use the DataSource 2LIS_11_V_SSL. You have here the following status fields: LFGSA (Overall delivery status of the item) and LFSTA (Delivery status) and also the quantities like:
    WMENG     Requested Quantity of Sales Order Sched. Lines in Sales Unit
    BMENG     Confirmed Quantity of Sales Order Sched. Lines in Sales Unit
    VSMNG     Delivered Quantity in Sales Unit of Sales Order Sched. Lines
    Only if you need also Open Quantity you have to use a combination of two DataSources in one ODS Object. As example 2LIS_11_V_SCL. Here you will find the field OLFMNG (Open quantity to be delivered).
    You have to consolidate the both in one ODS object with the same key figures and both should update different InfoObjects.
    I hope this helps.
    Best regards,
    Natalia

  • Sales order item level partial delivery field table and field?

    Will anyone share your expertise,  In SD sales order level, at item what is the table and field name in which the partial delivery status is stored.  I want the table and field name?.  will anyone share pl.

    Hi,
    Try with table VBUP - and field LFSTA.
    Regards

  • Forbid partial delivery of item, but allow partial delivery of sales order

    HI,
    have someone faced situation when it is required to allow partial delivery for sales order with restriction that item in sales order should be delivered fully. For example:
    SO has following items:
    Item1     MAT1     10 un
    Item2     MAT2     10 un
    Item3     MAT3     10 un
    Material MAT3 only 5 un available in storage. MAT1 and MAT2 are available.
    The system should create delivery for Items 1 and 2, but not for 3. Next time when creating delivery from SO and MAT3 is available, delivery is created por item3.
    I have found Partial delivery indicator on client data. This allows partial delivery.  Then I have found partial delivery indicator on sales order item data (Shipping).
    Is it possible to combine those two indicators to ensure client request?
    Can this requirement be covered in another way?
    Thanx in advance!
    Brucke

    You can achieve the requirment using customer-material information record.
    In t.code VD51, maintain customer-material information record. Here you can find a field called partial delivery/item field. Here you maintain value C- Only complete delivery allowed. Leave the max.Par.deliveries field blank.
    This will make sure that the partial deliveries are NOT allowed for a particular customer/material combination. If you maintain this setting at customer master level (t.code VD02), then this will apply for all materials.
    Regards,

  • Partial delivery per items always copy sold to settings

    Hello SAP Consultants,
    Currently in my clients' business process, there are scenarios where customers (sold to) can have different ship-to parties. Thus, they maintained partial delivery per item specific for ship to party under sales area shipping tab of customer master (XD01).
    However, when creating sales orders where sold to party is not equivalent to ship-to party, the partial delivery per item of the material ordered corresponds or is referenced from the sold to party settings and not the ship-to.
    How can we make it possible to reflect the ship-to settings of the partial delivery per item to be defaulted when sales order is created?  Is there configurations needed?
    Please advise.

    Standard SAP copies the Partial Del Per Item field values from Sales order - Sold to Party. If you have to change that and read the ship to instead, then you will have to go for enhancement.
    Please work with your ABAPER to get it done. Try to work on user exits MOVE_FIELD_TO_ABAP in the program MV45AFZZ.
    Regards
    Sai

  • Partial Delivery when the complete delivery flag is checked in Sales Order

    We do the ATP check in APO when we create a sales order in R/3. We have "complete delivery" flag checked in Sales Order. But when we create batch orders say may be of 20, one of 20 is confirming with partial delivery.
    We thought the issue is with ATP locking and we increased the re-attempts, but invain. We still have this partial confirming problem.
    Appreciate your co-operation.
    Thanks,
    Sarath.

    Have you maintained the following setings in R3:
    Material Blocks in R3:
    MenuPath: SAP Customizing Implementation Guide ® Sales and Distribution ® Basic Functions ® Availability Check and Transfer of Requirements ® Availability Check ® Availability Check with ATP Logic or Against Planning ® Define Material Block For Other Users
    Global Settings in APO for Availability Check:
    MenuPath: SPRO>APO>GATP>General Settings>Maintain Global Settings for Product Availabilty 
    Questions for you:
    (1)R3--Does the Availability CHecking Group you are using for your material and the initiator-A has the block checked.
    (2)APO-- Has the TQA box checked in the global settings for Availability in APO
    (3)Also what happens when AVAILABILITY CHECK is done manually for one of the partial confirmed order with Complete Delivery indicator set.
    Regards
    Kumar Ayyagari
    null

  • Partial delivery at item level base-on sales order

    Dear experts
    In the customer code,the fileld 'Partial delivery per item' controls if Partial delivery allowed.
    In my scenario,i want to control the Partial delivery base-on every sales order not customer code.
    Because some sales order of this customer code will Partial delivery allowed,some not.
    If there are configuration to implement it?
    TKS!
    Edited by: stephen chow on Oct 20, 2008 5:15 PM

    Stephen,
    If you want to restrict the Partial delivery you can do this at 3 levels:
    Customer master
    Customer material info record
    Sales order.
    If you want the specific sale order to have the partial delivery control...you can set it at the sales order-item level-shipping
    If the restriction is on Material, then maintain CMIR
    Regards,
    Prakash

  • Partial Delivery in Sales Order with Different Delivery Dates

    Dear All,
              In Sales Order we need to specify the different delivery dates for the items ( Partial Delivery ).
    Ex: If I add one sales order for 20 qty of an item today.I need  to specify 5 nums to be delivered on immediately
    and next 10 qty i need delivered on after 15 days and rest of the remaining qty delivered on after another 15 days.
    How we configure in SAP B1 Sales Order.
    Please guide me.
    Thanks in advance.
    - Rajesh

    Enable 'Del Date' in Form Settings of the Delivery.
    In the First Row, select the Item, Qty 5 and type Del Date Immediately
    In the Second Row, select the Same Item, Qty 10 and type Del Date after 10 Days
    In the Thrid Row, select the Same Item, Qty 5 and type Del Date after 15 Days

  • Partial Delivery Per Item Setting Not Effective

    Hi,
    Any help greatly appreciated.
    We have a business requirement whereby sales orders may be partially shipped but the sales order lines themselves MUST be shipped complete.
    Therefore we have set the customer master record accordingly ie Partial Delivery Per Item = C ( Only complete delivery allowed)
    This setting is indeed copied into the sales order but the availability check seems to ignore it.  Instead it proposes a delivery schedule ie 100 qty del tomorrow, balance in 2 weeks.
    I would expect that the availability WOULD NOT split the qty like this instead propose the complete qty in 2 weeks.
    I could probably get round this by making the message an error during delivery creation, but I would really like the sales order to behave as expected and make an intelligent 'promise'
    Am I missing something somewhere?
    Please help.
    Regards
    Guy

    Hi,
    You can try the following setting;
    In SPRO -> SD -> Basic functions -> availability check and TOR -> Availabity check -> Availability check with ATP logic or against planning -> Define default settings. The t.code is OVZJ.
    Here for your sales area, under Availabitlity check rule column, you can assign value B and try.
    Regards,

  • Invoice status is "Closed" after posting from Partial Delivery Notes

    Hi everyone,
    My add-on posts PARTIAL draft documents to posted delivery notes without reference to a Sales Order up to invoices. I've noticed that after invoice posting, my document (invoice) status was closed while my delivery notes document is open. Should'nt my invoice status still open? Please tell me if I am missing something on my code below. Thanks in advance!
    public SAPbobsCOM.Documents PostDeliveryReceipts(SAPbobsCOM.Company company, SAPbobsCOM.Documents draft, ref int result)
    SAPbobsCOM.Documents delivery = (SAPbobsCOM.Documents)company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes);
    delivery.HandWritten = SAPbobsCOM.BoYesNoEnum.tYES;
    delivery.DocDate = draft.ShipmentDate;
                delivery.DocDueDate = draft.ShipmentDate;
                delivery.CardCode = draft.CardCode;
                delivery.CardName = draft.CardName;
                delivery.NumAtCard = draft.NumAtCard;
                delivery.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items;
    for (int i = 0; i <= draft.Lines.Count - 1; i++)
                    draft.Lines.SetCurrentLine(i);
                    //components of a bom
                    if (draft.Lines.TreeType != SAPbobsCOM.BoItemTreeTypes.iIngredient)
    delivery.Lines.ItemCode = draft.Lines.ItemCode;
                        delivery.Lines.Quantity = draft.Lines.Quantity;
                        delivery.Lines.WarehouseCode = draft.Lines.WarehouseCode;
                        delivery.Lines.VatGroup = draft.Lines.VatGroup;
                        delivery.Lines.UnitPrice = draft.Lines.UnitPrice;
                    if (i != draft.Lines.Count)
                            delivery.Lines.Add();
    return delivery;

    hello, friend.
    in addition to what the others have said, please check your customer master, particularly in the Sales Area Data > Shipping tab.  look at the partial deliveries.  there may have been settings that tell the system if a delivery has been created with reference to the sales order, the order will be completed even if the quantity is only partially delivered.  if the entry in the 'partial delivery per item' field is 'B', then this will explain your situation.
    this can also be manually set in the sales order, so you have to take a look at the order as well, at item level.
    regards.

  • Partial delivery of PO in 3rd party sales

    These are open-end questions frm a student in SAP SD..
    1. Can the customer be invoiced if the vendor does a partial delivery of the customers order ? If so, how is it done & what are the procedure for the same ? Or shd we wait till the vendor delivers 100% of the order to raise the invoice on the customer ?
    2. What is the account process in 3rd part sales ie a flow of a/c postings??

    Jeslimen,
    These will be the account posting in Third Party process :
    The process of third party is :
    1. Vendor delivers the goods to customer :
            Customer Account : DR ( As customer has to Pay you )
             Vendor Account    : CR ( As you have to Pay customer)
    2. You receipt goods virually :
            during Goods Receipt            
             Stock Account - Dr             
             G/R I/R Account  -  Cr             
    3: You sent invoice to customer:
    The following entries shall be passed     
    Customer Account      Dr     
    Revenue                    Cr 
    You can always follow the rule : " DEBIT what Comes in CREDIT what Goes Out"
    Thanks,
    Raja

Maybe you are looking for

  • Question regarding LDAP and SSO Authentication

    Hello, We have Oracle Portal as our intranet and by default all users are authenicated against OID when the access intranet page. My question how I make use of the OID authentication in apex application? I do not want users to re-enter their login cr

  • Oracle 10g express edition installation file corrupt?

    Hi I have now tried at least 5 times. I downloaded the beta Windows version of Oracle 10g express edition. The download is successful each time but every time I try to run the installer, it says "Error in installation file". Anybody else facing this

  • Transfer posting with clearing

    Does anyone know how to transfer open item from one customer account to another customer account using TCode F-30.

  • How ftp reader read a JPEG file.

    i have to read a jpeg file through FTP reader. i want to know that should i need to define schema for native format??? if yes then which type of file is this... or i dnt need to define.please let me know. and plz tell me should i need to change in oc

  • XL Reporter Add On Start Error

    hi. I could succesfully registed XL Reporter. When i restarted B1, its giving the following error: <b>Unalbe to Connect to XL Reporter Error! Unable to get document! Type: 1 Cause: Automation Error</b> Please suggest. thanks.