Skip to Content

value of global variables in ITS

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 10, 2014 at 07:27 AM

    Hi Volker Bock,

    Please see if note 1491666 helps.

    Best regards,
    Yuki

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.