Delivery creation error

Hi,
I have done a sales order using tcode VA01. while doing delivery through VL01n, one of the items in the sales order is not coming in delivery posting screen . what may be the reason behind this ?
Regards,
anindita

We are not having any schedule line aggrements. An exit gets fired while doing our sales order and in this, the contract data of the customer is checked. I have checked the contract and it seems to be ok.
Regards,
Anindita

Similar Messages

  • Consecutive salesorder and delivery creation error

    Hi all,
    I am using two functions one to create salesorder
    and one for delivery which i use the salesorder number which is created b4.
    These are :
    'BAPI_SALESORDER_CREATEFROMDAT2'
    'RV_DELIVERY_CREATE'
    They work great when i use them seperately. (Not in the same program)
    When i make two perform actions like
      PERFORM SALESORDER_CREATE.
      PERFORM DELIVERY.
    It creates sales order and gives me the number and i put it to delivery and it also enters the creation sequence. But in
    program LV45VF0V
    line :  INSERT VBUK FROM TABLE DA_XVBUKI.
    It gives me dump because of duplicate data.
    How can i pass this error. I tried free memory but i couldnt manage it.
    Thanks a loT!

    Just a guess, could you try with FM RV_DELIVERY_INIT before calling FM RV_DELIVERY_CREATE.

  • Shipping point , delivery creation date

    Hi :
      I have a custom table with fields :
    belnr, posnr, btyp, aufnr, ebeln, ebelp, livbeln, liposnr,matnr,wadat,kunnr,werks,bmeinh,getri,inaktiv,wabukz,erdat,aedat,loekz.
    Custom Transaction with fields :
    vbeln (field name belnr) , aufnr, delivery vbeln ( field name livbeln ),werks, mat .avail.dat (  mbdat ), transport.plan date(tddat),
    matnr, and sales order item (posnr).
    I have to select sales order , item from custom table based on plant (werks) shipping point , and delivery creation date.
    how can i relate shipping point and delivery creation date to my query.
    For delivery creation date, it should be selected based on current date+-2 and should choose MBDAT OR TDDAT which ever is earlier based on current date.
    I would appreciate if anyone can give me som idea and full points r rewarded.
    Thx.
    Rag

    Hi Pankaj,
    Please try to use BAPI 'BAPI_DELIVERYPROCESSING_EXEC' for creating delivery form sales order , you can pass value and create delivery.
    you can refer below code, it may be helpfull for you to create delivery.
    DATA: BEGIN OF t_vbap OCCURS 0,
            vbeln LIKE vbap-vbeln,
            posnr LIKE vbap-posnr,
      zmeng LIKE vbap-kwmeng,
            matnr  LIKE vbap-matnr,
            werks  LIKE vbap-werks,
          END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
          WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
          WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr zmeng matnr werks
           INTO TABLE t_vbap
           FROM vbap
           WHERE vbeln = v_vbeln.
    LOOP AT t_vbap.
      t_request-document_numb = t_vbap-vbeln.
      t_request-document_item = t_vbap-posnr.
      t_request-quantity_sales_uom = t_vbap-zmeng.
      t_request-quantity_base__uom  = t_vbap-zmeng.
      t_request-id = 1.
      t_request-document_type = 'A'.
      t_request-delivery_date      = sy-datum.
      t_request-material = t_vbap-matnr.
      t_request-plant = t_vbap-werks.
      t_request-date = sy-datum.
      t_request-goods_issue_date = sy-datum.
      t_request-goods_issue_time = sy-uzeit.
      APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
         TABLES
              request      = t_request
              createditems = t_created
              return       = t_return.
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
      MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    Regards,
    Prasenjit

  • Bapi for creation of delivery by using SO,shipping point,delivery creation date

    Hi experts,
    I am looking for bapi that takes sales order,shipping point and delivery creation date and generates delivery.
    I have tried with bapi GN_DELIVERY_CREATE but i am not able to understand whether this bapi is used for inbound or outbound deliveries.If this bapi is ok then what are the mandatory fields for this bapi.
    Regards,
    Pankaj Jain

    Hi Pankaj,
    Please try to use BAPI 'BAPI_DELIVERYPROCESSING_EXEC' for creating delivery form sales order , you can pass value and create delivery.
    you can refer below code, it may be helpfull for you to create delivery.
    DATA: BEGIN OF t_vbap OCCURS 0,
            vbeln LIKE vbap-vbeln,
            posnr LIKE vbap-posnr,
      zmeng LIKE vbap-kwmeng,
            matnr  LIKE vbap-matnr,
            werks  LIKE vbap-werks,
          END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
          WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
          WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr zmeng matnr werks
           INTO TABLE t_vbap
           FROM vbap
           WHERE vbeln = v_vbeln.
    LOOP AT t_vbap.
      t_request-document_numb = t_vbap-vbeln.
      t_request-document_item = t_vbap-posnr.
      t_request-quantity_sales_uom = t_vbap-zmeng.
      t_request-quantity_base__uom  = t_vbap-zmeng.
      t_request-id = 1.
      t_request-document_type = 'A'.
      t_request-delivery_date      = sy-datum.
      t_request-material = t_vbap-matnr.
      t_request-plant = t_vbap-werks.
      t_request-date = sy-datum.
      t_request-goods_issue_date = sy-datum.
      t_request-goods_issue_time = sy-uzeit.
      APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
         TABLES
              request      = t_request
              createditems = t_created
              return       = t_return.
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
      MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    Regards,
    Prasenjit

  • Error while delivery creation

    hi,
      i am getting an error while delivery creation for qty 2.The error is "Only 0 EA of material xxxx available".
    The schedule line cat in this case is cp and avalibility check is carried out and confirmed qty is given on some date ahead.
    User then runs the MRP and PR is created .
    Then the user creates a PO but not with ref to the PR created from above,instead the user creates a SO assigned PO and then creates GR which is SO assigned.
    Now when the user is trying to create delivery the erroe is "Only 0 EA of material xxxx available".
    Pl tell me why am i getting this error inspite of having the qty against the SO?
    Is it because a PR is generated from the MRP run for tht order and we have no GR agaist tht PR?Where do u i check this setting

    Hi,
    In SAP there is no stock available for that material. That is the reason it is showing that message..
    Please check MMBE t.code  stock overview for that material. I  think sales order scheduleline date is showing some other date.becuase today there is no stock so u will be not able to create any delvery. So please create delivery only on confirmed schdulines date....
    Other wise do stock posting and then do availability check then try to create delivery...
    Regards
    sankar
    Edited by: sankar sankar on Jul 1, 2008 1:10 PM

  • Delivery Note to Subcontract creation error "Essential transfer parameters

    Hi
    I am facing issue in return delivey
    Delivery Note to Subcontract creation error "Essential transfer parameters are missing in record:000001".
    Could you please let me know the casue of this error and where exactly i can see error.
    Regards
    vikcy

    Hi Vicky,
                   Check If the Customer number(Plant) has been maintained in the vendor master record control data and the vendor should also be maintained in the customer master data. Once you maintain this system determines the shipping point based on the  customer master and the shipping data missing. Kindly try delivering after maintaining these and let me know If you need any more information on this.
    Regards
    Ram Pedarla

  • Budget exceeded error during delivery creation

    Dear All,
    We are facing a problem during delivery creation. Our business scenario is engineered to order and every customer order is created as a Project in PS module. the sales order is linked to the  WBS element. While creating an outbound delivery for the sales order the system gives error message that "Budget exceeded for the WBS." This is for first time such error has occurred during the delivery creation. Logically delivery creation and PGI indicates negative incurrence on the WBS elements so even if the budget is not there or exhausted still then system should allow to create the delivery.
    Please let me know if anybody has face this problem and solved it.
    regards'
    Preetam

    Preetam,
    What you are saying is correct. Delivery creation and PGI indicates negative incurrence on the WBS elements, the system should not check budget of the WBS.
    Just for checking manually, read the details of the error and note the amount. Check budget availability of wbse and compare this amount with available budget.
    Regards,
    Amol Sarode

  • Error is thrown ONLY when the job is run doe delivery creation

    Dear SDNres,
    I am facing a tricky issue.
    I have a job that creates Sales order , Delivery, Billing.
    When the sales order contains line items <=8 then the job runs fine and creates delivery successfully
    When the sales order contains line items more than 8, then the job fails on delivery creation and the BDC captures error "customised error''
    Doubt:
    steps in manual creation:
    1)I create a Sales order with line items > 8
    2)then i create delivery manually .
    After the above 2 steps i dont get the error at all in case of manual creation
    But the same steps when the job does for a Sales order with line items >8 then the error comes and job fails.
    Kindly suggest me as to where i need to look for the error.
    Regards,
    SuryaD.

    Thanks for your response Dave.
    Yes i am doing a BDC Call Transaction.
    there is no BAPI.
    Trickier part is when i execute the job through debugging then i do not get the error.
    What could be the reason for this error.
    Is it some error in teh coding?
    regards,
    SuryaD.

  • Without sale order Delivery creation

    Hi,
         I  want some help to make the delivery creation without sale order.This is my scenario
    ->>>Two RAW material(ROH) then make the PO and GRN.
    ->>>Then Created the Finished Material(FERT)
    ->>>Production order creation
    ->>>Production order Confirmation(261,531movement)
    ->>>Stock received(Finished Material)
    ->>>Make the delivery without  order ref
    ->>>Delivery type(LO-Delivery w/o ref)
    ->>>Ship to party(Here only we are mentioned the Customer)
    ->>> save the delivery
    When i make the POST GOODS ISSUE (PGI) the following error appear
    Message no. NA  KI235
    Account 315002   requires an assignment to a CO object
    You have not defined a CO account assignment for an account that is relevant to cost accounting.
    System Response
    Account 315002  is defined as a cost element.
    This means that you must always specify a CO account assignment.
    Procedure
    Enter one of the following CO account assignments
    Order
    Cost center / cost center/ activity type
    Sales order item (for a project or cost relevant)
    Project / WBS element
    Cost object (Process manufacturing)
    Network/ Network activities
    Business process
    Profitability segment
    Real estate object
    The posting row affected is 000, account 315002
    Kindly help in getting resolve of this error.
    Regards,
    T.Murugu

    Hi Murugu,
    Please go through the link given below. Hope it helps,
    http://www.sap-img.com/financial/requires-an-assignment-to-a-co-object.htm
    Regards
    MT

  • How planned delivery time effects delivery creation?

    Dear All,
    Some time before, while placing order thro' CRM, we came across a typical error (hard error).
    "date (11/12/2011) lies afterthe end of validity calendar". 
    we could not place order in CRM but in SAP we could create save the order despite of same error but soft. However system didn't allow to create delivery for same order & same error message populated"
    Later it was found that it is because for material  " Planned Deliv. Time  maintained for say "X "days in material master MRP2 view" & was corrected.
    How planned delivery time effects delivery creation?
    For material even though planned delivery time was maintained as say for 500 days, sales order requested delivery date & delivery date in order schedule line got determined as order date (Considering avaliability of funds & material).
    i.e order date/req. delivery date/delivery date in schedule line are same as date on which order is placed.
    Regards
    Suhas W

    Hi,
    Extended your factory calender in SCA3.
    Regards,

  • Problem related to Outbound Delivery creation via Background Job

    Hi ,
    We are using the program RVV50R10C for creating OBD incase of STO .
    Z variant is created to take care of selection parameters which inlcudes Shipping Point , Delivery creation date , Calc Rule, Delivery priority and shipping conditions.
    The job is scheduled to run for every 10 minutes .
    As planned the job is running for every 10 minutes but the OBD are created after 1 hour .
    What are possible causes of this error.?
    Please note that there exists enough stock.
    Regards
    Ramesh Ch

    I think you will have the same problem when doing it manually with VL10B.
    The creation is based on entries in an index. there is a userexit where you can influence how and when an entry goes into the index.  E.g. you can speed up the overall performance if you do not update the index all the time, instead you are doing this with a background job from time to time.
    Check if this is the case in your system.
    this note may give you some hints:
    Note 356061 - Incorrect index compilation caused by own checks

  • Check amount of transition stock during inbound delivery creation

    I want to move stock between plans, therefore I have the following steps:
    1. Stock Transfer Order (STO), e.g. 500 pieces
    2. Sending plant: MIGO (GI for STO) with MT 351 to post to transition stock,  e.g. 100 pieces
    3. Receiving plant: Inbound Delivery with reference to STO VL31N
    4. process Inbound delivery in warehouse (SAP-WM)
    The question is:
    During step 3, when accessing VL31N the system proposes the full order quantity (e.g. 500 pc.)
    I can change the amount to any amount I like, e.g 240 pieces.
    How can I tell SAP, that Inbound delivery creation is only possible for the amount
    which has been posted to stock in transition (100 pieces)
    I want an error/warning message in case user wants to create Inbound delivery quantity higher than the amount that has been posted to transition stock.
    Any ideas?

    MIGO in sending Plant?
    How it is possible? MIGO means, Goods receipt. This should be in Receiving plant.
    Sending plant should do the PGI
    MIRO in receiving plant
    Billing in sending plant
    Payment from Receiving palnt and clearing in sending plant
    Correct me if i am wrong
    Thanks

  • Goods receipt not possible for   delivery 80016425: error code 4   in MIGO

    Hi friends,
    I created STO from ME21N tr.code(document type:UB), then I created outbound delivery from VL10B tr.code based on STO.
    After that, goods issue is made by vl02n.Lastly , when I want to make  a goods receipt based on outbound delivery from MIGO
    (with mvmt type:101),it gives me error about"Goods receipt not possible for   delivery 80016425: error code 4   in MIGO tr.code" .
    Take your opinions

    Hi,
    Error 4 indicates there is/are no delivery item/items.
    Check following options:
    option-1--->Check material number extended to the both plants with storage locations
    option-2--->Check the material received already WRT  the delivery
    option-3---> Check confirmation control key in  material that needed in creation of an inbound delivery to have GR process
    option-4--->Check The latest goods receipt date in STO
    option-5--->Check(done any setting) if any billing to be done after PGI and then can do GR WRT delivery
    Regards,
    Biju K

  • Inbound Delivery creation in ECC6.0 through IDoc (DELVRY03.DESADV)

    Inbound Delivery creation in ECC6.0 through IDoc (DELVRY03.DESADV)
    From SCM ICH system Supplier creates ASN on the WEBUI & sends it ECC 6.0 using XI.
    This is Proxy (DespatchedDeliveryNotification) to IDOC (DELVRY03.DESAV) scenario
    But at the receiver end i.e. ECC6.0 its giving me error at Tcode WE02 as action is not supported.
    Can you suggest me how to tackle this issue.
    Thanks in Advance.
    Regards,
    N>B.Shanmukha

    hi,
    >>>giving me error at Tcode WE02 as action is not supported.
    there are many segments in delvry03 with a first field - action (like, delete, create, 001,002, etc)
    check all of them as probably you're using one which is not supported
    and this is the real cause of the error
    you can check it like this:
    open this IDOC in We19
    then open action field and F4 and see if the one you use in the idoc is in F4
    change the wrong one and it will work :for 100%
    Regards,
    Michal Krawczyk

  • Delivery Creation Date under Shipping Tab in Purchase Order

    Hi All,
    When my client creates a Purchase Order with 5 line items, for 3 itmes he can create Delivery ( with delivery date of 25/03/2010) however for line itme 40 and 50 it gives error while creating delivery ( 0 units available of that material)
    Stock exist in delivering plant as checked in MMBE.
    On checking the PO, the difference i could find between line items 10.20.30 (which can be delivered) and line item 40, 50 (which cant be delivered) is that under Shipping tab for item 10,20 and 30 Delivery Creation Date is Blank. However for item 40 and 50 Delivery creation date is maintained same as delivery date i.e. 25/3/2010.
    In VL10B we have already tried inputting Delivery creation date as 25/03/2010 and then executing after supplying the PO number but it still gave the same error messgae.
    Kindly guide as it is stopping Business. A speedy reply will be highly appreciated.
    Thanks in advance.
    BR,
    Anshul

    Re: Only 0 KG of material available
    Kindly check above mentioned thread.

Maybe you are looking for