2008 Apr 22 8:18 AM
Hi,
I have a program. The purpose of the program is to retrieve the data matching the selection criteria and downlod the same to a file.
In the selection screen, I have a parameter called 'EVENT'. Here, user enters some event name. Generally, they enter the 'Background job processing events'.
So, my requirement is... once the files are successfully downloaded, the program should trigger the 'EVENT' specified in the selection screen at run time.
Can someone help me in this regard. How to trigger an EVENT in the program. Is there any Function Module or Method available in SAP which triggers the EVENT at runtime.
And is there any table available in SAP which stores all the events available in SAP. Because, whenever the user enters an EVENT in the selection screen, we should check whether the event is valid or not. So, if there is any table available which has all the events then, it will be easy I guess. or is there any other way to validate the EVENT name.
Please help me. Thanks in advance,
Best Regards,
Paddu.
2008 Apr 22 9:07 AM
Hello Paddu,
have a look at tables
- btcsev, btcsed (system events)
- btcuev, btcued (user events)
and use function BP_EVENT_RAISE.
kind regards
Walter Habich
Hi,
I have a program. The purpose of the program is to retrieve the data matching the selection criteria and downlod the same to a file.
In the selection screen, I have a parameter called 'EVENT'. Here, user enters some event name. Generally, they enter the 'Background job processing events'.
So, my requirement is... once the files are successfully downloaded, the program should trigger the 'EVENT' specified in the selection screen at run time.
Can someone help me in this regard. How to trigger an EVENT in the program. Is there any Function Module or Method available in SAP which triggers the EVENT at runtime.
And is there any table available in SAP which stores all the events available in SAP. Because, whenever the user enters an EVENT in the selection screen, we should check whether the event is valid or not. So, if there is any table available which has all the events then, it will be easy I guess. or is there any other way to validate the EVENT name.
Please help me. Thanks in advance,
Best Regards,
Paddu.
2008 Apr 22 9:07 AM
Hello Paddu,
have a look at tables
- btcsev, btcsed (system events)
- btcuev, btcued (user events)
and use function BP_EVENT_RAISE.
kind regards
Walter Habich