cancel
Showing results for 
Search instead for 
Did you mean: 

Initialization of A Web Dynpro Application.

Former Member
0 Kudos

Hello All,

I am a novice to the wonderful world of Web Dynpro for Java.

I am trying to build an application which will run in the portal.

The user intetrface will have a drop down box and some web control and a button. I want to poulate the drop down boxes with some values from calling RFC.

My questions would be

1> in the wdDoInit() method can I make call to the RFC?

2> If we can make a call is the way it is meant to be or is there any other way.

I will be executing a RFC once the form is sumitted any ways..

Any inputs for helping me out will be greatly appreciated and of course re-warded well..

Thanks and Regards

Manoj Kumar.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Manoj,

If you are new to Web Dynpro you should check the Web Dynpro Sample Applications and Tutorials:

https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-d...

Here is a direct URL to a tutorial on how to access a RFC from web dynpro:

https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715

For your question if to execute the RFC from the wdDoInit or once the form is submitted: of course both are possible, it depends of the application logic: When do you want it to run? in the init stage or the submit stage.

Hope it helps, Adi