on 09-24-2011 7:19 AM
Hi all
I want to get system OS login id in WDA. Please sugest me to get. I got this method but it did not work in WDA, which is working fine in ABAP.
DATA: username TYPE string.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GET_USER_NAME
CHANGING
USER_NAME = username
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
others = 3.
IF SY-SUBRC ne 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD CL_GUI_CFW=>UPDATE_VIEW
EXCEPTIONS
CNTL_SYSTEM_ERROR = 1
CNTL_ERROR = 2
others = 3.
Thanks in advance
Indiranjthn
Hello Indiranjthn,
Web Dynpro ABAP is a different web application framework. It does not support GUI methods. You can read more about its limitations in SAP note 1098009.
Please consider using the Web Dynpro ABAP forum for questions on WDA.
Regards.
Cris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.