‎2010 Jan 20 4:24 AM
DEAR ALL,
I AM USING BELOW MENTIONED FM WITH PARAMETER PERIODTYPE AND STARTDATE. BUT DATA IS NOT DISPLAY.
PLEASE EXPLAIN.
SAPWL_WORKLOAD_GET_STATISTIC
THANKS
NARENDRA JINGER
‎2010 Jan 20 7:11 AM
Hi narendrajinger ,
The possible issue could be values you are passing in the parameters, Just follow the below code, Hope this resolves your issue.
PARAMETER: month TYPE dats DEFAULT sy-datum.
DATA: t_usertcode TYPE STANDARD TABLE OF sapwlustcx,
wa_usertcode TYPE sapwlustcx.
CALL FUNCTION 'SAPWL_WORKLOAD_GET_STATISTIC'
EXPORTING
periodtype = 'M'
startdate = month
instance = 'TOTAL '
TABLES
application_statistic = t_usertcode
EXCEPTIONS
unknown_periodtype = 1
no_data_found = 2
no_server_given = 3
OTHERS = 4.
Thanks
Saurabh
‎2010 Jan 20 7:11 AM
Hi narendrajinger ,
The possible issue could be values you are passing in the parameters, Just follow the below code, Hope this resolves your issue.
PARAMETER: month TYPE dats DEFAULT sy-datum.
DATA: t_usertcode TYPE STANDARD TABLE OF sapwlustcx,
wa_usertcode TYPE sapwlustcx.
CALL FUNCTION 'SAPWL_WORKLOAD_GET_STATISTIC'
EXPORTING
periodtype = 'M'
startdate = month
instance = 'TOTAL '
TABLES
application_statistic = t_usertcode
EXCEPTIONS
unknown_periodtype = 1
no_data_found = 2
no_server_given = 3
OTHERS = 4.
Thanks
Saurabh