2009 Mar 20 8:54 AM
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
2009 Mar 20 8:57 AM
How can you execute a program if its not active .You can check in se80 tcode
2009 Mar 20 8:58 AM
Hi
I am in a program where i am checking that another program is active or inactive
Thanks.
Smita
2009 Mar 20 9:22 AM
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
2009 Mar 20 8:59 AM
2009 Mar 20 9:20 AM
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