cancel
Showing results for 
Search instead for 
Did you mean: 

Call Transaction Funtionality.

Former Member
0 Kudos

Hello Friends,

I want to use call transaction from my WDA. I found few threads in SDN but i didnt get a clear idea . Can anybody explain me with teh details steps .

Thanks,

Satya

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

HI Sathya ,

have a look into tha procedure for calling sap Tcode from WDA

[Calling SAP Tcode from WDA|http://sapignite.com/2010/05/call-sap-tcode-using-webdynpro-for-abap/]

Regards

Chinnaiya P

Former Member
0 Kudos

HI Sathya ,

have a look into tha procedure for calling sap Tcode from WDA

[Calling SAP Tcode from WDA|http://sapignite.com/2010/05/call-sap-tcode-using-webdynpro-for-abap/]

Regards

Chinnaiya P

Former Member
0 Kudos

Thanks for the quick response but this link is not helpful for me.

Thanks,

Satya

Sharathmg
Active Contributor
0 Kudos

Dear satya pujahari,

To my knowledge, we may not be able to directly call a transaction. (If you find the way out, please let me know) However, we can call an ITS url.

As a solution, you can create an internet service referrring to your transaction. Then, call the internet service URL ( i.e. ITS - path in SICF ) from your WD ABAP method. Open the url in an external window.

To call the URL, use utility class "CL_WD_UTILITIES".

Regards,

Sharath

Former Member
0 Kudos

Hi Saratha,

Thanks for the information, since i want to call a Z tx from my WDA. I tried to create ITS service but its giving me dump ""Template interpretation failed. Template does not exist. ""

I have followed the below document for creating ITS.

http://help.sap.com/saphelp_nw70/helpdata/en/46/b898bd5f720e5de10000000a1553f7/content.htm

Any suggestion for this dump.

Thanks,

Satya

Former Member
0 Kudos

Now i am able to generate ITS services and its successfully running . Now my qustion is :

1. How can i chanage the url detail like server name and port etc. bcuz one we migrate it to other system the details different.

2.I want when the ITS page is load it skip the first screen and and land to the second screen with all the data .The same funtionality what "" call transaction TX skip first screen with value".

Please suggest the solution.

Thanks,

Satya

Edited by: satya pujahari on Jul 22, 2010 1:12 PM

Sharathmg
Active Contributor
0 Kudos

Hello satya pujahari,

1. How can i change the url detail like server name and port etc. bcuz one we migrate it to other system the details different

You will have to build the URL. Use the concatenate statement and build the URL by having variables for host name and port number.

concatenate 'http://' var_host ':' var_port '<ITS path to the application' into p_url. Either retrieve the variables in the same method or have variables initialized at the start.

Then call this URL.

2.I want when the ITS page is load it skip the first screen and and land to the second screen with all the data .The same funtionality what "" call transaction TX skip first screen with value".

Basically we tranfer the control from existign app to another URL. We cannot skip a screen or any such operation. However, if you can have URL parameters for the transaction( not sure if URL params are allowed in ITS transaction ) then you can pass a variable value ex: skip = X. Then based on the value of variable, you can choose move to next screen.

Regards,

Sharath M G

Former Member
0 Kudos

Closing Thred.