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
1
vote
1 answer

BACK button behaves weird after SUBMIT in selection screen

My requirement is to have two radio buttons in the selection screen. Upon execution , the report should be called based on Radio button. Without execution when back button is clicked , it still opens report1. Pressing key F3 or back is not as…
Winona
  • 115
  • 1
  • 17
1
vote
1 answer

How to hide buttons of PF-Status in ALV report for specific users?

I have ALV report, couple of buttons performing certain actions(create, delete lines etc.) and I'd like to forbid specific users from seeing those buttons. Where exactly in PFCG should I go after creating auth. object in SU21 in order to set it…
smoothlikebutter
  • 113
  • 1
  • 2
  • 12
1
vote
1 answer

Right way to use data type 'F' in SELECT-OPTIONS?

I want to have a SELECT-OPTIONS field in ABAP with the data type FLTP, which is basically a float. But this is not possible using SELECT-OPTIONS. I tried to use PARAMETERS instead which solved this issue. But now of course I get no results when…
JKD
  • 1,279
  • 1
  • 6
  • 26
1
vote
1 answer

How to add "Inv. recpt date" field to Payment tab in MIRO?

Is there any chance to add field "Inv. recpt date" to Payment block in Miro tcode so that the user could select "Inv. recpt date" instead of "Baseline Date". Is there any BAdi or BAPI?
Taurine
  • 13
  • 1
  • 6
1
vote
1 answer

Radiobutton and checkbox like Dynpro OO controls?

I'm trying to create a dynamic OO-Dynpro and I don't know, how to create a Radiobutton or Input Control. I found several Controls in the CL_GUI_CONTROL class, e.g. CL_GUI_INPUT_FIELD, which should be the Input-Control I`m looking for. But I couldn't…
LoopAt
  • 83
  • 1
  • 6
1
vote
0 answers

How to extend "Create with reference" dialog in VA01/02

We would like to extend the "Create with reference" dialog in the transactions VA01 and VA02 with an additional tab. The functionality is very similar to the tab "Order". When the user clicks on the "Item Selection" button I need to add more data…
Alex K
  • 100
  • 3
  • 15
1
vote
1 answer

Disable "Config structure" button in VA02 Item detail?

I would like to hide the "Config structure" button in the header of the screen "Item derails: configuration" in the VA* transactions, for a certain item status. I am debugging the Dynpro logic but it's quite difficult to find the right spot where I…
Alex K
  • 100
  • 3
  • 15
1
vote
1 answer

How to show an editable itab in a popup?

I have an editable ALV buttons (via status gui), SAVE, REFRESH, and HISTORICAL. I don't have any problem with save and refresh, but in historical i would like to show via popup an itab, but this itab needs to be editable or at least have any button…
marcdecline
  • 186
  • 4
  • 22
1
vote
3 answers

Set value of dependent listbox in AT SELECTION-SCREEN

I created a report with some selections using ABAP screen listbox. REPORT z_prueba. TYPE-POOLS: vrm. DATA : name TYPE vrm_id, list TYPE vrm_values, value LIKE LINE OF list, aux(85) TYPE c. DATA: i_grupo TYPE…
usr1990
  • 21
  • 2
  • 7
1
vote
1 answer

Set width of toolbar button defined in cl_gui_toolbar

I've got a toolbar defined with class cl_gui_toolbar which is displayed in a container (which got created via class cl_gui_custom_container). I've added some buttons and button groups into it. Now my user wants one of those button groups to be…
Sasku
  • 517
  • 7
  • 23
1
vote
1 answer

Execute a report program on radio button with validations?

I am trying to run 2 report programs, REPORTS_1 and REPORTS_2. The first program REPORTS_1 should only be executed if the first radio button is selected and all the parameters are filled in(parameter fields are always mandatory?). And the second…
user11566024
1
vote
1 answer

Not able to toggle selection screens based on radio button input

I am trying to toggle(hide) the selection screens based on radio button input. But the code seems not working. " Radio button block SELECTION-SCREEN BEGIN OF BLOCK search_block WITH FRAME TITLE text-001. PARAMETER: rad_flt RADIOBUTTON GROUP rgb…
user11566024
1
vote
1 answer

More performant rich text control than CL_GUI_BTFEDITOR?

I found a rich text editor which is quite easy to use in normal abap. CL_BTF* will show all the stuff, I mean. However, it seems to be a little bit buggy. 1) It behaves buggy with cr/lf's and < br >'s. When I receive the string, the editor ( it…
icbytes
  • 1,831
  • 1
  • 17
  • 27
1
vote
1 answer

Call Local class within PAI Module

I have a program with 4 includes in it. One top-include (global data), one for pai-modules, one for pbo-modules and one for a local helper class. I put the definition and implementation of my local class in the include "local helper class". Now I…
Timur
  • 169
  • 4
  • 13
1
vote
2 answers

Set text field in screen visible again after user command

in my PBO Module I have something like this: LOOP AT SCREEN. IF screen-name EQ 'LBL_TEST'. screen-invisible = '1'. MODIFY SCREEN. ENDIF. ENDLOOP. I want to set 'LBL_TEST' visible again after some User-Command in the…
Timur
  • 169
  • 4
  • 13