Showing results for 
Search instead for 
Did you mean: 

Use of TVARVC values in Process Chain

0 Kudos


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 !

Accepted Solutions (1)

Accepted Solutions (1)

Active Participant
0 Kudos

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.


Balaji V

0 Kudos

Thanks to all,

My problem is solved.


Answers (1)

Answers (1)

Active Contributor
0 Kudos