cancel
Showing results for 
Search instead for 
Did you mean: 

Opening sapgui transaction through SICF service

Former Member
0 Kudos

Hello All,

I am trying to achieve what is mentioned in the thread.

http://scn.sap.com/thread/74529

I want to create a SICF service and pass some parameters to it and the service must open the sapgui with the transaction mentioned and with the parameters passed.

Problem:

After creating the service i try to test it and it opens with a link like this.

/sap/bc/icf/demo/zdoc_open?sap-client=010

then i appended the link with the transaction and sys parameters as follows.

/sap/bc/icf/demo/zdoc_open?sap-client=010&TRANSACTION=SE93&sysid=DR1

i expected that it should now open the se93 transaction in sapgui. but it didnt.

next thing if it works is i want to pass some parameters to the SICF service and the service must use these parameters while opening the sap gui with the transaction.

Please guide ..........

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

''''Now i am left with one thing i want to open the transaction and directly want to go to the second screen of the transaction and skipping the first one''''

this is also done, to move to the second screen the command must start with * so in the handler class you have to somehow change the shortcut string so that the command starts with * .

for ex.Command=*tcode parameters.....

Thanks

Answers (1)

Answers (1)

Sriram2009
Active Contributor
0 Kudos

Hi Linda

Try the link as in below example:

http://<HOSTNAME>:8001/sap/bc/gui/sap/its/webgui?~transaction=<T-CODE>&sap-client=200&sap-language=E...

Hope this helps.

Best regards,

RAM

Former Member
0 Kudos

I finally achieved what i wanted to. Just one problem remaining (explained at the end) Following steps followed.

1) transaction create SICF service anywhere. give the handler name as CL_SWN_HTTP_SHORTCUT

2) activate and test service. it will open a explorer with the following link

http://xyz.com:8000/sap/bc/icf/demo/zdoc_open?sap-client=010

3)this wont do anything. just change the link to the following

https://xyz.com:8000/sap/bc/icf/demo/zdoc_open?client=010&sysid=PLD&langu=EN&transaction=se38&client...

now this will open the se38 transaction when this link will be pasted in the explorer.

Things to note is that the handler written above is expecting the parameter name as client and not sap-client. further the standard handler does not allow any transaction to be opened. so i copied the standard to custom and remove the restriction of the transaction.

Further if you want to send some parameter as well then append the link with &param= value and within the custom handler code then you can use these values and do whatever you want to do.

Now i am left with one thing i want to open the transaction and directly want to go to the second screen of the transaction and skipping the first one.

Please if someone knows that how can i achieve that..

Thanks