cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Is it possible to execute a transaction by calling a irpt page?

Former Member
0 Likes
224

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

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]

jcgood25
Active Contributor
0 Likes

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.

Answers (0)