Batch split in returns
Dear all,
I need a batch split in return deliveries.
The return(V1) and return delivery(V2) is already created.
Via EDI I got the message with the batch split information(Message type WHSCON, Basic Type: DELVRY1).
After processing the EDI-Document the delivery is goods issue posted without batch split and the quantity in the main item is changed to zero.
Any idea how I can get the correct batch split in the delivery before the goods issue posting?
Kind regards
Frank
Have a look at the following notes:-
Note 489476 - Batch split for returns delivery
Note 2001614 - Return delivery creation via VL60 fails for batch split items
G. Lakshmipathi
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 -
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. -
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 -
L_TO_PREPARE_ITEM_INT batch split for the same material
Hello Gurus,
I use L_TO_CREATE_MULTIPLE to create TO.
if I leave empty charg number for one material line in FN VB_BATCH_DETERMINATION that is triggeredc in L_TO_CREATE_MULTIPLE batches are determined (without quantities) but I thought it is prepared for eventual batch split
But I suppose not as I have a problem when I put quantity greater that quantity on one batch the functionality L_TO_PREPARE_ITEM_INT does not split material into batches, does it mean that I need to split this quantity on batches before calling L_TO_CREATE_MULTIPLE or maybe something in customizing is missing?
Bests BogumilaHi,
I had a also used this FM.
When you pass the total quantity it will only return the batch which should be used first to fulfill your requirement.
So you have to keep this FM in a Loop and keep subtracting the proposed quantity and store it in a Internal table till it is zero.
Thanks
Ajay -
Batch split using BAPI_OUTB_DELIVERY_CHANGE
I want to use BAPI_OUTB_DELIVERY_CHANGE to edit the D/O to add in the batch split and serial no. I pass in the following parameters:
delivery = '0080740827'.
item_data-deliv_numb = '0080740827'.
item_data-deliv_item = '00010'.
item_data-material = 'SL15C-ACPOA-003'.
item_data-dlv_qty = 0.
append item_data
item_data-deliv_numb = '0080740827'.
item_data-deliv_numb = '90001'.
item_data-deliv_item = '00010'.
item_data-material = 'SL15C-ACPOA-003'.
item_data-hieraritem = '00010'.
item_data-usehieritm = '1'.
item_data-batch = '20483602'.
item_data-dlv_qty = 2.
append item_data.
item_serial_no-deliv_numb = '0080740827'.
item_serial_no-itm_number = '90001'.
item_serial_no-serialno = '74714'.
append item_serial_no.
item_serial_no-deliv_numb = '0080740827'.
item_serial_no-itm_number = '90001'.
item_serial_no-serialno = '74755'.
append item_serial_no.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
EXPORTING
header_data =
header_control =
delivery = delivery
TECHN_CONTROL =
TABLES
HEADER_PARTNER =
HEADER_PARTNER_ADDR =
HEADER_DEADLINES =
item_data = item_data
item_control = item_control
item_serial_no = item_serial_no
SUPPLIER_CONS_DATA =
EXTENSION1 =
EXTENSION2 =
return = return.
TOKENREFERENCE =
When I run the program, the system has error and ask me to put in header_data and header_control. I dont want to change the header_data, I just want to change the item data, how do I fill in header_data and header_control? is my parameters correct?declare internal table for header_data and header_control. and dont append any values to it. simply assign it.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
EXPORTING
header_data = header_data
header_control = header_control
delivery = delivery
TECHN_CONTROL =
TABLES
HEADER_PARTNER =
HEADER_PARTNER_ADDR =
HEADER_DEADLINES =
item_data = item_data
item_control = item_control
item_serial_no = item_serial_no
SUPPLIER_CONS_DATA =
EXTENSION1 =
EXTENSION2 =
return = return.
TOKENREFERENCE =
May be it will solve your problem.
Thanks
Muthappan -
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. -
Dual Invoice Creation when batch split
Hello,
Return deliveries with batch split are generating 2 credit for returns. One credit for return is actual and the other one is of Zero Value and quantity. When there is only one batch the return delivery creates only one credit for return. Kindly help.
Regards,
ShahzadHi,
Check ur copy control settings in t-code VTFL for the Batch split item category HUPM...
If u hv mainitained copy control for ur Return delivery to Credit for returns at item level for batch split item catgory ..then delete it..
Now try..
Reg
JJ
Edited by: Jagsap on Jul 7, 2009 8:39 AM -
Inbound Delivery: Inbound WHSCON IDoc with Batch Split - HowTo...?
Hello
We have another tricky problem to solve on our ERP 6.0 system.
My colleagues of Lindt UK create manually inbound deliveries (VL33N) which are replicated to the warehouse (DESADV IDoc -> TRADACOMS.ORDHDR).
When the goods arrive at the warehouse they send back a good receipts message (TRADACOMS.DLCHDR -> WHSCON IDoc).
In some cases we have a batch split because the goods have been put into different storage locations. Example:
- item 10: 200 Cases of product 4711, batch 10-2011, in storage location '0001' (free available for Sale)
- item 10: 5 Cases of product 4711, batch 10-2011, in storage location '0004' (damaged)
I am aware that in the inbound WHSCON item 10 is a main position and the two actual batch split positions are sub-items (900001 & 900002 with HIPOS = '10'). I tried to used E1EDL19-QUALF = 'BAS' (= batch split) with the sub-items but failed so far to update the inbound delivery that I can see the batch split.
I have managed to get one sub-item but not 2 of them. Somehow the system aggregates the quantities for both sub-items into the single item that shows up in the inbound delivery.
When we send the inbound delivery to the warehouse the item looks like this:
- item 10: 200 Cases (no batch yet, Putaway quantity = 0, because these data are coming from the warehouse).
QUESTION: Has anybody else been faced with a similar (if not identical) problem and how did you solve it?
Thanks a lot in advance for your valuable input.
Regards
UweHello Finbarr
I assume that you do NOT send any (suggested) batches to your warehouse. Otherwise you would have the same problem like we have that the WHSCON cannot overwrite a (suggested) batch.
However, if you just send the quantity per item then the batch split is much simpler than you suggested:
"First E1EDL24 segment:
POSNR 50
MATNR 000000000000602006
MATWA 000000000000602006
CHARG L1519 " <<< first batch
LFIMG 37.000
VRKME CT
"Second E1EDL24 segment:
POSNR 50
MATNR 000000000000602006
MATWA 000000000000602006
CHARG L1880 " <<< second batch
LFIMG 37.000
VRKME CT
Well, and as qualifier we use: E1EDL19-QUALF = 'XYZ' " a dummy
The SAP system is smart enough the realize that these two E1EDL24 segment belong to the same item yet have different batches and, therefore, yield a batch split in the delivery. The system generated the 9xxxxx numbers for this sub-item lines automatically.
Although I believe that it is not possible to change a batch in the delivery using an inbound WHSCON I would appreciate to have a final proof of this assumption. I could imagine that if you first delete the item containing the suggested batch and then add a new item with the actual batch from the warehouse it might works. However, this would require to implement a user-exit which I do not prefer.
Regards
Uwe
PS: It seems I gave an answer to the wrong question (should be EDI (DESADV): Can batches be overwritten by an inbound WHSCON (pick conf)? ) -
Status of Outbound Delivery in case of batch split
Hi All,
I have a query regarding the status updation of outbound delivery in case of a batch split.
I have a delivery with 10 qty of batch managed material and is distributed from ERP to EWM. As per standard SAP, the following 2 options exist to carry out a batch split in EWM
1. Create batch sub items in the Outbound delivery Order
2. To adopt quantities pertaining to multiple batches during WT creation from the 'Stock can be removed' tab.
We are using the second option as per business requirement. The process is working fine if i create & confirm multiple WT's at one shot i.e in this case i created one WT for 5 qty with batch-1 & one more WT for balance 5 qty with batch-2 & confirmed both the tasks. System created 2 batch sub items automatically when WT's are confirmed & the header status of 'picking' got updated as 'completed'.
However the problem is when i create only 1 WT for partial quantity. For eg. in this case i created onle WT for 5 qty of batch-1 & confirmed the task. System created 1 batch sub item for 5 qty & also updated the 'picking' status in header to completed. My understanding is that since entire delivery quantity is yet to be picked, the picking status at header must be 'partially completed' & not 'completed'.
I have checked the status profile & have status types DER & DPI active. Does this require any config in the status profile OR Is there any other way in which i can achieve this functionality ( i.e. Header status must be 'partially completed' untill entire delivery quantity is picked.)
Would be glad if you can share your thoughts on this.
Regards,
Smitha Pai.Thank you for your kind reply.
I performed failover to my physical standby and now archives are going on my logical standby from new primary but changes are not getting applied on my logical standby database.
when i tried to register the logical logfile from new primary on my logical standby i am getting following error.
SQL> ALTER DATABASE REGISTER LOGICAL LOGFILE 'E:\orcl1\stdb\archives\TESTDBT001S00001.ARC';
ALTER DATABASE REGISTER LOGICAL LOGFILE 'E:\orcl1\stdb\archives\TESTDBT001S00001.ARC'
ERROR at line 1:
ORA-01287: file is from a different database incarnation -
Picking quantity from a different storage location during batch split??
Hi Gurus,
Have an issue with doing batch split in a delivery with batches from several storage locations.
Have delivery XXXXXX where I want to pick batches from several different storage locations.
I click on the batch split button and select the different batches and quantitys.
The issue here is that I would like to have the different storage locations entered automatically based on the selection of the batch I have made.
The only storage location that is entered here or possible to be entered is the defaulted storage location that is in the first screen...
My question is why can I get the storage location where the batch is located and acctually exists when I do select the batch in the batch split...
The table LIPS and LGORT is not filed with the storage location so I do not know how I could fill this field with the correct storage location data...
Thank You for all Your help!
BR,
ChristianHi Christian,
you have not jet got an answer -- here my suggestion.
You have to use the Userexit Mv50afz1. Here you can do some checks and you can do a popup, where you can sign the LGORT, where the batch is.
In any case, you need an ABAPer
In documentation, there is signed, that you should not change database other as Save_prepare - and that's too late.
In one solution at my company, i show in a message the right information. In an other solution, i made a modification of table lips.
But dont change the index of the current lips/xlips. That may have the effect of incorrest LIS - System.
If nessesary create an ylips- Line of the position.
Use an assign-command to avoid the change of the index.
hans -
Batch split not happening during delivery
Hi Experts,
I have enough of stock for a material with different batches (with different expiry dates). When I create an order for qty 100, system confirms it on a certain date taking 1st batch nearest to expiry date, as per the search startegy set in the cponfiguration.Please note here that the batch that system picks has got only 50 qty in stock, but it shows whole 100 qty against it. Probably because Batch split is not possible during sales order creation, hence system showing whole qty against one batch.
Now, when I try to create delivery, it shows only 50 qty of the same batch in delivery document. I select the line item and go to the "Batch split" tab to effect batch split, but system does not allow. It says "Batch already specified for material".Here is the detail for your analysis-
Batch in item 000010 already specified for material 2000978
Message no. VL221
Diagnosis
The batch was either predefined in the sales order that the delivery is based on or it was assigned to the delivery item manually. Therefore, you can no longer carry out a batch split for the delivery quantity of the items.
Procedure
In order to make the batch split possible, you can cancel the assignment of the delivery item to the batch, if the delivery's processing status allows.
Kindly advise.
Thanks in advance,
RandhirThanks Mr. P Gomatheeswaran,
Now batch is not being determined during sales order creation, that's fine.While creating delivery,when I select line item and go to Batch split tab I can see batches being split in two, which is OK. But when I try to put Picking quantity as delivery qty, system says "Picked quantity is larger than the qty to be delivered".(Message no. VL019).
Also Storage location field is grayed out.
Regards,
Randhir -
Line with 0 quantity for main item with batch split
Hello experts,
I have one line item in delivery. Delivery split is there: There are 1 spilt items with 1 batch nos. The main item category and the batch split item category are TAN.
My system is showing 2 line items in billing, the batch line with quantity and the main line with zero qty. How to prevent this and have only the lines item in invoice with batch/qty. I don´t want to see the main item with o quantity.
In VTFL I have routine for copying requirements 004 and Billing Quantity B. I need to create another copying routine or I need to use another item category for batch lines?
Thanks in advance
PabloHi Pablo,
It is advisable to have a different item category for Batch split items.
If you want the batch split items to suppress and show only the Total in the Invoice. Yes it is possible.
1) You can do this in the Copy controls in VTFL - Delivery to Billing, go to your Item category and go to Item details - Change the billing Qty to 'G'.
2) Go to Shipping > Deliveries > Item categories Determination in Deliveries > Define item category.
Go to your item category which is used in Batch Split
Remove the Billing Revelance and make it blank and Save.
Now when you create the Invoice for Batch split - Only the total quantity will be displayed without the subitems - like in Delivery note or Delivery..
Please check and revert back for any more details
Rgds
Sunil. -
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 -
Batch Split in BAPI_PO_CREATE1
Hi Experts,
I have a requirement to create Purchase order from DESADV - DELVRY03 basic type idoc.Now in the file at line item the material will be batch splitted. ex:
POSNR MATNR QTY
10 NC3337 0
900001 NC3337 50
900002 NC3337 50
How do i create PO with batch split.Exactly which structure/Field needs to be populated in BAPI BAPI_PO_CREATE1 for batch split. I cant find suitable field in BAPIMEPOITEM.
Please advise accordingly.
Thanks in advance.Try this... and you are good to go!
Flag the field ITEM_INTVL with X in the structure BAPIMEPOHEADERX. But do not pass any value for this field in BAPIMEPOHEADER.
By doing this, PO is created with user defined item numbers instead of standard config sequence.
Check this note 418683.
Thanks,
SKJ
Maybe you are looking for
-
Hi Gurus , Need help for this requrirement ... A trasfer order is created from a storage type A( Which is SU managed) to PSA ( 100) for say 100 quantity . But the Pallet in Storage type A has 200 . what we need is to move the remaining quantity to
-
Wireless Webcam for Surveillance?
Hello, I am trying to find some recommendations for a good Wireless Webcam that I can use for surveillance in my home. I'd like to be able to move it around, and have it wirelessly take photos and transfer them to my computer / upload them to the web
-
Odd microphone issue with headphone jack
Well, I really have two issues involving the headphone jack. One is when I plug the headphone in the volume will occasionally drop to zero and then no longer go up past 0. A power off fixes this. A second thing I discovered is that sometimes the mi
-
VPRS cost copying different in Returns order and Credit for returns
Hi SAP Gurus, we created returns order, returns delivery and Credit for Returns.But the VPRS cost copying in Credit for Returns different than Returns order.I have tested in DEV its working fine but in PRD its taking different. I compared copy contrl
-
I have a swing based tool which throws a Runtime Exception if it cannot find certain information. How do I gracefully handle this, and let the user know about it. Like for eg: when you can't access an page..an http error 400 or something is displayed