Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

System expected a value for the type g

former_member628395
Active Participant
0 Kudos
1,600

Hi All,

We have created a RFC enabled FM hosted as a web service. There is a import parameter of type string. 2 Export parameters of type char and a table parameter of a table type defined in the dictionary.

When the parameter is passed to the WS, it returns an error System expected a value for the type g.

I have gone through many posts on SDN which say that there should not be any string parameter to the WS, but should be defined in a complex type. I have created a deep structure with string type in it. But still the error persists.

Please let me know if anyone has faced the same issue and successfully resolved it.

Regards,

Sagar

3 REPLIES 3

former_member392866
Active Participant
0 Kudos
264

Sagar,

go through below link once...

http://scn.sap.com/thread/1794220

may helpful to u.

Thank you.

Regards,

BALAJI.

0 Kudos
264

Hi Balaji,

The procedure did not help. Anything else you would suggest?

@Swanand : The fields in the table type are of type are of type char and the input type is string(in a structure).

Regards,

Sagar

Former Member
0 Kudos
264

hello,

you may need to check the fields in the table type that you are using.

best regards,

swanand