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

DElete variants

Former Member
0 Likes
842

Hi All,

I have a BAPI where i am deleting the varients of a program.

But if the program is been excecuting by some one ,& i run the bapi to delete the varients it should throw an error.

Plz help...

Regards,

Anusha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
789

I believe it is not possible to find at runtime that which variant is in use at that point of time. Others may throw more light.

5 REPLIES 5
Read only

Former Member
0 Likes
790

I believe it is not possible to find at runtime that which variant is in use at that point of time. Others may throw more light.

Read only

0 Likes
789

Hi diwakar,

no need to know which variant...just to know the programing is been excuted by some one r not,irrespective of the varient

Read only

0 Likes
789

use FM RS_VARIANT_DELETE to delete variant.

Read only

0 Likes
789

Hi Anusha,

I have a BAPI yes, whats the name?

program is been excecuting by some one online, as job?

just to know the programing is been excuted by some one r not,irrespective of the varient - so to delete what and why?

You better let us know what you want to achieve.

Regards

Clemens

Read only

Former Member
0 Likes
789

Hi,

The screen buffer stores screens (dynpros) for the currently running ABAP programs. Read more on this.

Or else try the FM TH_WPINFO to check if the program is currently running or not.

You may check the below links as well.