cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering event from BTE 1050

Former Member
0 Kudos

Hi,

i am working on a workflow scenario where the workflow has to be triggered based on certain conditions.

i have created a subtype of BO BKPF and delegated the same.

now i have created the BTE Event 1050 and in the related function module for this BTE i am calling SAP_WAPI_CREATE_EVENT to trigger the custom event to trigger my workflow.

I am faciong a problem that the fm for BTe is not getting executed when the document is posted using fb01.

i have tried the same by debugging and triggering the event from BTE 1030 and it works fine.

Can some one help me in understanding why the BTE 1050 is not getting executed.

Regards,

Tarun bahal

Accepted Solutions (0)

Answers (2)

Answers (2)

surjith_kumar
Active Contributor
0 Kudos

Hi,

For BTE check this [link|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7].

Regards,

Surjith

Former Member
0 Kudos

Hello!

I have the same problem. Did you resolve your problem?

Former Member
0 Kudos

Tarun,

Please check whether the workflow linkage is active or not.

If it is active, then you need to do some customization in spro.

Financial acctng ->document ->document parking ->create workflow variant or

Run transaction OBWA

Maintain a table entry with your workflow template.

Now go to transaction OBWJ

Maintain a table entry.

After configure these things, your workflow will defanitely getting triggered.

If you have any issues please revert back.

Thanks,

Vijay.

Former Member
0 Kudos

R u using the right BTE.....try to put break-point in the Z Function module and then see whether it is really stopping on posting or not.

Former Member
0 Kudos

I think i am using the right BTE.

i am using BTE 1050

and if i put the break-point in the sunction module .... the system does not reach the break-point.

can u suggest which OTHER bte CAN I USE AND WHY WONT THIS bte WORK..

i prefer a point where the document is laready saved and number generated.

Regatrds,

Tarun Bahal

Former Member
0 Kudos

Hi,

Check if you are using the correct BTE that suffice your requirement. May be, try all of the below, one by one.

00001050 POST DOCUMENT: Accounting interface

00001060 POST DOCUMENT: Invoice check

00001070 POST DOCUMENT: GUI Callup at Line Item Level

00001080 POST DOCUMENT: Key Texts

00001085 POST DOCUMENT: Functions for Line Item

Goodluck

venu