cancel
Showing results for 
Search instead for 
Did you mean: 

Reg the UI Element for Structure

Former Member
0 Kudos

Hello Gurus,

In my Web Dynpro Applications BAPI returns a header level data. If i need to bind the Structure of the export parameter I cant use the Table (UI Element). For for structures what kind of UI element I need to use.

Any Suggestions would be rewarded.

Thanks and Regards

Leo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If you want to show everthing, textviews of inputfields with label can be your solution,

or even a table like you yourself sugested, but then one with only one row and

the heading of labels for the values in your table, why not.

grtz

Koen

Former Member
0 Kudos

Koen Hi,

In BAPI the importing parameter is a Structure. So If i assign a table as a UI element it says that parameter is not an internal table, OCCURS specification is missing.

How we can assign the individual fields to Input fields as you said.

Any Suggestions would be rewarded.

Regards

Leo

Former Member
0 Kudos

Hi Leo.

Do you want to show the result (export parameters) or enter the import parameters of the BAPI?

For export parameters, if the parameters is a structure, you can use a table like

Koen said but you have to remapp the result to a context element of the same

structure with cardinality 0..n or 1..n by appending your result to an internal table.

Then you can bind this context node to the table.

You could also use the Transaparent Container element. Here you can create a

Container Form by right clicking on the element in the UI Element Tree. There you

can choose your export parameter from the context and map the fields from the

structure you want to display. The framework will automatically create labels and inputfields for structure elements.

Hope this helps.

Cheers,

Sascha

Answers (0)