‎2009 Feb 26 9:26 PM
Hi,
I want to create a transaction which calls standard function module SWX_FORMABS_CREATE. This function module has a screen inside it , which is screen number 0010.
I created a report which calls this function module, and this works perfectly, outputting the screen. Now when i try to create a transaction from the report, the transaction requires a screen number, and when i put 0010 there, it would not run the transaction and gave me a dump saying that the screen cannot be found. Does anybody know how this sort of a scenario can work ? I cant design the screen in the report as this is a standard function module that i want to call.
All help will be greatly appreciated.
Thanks,
Amit
‎2009 Feb 26 9:35 PM
While creating tcode --> choose with selection screen and give the selection screen as 1000 and the report name.
‎2009 Feb 26 9:35 PM
While creating tcode --> choose with selection screen and give the selection screen as 1000 and the report name.
‎2009 Feb 26 9:39 PM
hi,
1. create report like this.:
REPORT Z123.
parameters dummy no-display.
call function SWX_FORMABS_CREATE
.....
2. create report transaction with above program (z123) and selection-screen 1000
...
I hope it will solve your problem
regards,darek
‎2009 Feb 26 9:57 PM
Guys,
Thank you for your reply, but the actual way to achieve this is absurdly simple.
AS u said correctly, the program and selection screen option needs to be selected. However, only the report name should be entered with no entry for screen, and the checkbox for SAPGUI for windows should be checked .
This will solve the problem