cancel
Showing results for 
Search instead for 
Did you mean: 

Assign structure checkbox in OData service

former_member220538
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

former_member220538
Active Participant
0 Kudos

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