‎2011 Dec 21 3:41 PM
Dear friends,
i am doing bapi for ca01 (routing). iam using task, operation, material allocation ,sequence i have to insert 3 line item in the
operation but the last line item only get inserted into the system please provoide me a solution.
i am using BAPI_ROUTING_CREATE.
‎2011 Dec 21 4:13 PM
when you display your converted data in step 12 do you see there 3 line items or just 1?
if three, do all have the same content in the key fields??
‎2011 Dec 21 5:35 PM
i am not aware of the steps in bapi. but after executing the bapi i searched in ca03. there i can see only one line item.
when calling the bapi i saw three line items in the operation internal table. but it is not getting it into the system.
Regards,
shans.
‎2011 Dec 21 6:55 PM
Sorry for that with the steps, I thought you used LSMW with bAPI method
can you tell me the strcuture name and describe the content
I think it posts all three, but just with the same key, so that the second overwrites the first and the third overwrites the second update.
‎2011 Dec 22 2:55 AM
Hi Shanmug,
If you are not specific about bapi method then you can try with batch input.This is from other site.If they allow please go through this.
[Bapi for routing create|http://www.cnblogs.com/wiele/archive/2007/09/29/910349.html]
Regards,
Madhu.
Edited by: madhurao123 on Dec 22, 2011 8:31 AM