06-16-2009 7:00 AM
Hello All,
I want to update the VBKD-IHREZ field in Sales Order from my Z - Program.
I need to update the same for large no of Sales Orders ( Mass Updation ).
How can I achieve this? Which is the efficient method to do this & how?
Regards,
Lijo
06-16-2009 7:14 AM
Hi,
write a small BDC program or if its one time write LSMW.
Best way because you can track it.
Atul
Edited by: Atul Dhariwal on Jun 16, 2009 8:14 AM
06-16-2009 7:36 AM
Hi,
You can use MASS transaction.
Give object type as Sales order ( BUS2032 ) and select 'SD document Business Data'.
You can change IHREZ field in multiple sales orders.
06-16-2009 8:05 AM
Dear Rajesh,
Thanks for your reply.
I have to do the updation from my Z-program only.
Please let me know if any BAPI or some other method is there for updating the values
(VBKD-IHREZ & VBKD-IHREZ_E),
Regards,
Lijo.
06-16-2009 8:26 AM
Hi,
You can use BAPI_SALESORDER_CHANGE
Following are the fields in BAPI structure 'ORDER_ITEM_IN' which represent IHREZ and IHREZ_E respectively :
ORDER_ITEM_IN-REF_1
ORDER_ITEM_IN-REF_1_S
Thank you
06-16-2009 8:15 AM