on 10-25-2007 7:51 AM
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
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 .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.