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

Single Screen

Former Member
0 Likes
603

Dear All

The Devlopment All Tcodes are assign single screen

which will i select tcode that tcode run

how will assign all tcodes?

Thanks and Regards

Suresh

4 REPLIES 4
Read only

Former Member
0 Likes
540

Hi Suresh,

All T-codes are will be present in Table TSTC. Write a qurey slecting all the t-codes from the TSTC and display every tocde in one screen. After clicking on particular t-code that t-code should be saved in one variable and then use call transaction statement give the varible name in single codes in which the t-code saved and it will run that t-code.

<b> hope this will help u some...</b>

reward points if useful

Regards,

sunil kairam.

Read only

Former Member
0 Likes
540

Hi,

REPORT zstemp.

PARAMETERS : tcode LIKE tstc-tcode.

DATA:itab LIKE tstc OCCURS 0 WITH HEADER LINE.

START-OF-SELECTION.

SET PARAMETER ID 'TCD' FIELD tcode.

CALL TRANSACTION tcode . " 'XK03'.

SELECT * FROM tstc INTO TABLE itab UP TO 1000 ROWS.

LOOP AT itab.

WRITE:/ itab-tcode.

ENDLOOP.

Please use copy the above code in se38 and run once and then change according to your requirement...

Thanks

Sivaparvathi

Please reward points if helpful..........

Read only

0 Likes
540

hi Siva Parvathi

Thanks for your replying

i want module pool program

Thanks Regards

Suresh

Read only

0 Likes
540

A module pool program is easy

create a screen 100

add module pbo name module pbo_100.

and a pai module module pai_100 just after the respective event statement in flow logic of the screen

in the main report call the screen first

and call module pbo as

module pbo_100 output.

enter the desired code here where what you need to be done that is the above code

endmodule.