Skip to Content
0

Assign structure checkbox in OData service

Feb 15, 2017 at 02:36 PM

73

avatar image

Hi All,

When we import an RFC interface, In the dialog to choose the required fields, there is an option called assign structure. I would like to know in scenario we will use assign structure and how to do field mappings?

Thanks and Regards,

Jeffin George

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Rahul Gupta Feb 22, 2017 at 11:42 AM
0

Below is the F1 help came for Assign structure. I think it is clear to understand.

  • Select Assign Structure to create additional artifacts. Complex types will be created if the parameter is a structure type and entity types will be created If the parameter is a table type. In addition, DDIC assignment will be retained for the newly created artifacts.
  • If you do not select Assign Structure, the ABAP structure will be flattened (resulting in the removal of ABAP structure assignment to the entity/complex type in the model after finishing the wizard.

~Rahul

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Rahul,

I understand that. Suppose a RFC has a structure as as input and a table as output. If we use assign structure, two entities will be created one for inputs with a complex type and another for table. In this case how to do the field mappings?

Do we need to have code based implementation for that ?

Regards,

Jeffin George

0