cancel
Showing results for 
Search instead for 
Did you mean: 

SWNC_GET_WORKLOAD_STATISTIC Usage

OhMySAP
Explorer
0 Kudos
883

All,

I am getting NO_DATA_FOUND when executing SWNC_GET_WORKLOAD_STATISTIC function module. I must be running it with improper Import parameters. Could anyone please comment on what I am doing wrong here? Here is an example:

PERIODTYPE: M

PERIODSTRT: 08.03.2023 (Going with the assumption that M means Month and entering the date as March 8th, 2023)

I entered IL4 for system ID as that is what I see under the /usr/sap directory:

/usr/sap # ls

ccms hostctrl IL4 sapservices sapservices.1 tmp trans

For Instance, I have entered 01 as I see D01 under /usr/sap/IL4

ls /usr/sap/IL4/

ASCS00 D01 hdbclient SYS

Accepted Solutions (0)

Answers (4)

Answers (4)

RaymondGiuseppi
Active Contributor

Try with

  • SYSTEMID = sy-sysid.
  • INSTANCE = 'TOTAL'. " or get list from a FM such as TH_SERVER_LIST
heterocigoto
Participant
0 Kudos

Please check the table: SWNCMONIINDEX
It should give you all the required data to run the Function Module.

This is how I run the FM in my system.

heterocigoto_0-1744749057916.png

 

OhMySAP
Explorer
0 Kudos

Thanks for your pointers. I tried calling with the config show below. I don't get any data (all the Export parameters show 0 for each entry).

I then tried called SWNC_GET_WORKLOAD_SNAPSHOT with the same start date (03.03.2023) and I see tons of output in the Export parameters (similar table names).

Any idea why the difference? Maybe I need to adjust the Import Parameters for SWNC_GET_WORKLOAD_STATISTIC? Thank you.

Sandra_Rossi
Active Contributor
0 Kudos

You may move this additional information into your question, by using Actions > Edit.

jmodaal
Active Contributor
0 Kudos

Hello,

for parameter INSTANCE the name of an application server is to be given (case-sensitive), not the system number.

Kind regards

Jan