SAP Dynpro (Dynamic Program) ABAP or Classic Dynpro is a legacy framework for constructing rich user interfaces with UI controls (tables, buttons, tabstrips, etc.). Dynpro flow logic is comprises of PBO (process before output) and PAI (process after input) modules.
Questions tagged [dynpro]
151 questions
2
votes
3 answers
How to link Dynpro screen elements to program variables?
I am trying to use the elements I made in Screen Painter in my source code but I am not quite sure how to link them. Can you provide steps how I can link my elements in Screen Painter with ABAP variables?

Michael
- 37
- 2
- 7
2
votes
1 answer
Defining or expanding a radio button group in ABAP screen painter
How can I define a radio button group in the graphical ABAP screen painter?
It is easy to paint them but they don't work as a group.
Grouping -> define and grouping -> expand are greyed out

Gerd Castan
- 6,275
- 3
- 44
- 89
2
votes
1 answer
Any custom control for input fields?
Is there any control container for input fields? I have a splitter container with a two cells. In the first cell is a tree control and after double click on some node i want to show input fields in the second cell, for this node.

Róbert Pintér
- 21
- 3
2
votes
1 answer
How to change input fields disregard of mandatory fields?
I have a dynpro with several mandatory fields. Now, I want to implement a button that prefills those fields with suggested values. Further, another button should deactive certain input fields.
My problem is that the button actions are stopped by the…

SDD64
- 706
- 13
- 28
2
votes
2 answers
Is it possible to programatically interrogate the fields of a screen (selection screen) of a given program in order to get their types?
I have a list of programs whose selection screens variants I would like to check for hardcoded values of parameters of type BUKRS.
The function module RS_VARIANT_CONTENTS does almost all of the job, in that for a given variant and program, it…

vlad-ardelean
- 7,480
- 15
- 80
- 124
2
votes
4 answers
How to hide Table control Column?
Following code in PBO doesn't work to hide the column completely.
LOOP AT SCREEN.
IF SCREEN-NAME EQ 'GT_SO-POSNR'
SCREEN-INPUT = 0.
SCREEN-ACTIVE = 0.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
But above…

Pasan Eeriyagama
- 277
- 1
- 4
- 15
2
votes
3 answers
How to skip mandatory fields on selection screen?
I want it to skip mandatory fields when i clicked on 'İptal' button .
But i don't want to control mandatory fields without "obligatory" .
I want to see check mark in textboxes like screenshot.
Normally 'İptal' button calls a different screen when…

cethint
- 2,231
- 8
- 28
- 31
2
votes
2 answers
double click to forward output to transaction
I have made a program which outputs a list of equipment numbers using WRITE. The transaction IE03 lets the user input an equipment number, execute, and then displays a whole bunch of information on that piece of equipment.
What I would like to do is…

babno
- 267
- 2
- 6
- 15
2
votes
2 answers
Automatic filling of NAME_1 when entered a valid KUNNR - SM30
I've made a table with three fields: KUNNR, NAME_1 and Z_CLASS. KUNNR has KUNNR as data element, NAME_1 has NAME1_GP and Z_CLASS has a data element that I made with 3 values (1, 2 or 3). I've made the table maintenance generator and put some data in…

Eva Dias
- 1,709
- 9
- 36
- 67
1
vote
1 answer
Load file from AS to cl_gui_textedit with line breaks
I want to display a file inside a cl_gui_textedit component with line breaks which causes me problems.
I am using the following code to initialize the component
DATA: lo_c_errorviewer TYPE REF TO cl_gui_custom_container.
CREATE OBJECT…
user212926
1
vote
2 answers
How to grey out / disable a specific field on a selection screen in an enhancement
I want to grey out a field "REQUIREMENT QUANTITY" in an enhancement of COR1 and COR2. I have made a Z-table so that the IDs maintained in that Z-Table should not be able to make any changes and the field should be greyed out for those particular…

Uzair Qazi
- 11
- 1
1
vote
1 answer
How to display keys in dropdown menus programmatically?
I want to display the keys in a dropdown field next to the text.
I know how I can do this via the options but for our customers I am looking to set this up via my ABAP coding.
Is there a way to do this in my ABAP code or does the customers set this…

Dominic
- 11
- 1
1
vote
0 answers
Table control empty after changing screen attributes
I am fetching and displaying data in table control. If I don't change the column attribute then it is displayed fine with the data. All columns are input enabled by default.
However, if I try to change it; no data is displayed. In debug, data is…

Arun Kamath
- 49
- 1
- 1
- 6
1
vote
2 answers
Unable to close modal dialog
I'm trying to call a screen as a popup. The screen type is set to Modal dialog box and I'm able to call the screen, but unable to close it. Nothing happens when I click on the little cross. The next screen is set to 0.
The screen I'm calling as a…
user393964
1
vote
1 answer
Select particular listbox value on start of Dynpro?
I have a custom dialog dynpro including an input field named DYN_MATNR as listbox for which I have included a list of particular materials as selection.
How can I set a specific material (of that list) as selected when the dialog dynpro is…

tar
- 156
- 2
- 13