Printing mataerial description for batch split material at delivery level
Hi all,
Here i am printing the material description which is maintained in the item level at sales order level.For each material they have maintained two material descripption.I am not able to display the second material description in my export invoice whenever the material is splited into batch ie batch split at delivery level. so please can anyone help me regarding this, I am not able to get it from long time.
Regards,
madhu
Hi,
You can create a two folders for printing the line items, one folder for the normal line-items and the other folder for printing the BAtch-Split Items. you can do this by putting condition as UEPOS NE 0 or UEPOS EQ 0. You can include the Item-Description of the Batch-Splitted item in the Corresponding folder, so when there will be a batchsplit it will get printed.
Similar Messages
-
Quality certficates for batch split items in delivery
Hi Masters
How to make the output determination for outgoing quality certificates to select the output type LQCB
for batch split items in Delivery.
What is the routine to be selected in the output determination to map this scenario?
Regards
MohanHi Masters
My problem is When i create a delivery for the items with batch split, the output type LQCB is not determined ie., not automatically get assigned in the delivery item.Hence the delivery items are not listed while executing T code QC20/
What am I missing?
-mohan -
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 -
Delivery Item Category for Batch Split
Dear All,
Referring to Stock Transfer Order
ME21N --> VL10I --> Vl02N --> PGI --> MIGO
During delivery we select multiple batches through Batch Split.
In my Development server the system determines Item Cat as NLN (NLNORMCHSP = NLN)
In my Quality server the system determines Item Cat as ULN (NLNORMCHSP = ULN)
The setting for Both Item cat is same Except NLN is marked for Error during over delivery.
Pls suggest me which one is appropriate.
Thanks & regards,
Shailendra PanhaleMr. Gauravijit
Pl try the following configuration
Go to logistic Eex->Shipping->Deliveries->define item category for deliveries
Delivery type - item category group - usage--item cat
LF NORM CHSP TAN
Pl try the above configuration and do the batch split in the delivery. -
QM In-Process Inspection for Batch Managed Material
Hi,
I have a issue related to UD of In-Process inspection for batch managed material. The production process is discrete manufacting for a cold rolling mill. A production order can have mutiple coils as per the production amount. To track the individual coil , batch management has ben activated. We have both in-process as well as inspection after production here.
For inspection after production we are fine as we are doing partial confirmation after every coil and have separate inspection lot having different batch number.
But for in-process I can have only one inspection lot for the production order (created on release of the production order). I can do the result recording but while trying to do UD u2013 it is asking for a batch number as the material is batch managed. W/o entering the batch number system is not allowing me to do the UD.
Is there any solution/work around of this problem.
-Regards
ashimHi Ashim,
you raised a very good question? i am helpless here to execute same scenario,
but i disussed with my QM guy here, he said, once the material is batch managed then it has to ahve batch in UD.
so i discussed ur case, which is very much valid for heavy ind like cement and all,
so what i suggest, u create a dummy batch in the UD for in process (no inventory posting)
and at confimation give ur usual batch (if system propose the dummy batch which u give in the UD for inprocess, try to change there--- i hope it should allow)
i would really like to here answer from u for this.
try to do as suggested, and let me know the results.
REgards,
Pravin mukkawar -
BATCH SPLIT CONCEPT IN DELIVERY n GOODS ISSUE (SD)
Hi
Could anybody tell me the following:
1) What is the concept of Batch Split?
2) How it is shown when a Delivery Order is created?
3) How it afftects when Goods Issue is done?
4) How can we calculate the total delivery quantity when there is a Batch Split?
Thanks!Hi,
Batch Split concept is if for one item you got a quantity greter than one you can set different Batch number .
For example you create a sales order with one item with a quantity of 2 .
When you create the document the item got number 10 .
Now when you set the batch number with batch split the system will add 2 lines in your sales order with number 9xxx . those number are reserved by sap for batch split.
If you look in the data dictionnary table you will see 3 record in the item table and for the 2 items beginnig with number 9 a reference to the item 10.
When you make the goods movement it is done on item 9xxx .
Hope this help you
regards -
Hi All,
Can someone explain what batch split on the delivery means and how it works . Why is it used?
Thanks,
Sandeep.Hi,
You can just search the forum or help.sap.com documentation for details.
For example, Check the SAP link [Executing Batch Splits in Deliveries|http://help.sap.com/saphelp_47x200/helpdata/en/dd/560cd0545a11d1a7020000e829fd11/frameset.htm]
Regards -
Print GR slip for GR against an Outbound Delivery
Dear Experts,
I have a requirement as below.
Need to print GR slip for GR against an Outbound Delivery in VL02N (for Return Orders)
What setting needs to be done?
I donot see the GR slip check box in VL02N which normally exists in MIGO
However, i need to print GR slip for such GRs in VL02N
please help
regards,
ShettyRe: Printout during Goods Receipt
See second, fourth reply and final post (which you've already found answer to via another thread).
Regards,
Nick -
VPRS condition currency for batch split items
Hi,
i did the config for billing main item only in my delievry. that is batch split items will not be billed separately in billing.
before doing the above change, the currency of VPRS was appearing as document currency but after doing the above config, the currency of VPRS is changed to material valuation currency.(i.e taken from material master)
what is to be done so that currency for vprs in case of billing of main items shud be equal to document currency.
if there is no batch split, there is no issue of currency. if there is batch split in delivery and i bill only main item, vprs currency gets changed to material master currency.
regards
sacNormally, it should work for both bath main item and batch split item.
Please check the batch split items:
- what's the item category. Is it relevant for picking?
- what's the plant / sto.loc. in batch splite items? Is it assigned to a WM?
- What's the value in LIPS-KOMKZ field for the batch split items? (EK00 is valid only when komkz = A). -
EK00 not triggered for batch split items
Hi experts,
I have configured output type EK00 for picking List, here's what I've done,
1)V/38: Verified O/P type EK00.
2) OVLT: assigned shipping point to o/p type.
3) VP01SHP: maintained print parameters for shipping point.
It works fine for non- batch managed materials, but when I have an item with Batch split, the Pick list is not being triggered, can anyone help me identify if I am missing something in the config related to the batch management & picking?
Thanks in advance for your time.
Kris TNormally, it should work for both bath main item and batch split item.
Please check the batch split items:
- what's the item category. Is it relevant for picking?
- what's the plant / sto.loc. in batch splite items? Is it assigned to a WM?
- What's the value in LIPS-KOMKZ field for the batch split items? (EK00 is valid only when komkz = A). -
Using BAPI_OUTB_DELIVERY_CONFIRM_DEC for batch split?
Dear All,
I have an existing DO in SAP with one line item.
I would like to use BAPI_OUTB_DELIVERY_CONFIRM_DEC to update the this line item with Batch Split.
For example, the existing line item has a material M001 with quantity 5. I need to update the DO to split this line into two batchs - qty 3 from Batch A and qty 2 from Batch B.
In the BAPI's ITEM_DATA - I filled 3 lines:
Line 1 - DO Number 1014---, Item number 00001, Material Number M001, qty 0
Line 2 - DO Number 1014---, Item number 90001, Material Number M001, qty 3, HIERAR 00001, USEHIERITM 1, Batch Batch A
Line 3 - DO Number 1014---, Item number 90002, Material Number M001, qty 2, HIERAR 00001, USEHIERITM 1, Batch Batch B
I also updated the ITEM_CONTROL with Deliv_NUMB ---, DELIV_ITEM 00001, CHG_DELQTY X, GROSS_WT_FLG X.
I get no errors after calling this BAPI and the RETURN table is empty, yet, the document was not changed!
I did a bapi call via remote and there is a commit work after the bapi call.
Best Regards,
Junwen
Message was edited by: Junwen HuangHi Junwen,
Did you call the BAPI_TRANSACTION_COMMIT afterwards?
Before this the data is not saved. After that it is saved.
Regards,
Rob. -
Update picking quantity in delivery for batch split items
Hi,
I'm trying to use the function module WS_DELIVERY_UPDATE to update the existing deliveries. I'm able to do batch split for the items in delivery using the same FM. I have also requirement to delete these items (batch split items).
To delete these items first we have to make quantities to zero. So I'm able to make delivery quantity of these items to zero but not picking quantity.
If we do not make picking quantity also zero it will not allow to delete these items
and gives an error message saying "item is already made available for transfer order".
Could some one let me kow how to make picking quantity also zero for batch spit items using FM.
ThanksHi Vikram
To nullify the Picking Quantity, we can use FM: <b>SD_DELIVERY_UPDATE_PICKING</b>.
Parameters to be passed:
VBKOK_WA
-- VBELN_VL - Delivery Number
-- VBELN - Sales Document Number
SYNCHRON - 'X'
VBPOK_TAB
-- VBELN_VL - Delivery Number
-- POSNR_VL - Delivery Item Number
-- VBELN -- Sales Document Number
-- POSNN -- Sales Document Item Number
-- MATNR -- Material Number
-- LFIMG -- '0.000'.
Have tried this in both cases whereby we have partial picking done and full picking done and worked for both cases.
Please try on your end too...
Hope this helps.
Regards
Eswar -
FOR ALL ENTRIES IN - For Batch Split & multiple items
Hi,
My Report is to find Production Order from Sale Order.
Flow of tables -
(VBAK- VBAP- LIPS - SER01 - OBJK - SER05 - CAUFV)
Report is working accurate in normal scenario. But -
Here, In Batch split with multiple items -->
FOR ALL ENTRIES IN - is not taking values.
one case for Ex-->
sale order so item obdelivery obd item serial no
39782 10 1234 900001 12
39782 10 1234 900002 13
39782 20 3456 10 14
Here,
only one OBD 1234 (sr no 12 & 13 ) is get entered in ITAB and not 3456.
(i.e. in gi_objkso all 3 entries are there, but in gi_objkpo only two entries are transferred)
Where, Production order is there for all three Sr. No.
My code is -->
IF NOT gi_ser01 IS INITIAL.
SELECT obknr equnr sernr matnr
FROM objk
INTO TABLE gi_objkso
FOR ALL ENTRIES IN gi_ser01
WHERE obknr EQ gi_ser01-obknr
AND equnr IN so_equnr
AND sernr IN so_sernr
AND matnr IN so_matnr
AND taser EQ 'SER01'.
IF NOT gi_objkso IS INITIAL.
SELECT obknr equnr sernr matnr
FROM objk
INTO TABLE gi_objkpo
FOR ALL ENTRIES IN gi_objkso
WHERE sernr EQ gi_objkso-sernr
AND equnr EQ gi_objkso-equnr
AND matnr EQ gi_objkso-matnr
AND taser EQ 'SER05'.Hi,
Do you create more than one production order per sales order line? If not, you could change the match to look at table AFPO for fields KDAUF = sales order number) and KDPOS = salse item number.
If you are going down to serial number level, after this select (fields are indexed in index AFPO~3, by default I think), then you could use your additional serial number field match after getting the list of production order numbers for the sales order/item.
Regards, Andy -
Item Category for Batch Split Line
Where do I change how SAP determines the batch split item category? Currently it is defaulting to an different item category than I intend.
Thanks.Hi Mark,
In your delivery item category determination you should maintain as below
Document type : Document Type for which you are doing delivery
Item category Group : Item category Group for which you are trying to make batch split.
Usage : Should be CHSP
Higher Level Category : Determined item category for the combination of document type and item category group.
For the above combination define item category.
Rewards points if it helps.
Regards,
Sreekanth
Maybe you are looking for
-
In PO, invoice tab, i have entered tax code, but the screen is not opening
Hi Friends In PO, invoice tab, i have entered tax code, maintained FV11conditions,still i am not able to open the taxes when i click on taxes. please note that this is not related to taxinn. but in MIRO, the value is calculated & posted correctly. Ca
-
WebLogic Server EAR Deployment Queries!
Hi All, I have few queries with respect to EAR deployment in BEA WebLogic Server a) we have a requirement wherein we need to deploy the modified EAR file to one node in a cluster, whereas the other node will still continue to use the old EAR file. Is
-
How to tether using mini hdmi port on camera?
Hello all, Port busted on my Nikon D5100 and I need to tether using the mini hdmi port on the camera and either the thunderbolt or usb port on the macbook. Can't find a cord fits the discription. I have already tried using mini hdmi to hdmi adapter c
-
What do I need to develope an iOS app?
Hello everyone Many Many and Many days I think about making apps for iOS and I have great ideas too But I have a huge problem and some good potentials too I want someone help me and tell me how to start making apps for iOS I know its not going to be
-
Can anyone describe the difference between link.needed being false and link.status being LINK_EMBEDDED? If link.needed is false, doesn't that imply that the link is embedded? What is the distinction with LINK_EMBEDDED? If there is none, which do you