Number of vehicles based on delivery quantity

Hi Experts,
My outbound delivery is containing 20 MT of material to be despatched.
How to find or plan for 2 vehicle of 10MT capa each.
Or if i have availability of 4 vehicles of 5MT capa each, how to plan and execute?
warm regards
marias

The attached contains a sub-form called 'header' that contains the drop-down 'dd'. The exit event on 'dd' captures the selected value from the drop-down and adds instances of the sub-form called 'subform'.
// form1.page1.header.dd::exit - (JavaScript, client)
var numStr = this.rawValue;
for (var i=1; i <= numStr; i++) {
  form1.page1.subform.instanceManager.addInstance();
Steve

Similar Messages

  • SD - copy picked quantity as delivery quantity ( VL02N )

    Hi everybody, I will be appreciate if sombody can helpme.
    I need to copy the delivery quantity to the picking quantity, becouse this is the most common situation that happend in this company. But, when I tried it, nothing happend.
    So, been in the VA02, I go -> Edit -> Copy Picked Quantity as Delivery Quantity, but nothing happend. Only sendme this warning message "Delivery quantity must be entered for the item".
    It's seems as something left me.
    Thanks,
    JEOS.

    First check the Delivery Item category"OVLP", whether "Picking relevance" check box is marked or  not.
    If it is activated then you have to pick the material.
    For that, you have to create a Transfer order for the Delivery (LT03). When you create a Transfer order, Enter your Warehouse no , Plant Delivery document number and proceed.
    The Delivery quantity should be automatically copied as Picking quantity which you can check in the overview screen in Picking Tab.
    It is mandatory that the Delivery quantity and the Picking quantity must be same to do PGI.
    As Picking is relevant for the item, so you must ensure that Picking location determination assignment  have been done.
    Otherwise, you can remove the activation from the Picking relevance field from the Delivery item category and try once.

  • BAPI function module to get condition type and its values based on delivery number?

    Hi All,
    I would like to have the BAPI function module to get condition type value based on delivery number before invoice is created.please provide detail program for as a reference .please reply as soon as possible its urgent.
    Regards,
    saaikumar.

    If you haven't already, you may first need to search via the SAP transaction "BAPI" in the area this is applicable to.  Failing that I do hope you get an answer.

  • How to find country code based on delivery number

    HI Folks,
    plz suggest which table is having country code(ship-to party) based on delivery number.this should be storage location country.
    Thanks,
    Ritesh.
    Message was edited by:
            Ritesh Shrivastava

    Hi,
    You can also get it from the table VBPA..
    SELECT SINGLE * FROM VBPA
                  WHERE VBELN = 'DELIVERY NUMBER'
                  AND       PARVW = 'WE'.   "SHIP TO PARTY.
    VBAP-LAND1 will be the country code..
    Thanks,
    Naren

  • Updating Outbound Delivery with picking and delivery quantity.

    Hi,
    I have a scenario where in an idoc will come from external system(DELVRY05) and based on the data in the idoc I have to update the picking and delivery quantity for the outbound delivery created in SAP.The idoc has the outbound delivery number and the quantity which is sent from the legacy system.
    I do not want to do googs issue,just updatation.
    How can I update the outbound delivery?
    Please help me.Its needed urgently.
    Thanks,
    Sandeep.

    YOu can make use of the FM:
    WS_DELIVERY_UPDATE_2.
    see the sample code:
    Assume that it_500o has the Delivery Header details and it_5010 has item details
      LOOP AT it_5000.
        CLEAR lx_vbkok.
        CLEAR lv_vbeln.
        REFRESH lt_vbpok.
        REFRESH lt_prott.
        lx_vbkok-vbeln_vl = it_5000-order_number.
        lx_vbkok-vbtyp_vl = 'J'.
        lv_vbeln = it_5000-order_number+0(10).
        LOOP AT it_5010 WHERE order_number = it_5000-order_number.
          lt_vbpok-vbeln_vl = it_5010-order_number.
          lt_vbpok-posnr_vl = it_5010-order_line.
          READ TABLE lt_vbfa WITH KEY vbeln = lt_vbpok-vbeln_vl
                                      posnn = lt_vbpok-posnr_vl.
          IF sy-subrc = 0.
            lt_vbpok-vbeln = lt_vbfa-vbelv.
            lt_vbpok-posnn = lt_vbfa-posnv.
           lt_vbpok-vbtyp_n = 'J'.
          ENDIF.
          lt_vbpok-pikmg = it_5010-quantity. "Picking quantity
          APPEND lt_vbpok.
          CLEAR lt_vbpok.
        ENDLOOP.
    Update the Delivery
        CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
          EXPORTING
            vbkok_wa                           = lx_vbkok
      SYNCHRON                           = ' '
      NO_MESSAGES_UPDATE_1               = ' '
           commit                             = 'X'
            delivery                           = lv_vbeln
           update_picking                     = 'X'
      NICHT_SPERREN_1                    = ' '
      IF_CONFIRM_CENTRAL                 = ' '
      IF_WMPP                            = ' '
      IF_GET_DELIVERY_BUFFERED           = ' '
      IF_NO_GENERIC_SYSTEM_SERVICE       = ' '
           if_database_update_1               = '1'
      IF_NO_INIT_1                       = ' '
      IF_NO_READ_1                       = ' '
           if_error_messages_send             = 'X'
      IF_NO_BUFFER_REFRESH               = ' '
      IF_NO_MES_UPD_PACK                 = ' '
    IMPORTING
      EF_ERROR_ANY                       =
      EF_ERROR_IN_ITEM_DELETION          =
      EF_ERROR_IN_POD_UPDATE             =
      EF_ERROR_IN_INTERFACE              =
      EF_ERROR_IN_GOODS_ISSUE            =
      EF_ERROR_IN_FINAL_CHECK            =
         TABLES
           vbpok_tab                          = lt_vbpok
           prot                               = lt_prott
      VERKO_TAB                          =
      VERPO_TAB                          =
      VBSUPCON_TAB_1                     =
      IT_VERPO_SERNR                     =
      IT_PACKING                         =
      IT_PACKING_SERNR                   =
      IT_REPACK                          =
      IT_HANDLING_UNITS_1                =
      ET_CREATED_HUS                     =
      TVPOD_TAB                          =
    endloop.

  • Error:An item with no delivery quantity is not permitted.

    Hello,
    We are receiving an error:
    Only 0.00 UNT of material XXXX available.
    An item with no delivery quantity is not permitted. Item will be deleyed.
    This material has the following details:
    Material Group: Asset
    Material Type: VKHM
    Ref. Mat Type: HAWA
    Item Cat Grp: NORM
    Industry Sector: A - Plant engin./ construction
    I believe asset is not quantity based. My questions are:
    1. Why is it when creating delivery, quantityis necessary. However,this was configured as asset?
    2. How can i put/add stock in asset?
    - In Define Attributes for material types, i searched for VKHM, and it was already maintained.
    - Area for quantity/ value updating: both were ticked: By Valuation Area for Quantity and Value Updating.
    - When i go to the folder on the left: Quantity/Value updating; Quantity Updating ang Value Updating were both ticked for Valuation area: 0001, material type: vkhm.
    - i also tried to tick Quantity Updating and Value Updating for valuation area (plant name). Butnothing happens.
    Thanks in advance for all of the help.

    In this case, the reason why the delivery can not be created due to the first error:
    Only 0.00 UNT of material XXXX available.
    This error has number VL150, which means there is no avaiable stock when you create the delivery. To check how many
    avaiblable stock you have, you need to check it in transaction CO09. usually for delivery, you should use check rule B.
    In co09, if the ***. ATP qty is 0 or negative, you will get above error and the delivery can not be created. For more information regarding this error VL150, check note 153355 and 1481133.

  • Error message for over delivery quantity in case of batch split.

    Hi All,
    System is throwing error message if I try to to enter delivery quantity more than target quantity(order quantity) in case of standard process which is ok but in case of batch split when split line created (9000001 for line 10) and if go to item level in line item 900001 and enter delivery quantity more than target quantity system is giving only information message, still line item 10 is giving error message but line 9000001 giving only information message, user want this to be a error massege as well. Delivery item category for all the line items is same and status B is assigned to over delivery in item category. Is there any standard way of achieving this or do we need any modification, if yes then what user exit need to use.  
    I searched alot about this in last three days but found only one thread which is unanswered, please provide your valuable suggestions. If this problem is discussed already and solved please provide me the link to that thread as I could't find any.
    Thanks,
    Davinder

    Hi
    Still line item 10 is giving error message but line 9000001 giving only information message, user want this to be a error massage as well.
    I think it you can possible to change the Information message as Warning message.
    Please  go to SE91 put the Message Class XX (Ex:V1) there And in No. field enter the message number (Ex: If message no V1293 enter the number as 293)
    AND
    go for
    where used in then select only Program >ok then Program will come select the Program > double click, you will l find the message with the Description.
    Now with help of ABAP with just comment on these both the messages. Afterwards you will get the Error message.
    Hope this will helps you
    Dasaradha

  • Picked Quantity to be made equal to Delivery Quantity in VL02n

    Hello Experts,
    Have a requirement, where upon when entering in VL02n with a delivery no, the Picked Quantity field (LIPSD-PIKMG) should be equal to Delivery Quantity (LIPS-LFIMG).
    Only the exit USER_EXIT_READ_DOCUMENT  of include MV50AFZ1 is being called when entering VL02n and in that i tried changing the value of LIPSD structure and even tried changing XVBFA-RFMNG field value, but it is not working.
    I understand that LIPSD is structure and noticed that picked quantity is getting stored in VBFA-RFMNG field...
    Please let me know if any one have come across the same requirement and resolved it technically, rather than functional approach of EK00 condition type or making the item category as non relevant for picking, we tried these options and it is not working for the business.  I got to see many previous threads on this topic, but there was no conclusion or technical solution provided.
    So looking for TECHNICAL solution based on your experience and whether it is resolved.  Its kind of urgent and would appreciate the help of experts who have resolved it earlier. thanks

    OK got it resolved.
    We have to use BADI LE_SHP_DELIVERY_PROC, methods CHANGE_FIELD_ATTRIBUTES and CHANGE_DELIVERY_ITEM. And it works.
    thanks

  • How to restrict the delivery quantity not more than target quantity?

    Dear Gurus,
    How to restrict the delivery quantity not more than target quantity in a scheduling agreement? I think there are 2 methods.
    1. I found that setting 0 in Overdelivery Tolerance Limit in Info Record is not effective. Why?
    2. I want to set E for the message but can't find the place. The message is generated when entering and saving quantity as delivery quantity that is larger than target quantity. How can I set E to a message (067, as I remember)
    Any other effective method? Please advice. Thanks.
    Regards,
    David

    Dear all,
    It is not OK after checking everywhere you mentioned. I tested in 2 clients. In the development enviroment client, it works whatever E or W. In test enviroment, it does not work (meassge is W).
    I think there must be somewhere besides of those you menetioned.
    I notes that SAP help for the overdelivery tollerance setting of scheduling agreement: 
    Overdelivery Tolerance Limit
    Percentage (based on the order quantity) up to which an overdelivery of this item will be accepted.
    Dependencies
    If you have set the indicator in the Partial delivery/Item field to 'D' (partial delivery allowed), this takes priority. It makes no sense to define a tolerance limit for overdelivery in such case.
    Where can I see: 'the indicator in the Partial delivery/Item field to 'D' (partial delivery allowed)'? I want to check it.
    Pls help! Thanks.
    Regards,
    David

  • Change (convert) delivery quantity

    Dear all,
    Does anyone know how I can change the delivery quantity ?
    What we ant to achieve is the following:
    - an order has been created with a quantity in sales units for example 10 BAG
    - at creation of delivery, we would like to convert the sales order quantity to the unit of issue (MARC-AUSME) if this one is different from the sales order sales unit (for example PAL iso BAG) ...
    I tried a few things yet to change the quantity (and unit) to the converted one, but it all didn't work ...
    Any idea how this can be done ?
    Thanks in advance !
    Greetz,
    Kurt.

      select single kwmeng vrkme into (lv_kwmeng,lv_vrkme)
                                 from vbap
                                 where vbeln = lips-vgbel
                                   and posnr = lips-vgpos.
      select single ausme into lv_ausme from marc
                                        where matnr = lips-matnr
                                          and werks = lips-werks.
      if sy-subrc eq 0 and lv_ausme is not initial.
        call function 'ZCF_UT_UNIT_CONVERSION'
          exporting
            matnr_imp      = lips-matnr
            unit_new_imp   = lv_ausme
            unit_old_imp   = lv_vrkme
            value_old_imp  = lv_kwmeng
          importing
            value_new_exp  = lv_lfimg
          exceptions
            invalid_input  = 1
            invalid_output = 2
            overflow       = 3
            others         = 4.
        if sy-subrc <> 0.
    *     message id sy-msgid type sy-msgty number sy-msgno
    *             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.
        lips-lfimg = lv_lfimg.
        lips-vrkme = lv_ausme.
      endif.

  • Sales BOM - Delivery Quantity check during post goods issue

    I am working on a problem in my company.  We are running ECC6.0 ehp 4.  We are using standard ERLA functionality with sales bom (5) for product kits.  Delivery manager has requested that we investigate a system check during delivery post goods issue.  THe problem is that when shipper processes delivery, if they have to backorder they update pick and delivery quanity on the TAE item.  They should also update TAQ delivery quantity, so that backorder amount is correct.  If they make data entry error, backorder quantity is incorrect.  The delivery manager has tried a number of attempts to re-train and correct mistakes.  He is now asking that SAP issue a hard error if TAQ and TAE delivery item quantities are not the same.
    I have searched on SAP Notes, Forms, and Google and do not see solution.  I know that at delviery item category there is a minimum qty check for the item category.  I've not found a user exit or configuration point that checks quanities.  Does anyone know of out of the box solution?  Or where would I put in custom user exit?
    Test Case
    Create Standard Order
    Enter Material with Sales BOM
    ITEM A     Qty 10
    BOM explodes with Item categories
    ITEM A     TAQ parent
    ITEM B     TAE child
    Create Delivery
    Delivery has item categories TAQ and TAE
    TAE is pickable, TAQ no pick
    Process TAE
         Pick quantity of 5 items
         Change delivery quantity to 5 items
         Forget to change TAQ delivery quantity
         Pack 5 items
    Post Goods Issue the delivery.
    Is there are requirement/routine than can be run at time of PGI that checks TAQ delivery quantity is the same as TAE delivery quantity.  If quanities are not the same, show hard error and message do not allow PGI to complete.
    Thank you
    Tony Romain

    I tried setting that field in the sale order this morning.  By defaulting it to "C"; I was able to get warning message for TAE line.  I was able to post goods with TAE and TAQ, being different quantities.  I need the check to determine if TAE and TAQ delivery quantity are different.  Using this fields seems to be line specific.  Thanks for the suggestion.  I now know what that field does to the delivery.
    I rewarded points.
    Thanks,
    Tony

  • Delivery Quantity Control at Purchase Organisation Level

    Hi All,
    In this scenario, I would like to have a control on the Delivery quantity by a vendor.
    Quantity released: 100 pcs for Vendor ABC
    Total Number of Plants: 3
    Out of this 100 pcs, it can be delivered to any of the 3 plants by vendor ABC. Quantity delivered by vendor to these 3 plants should not exceed 100 pcs in total. How can we have a control for total released quantity at Purchase Organisation level.
    Breakup of quantity to be delivered to each plant cannot be given as releasing is done at corporate level.
    We checked same scenario by using purchase Info record maximum quantity field. We created purchase info record at Purchase Organisation level.
    Scenario 1. which i tested
    Maximum Qty:100
    PO creation
    Plant 1: 100 qty-- No error/warning
    Plant 2: 100 qty-- No error/warning
    Plant 3: 101 qty-- warning maximum qty exceeded than 100 pcs.
    Above scenario will not help me as I need to total release control on all plants together.
    Scenario 2. Expected
    Plant 1: 60 qty-- No error/warning
    Plant 2: 45 qty-- Error, Total released qty exceed by 5 pcs.
    Thanks and Regards,
    VV

    Hi
    You cannot do GR for a plant which is not given in Purchase order. Corporate level you can have contract but not Purchase orders. If you have reference purchase organization create a corporate contract and try creating a po against that contract.
    regards
    Antony

  • Delivery quantity can be modified independent of the confirmed quantity

    Dear SD Gurus,
    There is such a case as below:
    The sales order quantity: 100 UNT
    The confirmed sales order quantity: 100 UNT but manually decreased to 70 UNT
    The delivery quantity: 70 UNT but manually can be increased to 90 UNT.
    Is this above the standart behavior of the SAP? to block the manual increase/decrease, do we need to go on with user exit or something manual? (based on the confirmed quantity?
    Thanks
    Mary

    hi mary,
    this is possible because you are changing the order quantity in the sales order if stock is there then there is no issue on the same
    because when ever order quantity in sales order increases or decreases the system will check for ATP.
    yes its a standard process.
    User exits in the program FV45EFZ1
    USEREXIT_CHANGE_SALES_ORDER.
    but why do you want to block it this funcationality is good know.
    regards,
    balajia.

  • Delivery quantity report

    Dear All, As per our new requirement from business,They are asking report delivery quantity status report based on the date,Can you please advice how to calculate open delivery quantity based on date and total OBD quantity..

    Dear Ravi
    I would like to add some more findings here.
    Open Delivery: means Delivery done--need to go for billing.
    Is it what you are asking for??
    (confirm--there is always difference between client terminology and SAP terminology)
    If so-- First you retrieve all delivery docs from LIPS table--then retrieve the status of Billing from VBUP table(FKSTA)...
    So you can easily find the open delivery Qty(again reiterating Open delivery Qty means-the Qty for which delivery happened--but not billed)
    Note: I want to add a little bit to Experts opinion here---if a material is having availability check of KP--will not be observed in VBBE.
    Please find the answer Given By Our Lakshmipathi sir in thread--VBBE table Not Updated....
    Hope this helps.
    Phanikumar

  • Delivery quantity is greater than schedule line confirmation quantity (sales order)

    I am creating a sales order with 30 Mt. I confirmed 10 Mt (partial confirmation and based credit block) in schedule line Now I am going to create the delivery system automatic taking 10 Mt but when I am going to change the delivery means when I increase the delivery quantity (20 Mt) then system allowing to do the further process.
    As per my understanding system should not allow to increase the delivery quantity m     ore the sales confirm quantity.
    Please suggest how I can restrict.
    Thanks & Regards
    Sujit

    Thanks for your reply,  As you suggest "B" is there. But its not working.  For ref. screen shot is attached.
    For reference I am providing some more details:
    => We are using "Make to order" process. After creation of sales order we assign the stock to sales order using T-code MB1B , Movement type 412E, 
    => Auto credit check applicable
    => Confirmed quantity in schedule line based on credit limit.(Auto credit check at Sales order level)
    => Avail. Check is 02 and check. rule is "AE" .
    Thanks and Regards
    Sujit

Maybe you are looking for

  • Issue while executing the discovery command from target nodes

    Hi Experts. I had to create cluster two node using openfile, after creation of successful lun and associated partition from all the nodes i have changed the ip address of openfiler. After changing the IP on open filer. A) openfile version:- [root@san

  • Adapter Engine alerts: Error in Adapter Engine

    Hi All, I have configured Alerts for <b>Adapter Engine</b>. I am getting alerts with Alert Text as follows during Scenario runs - XML File to ABAP Proxy Scenario (Average size of files is in MB's) daily. 1.Error: DeliveryException: Problem inserting

  • TS2986 Routers  UBS  external harddisk can't be used  as a Timemachine?

    I have a Cisco/Linksys E4200 router with an UBS WD external 3TB/3 partition connected. I can't use the UBS partitions as a Timemachine folders/backupdisks for any of our Macs unless a connect the external disk to each and every mac individually. How

  • Customers have to make multiple attempts to pay

    I'm highly embarrassed by how many times some of my customers have to resubmit their form before their Paypal payment is processed.  It happens so often that I now have to check my forms every day to make sure I don't miss bookings, and then I have t

  • W_ACCT_BUDGET YTD Amount

    Hi all, I am using BI Apps version 7.9.6.3 - Financial Analytics and I was wondering why the fact table W_ACCT_BUDGET which carries only budget GL Balances doens't have a column carrying the As of Date (YTD) amount of the GLs?Is this column exists wi