Incorrect  status in delivery created with BAPI_OUTB_DELIVERY_SPLIT_DEC FM

Hi, a cordial greeting.
I turn on this opportunity to present a case being presented with the subsequent delivery split.
Then the details:
1.-  We have a couple of deliveries (A and B) in a shipment.
2.-  To one generates a TO (A), but for the partial quantity of each item delivery. The other delivery (B), was not generating any OT.
3.-  It confirms the previous OT.
4.-  Delivery (A) that were processed its partial quantities, we made subsequent delivery split. It uses the BAPI BAPI_OUTB_DELIVERY_SPLIT_DEC.
5.-  According to the split profile, confirmed quantities, are in the original delivery (A). The delivery result of the partition, it´s excluding from shipment, and the original delivery which keeps the split remainder, remains in the original shipment.
6.-  The new delivery (C) is generated with the items and quantities that were not included in the TO of the first delivery (A).
7.-  In this delivery (C), it sets the Transportation Planning Status as Completely Processed (VBUK-TRSTA = "C") at the header, but this is not included in any shipment.
Described the situation, the problem occurs in the Transportation Planning Status that is fixed in the new delivery, which is incorrect, since it should set the status Not Processed (VBUK-TRSTA = "A").
It should be noted, that if the subsequent split delivery is effected by the VLSP transaction to delivery to the above conditions, the new delivery fixes the Transportation Planning Status like No Processed.
Appreciate the help you can offer in this case.
Greetings

Dear,
Update VBUK-TRSTA field-by-field.
Under the following conditions, the update should not run in the update task:
If indicator "Execute billing" is set in the activity profile and new deliveries have been included in the transportation; or
if indicator "Execute billing" is set in the activity profile and the overall status of the shipment cost calculation of the transportation has changed.
Also note Customer-specific rules for the specification of the transportation planning status can be taken into account with user exit EXIT_SAPLV56U_007.
Regards,
R.Brahmnkar

Similar Messages

  • Control over qty in outbound delivery created with reference to P.O

    Dear Gurus,
    I am trying to create a outbound delivery document with reference to the purchase order. But, the system is allowing more
    quantity in delivery document than in purchase order. How to control it.
    Regards,
    Krishna

    Hi,
    You can control this through item category fetched in delivery. Please check whether you have set error message or note about situation for overdelivery under following customization path;
    SPRO>>Logistics Execution>>Shipping>>Deliveries>>Define Item Categories for Deliveries
    Here for your relevant item category, check under quantity table the entry maintain under 'Check Overdelivery'
    You can set it as A- So that user get the note of the situation or B- so that it gives error message.
    Regards,
    Udaya.

  • Delivery created with 0 quantity

    Hi,
    We have scenarion in which the delivery was created with 0 quantity.
    I am creating delivery using transaction VL10D. Even though there is no available stock, delivery was successfully created with 0 delivery quantity.
    Is this issue with material master or issue with Material availablity check.
    Regards,
    Shahu

    Dear,
    Basing on the control elements availability check settings in customizing.
    System Determines date for availability check on basis of earliest material availability date of all schedule lines in delivery.
    If there is insufficient stock the system behaves:
    1. Sufficient quantity of material not available by material availability date, a delivery quantity '0' is entered in delivery. If item category of delivery permits '0' quantity then it would be included elese item would not be allowed in delivery.
    2. Quantity available of material is lower than order quantity, system would enter available quantity as delivered quantity and order would get updated accordingly. If partial delivery is not allowed, this would be noted in delivery log.
    Regards,
    Syed Hussain.

  • Delivery Created with out Material Number

    HI
    I created an STO for material, when i have done the VL10B i got a message "See log for information about creating deliveries"
    A Delivery got created with out the Material number, When i look in the Document Flow for the Delivery Created its preceding document (PO) is not linked
    In the log information i see an error, Please advise
    Diagnosis                                                                               
    The sales unit is not allowed for the material in item               
        000001.                                                                               
    System Response                                                                               
    The system does not allow further processing of this item.                                                                               
    Procedure                                                                               
    Check your entry.                                                    
        Select a sales unit which is defined for the material in the         
        material master record. Normally the sales unit will be              
        determined immediately from the master master record.

    see the change log of material master in MM04.
    check if  the sales unit got removed recently (after the PO creation - before delivery creation)
    if it is not caused by material master directly, then check if you have any userexit in place that changes the sales unit in the delivery.
    SAP has a sales unit in mind which is not available in material master, hence it issues this error.

  • Delivery created with out stock

    Hi folks,
                 Sales order has been created for 'X' material,but there is 0 stock available for this material "X", ATP has been carried out and has proposed a further date, but when try to create a delivery,delivery documnet has been created even though there is 0 stock ( no stock ) for material 'X'.
    How is this possible..................? actually SAP doesn't allow to create a delivery with out stock.............
    please suggest.................
    points will be rewarded................

    Hello,
    The system will allow you to create a delivery even if there is not stock. But it will not allow you to create post goods issue until the stock available in the storage.
    I think there are user exits to prevent system to create the delivery if stock is not available.
    Prase

  • SRM GoA with status as "Distribution Incorrect" althogh contract is created in ERP

    Dear SRMers,
    We are using the classic scenario with SRM 7.0.2.
    I am facing a problem with Global out line agreements in SRM where the status of the GoA is showing as: "Distribution incorrect".
    We have verified that the respective IDOC of type BLAORD is generated and posted in the backend R/3 system and the respective Contract is also created in the R/3 system(ME33K).
    Can you advise me why this wrong status and can we correct this status to: "Distributed"
    or Is it a standard product error?
    Looking for your valuable advise.
    Thanks in advance.
    -Loknath

    Hi Loknath,
    Try to check transaction RZ20. It should show the real errors behind the "distribution incorrect status".
    I hope this helps,
    Marta

  • Problem in creating new delivery order using BAPI_OUTB_DELIVERY_SPLIT_DEC.

    I'm using BAPI_OUTB_DELIVERY_SPLIT_DEC. It's creating a new delivery with zero quantity. I am populating the del_qty field in the Item_data table with the desired quantity. Can anyone suggest what should be done to get the new delivery order with the desired splitted quantity?

    Hi,
    i guess the delivery your are using is already full quantity is issued.
    try to use the delivery number for which no quantity has been issued.

  • VF11 wrongly created with RV Doc type and with not clear status.

    Hi All
    Issue: There are 2 billing documents which were created(VF01) in March are canceled (VF11) in May. Cancel document is saved with a message (No automatic clearing of billing document XXXXXXXXX) and message diagnosis saying that u201CThe Automatic clearing of billing document and reversal is not possible. This may be, for example, because the line item update is deactivatedu201D
      In the SD document flow cancel billing document is created and it's posted to accounting with Document type RV(which is not configured in the billing  types) and it is in not clear status.
    2 Sales order types are ZNRC(No Rebate u2013 Credit)    second is ZCR (CM Req With Refer).
    Order Type  : ZNRC , Billing type :ZG2, Cancel billing type :Z5, Accounting document in billing type for ZG2: is DG and accounting document in cancel billing type Z5 is :(_) blank.
    Order type:  ZCR Billing type :G2, Cancel billing type :S2, Accounting document in billing type for G2: is DG and accounting document in cancel billing type S2 is :(_) blank.                                                
          FI document type Not maintained in the cancel billing type configuration because this should be determine by reversal document type DA which is maintained in DG document type from FI side. It will be triggered in VF11)
    The above configuration is working with the order created VA01,billing VF01 and cancelling VF11 done in same period. If the order and billing done in old period and canceling(VF11) done in current period than FI document creating with RV document type and with not clear status in the document flow.
    I reviewed similar issues with SAP Note and with below explanation:
              "There are 2 procedures that are possible when Vf11 is posted.
              Old Procedure - An FI "Reversal" document was created that was not connected with the orignal.
              New Procedure - A Real FI reversal was carried out with clearing."
    In this case, our system is following with new procedure except above mentioned orders created in previous period and and canceled in current period.
      My Questions are: How the RV document is getting triggered here? why the cancel document (Reversal FI Doc) is not clearing?
         Appreciate your answers or suggestions.
    Thanks in advance,
    Sunil
    Edited by: Sunil kumar Matta on Jun 9, 2011 3:40 PM

    Thank you Ivano.
      I referred SAP note 1259505 and 339928. But initially we thought of none of the symptoms mentioned in the SAP note are matching with our issue. Then we contacted SAP online support and they suggested checking one SAP note (Mentioned above).
      Our system is following new cancellation procedure, but itu2019s failing only for some few documents.
      Finally we identified several reasons for the issue. One is profitability segment in the billing document and cancelled document is different due to some changes in segment assignments. Another one is consolidation- consolidation document does not exist in the billing document list but it is getting created in Canceled document (VF11).(Consolidation postings are switched off some time back and now itu2019s on)
      After some discussions it is decided to include accounting document type (Reversal) in cancel billing types to avoid default RV document type in canceled billing document accounting document. And non-cleared documents need to be created manually in F-32.
      Thread is closed.
    Sunil

  • Credit memo to be created with reference to return delivery

    Dear Gurus,
    We have a requirement for mapping return process
    Credit memo to be created with reference to return delivery (instead of with reference to return order)
    Following issue faced in mapping the same:
    Billing document No. 1234 dated 25.03.2010 where there is 4% VAT.
    when we are creating return order with reference to billing document 1234
    4% VAT is calculated since the Service Rendered date is 25.03.2010 (Copied form Billing document)
    return delivery is created today 08.04.2010. (VAT revised to 5%)
    when credit memo is created with reference to delivery document
    VAT is calculated 5% which is applicable from 01.04.2010
    since the service rendered date is appearing in billing document
    08.04.2010 (the date of Post Goods Receipt).
    The VAT should be actually 4% in Credit Memo.
    regards,
    Rajesh T

    In the copy controls from delivery to Invoice, at the item level try to use pricing type C and Pricing source Blank ( Blank is order).
    If it doesnt work , then you might have to go for a requirement routine for this Tax , based on the document category that is being processed, read the tax from the originating order.Assign the routine to tax condition in the pricing procedure.
    Regards
    Sai

  • Need     RFC/BAPI    to create Delivery Order  with respect to  Sales Order

    Hi Gurus ,I'm   new  to  AB AP  Language   to be  working  in company
    so  can anyone  tel  me   FM/BAPI   to create  Delivery  order  with respect to  sales order(va01,vl01n)
    Any  sugg.. will appreciate  u.........
    Thanks in Advance...........

    Hi,
        Try this BAPI
    BAPI_SALESORDER_CONFIRMDELVRY
    Regards
    Bala Krishna

  • Purchase Order created with status "Held"

    Hi Experts,
    I need your help. When SC with free text item is approved the purchase order is created in status "Held". It were previosuly created with state "Ordered" .
    How I can solve this it?
    Many Thanks.
    Regards,
    David

    Hi Muthuraman,
    The PO is not transfered to R3.
    Debugging the FM BBP_PD_PO_CREATE I have obtained the next error:
    "Error has ocurred in princing"
    MSG ID:     BBP_PD
    MSG NO:   353
    I'm in extended scenario.
    Many Thanks.
    Regards,
    David
    Edited by: David Est. on Mar 17, 2009 7:24 PM

  • Delivery get created with one line item from sale ord having two line item

    I have an issue when delivery is created with reference to a sales order.
    The sale order consist of a header with customer group VBKD-KDGRP = '01'. There are two line item for this header with item 10 having customer group '01' and line item '20' having customer group '02'.
    When delivery is created with reference to this sale order the delivery contains only one line item corresponding to line item 10 having customer group '01' of the sale order. But I need to have both the line item in the delivery irrespective of difference in customer group.
    What makes this split up of delivery? Is there any configuration or user exit that need to be applied in order to adress this.
    <REMOVED BY MODERATOR>
    Thanks in advance
    Ramachandran Babu
    Edited by: Alvaro Tejada Galindo on Jun 13, 2008 5:45 PM

    Check if there is any copy routine applied in the copy control from order to delivery - transaction VTLA. The routines themselves can be found in transaction VOFM (Data transfer -> Deliveries). LIKP-ZUKRL field contains the split criteria (by the way, check what's in that field on your deliveries).
    It's possible that there is something in the current routine that is forcing the delivery split. Otherwise you can probably use similar approach to make it stop splitting.
    Hope this helps.

  • Dummy line item created with TATX item category in outbound delivery

    Hi Experts,
    We are using a custom transaction YLE_VL10 to create deliveries. Now the problem is when delivery is created, a dummy line item is created with item category TATX and zero qty which causes a problem while creating invoice.
    Can anybody of you suggest what could be the reason for this? or how can it be prevented?
    Thanks
    RP

    Hi Laxmi/Prakash,
    I have checked 0184, it looks fine from that point of view.
    We already suggested this check qty field to be as 'B' before. but our client says their shipping is critical and they have immediate next day shippings and so on. So at that time, if it does not allow to create delivery, then this option affects their business which is why they dont want to implement this workaround.
    Hence we are searching for any other possiblity as of now and hence looking forward for ur replies.
    Thanks
    RP

  • IDoc created with status 03 checked via we02, but couldnt find in XI

    Hi all:
        Could you please do me a  favor?  implement a idoc to idoc issue. it has been created successfully .
    as It is found that the idoc created with status of 03 -
    data dispatched to  port ok (rather than 12 dispatch ok). however, I couldn't find  it via SXMB_MONI on XI,  there must be something wrong . coudl you please give me a hint ?
        Thank you very much!!!

    hi,
    you need to check transaction SM58 (remove the user from it) and F8
    it might be the reason that you didn't create a port in IDX1 on XI/PI
    but you will see that in SM58
    Regards,
    Michal Krawczyk

  • IDOC is created with status 51( application document not posted)

    Hi experts
    iam working on File-IDOC scenario, when i test the process the XML message is created with no errors and
    but the IDOC is created with status 51( application document not posted)
    the details error shows:
    An error occurred in CALL TRANSACTION USING or CALL DIALOG USING
    during a synchronous update.
    The error was caused by the transaction VA01.
    previously i used same test data that time it was working fine,
    please tell me how can i fix the issue.
    regards
    vasavi

    Key in your Idoc number in BD87, execute
    select the error message and then follow the menu path :
    EDIT --> restrict and process  (Select)
    In the next screen UNCHECK the Bkgd Processing and execute
    Now EDIT --> Process --> foreground from error or in foreground mode.
    This will lead you the screen where it errored out.
    Thx
    PSR

Maybe you are looking for