Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

CAF external service - RFC wrapper

Hello Experts,

I want to provide RFC functionality via WebService. I have created a CAF project, imported RFC structure to "external". The RFC structure looks like this:

<User>

<ID>

<Role>

<UserDetails>

<item>

....

</item>

<item>

....

</item>

<item>

....

</item>

</UserDetails>

</User>

Than I have created Business Object "User" and now I am trying to make it structure similar to RFC structure. I have defined ID and Role as strings, than I have created Complex Structure for UserDetails and added it to User, but when I am trying to change the cardinality of UserDetails to 0..n I am getting this error - "This attribute belongs to a persistant structure. It cannot have multiple cardinality".

So my question is - how can I define Business Object structure similar to RFC structure, so in future I will be able to define correct mapping.

Thanks in advance for you help!

Not what you were looking for? View more on this topic or Ask a question