cancel
Showing results for 
Search instead for 
Did you mean: 

Call function

Former Member
0 Kudos

Hi...

I'm trying to call a web dynpro function from a normal function, created on se37... but the import parameters are tables types...

How can I call it from a normal function?! How can I put my information on this import parameters?! (that are tables)

Thanks....

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

My issue is solved...

I discover how to call the function...

Regards...

andreas_mau
Participant
0 Kudos

Hi Glauber,

Would you share your solution?

Thanks,

Andreas

Former Member
0 Kudos

Hi Andreas...

Actually, I discovered what is the normal function under the web dynpro function... So... that's the solution in my case...

Regards.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>I'm trying to call a web dynpro function from a normal function

What do you mean "a web dynpro function"? Are you trying to call a Web Dynpro Controller Method from outside a Web Dympro Component? If so, this is not allowed.

Former Member
0 Kudos

Well, that's the idea...

We need to call a function (method) from web dynpro on a standard function...

But, we don't want to create a function to do the same thing...

Any idea?!

Regards

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

If the logic in the Controller Method (remember methods are very different from function modules - best to use the correct terminology in the forums) is that reusable, then it shouldn't be in the WD Component in the first place. It should be separated out into a separate class - perhaps the assistance class. As stated, you shouldn't try and call a Controller Method from outside the WD Component framework.