cancel
Showing results for 
Search instead for 
Did you mean: 

value of global variables in ITS

volker_bock
Participant
0 Kudos

Hello,

is it possible to get the values of global program variables within the MOBILE.JS-Coding of an ITS Service without having it displayed on the HTML page?

In my example I would like to get the value of "MENU_ID" in the MOBILE.JS-Coding, because I want the menu screens to react differently to F3, depending whether I am in the uppermost menu screen or in any subscreen.

Now:

F3 in submenu    -> jump to the menu aboce

F3 in main menu -> logoff

what I want:

F3 in submenu    -> jump to the menu aboce

F3 in main menu -> either do nothing or show the question "do you really want to log off"

Thanks in advance.

Volker Bock

Accepted Solutions (0)

Answers (1)

Answers (1)

yuki_wang
Active Participant
0 Kudos

Hi Volker Bock,

Please see if note 1491666 helps.

Best regards,
Yuki

volker_bock
Participant
0 Kudos

Hi Yuki Wang,

no I am afraid this is not a note which helps. What I wanted to know is: If I have a certain global variable in the SAP coding, is there a chance to have access to its value in the MOBILE.JS coding, even if it is not displayed on the ITS screen.

But thanks anyway

Regards

Volker Bock