10-01-2008 11:40 AM
i have created a transaction and now i want to make it in display mode whenever i call this tcode from another program
10-01-2008 11:46 AM
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.
10-01-2008 11:46 AM
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.
10-01-2008 11:47 AM
where u want to call this transcation
us syntax.
call ttransaction ztry.
10-01-2008 12:24 PM
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.