Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Call SAP_WAPI_CREATE_EVENT in select endselect loop

former_member455947
Participant
0 Likes
1,151

Hi

How to call SAP_WAPI_CREATE_EVENT in select endselect loop. It generates dump after first call.

I want to use this function module in P/S BTE 2210 which is seems to be call in select endselect loop.

I want to triggers a workflow on each document posted via F110 auto payment program.

Regards

Iftikhar Ali

9 REPLIES 9
Read only

former_member455947
Participant
0 Likes
1,060

I am using P/S BTE 2110 not 2210

Read only

Former Member
0 Likes
1,060

Explain the messages you are getting in the dump?

Regards

Vinod

Read only

0 Likes
1,060

Dear Vinod Kumar

I want to triger a custom workflow after the payment run (document posted) in F110.

I found BTE 2110 is not helpful.

Regards

Iftikhar

Read only

0 Likes
1,060

Iftikhar,

Pass this

COMMIT_WORK = ' '

in your function module.

Regards

Ahsan

Read only

0 Likes
1,060

Yes I knwo passing the Commit Work = '' means we are not executing commit work and there will no problem in select endselect block. But doing this will not trigers the event. Also I want to search the BTE which execute at the time of payment run in F110.

Regards

Read only

0 Likes
1,060

use update task statement.

CALL FUNCTION 'SAP_WAPI_CREATE_EVENT' IN UPDATE TASK

Regards

Ahsan

Read only

0 Likes
1,060

Hello Ifthikar,

I have similar requiremt. I need BTE to be trigerred by tcode F110. I have done all the coding and customization for BTE 1120. But it is not trigerred by F110.But it runs for FB01 and F-04. Please help.

Regards,

Abhishek

Read only

0 Likes
1,060

Ahsan bhai the process type of SAP_WAPI_CREATE_EVENT is Remote-enabled Module not Update Module so we canu2019t call it in update task.

Also I want to call this function after the document posting via t-code F110.

I am still unable to find any BTE which is called after payment run in F110.

Regards

Iftikhar Ali

Read only

0 Likes
1,060

can you give the code and program where you exactly call the FM?