Z Business object not populating object key
I have created business object zbus2030 ( Copy of bus2030 ) for Inquiry .
Have added some new events and triggering them from User Exit using function module SAP_WAPI_Create_event .
I want one event to be triggered on whn new inquiry is created and some Z fields of inquiry satisfy some already defined conditions in user exit . ( Similar to CREATED event ) .
How to populate object key , i.e inquiry number in User exit .
this event is getting triggered but without any objkey so workflow goes in error .
Can you please sujjest me some way to populate objkey for this problem .
Thanks in Advance ,