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
6
votes
2 answers

How to select multiple ranges for a parameter WITHOUT first filling all other required parameters?

I'd want to be able to have multiple range selections for "Sales order no." Problem is: when i press the button marked with green, i get the error "Fill in all required entry fields". I put my main processing block at the START-OF-SELECTION…
vlad-ardelean
  • 7,480
  • 15
  • 80
  • 124
5
votes
4 answers

Group digits in currency and remove leading zeroes

I want to know how to do digit grouping when I have value for money for example 3000000 ( 3million) i want to print 3.000.000 on the screen (there is a dot every three character from the last character) Remove zeroes in front of value when I…
yukou
  • 305
  • 3
  • 6
  • 17
5
votes
1 answer

Is it possible to add a user defined function to CL_SALV_TREE without copying GUI status?

Is it possible to add a user defined function to an instance of CL_SALV_TREE without copying GUI status to the report where this instance is used? What I am trying to do is to add a custom function with add_function method. REPORT zzy. CLASS…
Jagger
  • 10,350
  • 9
  • 51
  • 93
5
votes
2 answers

SAP Classic Dynpro and OO programming. Why not?

I read a few articles that say that you can't develope OO in SAPs classic dynpros. I'm a beginner so maybe I got some misunderstandings. But I'm developing object orientated when I'm using classes and objects, right? In a dynpro I can also use…
Dyrdek
  • 411
  • 4
  • 12
  • 33
4
votes
1 answer

How to change program titlebar?

I'm trying to show something else than the program title in the title bar but so far it's not working. I've tried: SET TITLEBAR 'title001'. When I double click title001 I can create this object and save it but it still doesn't change the title. Do…
user393964
4
votes
2 answers

How to display an underline _ in a field text of a dynpro?

As the title says, I would like to display an underline character _ in a dynpro field text. Is it possible? I have tried every possible option in the field text attributes. PS: I know P_BUKRS is not the best name, it's just to show the issue.
Christian Tapia
  • 33,620
  • 7
  • 56
  • 73
4
votes
1 answer

Get technical information on screen fields without documentation

In SAP ERP GUI, for a report selection criteria: How can I get the technical information associated with a screen field, when there is no documentation maintained for that field? Normally, when there is a documentation for that field, I can press F1…
Martin
  • 168
  • 2
  • 11
3
votes
1 answer

How to set values in the listbox?

I have defined a list box in my selection screen, as follows: SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE ALTITLE1. SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN COMMENT (30) ALCONT4 FOR FIELD L1. PARAMETERS: L1 AS LISTBOX VISIBLE LENGTH…
Siva
  • 3,458
  • 8
  • 25
  • 26
3
votes
1 answer

ABAP Web Dynpro Employee Search Help

One input field is employeenumber (pernr). I want to give a selection window to allow end users to get pernr by first name and last name. What I want is very similar to the inputfield in transaction pa20. See the screenshot below. Can anyone give me…
Dustin Sun
  • 5,292
  • 9
  • 49
  • 87
3
votes
1 answer

SAP passing data from application to screen. How does 'TABLES' work?

I don't quite understand how the TABLES statement works in ABAP. From a few example codes I've seen that the tablename afther the statement is an already existing dictionary structure. Is this the only way it can be used? Because I'm never sure…
user393964
3
votes
2 answers

Entering ! (exclamation sign) in the OBLIGATORY parameter doesn't work as input. Why?

Suppose we have following selection screen: PARAMETERS: d_char OBLIGATORY. WRITE d_char. When the user enters ! in this field of selection-screen and runs the program, it still prompts for required entry in this field. Why?
sumedh patil
  • 59
  • 3
  • 8
3
votes
3 answers

Value in dropdown box isn't refreshed

I have a dynpro screen with two input fields: The sales order n° The sales order line n° (in a dropdown list) My problem is that the sales order line isn't refreshed after a different sales order n° is input. However the other output fields…
Cutter
  • 1,673
  • 7
  • 27
  • 43
3
votes
3 answers

Refresh table control after action

I have a screen with a table control in it (generated with the Screen Painter) that shows records from a database table. The screen also has a button, which shows a popup when it's clicked. The popup has a form to add a record to the database…
user393964
3
votes
2 answers

Call screen on button click?

I have a mainscreen with a few buttons in it and I'm trying to assiciate each button with a screen call. I can't get it to work though. I created the button with the layout painter but I don't see how to make it functional. Any ideas? Thanks!
user393964
3
votes
1 answer

Event for back button after AT LINE SELECTION in ABAP list report?

I have a list report that uses the event block AT LINE SELECTION (and HIDE). AT LINE-SELECTION. WRITE: 'Testline'. * and some more things When I double click on a line in the main list, AT LINE SELECTION is processed, and the main list is…
Gerd Castan
  • 6,275
  • 3
  • 44
  • 89
1
2 3
10 11