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

calling transaction codes.

Hi Everyone,

I have around 5 different programs, and have transaction codes for them. Now if I navigate from one screen to another say for until the 4 screen and then again if I press the back button, it has to come back to the previous screen until the last one.

Can this be implemented through callstack if so, how can it be done, any suggestions.

It would be of great help if anyone can help me.

Thanks,

Prabs.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 30, 2005 at 08:42 PM

    Hi

    You can use statament CALL TRANSACTION to go to next program and LEAVE PROGRAM to go back.

    Max

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 01, 2005 at 05:02 AM

    Hi

    If you use call transaction then you can go back only one step with leave program . There is no way to determine previuos steps. You can still achieve this -

    In Program for ( TRANSACTION Z1 )

    CALL TRANSACTION Z2 .

    In Program for ( TRANSACTION Z2 )

    CALL TRANSACTION Z3 .

    LEAVE PROGRAM.

    In Program for ( TRANSACTION Z3 )

    CALL TRANSACTION Z4 .

    LEAVE PROGRAM.

    If now you branch to Z4 and click a back button here it will goto ( internally ->Z3 -> Z2 ) to Z1 . You have to place the "LEAVE PROGRAM" just after the call transaction.

    If you are using call screen ( within same program ) you can use SET SCREEN 0 . LEAVE SCREEN to branch to first screen in call sequence.

    You can also try function module SYSTEM_CALLSTACK in your code . With every call transaction a new call stack is created.

    ( You can even check in debugging the call stack ).

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 03, 2005 at 04:25 AM

    Use

      CASE p_column.
      WHEN 'KNUMA'.
        IF NOT lw_output-knuma IS INITIAL.
        SET PARAMETER ID 'VBO' FIELD lw_output-knuma.
     <b>CALL TRANSACTION 'VBO3' AND <i>SKIP FIRST SCREEN</i>.</b>   ENDIF.
      ENDCASE.

    Hope this helps.

    Kindly reward and close the thread.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2005 at 05:19 AM

    Hi,

    In case you have called the transactions 4 times as said in the above explanations please also note that you have to close all the Windows that were opened if you would like to close this application.

    Please reward points if this explanation is useful.

    Regards,

    Siva

    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.