Showing results for 
Search instead for 
Did you mean: 

Call Transaction Code from WebDynpro JAVA

Former Member
0 Kudos


I want to call a Transaction Code from from R/3 thru WebDynpro JAVA, and I also need to pass some parameters to the screen.

My scenario is as follows: I have a Webdynpro screen which gets user info (step 1) and once the end user clicks SUBMIT, it will call a T-Code from R/3 (Step 2) by passing parameters from step 1 and I also want to show the T-Code screen with a custom button to navigate to another WebDynpro screen which would be (step 3). So, it would be a round trip where I want to communicate with Webdynpro and R/3 alternatively.

Guide me how it would be achieved thru WebDynpro JAVA...

Regards / Guru

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos


After retriving the FM from model

u can follow these steps

1)If ur Zfi name Zhr_Address

then u can write the following code.

Zhr_Address_Input input=new Zhr_Address_Input();


//setting params

//for example parameters r p1,p2



//executing the Function Module





Former Member
0 Kudos


Thanks for ur reply, I want to call a t-Code from WebDynpro JAVA to R/3 and pass parameters from this application to T-Code Screen.

I have tried with ITS URL(SAP GUI for HTML) path by passing parameters but it;s not reflecting back, I was able to call the T-Code Screen. But the other constraint is how to navigate back to next wedDynpro application from T-Code Screen...

Hope u understand my requirement...

Regards / Guru