What is BATCH SPLIT in MM
Hi ,
I am new to MM .Can anyone tell me what is BATCH SPLIT in MM and when and why it is used ?
Please check these answered links:
Batch Split
Batch Split
Edited by: Afshad Irani on May 17, 2010 3:10 PM
Similar Messages
-
Batches are not coming in invoice where there is batch split in delivery
Hi all,
Batch split quantity as per delivery is not coming in billing document.
Ex
1). Sales order created with Material "A" - 50 Kgs
2). Delevery is created
Material A - 10Kgs - Batch 1
Materail A- 15KGs - Batch 2
Material A - 10Kgs - Batch 3
3). iNVOICE IS CREATED For cumulative quantitiy in single line like
Material -A -25 KGS - Rs.10,000
it's conderind other two lines for batch split quantities with 0' quantities and 0 values
Please advise what should be done if i need to create invoice --
Material A - 10Kgs - Rs.2000
Materail A- 15KGs - Rs.4000
Material A - 10Kgs -Rs.2000
I.e. An invoice should be created with batch split quantities.
And when i create a return order with the reference of this invoice it should take all the respective batches as per batch split.
Please advise.hI,
Go to vtlf copy controls in item data vbrk/vbrp give 001 try this it my work out.
Best regards,
venkataswamy.y -
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,
DavinderHi
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 -
Item category not defined in batch split in vl02n
HI GUrus,
cna anybody please helpe me with this. We have to send 3 differnt batches of parts to the vendor via returns PO. when i go to vl02n and click on batch split to send out batch A - 5 EA, Batch B - 5 ea and Batch C - 5 ea. the system is throwing eerror messages like item category not defined. please help me with this
thanks
anushaI can't understand what are you doing...
1. You already asked this question - it was answered
2. Link is pasted in my previous message.
Please read your previous question (that was the same) - please read the answer too. That's all. -
Logic to retrieve batch number in batch split scenario for a material
Hi All!
LIPS-CHARG gives the batch number for a material in normal scenario.But in batch split scenario for a material what should be the logic to retrieve the field batch number based on POSNR,VBELN and UECHA in LIPS.
UECHA corresponds to higher level item of a batch.
I had been given the following logic to do the same but it is not pulling any values inspite of a batch split available for the material.The logic is
Select lips-charg (batch number) where lips-posnr = lips-uecha ( higher level item batch)
Please advise
Regards
PraneethHi Praneeth,
The way LIPS records are in a batch split scenario is that let us say you have a delivery with one line item 00010. Now if this splits into two batch split items, then you will find in LIPS 3 records, one with line item 00010, one with 90001 and another with 90002. Both 90001 and 90002 will have a UECHA of 00010, whereas for 00010, this field will be blank. So the logic is to create two internal tables one where UECHA is blank and another where it is not blank and use it.
SELECT * FROM LIPS
INTO TABLE I_LIPS
WHERE VBELN = P_VBLEN.
I_LIPS_TEMP[] = I_LIPS[].
DELETE I_LIPS_TEMP WHERE UECHA IS INITIAL.
*-- This table will not have only the batch split items not the main items.
LOOP AT I_LIPS WHERE UECHA IS INITIAL.
*-- loop at the main items.
IF I_LIPS-CHARG IS INITIAL.
*-- batch is not there on the main item, see if it is there on any batch split items.
READ TABLE I_LIPS_TEMP WITH KEY UECHA = I_LIPS-POSNR.
do whatever
ENDIF.
..... do whatever
ENDLOOP. -
WS_DELIVERY_UPDATE doesn't create batch split in IBD
Hello,
I am using the FM WS_DELIVERY_UPDATE to update the Inbound delivery and post GR against it. The problem I am facing is that when there is a batch split for a line item, the same is not being reflected in the IBD. The GR happens successfully but the only problem is batch split of items not happening.
Can anyone help me with what parameters I might be missing?
Below is the call that i make to the FM
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
vbkok_wa = lv_vbkok_wa
delivery = lv_vbeln
if_error_messages_send_0 = 'X'
TABLES
prot = lt_prot
vbpok_tab = lt_vbpok.
regards,
PriyankThis Might help you
Re: Delete handling unit -
Batch split and picking via interface
We have a set-up where we receive picking confirmations from an external system, via an IDOC (type DELVRY01). The picking strategy is SD picking w/o transfer orders, so we update picked batches directly into the delivery, with the picked quantity.
However we have an issue if the delivery quantity is 30 CAR ex. and we receive a picking confirmation for 30 CAR or more. I this case the batch is updated on the delivery main item. If the picking confirmation was for 29 CAR or less, it is updated as a batch split item. The issue is that if the 1. picking confirmation is eaqual or higher than the delivery quantity, the main item is updated. It is then not possible to receive more picking confirmations for that item.
What we would like is to force creation of batch split items, regardless of the picking quantity. Any ideas for user-exits/BAdI or customising settings are welcome.I have found a solution to this using user-exit EXIT_SAPLV55K_002. If you receive a picking confirmation for an item where the quantity is equal or creater than the delivery quantity, you can add an extra record to table T_KOPO in the user-exit, only containing the delivery number and item number. This will then generate the picking confirmation as a batch-split item.
-
Cost became doble in profitability reoport when picking using batch split
Hi friends,
When we do picking use batch split, cost(material external price) shows double in profitability report. everything else looks normal.
What did we miss?
Thanks in advance,
LindaDid you check the copy control settings in VTFL? At item level, check the box cumulate cost and test again.
Regards, -
Item not relevant for billing-Batch Split
Dear all
Item is not relevant for billing for Batch Split item. i have checked item category, item category determination and copy control.
The scenario is working fine for local and export but for deemed export the item is not relevant for billing
Please kindly guide what else to check
Regards
Sandeep BhowmickKindly check the Batch Split - Item Category in VOV7 with the Billing Relevance as "M".
Best Regards,
Ankur -
No batch split performed for delivery, instead 2 items
Hi,
I have batch managed materials and during creation of the delivery, the system does not create a batch split, instead it created 2 seperate line items for each batch.
This is causing problems during EDI invoicing (intracompany): the same item multiple times in the deliveyr means the same item multiple times on the invoice and the EDI invoice cannot be posted.
Any configuration available to get the batch split instead of seperate items?
Thanks,
MZIts a std batch split process.
as per above in example, if the order qtty is 351 TO, then system will determine 2 batches, if in VCH2, number of splits maintained more than 1.
What exactly you are expecting?
*at delivery level it should determined two batches separately & pickup complete from the batch*
pick up complete from the batch - means what. its incomplete. -
From which table and field can I get batch split indicator?
Dear friends,
There is batch split indicator at VL02N screen. From which table and field can I get this indicator?
Thanks regards..Hi,
I dont think there is anythign called batch split indicator.
You can find that there is a batch split in a delivery if LIPS-UECHA field is updated for a particular delivery. If UECHA is filled, then the number means that for the item number mentioned in UECHA, those records are the split records.
i.e. For example say for a line item 10, there are 2 split items in a delivery. In this case, there will be two line items with LIPS-POSNR = 90001 and 90002. These line items will have LIPS-UECHA = 10. This means that the items 90001 and 90002 are the child batch items for the parent line item 10 as mentioned in UECHA field.
btw....u can check LIPS-CHSPL if this is what you are looking for.
I hope this answers your question. If you have any doubt, pls lemme know -
How to Use BAPI_OUTB_DELIVERY_CHANGE for Batch Split
Hi Experts, I have the follow delivery:
Item Material Deliv.Qty Un
10 739911 2 PQT
And I want to obtain this:
Item Material Deliv.Qty Un Batch
10 739911 0 PQT
900001 739911 1 PQT ZZ00060
900002 739911 1 PQT ZZ00061
But, after using the Bapi I obtained this:
Item Material Deliv.Qty Un Batch
10 739911 1,372 PQT
900001 739911 0,314 PQT ZZ00060
900002 739911 0,314 PQT ZZ00061
So as you can see the problem is with the "Deliv.Qty". I expected:
Item Deliv.Qty
10 0
900001 1
900002 1
But I obtained:
Item Deliv.Qty
10 1,372
900001 0,314
900002 0,314
The parameters that I am using in the Bapi are:
HEADER_DATA
DELIV_NUMB = 801174646
HEADER_CONTROL
DELIV_NUMB = 801174646
DELIVERY = 801174646
TECHN_CONTROL
UPD_IND = U
ITEM_DATA (three records):
DELIV_NUMB = 801174646
DELIV_ITEM = 000010
MATERIAL = 739911
FACT_UNIT_NOM = 1
FACT_UNIT_DENOM = 1
DELIV_NUMB = 801174646
DELIV_ITEM = 900001
MATERIAL = 739911
BATCH = ZZ00060
HIERARITEM = 000010
USEHIERITM = 1
DLV_QTY = 1
DLV_QTY_IMUNIT = 1
FACT_UNIT_NOM = 1
FACT_UNIT_DENOM = 1
DELIV_NUMB = 801174646
DELIV_ITEM = 900002
MATERIAL = 739911
BATCH = ZZ00061
HIERARITEM = 000010
USEHIERITM = 1
DLV_QTY = 1
DLV_QTY_IMUNIT = 1
FACT_UNIT_NOM = 1
FACT_UNIT_DENOM = 1
ITEM_CONTROL (three records):
DELIV_NUMB = 801174646
DELIV_ITEM = 000010
CHG_DELQTY = X
DELIV_NUMB = 801174646
DELIV_ITEM = 900001
CHG_DELQTY = X
DELIV_NUMB = 801174646
DELIV_ITEM = 900002
CHG_DELQTY = X
So I am missing something but I don't know what.
Can any one help me with this please?
PD: I have looked the following forums in order to use the Bapi:
How to Use BAPI_OUTB_DELIVERY_CHANGE for Batch Split
batch split using BAPI_OUTB_DELIVERY_CHANGE
Re: Help in BAPI_OUTB_DELIVERY_CHANGE(batch-split)
BAPI_OUTB_DELIVERY_CHANGE - Batch Splits don't work
Help for BAPI_OUTB_DELIVERY_CHANGEHey,
My code is for the inbound delivery but it should work the same.
Give this a try.
REPORT z_delivery_batch_split.
DATA:header_data LIKE bapiibdlvhdrchg,
header_control LIKE bapiibdlvhdrctrlchg,
delivery LIKE bapiibdlvhdrchg-deliv_numb,
ls_return LIKE bapiret2,
item_data TYPE TABLE OF bapiibdlvitemchg,
item_control TYPE TABLE OF bapiibdlvitemctrlchg,
ls_item_data LIKE bapiibdlvitemchg,
ls_item_control LIKE bapiibdlvitemctrlchg,
return TYPE TABLE OF bapiret2 WITH NON-UNIQUE KEY type.
header_data-deliv_numb = '1800005005'.
header_control-deliv_numb = '1800005005'.
delivery = '1800005005'.
ls_item_data-deliv_numb = '1800005005'.
ls_item_data-deliv_item = '900001'.
ls_item_data-material = '000000000020067722'.
PERFORM create_batch CHANGING ls_item_data-batch.
ls_item_data-hieraritem = '000010'.
ls_item_data-usehieritm = '1'.
ls_item_data-dlv_qty = 80.
ls_item_data-dlv_qty_imunit = 80.
ls_item_data-fact_unit_nom = '1'.
ls_item_data-fact_unit_denom = '1'.
ls_item_data-sales_unit = 'EA'.
ls_item_data-base_uom = 'EA'.
APPEND ls_item_data TO item_data.
ls_item_data-deliv_numb = '1800005005'.
ls_item_data-deliv_item = '900002'.
ls_item_data-material = '000000000020067722'.
PERFORM create_batch CHANGING ls_item_data-batch.
ls_item_data-hieraritem = '000010'.
ls_item_data-usehieritm = '1'.
ls_item_data-dlv_qty = 60.
ls_item_data-dlv_qty_imunit = 60.
ls_item_data-fact_unit_nom = '1'.
ls_item_data-fact_unit_denom = '1'.
ls_item_data-sales_unit = 'EA'.
ls_item_data-base_uom = 'EA'.
APPEND ls_item_data TO item_data.
ls_item_control-deliv_numb = '1800005005'.
ls_item_control-deliv_item = '900001'.
ls_item_control-chg_delqty = 'X'.
APPEND ls_item_control TO item_control.
ls_item_control-deliv_numb = '1800005005'.
ls_item_control-deliv_item = '900002'.
ls_item_control-chg_delqty = 'X'.
APPEND ls_item_control TO item_control.
break cgavin.
CALL FUNCTION 'BAPI_INB_DELIVERY_CHANGE'
EXPORTING
header_data = header_data
header_control = header_control
delivery = delivery
* TECHN_CONTROL = TECHN_CONTROL
TABLES
* HEADER_PARTNER = HEADER_PARTNER
* HEADER_PARTNER_ADDR = HEADER_PARTNER_ADDR
* HEADER_DEADLINES = HEADER_DEADLINES
item_data = item_data
item_control = item_control
* ITEM_SERIAL_NO = ITEM_SERIAL_NO
* EXTENSION1 = EXTENSION1
* EXTENSION2 = EXTENSION2
return = return
* TOKENREFERENCE = TOKENREFERENCE
* HANDLING_UNIT_HEADER = HANDLING_UNIT_HEADER
* HANDLING_UNIT_ITEM = HANDLING_UNIT_ITEM
* PARTIAL_GR_OBJECTS = PARTIAL_GR_OBJECTS
READ TABLE return
INTO ls_return
WITH TABLE KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE ID ls_return-id TYPE ls_return-type NUMBER ls_return-number WITH ls_return-message_v1 ls_return-message_v2
ls_return-message_v3 ls_return-message_v4.
ENDIF.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
break cgavin.
*& Form CREATE_BATCH
* text
* <--P_LS_ITEM_DATA_BATCH text
FORM create_batch CHANGING p_ls_item_data_batch.
DATA: ls_bncom TYPE bncom.
ls_bncom-matnr = ls_item_data-material.
ls_bncom-werks = 'C333'.
ls_bncom-lgort = '3000'.
SELECT SINGLE mtart
FROM mara
INTO ls_bncom-mtart
WHERE matnr = ls_bncom-matnr.
CALL FUNCTION 'VB_NEXT_BATCH_NUMBER'
EXPORTING
matnr = ls_bncom-matnr
werks = ls_bncom-werks
check_batch = 'X'
check_material = ''
message_when_auto = ' '
x_bncom = ls_bncom
lock_batch = ' '
IMPORTING
new_charg = p_ls_item_data_batch
EXCEPTIONS
no_material = 1
no_plant = 2
material_not_found = 3
plant_not_found = 4
no_batch_handling = 5
batch_exist = 6
no_number = 7
illegal_batch_number = 8
interval_not_found = 9
object_not_found = 10
interval_overflow = 11
error_automatic_batch_number = 12
cancelled = 13
automatic_batch_num_not_active = 14
OTHERS = 15.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ENDIF.
ENDFORM. " CREATE_BATCH -
BAPI/Function module for BATCH SPLIT
Hi,
is there a BAPI/Function module to enter BATCH SPLIT data in an outbound delivery. I used tcode VL02N to create an Outbound delivery(FOR an STO). I can use 'BAPI_DELIVERYPROCESSING_EXEC' to creat an Outbound delivery, but need to know what to use to add BATCH SPLIT data.
Thanks
RajHi Raj,
Check this thread..
Re: Inserting Batch Split Items in Delivery
Cheers
VJ -
Can not Batch split outbound delivery
Hi All,
I have a 1 SO, when I create outbound delivery, I press batch split but has 1 message appear "Actual delivery quantity for Item 000010 is 0, split is not necessary"
I check in Location, still have more qty (Unrestricted use) than in SO.
How can I create outbound ?Hi,
What is the delivery quantity shown in the delivery document. If the quantity is 0 or empty, then batch split is not possible. The quantity can be 0 only if
1. There is no stock in the plant/storage location
2. The stock requirement in this case is a special stock and there is no special stock reserved for the sales order.
3. There is no material available in multiple batches in plant/storage location. All the materials belong to single batch.
Find out what is ur scenario. Accordingly create stock in the plant/storage location with multiple batches. For ex you can create 100 units of materials with batch 12345 and then another 100 units of same material with batch 6789. If it has to be a reserved stock, then assign the sales order and item to these stocks.
If this is done and if you create the delivery on the confirmed schedule line date, you should be able to split the quantity between various batches.
Hope this helps you -
Batch Split Items appearing in the billing document
Dear Friends,
Batch determination is active in our system. In the delivery there are two main items. 10 and 20 and each has Batch split and the sub items are 90001 and 90002 respectively.
Now in the billing document there appears are four items with item nos and qty as follows.
item 10 qty 1 - main item having pricing etc
item 20 qty 0 - batch split item no qty n no pricing
item 30 qty 1 - main item having pricing etc
item 40 qty 0 - batch split item no qty n no pricing
The requirement is that there should not be any sub items with zero qty. Only main items to appear in the Billing document.
One important observation I would like to share with you is that in the delivery document both main items and it's sub items have item category as TAN.
Your help is appreciated.
Regards,
Vishi
Edited by: Vishi19 on Apr 27, 2009 2:48 PMDear US,
Thanks for replying.
What i would like to know here is if appearance of sub items with 0 qty n 0 price does not affect in the billing document then how come VPRS cost coming only in the item conditions of the sub items. I dont see the cost in the main items.
What I want to knlow here is that does in any way these sub items affect the billing document? i mean in the accounting or data flow to CO-PA or something like that..?
Regards,
Vishi.
Maybe you are looking for
-
The scroll bar is now missing when I click on the bookmarks icon instead there is just an arrow down. I have a lot of bookmarks and now it takes forever to get to the bottom where my most recent are. Please add back the scroll bar option. Thanks!
-
Toolbar button has black background in GW 7
Hi My C3PO workds beautifully, but not in GW 7. The toolbar button has a black background in GW 7 but when I run it with 6.5 or under, it works fine. I am also calling Documentum components from the GW client and some of these forms have a black back
-
How do I install adobe reader 7.0.9?
-
OBI Column selector and Condition step
In OBI 11.1.1.6.2 I have an analysis which contains a column selector, a pivot table and a regular table. The pivot table uses the fields of the column selector. In this configuration it is not possible to add a condition step to the regular table. O
-
Lenovo G550 puking rainbow colors in the middle of the screen
Okay, so as the title says -- and, yes, I am serious -- the screen of my sister's Lenovo G550 has vertical stirps of colors grouped in the middle of the screen. the background is somewhat similar to the background color of the usualy Windows 7 start-