cancel
Showing results for 
Search instead for 
Did you mean: 

WEB Dynpro ABAP Position Elemente

robert_veit2
Explorer
0 Kudos

Hi.

ich hatte die Anforderung, eine bestehende WEB DYNPRO ABAP Applikation zu erweitern. Neue Felder mit neuen Informationen drauf.

Ich kenne WEB DYNPRO ABAP nicht und ich hatte hier keine Schulung. ABAP mache ich schon lange.

Jetzt hab ich alle nötigen Änderungen gemacht. Die Felder sind da und werden angezeigt. Mit den nötigen Informationen. Aber beim Ausrichten der Daten in der richtigen Reihenfolge, da bringt mich das Zeug zum Schwitzen und Aufregen.

Ich habe ein neues label und ein neues input field. Da soll jetzt in Zeile 2 eingeschoben werden und das dort stehende soll dann einfach eine Zeile weiter nach unten. Und dabei verzweifle ich. Das Ding schiebt mir immer alles durcheinander.

Wie kriege ich das einfach geregelt. Ich suche nach den passenden Attributen. Gibt es solche denn?

Das ganze ist Bestandteil einer Gruppe im View.

Wo liegt mein Problem. Hilfe wäre cool. Das Zeug bringt mich echt zum Verweifeln.

Danke R.

Accepted Solutions (0)

Answers (2)

Answers (2)

amy_king
Active Contributor
0 Kudos

Hi Robert,

The positioning of your Label and InputField is controlled by the container in which they sit and that container's Layout property. If your container has its Layout property set as "MatrixLayout" for example, you can make your Label start a new row by assigning its Layout Data property as "MatrixHeadData". To place the InputField directly to the right of the Label, assign its Layout Data property as "MatrixData".

Take a look at how the other UI elements on the screen are positioned and look at their Layout Data properties. For details, see SAP's documentation on Layout.

Cheers,

Amy

robert_veit2
Explorer
0 Kudos

hi,

sorry for answering so late. I got stuck in some other Topics.

Finally the Client agreed to leave it as it is as I could no way find the solution to it. It was just that two Input fields were in the same line while there should have been to separate lines. It drove me crazy.

Thanks for the anwer anyway.

Best regards

Rob

iftah_peretz
Active Contributor
0 Kudos

Hi,

I Google translated what you wrote and could feel the pain. Yes WD ABAP could make go crazy. Please add screenshots and codes snippets, of the relevant view, especially the layout and the elements at hand and the group they are in - it is impossible for me to help you given what you have provided.

Nonetheless, as a rule of thumb you can use transparent containers as wrappers and use different layouts (e.g. MatrixLayout and then setting different items as MatrixHeadData) to influence the design. If you can see what other items\elements have as their attributes you can copy them to your needs (by entering the same values to your elements).

Have you tried Googling your issue? This site and many others are packed with examples and tutorials...There could be a chance you come across something you haven't tried.

In addition, maybe you can consult with some senior WD programmer in your organization that would be of use to you? Looks like his help could help your health...

Stay strong, soon you'll go through the same with SAPUI5 apps 🙂 .

robert_veit2
Explorer
0 Kudos

hi,

sorry for answering so late. I got stuck in some other Topics.

Finally the Client agreed to leave it as it is as I could no way find the solution to it. It was just that two Input fields were in the same line while there should have been to separate lines. It drove me crazy.

Thanks for the anwer anyway.

Best regards

Rob

p.s. Same Thing with UI5? Classic dynpro was so cool. You just placed it wherever you wanted the Input field.