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

about Local OS

Former Member
0 Likes
667

hello expert:

would you please tell me in detail about how to judge what OS local system is?

Best Regards,

Kevin

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
634

if u use this function, u can find the operating system.

CALL FUNCTION 'WS_QUERY'

EXPORTING

QUERY = 'WS'

IMPORTING

RETURN = WINSYS.

IF WINSYS(2) NE 'WN'. "Win 3.X no good either

WRITE: / 'Windows NT or Windows 95/98 is required'.

EXIT.

ENDIF

Edited by: Storyguy on Oct 9, 2008 7:45 AM

hello expert:

would you please tell me in detail about how to judge what OS local system is?

Best Regards,

Kevin

3 REPLIES 3
Read only

Former Member
0 Likes
635

if u use this function, u can find the operating system.

CALL FUNCTION 'WS_QUERY'

EXPORTING

QUERY = 'WS'

IMPORTING

RETURN = WINSYS.

IF WINSYS(2) NE 'WN'. "Win 3.X no good either

WRITE: / 'Windows NT or Windows 95/98 is required'.

EXIT.

ENDIF

Edited by: Storyguy on Oct 9, 2008 7:45 AM

Read only

Former Member
0 Likes
634

u can find the operating system to use this function.

CALL FUNCTION 'WS_QUERY'

EXPORTING

QUERY = 'WS'

IMPORTING

RETURN = WINSYS.

IF WINSYS(2) NE 'WN'. "Win 3.X no good either

WRITE: / 'Windows NT or Windows 95/98 is required'.

EXIT.

ENDIF

Read only

Former Member
0 Likes
634

u can find the operating system to use this function.

CALL FUNCTION 'WS_QUERY'

EXPORTING

QUERY = 'WS'

IMPORTING

RETURN = WINSYS.

IF WINSYS(2) NE 'WN'. "Win 3.X no good either

WRITE: / 'Windows NT or Windows 95/98 is required'.

EXIT.

ENDIF