cancel
Showing results for 
Search instead for 
Did you mean: 

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

cristiano_santos
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

cristiano_santos
Participant
0 Kudos

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.