Application Development and Automation 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: 
Read only

User Interface

Former Member
0 Likes
606

Hi,

I have to create a custom Tcode. It should be available in three modes create, change and display modes. I thing we can create only one Tcode. But how this should be available in change and display modes. Please brief.

Rdgs,

gsas.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
552

hi

try to create 3 transaction codes seperately

then in the first program

IN SE51

PBO

LOOP AT SCREEN.

do the screen modifications like

if sy-tcode = '2'.

screen-active = '1'.

screen-input = '1'.

elseif sy-tcode = '3'.

screen-active = '1'.

screen-input = '0'.

endif.

modify screen.

ENDLOOP.

PAI

Regards

5 REPLIES 5
Read only

Former Member
0 Likes
552

Hi,

Could you be more specific in your requirment.

Why do you need this transaction for?

Is this for maintaining some custom table?

Incase it is for some maintaining a custom table create a TCODE of type parameters transaction making use of SM30.

Regards,

Ankur Parab

Read only

0 Likes
552

Hi,

I am creating a module pool program, for which a Tcode is needed, that I can create thru se93. But what the requirement is , that tcode should be available in Display, create and change modes.How to handle this? Please brief.

Rgds,

gasa.

Read only

0 Likes
552

In SAP vision, for every mode (create, display and edit) three different t-codes are created, but the same screens are used. The only difference (more or less) is setting all the fields to display in PBO by using LOOP AT SCREEN.

One more thing to consider, when trying to display or edit, where to enter the number which you like to edit? In create mode there will be no need for an additional screen, but for edit and display you may want to consider creating another screen (entry screen) for entering (selecting) the number to be displayed, edited.

So, one t-code is possible, but standard would be three.

Read only

Former Member
0 Likes
552

Hi,

As per my knowledge change and display transactions will have extra screen than create transactions. So you need to create 3 individual transactions for create, change and display.

if you look at the standard transactions also there is individual transactions for create,change and display.

What you need to do is for display mode you need display the details for the particual no.(lilke material no) in display mode only (that can be handled in PBO of the screens using loop at screen).

For change mode you need to display the details for the particular no (like material no.) in editable mode.

Regards,

venu

Read only

Former Member
0 Likes
553

hi

try to create 3 transaction codes seperately

then in the first program

IN SE51

PBO

LOOP AT SCREEN.

do the screen modifications like

if sy-tcode = '2'.

screen-active = '1'.

screen-input = '1'.

elseif sy-tcode = '3'.

screen-active = '1'.

screen-input = '0'.

endif.

modify screen.

ENDLOOP.

PAI

Regards