cancel
Showing results for 
Search instead for 
Did you mean: 

Display a complex structure for edit - BUS_EI_EXTERN

Former Member
0 Kudos

Good day Everyone

I need to display a complex structure (BUS_EI_EXTERN) to a user in a BSP and allow the user to change one or more required fields of this structure. I thought about using a recersive algorithm to iterate through the structure and display the table names in a tree. When the user clicks on a node (table) they will get a list of all the attributes of the table which they can edit.

Would this be the 'easiest' route to go?

I tried to use LVC_FIELDCATALOG_MERGE to get the attributes of the structure, unfortunantly it flattens the structure, any other way i can try and go through the structure?

I dont suppose there is a nice function module that already does what i want?

Thank you for all your help.

Sincerely,

Marc

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

use function DDIF_FIELDINFO_GET to get the information about any structure/table and in its parameter DFIES_TAB you get the data that you need.

Later you can build your tree with that data.

Regards

Former Member
0 Kudos

Thank you Jorge

Unfortunantly DDIF_FIELDINFO_GET did not want to retreive info for BUS_EI_EXTERN, it gave me a not found error.

I used funciton module DD_GET_DD03P which seamed to do the trick.