Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Help me create and develop editor in classical screen

chau1995
Active Participant
0 Likes
901

Hi experts,
I want to develop a new screen same as picture below. But i can't image how to do it. I don't know how to create editor and many button (cut, paste, ... ) and language same as screen. Please help me

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
0 Likes
795

In SAP GUI programming, the layout can be achieved as follows:

  • The left part could be an ALV Grid (CL_GUI_ALV_GRID) with 2 columns. A text can start with an icon, for instance the text "@BG@Billing Notes" correspond to the icon "Absence" followed by "Billing Notes". Program SHOWICON to see the list of all possible icon codes.
  • The right part is a TextEdit Control (CL_GUI_TEXTEDIT).
  • To get them on the same screen, you have to use a Splitter Control (CL_GUI_SPLITTER_CONTAINER). Inside it, you'll define it with one row and two columns. In each cell, you'll include the two first controls.
  • To get containers and controls inside a dynpro, you have to use a field of type "custom control", to link to an instance of CL_GUI_CUSTOM_CONTAINER. You'll include the splitter container inside it.
  • For the "language" field, it could be defined as a classic dropdown listbox field.

Search the forum to get examples (you will find names of SAP demo programs too).

By the way, I don't know what the language field is for, but if you want a spell checker, it doesn't exist in SAP GUI.

Read only

chau1995
Active Participant
795

Thanks so much for your solution, I will try it 🙂