cancel
Showing results for 
Search instead for 
Did you mean: 

Custom BO not getting triggered

Former Member
0 Kudos

Hi All,

I have a custom Bo which is not getting triggerd.The BO has just one event and it should get triggered on a entry in a z table. I have done SWU_OBUF and also triggered it manually through SWUE.

It got triggered through SWUE.Please let me know what to do in this scenario.

Thanks in Advance,

saket.

Accepted Solutions (1)

Accepted Solutions (1)

former_member185167
Active Contributor
0 Kudos

Hello,

How have you arranged for the event to be created when there's an entry in the Z table?

If it works via SWUE then it's not a problem of the BO but rather of the event.

When you make an entry in the Z table, does the event appear in SWEL?

regards

Rick Bakker

Hanabi Technology

Answers (4)

Answers (4)

Former Member
0 Kudos

Thnks for all help.

saumya_govil
Active Contributor
0 Kudos

Hi Saket,

Please check whether your code is getting triggered on the table level event.

Put a breakpoint in the code and check that when an entry is made into the table is your code getting called or not.

Check if the FM call to the BO event in this code getting execulted without errors.

Also check if you have correctly made a call to the SAP_WAPI_CREATE_EVENT FM in the code.

Hope this helps!

Regards,

Saumya

Former Member
0 Kudos

Hi Saket,

I think u have to make an entry in SWEC transaction also.

Write ur BO, event and change document name.

Regards,

Mamta

surjith_kumar
Active Contributor
0 Kudos

Hi,

Refer this [Link |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e06f2480-02de-2a10-72af-eed9a513a6c6] to fix it.

Regards,

Surjith