Questions tagged [dynpro]

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.

151 questions
3
votes
1 answer

Table control does not display all rows

I have a problem where not all of the rows of my table control are being displayed in ABAP 740 SP13. For example, I have a table with these two rows: This is the state of the table where this code is executed: CALL SCREEN 0300 STARTING AT 10 5 …
gkubed
  • 1,849
  • 3
  • 32
  • 45
3
votes
1 answer

Find out all program dynpro screens?

I am new to ABAP and I want to make a program with multiple screens and an initial home screen where one can see the list of all program screens. I understand that I can hardcode them but there should be a better way. If there is any what kind of…
Hārdža
  • 75
  • 2
  • 10
3
votes
2 answers

Hide external subscreen field from main program

Is there a way from the main screen PBO to hide a subscreen field? The subscreen is defined in a different Function group.
FC777
  • 85
  • 1
  • 5
2
votes
4 answers

Prevent selection screen input fields conversion to upper case?

I have the table with field title_medi which contains two rows like Mr. and Ms. Also I have input field called title with search help of title_medi. When I'm selecting Mr. in the search help it gets displayed in the textfield. If I compare that…
Siva
  • 3,458
  • 8
  • 25
  • 26
2
votes
3 answers

Textarea with syntax highlightning in ABAP DynPro

Is there an ABAP custom control with which I can realize syntax highlightning? I am using DynPro and not Web Dynpro. I want to display a textarea which highlights XML code. It would also be great if I could move the cursor to a certain position…
user212926
2
votes
1 answer

SELECT-OPTIONS translation is not active when created via ADT

I created a program with following SELECT-OPTIONS using eclipse with ADT logon language EN. DATA: hkont TYPE hkont, bukrs TYPE bukrs, gjahr TYPE bseg-gjahr. SELECT-OPTIONS: s_bukrs FOR bukrs, s_hkont FOR hkont, …
schmelto
  • 427
  • 5
  • 18
2
votes
2 answers

Dynamic table control creation?

I have a task to create tableview on a GUI screen dynamically. The control must be created dynamically fo different table types, because we need to maintain different tables. I mean I need SM30 looking table maintainance screen. Is it possible in…
Skalozub
  • 539
  • 7
  • 26
2
votes
1 answer

Exit program at LOAD-OF-PROGRAM possible?

I am implementing some checks, mainly authorization, on program start and want to abort the program if the user is not allowed to execute it. Explicit auth object assignment via SE93 does not fit for me because it lacks flexibility. I tried to do it…
Suncatcher
  • 10,355
  • 10
  • 52
  • 90
2
votes
2 answers

Cannot select values via VRM_SET_VALUES?

I made Listbox on screen using function VRM_SET_VALUES. It works normal, but I can't choose field from the list. Have I forgotten something? DATA: BEGIN OF gs_screen1100, db_flight(40) TYPE c, END OF gs_screen1100. MODULE…
mszyba
  • 96
  • 1
  • 11
2
votes
0 answers

Make table control align to display width?

I can't figure out how to make my transactions fill the full width of my monitor, the width appears to be fixed, and I've got a horizontal scroll bar. The screenshot below is from transaction ME21N, in S/4HANA, running on SAP GUI client 770, to…
TinkerDink
  • 23
  • 4
2
votes
1 answer

Catching user input from popup with validation?

I am trying to put in a variable a value that the user has to introduce from a popup. I have seen the function POPUP_GET_VALUES can be the adiente, but in the parameters that the function requires I see that there is a table to put the value into a…
marcdecline
  • 186
  • 4
  • 22
2
votes
1 answer

How to hide conditionally custom fields in screen exit? (CMOD)

My task is to customize the Header Details Screen of the ME33K transaction, the goal is to add a box with new fields that should appear only if the Agreement type is the one I defined by using the transaction SPRO (ex: Agreement type ABC). I started…
Mick
  • 111
  • 3
  • 11
2
votes
1 answer

How to include a selection screen into another screen

I need to include a selection screen of a given program (ZPRG1) into another program's (ZPRG2) subscreen (100). When I run the program ZPRG2 below, before any screen is displayed, there is the runtime error DYNP_WRONG_SCREEN_TYPE (Wrong screen type:…
Deep
  • 99
  • 4
  • 5
2
votes
1 answer

SAP Table Control with button event

I have inserted button to table control, I am calling one more screen on the click of this button. I need the line number of table control when I press this button.
Buddhika Samith
  • 305
  • 2
  • 7
  • 20
2
votes
1 answer

Changing Application Toolbar item icons dynamically via ABAP

I am searching for a way to edit items of the Application Toolbar of an SAP Dynpro dynamically via ABAP at runtime. More precisely, I would like to change the icon of such an item. Can anybody help me out with this?
Sebastian Dine
  • 815
  • 8
  • 23
1
2
3
10 11