cancel
Showing results for 
Search instead for 
Did you mean: 

Prefill interactive form with data upon displaying out

Former Member
0 Kudos

Hi,

Let's say if i have a web dynpro application, with a view containing an interactive form. I would like to prefill the interactive form with data by calling a webservice or thru RFC before it display the form out. So that when the form is first displayed out, it is already prefilled with data. Is this possible?

Is there any guide out there which is similar to this scenario?

Btw, currently i only managed to consume the webservice and prefill the form with data after clicking a button which will execute the webservice.

Regards,

Cindy

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Anyone have any idea how to do it? or have done it before?

Former Member
0 Kudos

Hi Ayyapparaj,

Thanks for the links.. But it is not really what I'm looking at.. I wan to prefill the interactive form created using java web dynpro upon loading the page, without any button click or any other previous actions.

Regards,

Cindy

Former Member
0 Kudos

HI,

Try executing the code to populate the data to the context form WS/RFC in the init of your application.Instead of using a button.

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Ayyapparaj,

Do you have a clearer guide on how to do it?

Thanks,

Cindy