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

Creating Transaction code

Former Member
0 Likes
3,007

Hi Friends..

I want to create transaction code for zprogram.

iam not using any screen or selection screen statments in this program.

i executed this program it directly gave the output.

In this case how can i create Transaction code for this program.

Thanks in advance.

Gowrishankar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,096

hi,

SE93 - T.code for creating a transaction.

goto se93 -> give transaction name [Zxxxxxx] -> create -> give descirption -> select required options -> continue -> give program name n screen no [1000] , in sap gui options select required gui support -> save

then a transaction is created and in command box u can give the name of the created transaction code.

if helpful reward some points.

with regards,

Suresh Aluri.

14 REPLIES 14
Read only

Former Member
0 Likes
2,096

Hi

open u r program in se80 and assign transaction code to it ....

Read only

kiran_k8
Active Contributor
0 Likes
2,096

Gowri,

In the same way as we do for the reports with selection screen.If there is a selection screen it will run via that else it will directly show the output.

K.Kiran.

Read only

Former Member
0 Likes
2,097

hi,

SE93 - T.code for creating a transaction.

goto se93 -> give transaction name [Zxxxxxx] -> create -> give descirption -> select required options -> continue -> give program name n screen no [1000] , in sap gui options select required gui support -> save

then a transaction is created and in command box u can give the name of the created transaction code.

if helpful reward some points.

with regards,

Suresh Aluri.

Read only

0 Likes
2,096

Hi Friends..

Thanks for your reply..

But its not working..

if iam giving selection screen 1000 it shows an error...

once we were using screen or selection screen statment in program then only its possible to create tcode otherwise it shows an error..

if you have any idea plz update asap.

Thanks

Gowrishankar

Read only

0 Likes
2,096

Do not give any screen no, leave it blank, it will work

Reward points if useful, get back in case of query...

Cheers!!!

I hope that you chose "Program and selection screen (Report Transaction)" while creating Tcode and selected the checkbox "SAPGUI for HTML"..... right?

Message was edited by:

Tripat Pal Singh

Message was edited by:

Tripat Pal Singh

Message was edited by:

Tripat Pal Singh

Read only

0 Likes
2,096

Gowri,

I had test with a report which is not having any selection screen and I had left the selection screen field in SE93 blank,it is working.

K.Kiran.

Read only

0 Likes
2,096

Hi,

I have just created an empty Report program and created a transaction for that

It did not give me any error.

Make sure while creating transaction you select Program with Selection screen as the option.

Regards,

Sesh

Read only

Former Member
0 Likes
2,096

Hi Gowri,

1. In SE38 press CTRL + SHIFT + F5.

2. Then right click Pgm Name and select Transaction.

3. Give Name, text and save.

4. Then It asks for Pgm name -> Give your Pgm name, Screen -> 1000.

5. Save and test it.

Thanks,

Reward If Helpful.

Read only

varma_narayana
Active Contributor
0 Likes
2,096

Hi..

We can Create the Transaction Code in SE93.

Select the Tcode type as Report Transaction if ur program is a Report(Executable).

Select the Tcode type as Dialog Transaction if ur program is a Module pool.

<b>Reward if Helpful</b>

Read only

Former Member
0 Likes
2,096

Hi Create the Transaction code using SE93 with option Program and selection screen. GIve the selection screen number as default that is 1000.

That will work properly...

Read only

Nawanandana
Active Contributor
0 Likes
2,096

hi

1.go to SE38 and open ur Program

2.click display object list or(CtrlShiftF5)

3.Then Right click on ur program name which u can c left side.

4.Create > Transaction >

5.Give the transaction Name and Short text

6.Select the program and selection Screen button

7.then Gv the program name

8.Screen number(1000)

9.save.

regard

nawa

Read only

0 Likes
2,096

Hi Thanks to everyone its working fine..

Read only

Former Member
0 Likes
2,096

Hey create the Tcode using SE93 - option program with selection-screen and give the selection screen number as default 1000.

That will work.

Read only

Former Member
0 Likes
2,096

Hi,

Use tcode SE93. Assign a tcode which starts with Z. Click create button. Give ur program name and check all check boxes for SAPGUI FOR HTML, SAPGUI FOR JAVA, SAPGUI FOR WINDOWS.

Save and activate. It will work fine.

Reward points for useful answers.