Hi Shlomi,
If you check section 26.13.2 of the Application Designer Guide you can find more information regarding the 'assignDataSource' function. There is no reference that it shouldn't work on non-BW sources. Can you explain why this is not working and what kind of message you are getting?
With kind regards,
Martijn