cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Field Extensibility: HowTo?

WRoeckelein
Active Participant
0 Kudos

Hi,

Simple Field Extensibility - SAP NetWeaver Gateway - SAP Library talks about a feature that automatically cares for fields from appends to structures used as the abap type for an entity.

Does anybody know what to do in order that this is actually used?

I was so far unsuccesful: In SEGW I have created an entity based on an DDIC structure with an append. I have not included the ZZ fields from the apppend in the entity, as those should be included automatically based on the descirption from the help page above. However the metadata does not list the fields from the append as properties.

Regards,

Wolfgang

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member

Hi

So that’s what I understand from SFE

  1. Entity is designed by importing DDIC structure
  2. If the structure gets modified (append structure)
  3. Then no need to modify the model
  4. Just need to redefine the Define method in MPC_EXT and call the lo_entity_type->ADD_AUTO_EXPAND_INCLUDE method before/after BIND_STRUCTURE
  5. The new fields are then added to the entity

Reference: What’s new in SP10

BR,

Dharmaraj Patil

Former Member
0 Kudos

Did anyone achieve this?

ChandraMahajan
Active Contributor
0 Kudos

I guess you also need to implement the code in BAdI method /iwbep/if_mgw_bd_modify_model~modify_auto_expand_properties as mentioned in the SAP Help documentation.

Regards,

Chandra

WRoeckelein
Active Participant
0 Kudos

As I understand this page such a code is only needed when the result from the standard type mapping is not sufficient (the method name reads "modify_auto_expand"!).

WRoeckelein
Active Participant
0 Kudos

Any ideas anyone?