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

Function module in a program.

Former Member
0 Likes
913

Hi Everyone,

I want to call this fm in a program and display the results. I have problems in giving the exporting parameters for this fm.

Can anyone help me with this.

CALL FUNCTION 'STATUS_ANZEIGEN'

EXPORTING

DYNPPROG = DYNPPROG

DYNPRO = DYNPRO

KZ_SYDYN = KZ_SYDYN

PFKEY =

PROGRAMM = PROGRAMM

REPORT = REPORT

  • SUBPROG = ' '

  • SUBDYNP = ' '

Thanks,

Prashant

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
871

Hi Prashanth,

There is no table where system status is stored. You can rather use individual value and most of them are in sys table (syst).

If you wanna use a existing program then try your luck in "SAPLSHSY".

Please close this thread if your question is answered. Open a new one if there is a different question.

BR

Rakesh

6 REPLIES 6
Read only

sudhindra_chandrashekar
Product and Topic Expert
Product and Topic Expert
0 Likes
871

Hi,

For what reasons are you using this function module. If you can let us know what you want to acheive then there might be many ways of doing it.

If you want to use this function module you will have to supply all the import parameters as none of them are optioinal.

Best regards,

Sudhi

Read only

0 Likes
871

Hi,

I have tool which is used to display all the database size information. The requirement is also to display the system information. So forums help someoen suggested to use this fm to disdplay the entire system information.

That's why i need to used this fm in my program to display the total system information.

thanks,

Regards,

Prashant.

Read only

0 Likes
871

Ok,

Just give the current program's data:

DYNPPROG = SY-REPID

DYNPRO = SY-DYNNR

KZ_SYDYN = "This can be blank"

PFKEY = SY-PFKEY

PROGRAMM = SY-REPID

REPORT = SY-REPID

The values that you give here will be displayed in the screen.

Hope this helps,

Sudhi

Read only

Former Member
0 Likes
871

Hi Prashanth,

This FM displays the status as a window but you will not get the data in table format.

If you need this as a table format then you have to look into other methods.

If you still wanna show the status window then give you current program details (you can also use system flds like sy-dynnr etc) and it will popup a window with current system details.

Let me know if you need more clarifications..

BR

Rakesh

Read only

0 Likes
871

Hi Rakesh,

You are right, how to gett he data in table format. It will be very nice of you to suggest me how to go about.

thanks,

Prashant.

Read only

Former Member
0 Likes
872

Hi Prashanth,

There is no table where system status is stored. You can rather use individual value and most of them are in sys table (syst).

If you wanna use a existing program then try your luck in "SAPLSHSY".

Please close this thread if your question is answered. Open a new one if there is a different question.

BR

Rakesh