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

Transaction code

Former Member
0 Likes
872

Hi,

I have designed one smart form and print program for that smart form. Now I need to create a transaction code for that. In normal way I have created transaction code in se93 but if I run that transaction code it is displaying selection screen of print program but it is not proceeding further, suppose in se93 I have given transaction name and I did display in that I double click program name after that I press execute button now it is displaying selection screen and it is proceeding further I mean it is working fine but if I run transaction independently it is not working it is just displaying selection screen. Please help me where I did mistake and how to create the transaction code for this. In selection screen I have given sales order number and printer name as inputs. Please help me.

Thanks a lot.

7 REPLIES 7
Read only

Former Member
0 Likes
837

Hi,

The TCODE is fine,

In the Print program, call the smartform using FM based on the data on selection screen.

Best regards,

Prashant

Read only

0 Likes
837

Hi Prashanth,

Thanks for your reply but if possible please tell me how to call the function module based on the data on the selection screen.

Thanks.

Read only

Former Member
0 Likes
837

Execute tcode to start a selection screen, and then execute the program to retrieve data for smartform.

Do you want to run the tcode and get the print out immediately?

Read only

Former Member
0 Likes
837

While creating TCODE have you selected option as

Program & Selection screen (report transaction) option...

try to recreate the TCODE with this option....

Read only

Former Member
0 Likes
837

Hi Babji,

When you create the tcode in se93.Give yoyr tcode name press create and enter the description.Now in Start object select the radio button Program and selection Screen (Report Transaction).Now mention your report program name and the screen name is given by default.Now select Professional User Transaction radio button and check all the check boxes in GUI support.Hope this will solve your problem.

Reward points if helpful.

Regards,

Harini.S

Read only

Former Member
0 Likes
837

Hi Babji,

When you create the tcode in se93.Give yoyr tcode name press create and enter the description.Now in Start object select the radio button Program and selection Screen (Report Transaction).Now mention your report program name and the screen name is given by default.Now select Professional User Transaction radio button and check all the check boxes in GUI support.Hope this will solve your problem.

Reward points if helpful.

Regards,

Harini.S

Read only

varma_narayana
Active Contributor
0 Likes
837

Hi..

When you are creating the Tcode in SE93, select the Transaction type as REPORT TRANSACTION Radiobutton. (the default will be DIALOG Transaction).

Bcoz the program you are linking is a Report.

Then it should work.

<b>reward if Helpful.</b>