Skip to Content
avatar image
Former Member

Assign structure checkbox in OData service

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 22, 2017 at 11:42 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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