Questions tagged [sap-selection-screens]

54 questions
1
vote
1 answer

Compilation of SELECTION-SCREEN fails

What's wrong with the following ABAP code block? Compilation of the program does causes an error, but no details are shown. Please suggest changes in the code so it works REPORT ZSELECTIONSCREENCOMMENTS. SELECTION-SCREEN BEGIN OF BLOCK B1 WITH…
gram77
  • 361
  • 1
  • 12
  • 30
1
vote
1 answer

Add SELECT-OPTIONS for infoset

I'm not able to add properly a Select-Option for a Parameter into an infoset. I got this parameters in the selection screen: REPORT RSAQDVP_TEMPLATE . * *---------------------------------------------------------------------* * declarations * …
SimonFreeman
  • 205
  • 1
  • 7
  • 17
1
vote
1 answer

why the output is Error message -> Invalid entry

REPORT zsaptechnical_test. Parameters: d_char OBLIGATORY. write d_char. Assume that the user entered '!' (No quotes) on the selection-screen and executed the program. I am getting the output as Error message -> Invalid entry ? It would be helpful…
Amar Shukla
  • 136
  • 9
1
vote
2 answers

Dynamically declaring parameters from table

Is it possible to dynamically create parameters from table entries? For example like this: SELECTION-SCREEN BEGIN OF BLOCK example WITH TITLE text-01 LOOP AT example_internal_table INTO example_workarea IF example_workarea-field =…
baarkerlounger
  • 1,217
  • 8
  • 40
  • 57
1
vote
2 answers

Need to make parameter as Read-Only,

In selection-screen, I have one parameter called 'Author' I have called the report using 'Submit' from other report and passed the value to 'Author'. Now I need to make the 'Author' parameter as Read-only. How can I do that? I used the following…
Dhivya
  • 518
  • 2
  • 8
  • 17
0
votes
1 answer

Number '0' is treated as "initial", but I want it to be treated as "not initial" special value

I try to learn ABAP and code my first simple calculator using parameters. However, I have stumbled upon a problem. I want an error to be shown when some parameters are empty, i.e. when nothing was entered by a user, so it should not be possible to…
Yaso
  • 13
  • 1
0
votes
1 answer

Make user fill parameters in a defined order?

I have a selection-screen block with two parameters (p1 & p2). I want to force the user to fill the p1 first and then the p2... Someone can help me with this ? Thanks
d4xtian
  • 27
  • 5
0
votes
3 answers

ABAP SQ01 Error in generated report (Selection screen is too large) Message No. AQ366

I am getting below error while run the query with SQ01 I don't know where the problem came from. I just have 3 fields in selection And just two fields in output Below my SELECTION-SCREEN code in the infoset SELECTION-SCREEN: BEGIN OF BLOCK…
hammerman
  • 23
  • 1
  • 5
0
votes
2 answers

Multiple exclude values in SELECT-OPTIONS?

I have to create a new initial selection for the material group and set as default view one with excluded mat groups Z310 and Z320. However, when needed, the user should be able to include Z320 selection-screen begin of block b4 with frame title…
PureAbap
  • 99
  • 3
  • 13
0
votes
0 answers

how to open new Selection Screen on pushbutton?

I want to display data, which is entered into text-box, in a new screen on submit ( Pushbutton) click event in ABAP Report program. TABLES: SSCRFIELDS. SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001. SELECTION-SCREEN:BEGIN OF…
divScorp
  • 498
  • 1
  • 8
  • 17
0
votes
1 answer

"Long" read only text on selection screen

I need to display some information for the user on my selection screen. Best way would be directly on the screen, so no pop-ups. I tried to use parameters with default value and read only but the length is limited. Is there a way to get an…
Dyrdek
  • 411
  • 4
  • 12
  • 33
0
votes
2 answers

AT SELECTION-SCREEN ON is preventing the program from retrieving data

I'm still in the learning phase of SAP ABAP, so please bear with me. So I am trying to create a report that will retrieve data from vbak table, but there are some conditions: 1) Enable and Disable radio buttons. 2) Use a "AT SELECTION-SCREEN ON "…
M.Ghali
  • 87
  • 1
  • 9
0
votes
2 answers

How to write variable value on selection screen which you have drawn from select query

Hi all I have select query select single number_range_int from BBPC_PROC_TYPE into lv_num_range where process_type = 'SHC'. select single fromnumber tonumber from nriv into (lv_num_from,lv_num_to) where object = 'REQREQ' and NRRANGENR =…
pari
  • 31
  • 1
  • 5
0
votes
2 answers

Pass table parameter to FM via selection screen

I need to call a function that has a table type as import parameter in a program. I thought about doing this with a selection screen but I can't use deep structures as parameters. When I 'TEST' that function module it shows me a thing where I can…
0
votes
1 answer

Selection screen is not executed

I'm getting no errors when I activate my abap program but when I try to execute this nothing happens. I previously tried it and it worked. This fragment of code for example was ok before but now it doesn't do anything. REPORT Z_xx DATA:…
Codrin Strîmbei
  • 125
  • 7
  • 22