cancel
Showing results for 
Search instead for 
Did you mean: 

Arranging the fields

Former Member
0 Kudos

Hello All,

I am new to WebDynPro ABAP.

I am finding a difficulty in arranging the fields.

The fields are getting arranged one after the another in the same line.

I want them to be in one below the other or some other manner.

I know there is some containers available for this.

Could anyone please help me in this or could refer me any documents that would help me.

Thanks in advance.

Warm Regards,

SampathKumar G.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Thank you All.

Former Member
0 Kudos

Hello.

Thank You All.

I am finally able to bring the fields to lines where I wish them to be.

Regards,

SampathKumar G.

Former Member
0 Kudos

Kindly close the thread.

Former Member
0 Kudos

Hello All,

I have placed a Label and a Input field.

Now I want to place one more field and label.

I am using the Matrix layout.

But still I doesn't know how to bring the second label to the second line.

Warm regards,

Sampath Kumar.

Former Member
0 Kudos

Set the Layout Data property of the uielement that you want on the next line as MatrixHeadData.

MatrixHeadData brings the uielement on the next line, whereas MatrixData will allow the following uielements to be on the same line.

Regards,

Radhika

uday_gubbala2
Active Contributor
0 Kudos

Hi Sampath,

This is because the default layout for any Web Dynpro component is Flow Layout. All child attributes

of this container will be displayed in a row, as long as the container is wide enough. If the container UI element is too narrow for all child elements to be displayed in one row (for example, the browser window is narrowed), they will be automatically wrapped to the next line(s). Try using another layout like [Grid Layout|http://help.sap.com/saphelp_nw70/helpdata/en/34/918b411fb4b05fe10000000a1550b0/content.htm] / [Marix Layout|http://help.sap.com/saphelp_nw70/helpdata/en/86/968b411fb4b05fe10000000a1550b0/frameset.htm] / [Row layout|http://help.sap.com/saphelp_nw70/helpdata/en/e2/749141c1d0ae5fe10000000a1550b0/frameset.htm]. Using this you would be able to specify the elements to start from a new column.

Regards,

Uday

former_member188831
Contributor
0 Kudos

Hi Sampath,

As Aujun was telling you need to arrange them in matrix format.

inserted element on view like transaparent container/text fields etc.. whever you want bring them in next line keep the property as matrix header data then it comes in next line else keep matrix data it will continue in the row.

try and let us know if you still facing problem.

all the best.

Regards,

Mahesh.Gattu

arjun_thakur
Active Contributor
0 Kudos

Hi,

I think you are using flow layout. That is why you are getting all the UI elements in a row.

Go for matrix layout. The ui element which you want to place in a new line, just set its layout data property as matrix head data other wise keep it as matrix data.

Refer this online help as well: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/92/0c3442d692ad04e10000000a1550b0/content.htm

I hope it helps.

Regards

Arjun