‎2010 Apr 27 10:36 AM
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
‎2010 Apr 27 10:37 AM
‎2010 Apr 27 12:50 PM
Explain the messages you are getting in the dump?
Regards
Vinod
‎2010 Apr 27 12:58 PM
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
‎2010 Apr 27 1:12 PM
Iftikhar,
Pass this
COMMIT_WORK = ' '
in your function module.
Regards
Ahsan
‎2010 Apr 27 1:16 PM
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
‎2010 Apr 27 1:30 PM
use update task statement.
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT' IN UPDATE TASK
Regards
Ahsan
‎2010 Apr 27 3:57 PM
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
‎2010 Apr 28 6:02 AM
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
‎2010 Apr 28 12:30 PM
can you give the code and program where you exactly call the FM?