Skip to Content

Entity Field order declaration in Sap Gateway project class being changed after each SEGW generation

Dear friends, I´m having an strange issue in SAP Gateway. I have a SEGW project when I created an entity importing the structure from ECC RFC. At the first moment, the sequence of fields was equal both in SAP ECC and SEGW project class. For example:

ECC "customers" structure and SEGW entity "customers" class declaration:

field AAA

Field BBB

Field CCC

Field DDD

But when making changes in another entities in this same SEGW project, the field declaration sequence in this 'customers' entity is being changed.

Example:

Field BBB

Field DDD

Field CCC

Field AAA

And now in ECC side of RFC, the data is not respecting the field names, but the characters sequence. The content of field BBB in gateway is being moved to field AAA in ECC. I already change the entity declaration manually in the class source code, but after new generation in SEGW, the sequence is changed again. How can I solve this ? Regards.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 18 at 08:22 PM

    I didn´t discover the cause of this issue. The solution was copy the structure declaration before change entity, and paste after generation , making the changes again manually.

    Add comment
    10|10000 characters needed characters exceeded