Skip to Content
author's profile photo Former Member
Former Member

Get the stack of SY-UCOMM or all the values of SY-UCOMM in a flow.

Hi All,

I just wanted to know, whether it is possible to get all the values of SY-UCOMM in a flow

or may be immediate pervious value of SY-UCOMM.

Can some one please post there view.

Thanking You All.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2013 at 06:13 PM

    Hi All,

    Marking this thread as assumed answer, with the belief that it is currenlty not possible.

    But I do not have any proof, any body else if finds discrete answer, please post.

    Thanking You All,

    Enjoy SAP.

    Add a comment
    10|10000 characters needed characters exceeded

    • There is no such stack.

      There is no proof that there is no such stack. There is also no proof that there is an advanced chess-playing artificial intelligence hidden in the FICO module, nor that SAP isn't recording every keystroke you make.

      Features that don't exist generally aren't documented. It takes up too much room.

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2013 at 03:24 PM

    You know that the debugger provides that information? At least the old debugger does. I imagine it's there, but I have trouble finding it in the new one. Also, if there is a dump, then the dump does also.

    Does that help, or do you need something different?

    Neal

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2013 at 04:50 PM

    Hello Ankit

    Will creating a watchpoint in your program (using the debugger) help?

    Then you will catch everytime the value changes.

    Stuart.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Ankit,

      Can you just enhance the code you are interested in to save a flag to a memory ID, which your exit then checks?

      Personally I would not trust the values of sy-ucomm to reflect what was actually pressed outside of PAI logic.

      You may find another developer will re-use or change these values explcitly (for example if they add a new button to a screen).

      Stuart.

  • Posted on Dec 13, 2013 at 08:49 PM

    Hi Ankit

    How about using the ABAP traces.. SE30 or ST12?

    With the analysis results you can look for the system events or sy-ucomm.

    Please let me know if it gives you the one what you are looking for.

    Regards,

    Venkat

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Venkateswaran,

      Thanks a lot for the information....!!!!!!

      But I want these values i some internal table or some other variable, so that I can use them some where else in exits in the same flow....!!!!!!

      Thats why I need them......!!!!!!!!

      I cant use the values in a debugger........!!!!!!!

      Thanking You All.

  • Posted on Dec 15, 2013 at 10:49 AM

    Hi,

    I do not know if this is posible in your case.

    But Have you consider using assign?

    I found this code in a BADI:

    CONSTANTS: c_field_name VALUE '(SAPLMIGO)GODYNPRO' .
    FIELD-SYMBOLS: <st_godynpro> TYPE godynpro .
    ASSIGN (c_field_name) TO <st_godynpro>.

    c_field_name is made up of the program name and a field or structure that is define as global.

    Personaly I do not like using assign with SAP standartd program.

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 16, 2013 at 07:01 AM

    Hi,

    Why don't you append it in a global area after the pai is trigerred ?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 16, 2013 at 07:07 AM

    Hi Ankit

    Is this a custom program or standard one where you want the history what actually you are trying to achieve.

    Nabheet

    Add a comment
    10|10000 characters needed characters exceeded

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.