cancel
Showing results for 
Search instead for 
Did you mean: 

Raise EVENT from BTE doesnt work

Former Member
0 Kudos

Hi Experts,

Currently I am having problems with raising an event from BTE.

I built a workflow Z and I am using BOR BKPF

event: CLEARINGREVERSE.

Also, I have implemented the BTE 1120 to raise my ZWF:

However, when I process the transaction the wf is not raised, and when I go to trx SWEL it is empty. But I if I execute SWUE or SWUS, the wf is raised. I was thinking the problem is the BTE because I decided to raise the event in a ztest program and it works, my problem is that I need raise the event from the BTE.

What I am doing wrong? Any thoughts would be much appreciated.

SuhaSaha
Advisor
Advisor
0 Kudos

Hello,

You need to clarify:

  1. whether you are using the Process or the Publish/Subscribe BTE 1120,
  2. why are you raising the WF event in "update task"?

BR,

Suhas

View Entire Topic
Former Member
0 Kudos

Hey guys!!!

thank you very much for you help, I solved my problem.

In sap documentation I found this:

"When a Business Transaction Event occurs the system calls a function module which creates the BOR event. To do this, this function module "converts" the data from the Business Transaction Event into the format suitable for the event and creates the appropriate event for the Business Transaction Event. The function module hence has a parameter interface and implementation which are appropriate for the Business Transaction Event."

So, I decided to implemented the interfaz: SAMPLE_INTERFACE_00001040. Obviously, I copied in a Z before and now my wf is raised and it works perfectly.