Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

transaction in display mode

Former Member
0 Kudos

i have created a transaction and now i want to make it in display mode whenever i call this tcode from another program

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

ust the following system field, and set your screen to display mode.

sy-calld- Contains a blank character in the first program in a

call sequence, otherwise contains the value "X". Is set to "X"

after calls using CALL TRANSACTION, CALL DIALOG, or

SUBMIT ... AND RETURN. Empty if the program was started

using LEAVE TO TRANSACTION or a transaction from the screen. A call using SUBMIT (without AND RETURN) assumes the value of the calling program.

3 REPLIES 3

Former Member
0 Kudos

Hi,

ust the following system field, and set your screen to display mode.

sy-calld- Contains a blank character in the first program in a

call sequence, otherwise contains the value "X". Is set to "X"

after calls using CALL TRANSACTION, CALL DIALOG, or

SUBMIT ... AND RETURN. Empty if the program was started

using LEAVE TO TRANSACTION or a transaction from the screen. A call using SUBMIT (without AND RETURN) assumes the value of the calling program.

Former Member
0 Kudos

where u want to call this transcation

us syntax.

call ttransaction ztry.

Former Member
0 Kudos

Create a new transaction for display.

In the flow logic of each screen, make sure to set all fields to output only when the new transaction is used.

You can set each field to output only by:

loop at screen.

  case sy-tcode.
  when 'xxx'. " normal transaction.
    screen-input = '1'.

  when 'yyy'. " your display transaction
    screen-input = '0'.

  endcase.
  
  modify screen.

endloop.