‎2007 Oct 01 5:46 AM
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.
‎2007 Oct 01 5:51 AM
Hi,
The TCODE is fine,
In the Print program, call the smartform using FM based on the data on selection screen.
Best regards,
Prashant
‎2007 Oct 01 5:57 AM
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.
‎2007 Oct 01 5:56 AM
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?
‎2007 Oct 01 6:00 AM
While creating TCODE have you selected option as
Program & Selection screen (report transaction) option...
try to recreate the TCODE with this option....
‎2007 Oct 01 8:17 AM
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
‎2007 Oct 01 8:17 AM
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
‎2007 Oct 01 8:24 AM
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>