on ‎2010 Mar 19 9:08 PM
Hi,
Is it possible to execute a transaction by calling a irpt page?
If possible, is there a sample code (.irpt code) for MII 12.1?
Thanks.
Request clarification before answering.
You can use a SERVLET Tag in your irpt to execute an xacute query.
Here is the help file from 11.5 but this works in all the versions.
[http://help.sap.com/saphelp_xmii115/helpdata/en/Advanced_Topics/Report_Generation.htm|http://help.sap.com/saphelp_xmii115/helpdata/en/Advanced_Topics/Report_Generation.htm]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Christian's suggested approach will make the transaction run as part of the page rendering to the user (since the servlet runs on the server side).
If you need user interaction with the irpt web page, then an iCommand applet can be used to call an XacuteQuery template to perform the requested transaction. If the transaction returns a typical Rowsets/Rowset/Row dataset, then you can also use any of the applets to display the output xml.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.