‎2007 Jul 17 3:02 PM
Hi,
I have to write one BDC. I have one std transaction VA02. For particular line item I need to delete the entry & recreate that line item & upload the amount, plant from file.
Anybody will pls suggest me how to handle it??
‎2007 Jul 17 3:06 PM
Hi!
The easiest way is to separate it into 2 batch inputs. In the first, you make the deletion, in the second, you make the insertion.
But the best way is to make it with BAPI. Check function module: BAPI_SALESORDER_CHANGE. With this you can make it in 1 step.
Regards
Tamá
‎2007 Jul 17 3:10 PM
Hi Neha,
Record whatever you have explained now using SHDB transaction.
You can generate a bdc program from the recording.
ALternatively you can use the bapi BAPI_SALESORDER_CHANGE.
Regards,
Ravi
‎2007 Jul 17 3:19 PM
Hi Friends,
Thanks for quick reply. Actually my requirement is like that
If for a particular line item field reason for rejection code is set then delete that entry & upload plant, item no, amount from excel file.
Any suggestion how to handle this??