Application Development 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: 

GUIXT - different layout depending on HTML- or GUI-Session

Former Member
0 Kudos

Hello,

we want to use GUIXT for disabling some functions in a certain transaction.

The GUIXT scripts work in normal GUI-sessions and in HTML-sessions (ITS). Our request is a different layout depeding on the kind of session type. People using the HTML-session should not be able to use a certain function in a transaction which can be done by a GUIXT script. People using the normal GUI-session instead should be able to use all standard functions of the same transaction.

So we need a GUIXT script, that is able to recognize the type of a session.

Has anyone of you done this before or has a hint how to develop it?

Edited by: Marc Glässer on Oct 15, 2009 3:45 PM

1 REPLY 1

naimesh_patel
Active Contributor
0 Kudos

You may check the GUIXT system variable to know if GUI is active or not. I guess this variable will be empty when you are running on HTML-Session.


&V[_sapgui_version]

Regards,

Naimesh Patel