2012 Aug 29 4:52 PM
Hi All,
I have an issue here with updating activities using the function SD_SALES_ACTIVITY_SAVE.
The activity details are in standard tables VBKA and VBKOF. When above function is called like shown below.
When I pass a new value for vbka-ktabg, for instance, it updates that field in VBKA but the same field exists in VBKOF and I want that to be updated as well.
How do I manage to do that? I thought this standard function will update VBKOF too, but it hasn't.
CALL FUNCTION 'SD_SALES_ACTIVITY_SAVE'
EXPORTING
fi_update_task = ' '
fi_aktyp = 'V' " for update
TABLES
fi_xvbadr = vbadr
fi_xvbfa = vbfa
fi_xvbka = vbka
fi_xvbpa = vbpa
fi_xvbuk = vbuk
fi_xvbuv = vbuv
fi_yvbka = yvbka
fi_yvbpa = yvbpa
fi_yvbuk = yvbuk
fi_yvbadr = yvbadr.
Thanks,
Tabraiz
2012 Aug 30 9:48 AM