‎2007 Feb 09 8:49 AM
How to call a Module pool program from a report.
Thanks in advance
vamsi
‎2007 Feb 09 9:25 AM
Hi Vamsi,
You can call the transaction using CALL TRANSACTION, or you can setup a DIALOG and call it using CALL DIALOG. Using CALL DIALOG you will be able to pass values. You create a DIALOG via transation SE35.
or You can use EXPORT/IMPORT for passing data.
check these links
http://www.allsaplinks.com/dialog_programming.html
http://www.sap-img.com/abap.htm
http://sap.ittoolbox.com/code/archives.asp?i=10&t=450&a=t
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://www.sapgenie.com/abap/example_code.htm
http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
http://www.sapgenie.com/links/abap.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
Regards,
Priyanka.
null
‎2007 Feb 09 9:41 AM
create transaction code for the module pool prog.
and use call transaction.
ex:
call transaction 'ZTEST'.
‎2007 Feb 09 12:06 PM
Hi,
If a program has a transaction code, there are two ways of starting it from another program
1) LEAVE TO TRANSACTION <tcod> [AND SKIP FIRST SCREEN].
2)CALL TRANSACTION <tcod>
So attach a transaction for your module pool program and call it using any of the above methods from your report.
Regards,
Sruthi