cancel
Showing results for 
Search instead for 
Did you mean: 

Z Business object not populating object key

Former Member
0 Kudos

Hi ,

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 ,

Amee Anadkat

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

Thanks for your reply ...

Its already delegated . It doesn't answer my question .

I just dont want to use Created event . I need to check certain conditions whn new Inquiry is getting created n thts the reason I developed new Z business object .

How to populate object key at the time of creation , thts the only concern .

Former Member
0 Kudos

Hi Amee

The best way to do this is to set the object as delegated from BUS2030. This will allow your new attributes, methods and event to be available calling the parent (BUS2030) at runtime and means you will not have to do any special coding to implement your changes.

To set this up, goto SWO1 and choose the Menu path "Settings>Delegate>System wide". Select New Entries and enter Object Type = BUS2030; Delegation Type = ZBUS2030 and save

Then you will be fine.

Regards

Gareth