cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter passing to rfc to populate drop down menu

former_member190457
Contributor
0 Kudos

Hi everybody

I am on SP14 patch 1 hotfix 2.

I need to dynamically pass two parameters to the RFC which populates a drop down menu.

I have made several attempts:

the two values are stored in a table row field, so I reference this two fields from within the drop down configuration

An error is displayed: 'cross diagram reference #ID[....] is not allowed'

I tried to store the two values in a hidden form and then reference them from within the drop down configuration:

'cross diagram reference #ID XXX is not allowed'

I tried to store the two values in the data store and then reference the data store fields from the drop down config:

'cross diagram reference #ID XXX is not allowed' plus a tooltip displaying: 'this.diagram is null or not an object'

How is this supposed to work?

any help appreciated

Thanks

Vincenzo

Edited by: VINCENZO TURCO on May 27, 2008 11:51 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Use Dynamic Entry List .

Creat a Drop down list control and go to the Entry list tab.

Select Dynamic Enmuration .

Search for the Data service which you want to populate the data.

select the data service and then give your two parameters as inputs and select the output fileds i.e which values u need .

then click finish

Regards,

Govindu

former_member190457
Contributor
0 Kudos

Hi Govindu,

thanks for your reply. As you can see in my post, that's exactly what I did, specifying the appropriate fields in the RFC input as described, but I get the odd warning messages reported. I don't feel confident in using VC for productive purposes ignoring all these warnings.

Any suggestion?

Thanks

Vincenzo

Former Member
0 Kudos

Hi,

Sorry Don't decide the Functionality of any product with one Error:-).

Every product will have the problems ,the reasons may be we are not useing it properly or the product is not working.

Send ur model to me i will check it out and let u know the problem.

Regards,

Govindu

former_member190457
Contributor
0 Kudos

Hi Govindu,

I absolutely agree, thanks for your help.

I will shortly send you my model along with screenshots and a more detailed description.

thanks

Vincenzo

Former Member
0 Kudos

Hi ,

Yes your screenshots giving the correct results.

That we are not give the dynamic values likgiving the reference over there .

You should provide the constant values to get the dropdown list.

Regards,

Govindu

former_member190457
Contributor
0 Kudos

Hi Govindu

I am not sure I correctly understood your message.

You are saying that dynamic values cannot be used at all as input to RFCs populating drop down boxes (only hardcoded values can be used)?

Thanks

Vincenzo

Former Member
0 Kudos

Yes

former_member190457
Contributor
0 Kudos

Hi Govindu, thanks for analyzing my model

However, my experience doesn't exactly match your statement.

In particular I managed to create cascading drop down boxes where the selected value of DropDownBox 1 is input of DDB 2, the selected value of DDB 2 is input of DDB 3 and so on.

The input of DDB 2 is dynamic and it is a reference to field DDB 1 and it works ok.

There's also a wiki on that: https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/linking%2bdrop-down%2blists

Shouldn't my scenario work just as well?

Thanks

Vincenzo