cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with parameter passing for embedded component ?

Former Member
0 Kudos

Hello All,

I seem to be experiencing some problems in passing parameters in an embedded situation. The following is my scenario :

1) I have two components A and B, where B is intended to be embedded into A.

2) Component B contains an imported RFC model and I have applied the service controller, form, action and table template. The user will be required to enter the userid and all user information will be return by the RFC call and populated in the table. This works perfectly when I run component B individually.

3) However, upon embedding component B into A, I get an error message "Mandatory parameter USERID of method ZGET_USER_INFO missing" instead.

I suspect this is probably due to some parameter passing problem ? Can someone kindly advise ? Thank you.

from

Kwok Wei

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kwok Wei,

I guess you are not setting the "user id" value before executing the RFC. Try to expose the strcutre through the interface controller of "Component B". Set the "user id" value from the "Component A". And then execute the RFC.

Hope this solves your problem.

Regards

Santhosh.C