cancel
Showing results for 
Search instead for 
Did you mean: 

Specifiy RFC Destination at Runtime

Former Member
0 Kudos

I know how I can call an RFC from WebDynpro Model.

But now I have several RFC Destinations specified, and I need to make a RFC call from WebDynpro with one of these RFC Destinations. Which one is only known at runtime.

How can I choose the RFC Destination in WebDynpro Code?

Important: to create an individual RFC model in WebDynpro for each RFC Destination is not an option, as the application needs to be flexible for future System changes (e.g. if a new System gets added, only the corresponding RFC Destination must be created, not the WedDynpro Code).

Environment: NetWeaver 7.3

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

i don't think it is possible

it should be possible if you use jco api to do the rfc call.

Answers (1)

Answers (1)

Former Member
0 Kudos

I could solve the problem by using JCo3.