on 03-09-2009 10:02 PM
Hi,
According to the value of one variable stored in TVARVC, I'd like to execute (or not) a process chain. Is there any easy way to do so ?
For the moment, the solution I think about is :
- Run a program to read values in TVARVC
- Raise a specific event depending on these values
- Schedule the process chain after this event
As I am not very comfortable with ABAP, I would appreciate if you have any good ideas, or code sample that I could implement.
Thanks !
Hi Alex,
The easiest way is to write a piece of ABAP code using the Function module "BP_EVENT_RAISE".
1) Create an event in SM64 and make the process chain as Event triggered.
2) Create a new ABAP program and include the above function module.
3) Pass the parameters of the TVARVC table and check if the value in the table matches with the desired value. If so trigger the event.
4) Schedule the ABAP program in SM36 as a daily job.
Everyday the program gets executed and checks the value in TVARVC table. If the value mathces, then the event will be triggered.
Let me know if you need any further info.
Regards,
Balaji V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.