cancel
Showing results for 
Search instead for 
Did you mean: 

'SAP_WAPI_CREATE_EVENT' not calling the correct WF

Former Member
0 Kudos

Hi all,

We have created a business object ZBOR and inherited everything from Business object FIPP, now we created a new business object ZBORA. We are using a FM module SAP_WAPI_CREATE_EVENT to initiate the WF from a custom web dynpro application and I have used the following code:

CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'

EXPORTING

object_type = 'ZBORA'

object_key = lv_data

event = 'CREATED'

commit_work = 'X'

event_language = sy-langu

language = sy-langu

user = sy-uname.

now the problem is even if I have specified it to use ZBORA as an object type ... it still calling the WF associated with ZBOR and not ZBORA.

Can you guys please help me with this, we might be missing something here.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I resolved it on my own !!!

Former Member
0 Kudos

Hi,

Can you pls post the solution. I am facing a similar problem & i used SWC macros to trigger the event.