Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Call a Fire plug dynamically

$
0
0

Hello everyone!

 

I am currently developing an application in WebDynpro, which has a menu and it communicates with various components by fire plugs,

 

Nowadays to get the pointer which the user selects,

 

I read the value from the context, then call each component using a "Case" to determine which fireplug use.

 

 

Exp:

wda_comp case.

 

 

When Comp1

* Wd_this-> fire_to_comp1 ().

When Comp2

* Wd_this-> fire_to_comp2 ().

When COMP3

* Wd_this-> fire_to_comp3 ().

endcase.

 

 

My question is, if it is possible, having loaded the name of the fireplug (fire_to_comp1) in a DB table, get it and pass it as reference to wd_this-> and in this way make dynamic the call and not using the sentence "CASE".

 

Is there any other alternative?

 

Best regards

 

 

Nicolas.


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>