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

Back to transaction after call transaction

Hello.

In my program "ztest1" I call a program "ztest2" which have transaction "ztest2_transaction" using this code.

"ztest1 code

DATA:

lt_bdcdata TYPE TABLE OF bdcdata,

ls_bdcdata TYPE bdcdata,

ls_opt TYPE ctu_params.

ls_bdcdata-program = 'ztest2'.

ls_bdcdata-dynpro = '1000'.

ls_bdcdata-dynbegin = 'X'.

APPEND ls_bdcdata TO lt_bdcdata.

CLEAR ls_bdcdata.

ls_bdcdata-fnam = 'BDC_OKCODE'.

ls_bdcdata-fval = '=ONLI'.

APPEND ls_bdcdata TO lt_bdcdata.

ls_opt-dismode = 'E'.

ls_opt-racommit = 'X'.

ls_opt-nobinpt = 'X'.

CALL TRANSACTION 'ztest2_transaction'

USING lt_bdcdata

OPTIONS FROM ls_opt.

When I clik button "Back" i back to First screen of program "ztest2" but i would like to back to first screen of program "ztest1". How can i do it?? Please help me.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 05:45 PM

    Why not SUBMIT the other program AND RETURN?

    Rob

    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.