Application Development 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: 

Regarding Inactive Status

Former Member
0 Kudos
354

Hi all,

I have to find out that a program in active or inactive at runtime within a program.

Can anybody help me reagrding this ,

Thanks,

Smita

5 REPLIES 5

Former Member
0 Kudos
112

How can you execute a program if its not active .You can check in se80 tcode

Former Member
0 Kudos
112

Hi

I am in a program where i am checking that another program is active or inactive

Thanks.

Smita

0 Kudos
112

Tables:

CROSS

DWINACTIV

Just use select query on the table at runtime.

EX:

Select Single 
          Include
          from cross
          into <Field>
          where include = <Program>
           AND state = 'I'.                   " Inactive.

Regards,

Gurpreet

former_member222860
Active Contributor
0 Kudos
112

Check this DB view : D010LINF

and the field: R3STATE

Former Member
0 Kudos
112

Check database view PROGDIR.Field STATE shows the status of the report.If report is active view will show only one entry for that report with STATUS A, if it is inactive there will be two entries.

Hope this helps.

Edited By Tejaswini Khante