Problem in Delivery Split - BAPI_OUTB_DELIVERY_SPLIT_DEC
Dear friends,
Iam facing a problem on Delivery Split
My Requirement : I have a delivery A with Item 000010 and Batches 10,20,30,40,50 in ERP system. I have a third party system which wil create a new delivery B for this Original delivery A and associate batches 20, 30 - Means... the Third party system is splitting the delivery A to delivery A and B and associate
Delivery A with Batches 10, 40 and 50
New Delivery B with Batches 20 and 30.
What am I trying to do is
Step 1. I am trying to create a new delivery B using "BAPI_OUTB_DELIVERY_SPLIT_DEC"
Step 2. Ill do a Batch Split for B using "BAPI_OUTB_DELIVERY_CHANGE"
Step 3. Ill delete the Batches 20 and 30 which are used in Delivery B from Delivery A.
Usage of "BAPI_OUTB_DELIVERY_SPLIT_DEC"
wa_item-deliv_numb = p_n_dlv. "New Delivery Number "65000000
wa_item-deliv_item = p_n_psn. "New Delivery Item "000010
wa_item-curr_qty = 'B'. "Base Unit (B) / Sales Unit (A)
wa_item-dlv_qty = lv_qty. "40
*wa_item-DEL_QTY_FLO =
wa_item-sales_unit = wa_lips-vrkme. "MSF
wa_item-isocode_sales_unit = wa_lips-vrkme . "MSF
wa_item-dlv_qty_stock = lv_qty. "40
*wa_item-DLV_QTY_ST_FLO =
wa_item-base_uom = wa_lips-meins. "MSF
wa_item-base_uom_iso = wa_lips-meins. "MSF
wa_item-sales_qty_num = 1.
wa_item-sales_qty_denom = 1.
wa_item-convfactor = wa_lips-umrev. "0.00000000000.....0+0
APPEND wa_item TO lt_items.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_SPLIT_DEC'
EXPORTING
delivery = p_vbeln
deliverynew = p_n_dlv
deliveryitemsbelongto = p_dlv_md "N
businessprocess = 'Z006'
TECHNCONTROL =
TABLES
itemdata = lt_items
EXTENSIONIN =
return = l_return
ITEM_SERIAL_NO =
Errors which Iam getting
E |LEDSP |037 | <
E |LEDSP |025 | <
Waiting for some good suggestions!...
<removed by moderator>
Cheers,
Kripa Rangachari.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = LV_WAIT.
Edited by: Thomas Zloch on Feb 19, 2011 1:38 PM - please do not promise ...
Hey all!.....
The BAPI "BAPI_OUTB_DELIVERY_SPLIT_DEC" works for Delivery Split ... with the parameter values which Iam passing.
The problem was the data which is used for testing!..... The customized split profile which is used "Z006" doesnt pick up the delivery data given for splitting ....
Used a different data - and the new delivery number got created!
Cheers,
Kripa Rangachari.
Similar Messages
-
Delivery split with different delivery types
Hi,
Ive got the following problem with delivery split:
In my order (type ZTA) I have two items with two different item categories (for example TA1 and TA2). For these two items two different deliveries with two different delivery types (for example item TA1 in LF1 and TA2 in LF2) should be created. For this I implemented the needed copy control and in the customizing of the order type ZTA I maintained LF1 as a default delivery type. When I deliver the order manually via Transaction VL01N, I have no problem, because the system delivers first the item which can be delivered with delivery type LF1. Then I have to start VL01N again, predefine LF2 as delivery type and then the other item will be delivered with LF2. But this doesnt work in the Batch Collective Processing with VL04, VL10A or even VL10Batch. The system cant deliver the order. And in none of these mentioned transactions I have the possibility to predefine a delivery type. I tried also a routine in the copy control on item category level where I want to switch to a different delivery type in case of the second item category. But it didnt work. And I couldnt find any other appropriate exit how to influence the delivery type on base of the item category. What cant be changed is probably that I will always have to deliver this order two times because the system wont be able to split the order in one collective processing and create two deliveries at once. That wouldnt be a big problem if I could predefine the delivery type for the second collective processing in order to get the second item delivered.
Is there anybody who can help me?
Kind Regards
StephanHi,
thank you for your quick answer. That was a big help and I will do your suggested solution with the BDC.
But if I understand you correctly, you also didn't find a solution for this problem in the SAP Standard functions (without BDS)?
Kind regards
Stephan -
Delivery split through VLSP along with JIT Calls with AW Partner profiles
Hi SAP SD/LE Guru's,
I have one critical issue to resolve immediately in my implementation of SAP 4.6C system in multinational automotive industry. It's in the area of Delivery split along with AW - Duns number partner profile and JIT calls.
Here is the scenario:
1. JIT(Just In time) calls will be created through EDI based on the ship-to, PO Nos, Duns number.
2. The requirements will be updated in Scheduling Agreements JIT Delivery schedule.
3. Picking is done based on the requirements.
4. Packing, Deliveries and Handling units are created: Note: Each handling unit is linked to one JIT Call.
5. Based on the Shipments, Deliveries needs to be split into further sub-deliveries.
Ex. One Delivery has two HU's. This needs to be split into another delivery so that one HU need to be detached from original and attach to new delivery. At the same time corresponding JIT call also need to be detached from original delivery and attach to new delivery. This can be done through VLSP : Subsequent split(Outbound delivery). Split profile: 003 - split based on Quantities.
The issue: When executing delivery split using VLSP and split profile: 003, the system is terminating and giving short dump.
The error analysis says that AW - Duns number is creating the problem. The short dump occurs in SAPLV05I in Function module: SD_PARTNER_UPDATE.
There is an SAP note: 154766 related to this problem says that Partner header should be used only once in copy control.
But in customization of copy control from Sales order to Delivery, there is no VBPA Partner header.
I appreciate if you can provide solution for delivery split and resolve this short dump issue.
Thanks,
Murali ChintakuntaIn reference to this change in the Custom Reports... Better experience when exporting data - to prevent customer confusion when exporting data from Mac computers, we have removed the export to excel option and exporting in CSV format by default.
What is the customer confusion we are trying to stop here? I've got even more confused customers at the moment because all of a sudden they can't find the export to excel option but know it exists if they log in on a PC?
Mark -
Avoiding delivery split SAP SD / Liefrungssplitt
Hello,
I'm looking for the possibility to influence the delivery split.
The Problem is:
I have an sales order with 2 items.
the first one with Material X with transportation group 0001
and the second one with Material Y with transportation group Z900.
If I create a delivery for this order the system creates (because of diffrent transportation groups) delivery with just only one position with material X and than I need to create the second delivery for the second position with material Y. It is actually ok but in some special cases (depands on customer) I need to create just only one delivery with both positions (material X and Y) so I need to avoid the split.
Do anybody knows some possibilities to do this (userexit, Badi or something?).
Thanks a lot for answers.
PeterHello Peter
I think the problem in your case is that the transportation group is copied on header level of the delivery (see standard include in copy control of deliveries - include FV50C001 --> line 30 likp-tragr = maapv-tragr) - due to this, the system will always split. Trough copy control (sales doc to delivery doc) you can have an impact on this behavior.
Create a new copy routine (copy of standard 001) for the header copy control (insert into table TVCPL- field GRUAK via customizing) - in the routine you can make a check on a specific field in customer master which would group customers with delivery split (this you have to define yourself - could be a field in the additional data) and trigger the copy likp-tragr = maapv-tragr only if in the customer master the specific field is filled.
This is just an idea.
Deniz -
Hi all,
In case of stock transfer process, at the time of VL10B transaction and VF01 transaction delivery and invoice is spliting based on the division if division is more than one in purchase order (ME21N) order type "ZUB".We are using delivery type ZNL where order reference is "B purchase order required"-Default ord ty. - "DL" and item requirement is " 202 - Order w.indep.item".
We want to make single delivery if multiple division is available in PO. How I can do this, PLz advice.
regards,
SPS.Hi SPS,
As for your problem with invoice split, please refer the following part of note 11162:
The invoice split may have been carried out for the following reasons:
a) Explicit setting in Customizing
b) Different header partners
c) Different header fields
d) The billing date of all documents is equated in a data transfer
routine (for example, by VBRK-FKDAT = SY-DATUM). This works when
you are billing using VF01; a single billing document is
generated. However, if you use VF04 or in case of a batch,
several billing documents might be generated.
If there is any of the above fields are different when you create invoice, invoice split will occur.
Please also refer to note 11162 for the detail information.
Regards,
Alex -
Delivery split due to conflicting header data
hi experts,
we have implemented CRM services with R/3 as back end system.
when ever a service order in crm with more than one material in line items get replicated to r/3 as sales order .during delivery we are getting the following error.
*Item 000020: delivery split due to conflicting header data (Function SH: Address Number: 9000001514 <-> 9000001509)*
*Message no. VL033*
even though the Ship to party is same.
can any one of you hlep me to solve this problem
Thanks & regards,
SRHi SR
This could be because of the order combination field that has been marked in your customer master in R3.
The field KZAZU is nothing but the order comination information in table KNVV
Hope this will help you...
Regards
Ramesh S. Narayanan -
VLSP Delivery Split with Serial Number assigned
Hi Gurus,
I have a doubt regarding to Delivery Split that have serial number assigned in the delivery. Do you know if SAP standard through configuratioon, exits etc is possible to split a delivery using VLSP t-code?
I have configured and tried testing but the following error message is shown, is it anything missing or correct SAP does not allow to split that delivery.
"2 serial numbers are assigned to item(s) 80000261 000010 - no split
possible. 0000 -> 0080000261
Message no. LEDSP016"
Any suggestion to solve this, either via development, config, exits etc are very much appreciated.
Cheers
ViniHi Vini,
This error is correct, and there is no way to split this delivery via VLSP. You will have to do it manually.
Let me explain the reason: If there are many serial numbers for a delivery item, and you want to split the item, the problem that the system faces is: which serial number to put in which new delivery item??? The system can never decide this by itself. So it throws this error.
Hope this explains,
Regards
Nikhilesh -
Delivery split at shipment doc
Hi
When i am splitting a delivery in VT01N system is making two deliveries but against original delivery quantity is getting 0 and in second delivery quantity of original delivery is there . Please help.
RegardsI am done with my problem .actually this was IMG settings in subsicuent delivery split.
Regards -
Delivery Split in Stock transfer Order
Hello gurus,
In Stock transfer order process, Delivery has been split. In purchase order we have two materials, while creating delivery in VL10B System is splitting the deliveries and creating two delivery no. instead of one delivery. I checked everything but i could not reach out the solution. can you tell me what could be reason for this delivery split in Stock Transfer Order Process.
Regards
SoumenduSAP have provided a report ZLE_ANALYZE_DELIVERY_SPLIT in note 355404.
This report tells you exactly what is causing the split by highlighting the cause in red. It does not make any change to the database on your system (i.e. no changes are made on your system). I would recommend you implement this report.
Often, I have seen the delivery time being the cause of a delivery split. So check the values of LIKP-LFUHR for each delivery. But the above report would tell you exactly. -
Invoice split & Delivery split
Can any body tell me what is Invoice split and Delivery split and how it is done?
Dear Raj Kumar
Please make use of the "Search" option b4 posting your question, as the question what you posted has been answered so many times.
1) Delivery Split
If you want to combine multiple sale orders in one delivery, the following should be same in all sale orders
- Ship To Party
- Inco Term
- Delivery Priority
- Shipping Point
- Transportation Group
If any of the above differs in any sale order, you will get delivery split which means, multiple deliveries will be created
2) Invoice Split
As like delivery split, if you would like to generate one invoice against multiple sale orders / deliveries, the following should be same in all preceding documents
- Payer
- Inco Term
- Payment Term
- Actual GI Date
- Exchange rate in case of exports
If any of the above differs, then you will get multiple invoices which is nothing but an invoice split.
thanks
G. Lakshmipathi -
Delivery split issue with PO (STO)
Hi All,
I created 4 STO . While creating delivery it automatically creating delivery splits ( two deliveres for smultiple PO). I checked the ship to party , route,ship conditions , unloading point . every thing is same. among 4 STO only one line items is splitting in to 2nd delivery.
User required only one delivery for all STO's.
The same is working in test boxes fine, and it is not happend in production system.
please do the needful
Regards
Raju.Hi,
Check these notes:
SAP Note 546668 - FAQ: Delivery split when creating deliveries
SAP Note 166397 - Delivery split according to customer field ZUKRL
Regards,
Eduardo
PD: I forgot these:
Note 13448 - Combining stock transfer orders into one delivery
Note 332276 - Collective note: VL10 consulting
Note 198137 - VL10: Customer-specific enhancements / user exits
Edited by: Eduardo Hinojosa on Sep 24, 2009 12:07 PM -
I want to split delivery creation for 'NL' type of delivery for STPO i.e. 'UB' type.
i.e. if a PO has 2 materials with different material types ( e.g FERT & HAWA ), then 2 different deliveries have to be created in this case automatically.
How can the same be achieved.If you want a permanent Solution on this you will have to take the help of a Routine.
If you want to manually force a delivery split for each line item in the Purchase Order, then give a different value in the "Unloading Point" field for each item.
Unloading Point field is there at Item level in the Shipping Tab in PO.
There are positives and negatives of this approach.
Positive being that since Unloading Points are different for each line item in PO, there will be a seperate delivery for each line item.
Negative is that since the Unloading Field value is defaulted from the PO into the delivery at header (Goto>Header>shipment) you will have a seperate Invoice for each delivery as the Unloading points are different for each delivery. You will not be able to have a consolidated Invoice. -
Delivery Split during creation of delivery for STO
While creating a delivery for STO, delivery is being created for individual line items. On analysis of VL 033 message, I found that the delivery split is happening because of Function SH: Unloading Point.
The message is
<i>"delivery split due to conflicting header data (Function SH: Unloading Point: <-> UP0065)"
Item 000020 cannot be shipped in the same delivery with the other items in the document because the header data (Function SH: Unloading Point) is different. The Function SH: Unloading Point item field has the value UP0065, but in the delivery checked for concatenation it has the value .</i>
This unloading point has been maintained in the customer master data (and needs to be maintained).
I have also been told by my Basis consultant that note 842704 is not valid.
Why is this happening and how to prevent it.
LakshmanSorry... but I could not see either the delivering point or the unloading point in the material sales: general / plant view. Those fields are not visible on the screen. I could also not find them in the config (I was checking if they are suppressed).
Regards,
Lakshman -
hi,
We are crateing PO and sending it to third party.
We get ASN Idoc from third party to create the inbound delivery.
In the ASN the delivery itme is split, because all the item quantity cannnot come from one plant.
ex: delivery item has 40 quantity, split 20 from plant A, 20 from Plant B.
While loading the idoc we get the following error message:
'Error while generating packaging data' and 'V51VP - item was not found - process cancelled'.
Can you please let me know what do i need to do for delivery split scenario to create two inbound deliveries ?
Regards,
Chandanok
-
Delivery address on item level in Sales Order causes delivery split
Hi all,
I have an issue where our customer is sending in EDI-orders with delivery address on item level. This generates different SAP addresses for each line in the Sales Order later causing a delivery split in VL01n. Normally a SO contains 20 items where 10 needs to go to one physical address and the other 10 to another. What I would like is to only split on the physical address and not on each SAP address. E.g. 2 deliveries created instead of 20.
Its ECC 5.0.
Anyone has experience to share on this issue?
Thanks
BR
PeterWe had similar issue , there will be confirmed quantity but the requirement will not transfer to MRP , We used Item category configuration ( Copied new item category assignment and it should behave as Inquiry item category)
Check OVZ7 T code for customizing the u201CDelivery Blocku201D in your sales document to block Confirmation block
Check the customizing OVZ8: if the flag Transfer of Requirement
Transfer of requirements of the requirement class should be ON.
In the sales order the requirement type is determined by the combination sales order item + MRP type.
Refer SAP Help URL below
[Setting a Delivery Block |http://help.sap.com/saphelp_470/helpdata/en/93/744bf2546011d1a7020000e829fd11/content.htm]
Maybe you are looking for
-
When I record my audio through my mic, the vocals sound good but are a little low. When I raise the gain on the tracks however, the output audio blows out and sounds scratchy so I cant create a good song unless the volume is low. How can I fix this?
-
How to remove member from Alias dimension in EPMA 11.1.1.3
Hi, We are using EPMA for controlling master data for HP and HFM. While uploading members using Flat file import, by mistake, we have added a member called "French" in Alias dimension. Because of that, now all of the HFM applications, which were depl
-
Hi ! My "Notes" software stopped operating, does not open. How can I fix that glitch, please ?
-
No acces to iphoto library after installing Aperture
hello, i installed Aperture because it would use the same library as iphoto. everything went fine until i wanted to open iphoto again. I get the message that the library cannot be openend unless i installed the latest version of iphoto. I downloaded
-
HOLA A TODOS.... ESCRIBO PORQUE TENGO UN PROBLEMA CON LA CAPTURA DE IMAGENES A TRAVES DE UNA WEBCAM, LA WEBCAM QUE UTILIZO ES UNA GENIUS SLIM USB..... EL PROBLEMA QUE TENGO ES EL SIGUIENTE: CUANDO LO EJECUTO EN LA PC, ME FUNCIONA PERFECTAMENTE, SIN P