the over all idea is to execute a r3 bapi through widget.This is my first aim. Once this is done, the bapi will return me the inventary level and if it is below a particlar range, will want red light in widget, otherwise green light.
please tell me how to execute a bapi through widget