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: 

Can I found out wether or not a Transaction has a Gui ?

Former Member
0 Kudos
309

Hello Everybody,

I have actually one question.

I need to know when I'm executing a Transaction to know wether or not this transaction has a GUI.

Well, I think this's possible but what I don't know is, if there's mechanism where I can ask the SAP-System but the mean of table if this Transaction has a GUI.

Thanks for your help.

I'll appreciate that, if you can give me some tips.

Best regards,

Kais

1 ACCEPTED SOLUTION

Former Member
0 Kudos
190

you check that transaction code in SE93 whether all check box (GUI for HTML, GUI for JAVA, GUI for Windows) are selected for this tcode or not.

Regards,

Joan

7 REPLIES 7

former_member194669
Active Contributor
0 Kudos
190

Try to use function module GUI_IS_AVAILABLE and check whether the gui is available,

0 Kudos
190

Thanks for your quick response.

But actually I'm looking for a Function Module where I can say check for a given Transaction e.g. se16, if it has a GUI, that's if the Program starting from this Transaction has a GUI.

Regards,

Kais

Former Member
0 Kudos
191

you check that transaction code in SE93 whether all check box (GUI for HTML, GUI for JAVA, GUI for Windows) are selected for this tcode or not.

Regards,

Joan

0 Kudos
190

I know, but I'm looking for the informations where this checkboxes are written.

In the sense I need to find the internal table where the data of each Transaction are stored.

e.g. Transaction : se16

GUI-HTML "Not Checked"

GUI-JAVA "Not Checked"

GUI-WINDOWS "Not Checked"

Or maybe a Function Call like

CALL SOMETHING

EXPORTING

Transaction_ID = tranc_id

IMPORTING

GUI_STATUS = gui_status

Regards,

Kais

0 Kudos
190

hi,

Look into TSTCC table.

ags.

0 Kudos
190

U can use Function Module

RPY_TRANSACTION_READ.

In this pass TCODE in exporting and in tables GUI_ATTRIBUTES u will get the values corresponding to TCODES attributes . the 2nd field of this table corresponds to GUI status ( 1 GUI, blank NO GUI)

former_member605083
Participant
0 Kudos
190

Look into table TSTCC, enter tcode and execute. The GUI fields are SAPGUI for HTML ( 1 or blank), SAPGUI for windows ( X or blank) and SAPGUI for Java (X or blank).

Hope it helps.