Questions tagged [sap-selection-screens]

54 questions
5
votes
2 answers

Disable a parameter input at selection screen

I have screen filter at selection screen like this SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME. PARAMETERS s_werks like resb-werks DEFAULT 'X' . SELECT-OPTIONS: s_aufnr FOR in_param-aufnr, s_matnr FOR in_param-matnr, …
yukou
  • 305
  • 3
  • 6
  • 17
4
votes
2 answers

Change parameter name on selection screen to a real text

I'm trying to replace the parameter name shown on the selection screen. For example I have: PARAMETERS pa_age TYPE age_type DEFAULT '18'. It shows PA_AGE on the screen. How to change it to How old are you? for instance?
user393964
4
votes
4 answers

replace parameter name show on screen?

When I'm defining a parameter, like: PARAMETER pa_date TYPE d DEFAULT sy-datum. How do I change "pa_date" to something else when the app is launched? I want to change it to something like "choose date". Any Ideas?
user393964
4
votes
3 answers

After message type e, program doesn't return to selection-screen ABAP

I'm trying to use a message type E in my report. The thing is that when the message is triggered, the program doesn't return to the selection-screen. Can anyone help me? Here's the code I use to achieve this: IF rb_tri IS NOT INITIAL AND p_trim-low…
Eva Dias
  • 1,709
  • 9
  • 36
  • 67
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

How to increase the length of select-options in UI

As I understood, select-options in abap just takes 45 characters from UI. Whatever I assign the type of select-option, it doesnt take more then 45 characters. SELECT-OPTIONS: s_key FOR somlreci1-receiver NO INTERVALS VISIBLE LENGTH 100.…
Mtok
  • 1,600
  • 11
  • 36
  • 62
3
votes
2 answers

Passing a SELECT-OPTIONS table as a parameter to a subroutine?

So i have this: SELECT-OPTIONS gr_saord FOR gv_sales_order OBLIGATORY. then PERFORM check_values CHANGING gr_saord. then FORM check_values CHANGING p_gr_saord TYPE selopt. What i also tried was instead of the structure SELOPT to use the Table Type…
vlad-ardelean
  • 7,480
  • 15
  • 80
  • 124
3
votes
2 answers

How to include multiple conditions in a SELECT?

I am using 5 Parameters to fetch the details from DB table (mara, makt, marc, mard). PARAMETERS :number TYPE matnr MATCHCODE OBJECT MAT1 , type TYPE MTART MATCHCODE OBJECT H_T134 , sector TYPE MBRSH MATCHCODE OBJECT H_T137…
Dhivya
  • 518
  • 2
  • 8
  • 17
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
1 answer

select options with today's date as default?

I'm trying to show todays date as the default value in a select date. INITIALIZATION. select-OPTIONS: so_date FOR sy-datlo. START-OF-SELECTION. so_date-sign = 'I'. so_date-option = 'BT'. so_date-low = sy-datum. so_date-high = sy-datum. APPEND…
user393964
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

ABAP return to the initial selection screen after a write

I am new to ABAP. I have created a report that basically handles the CRUD for a database already built with function modules. It has multiple selection-screens for every function. Is there anyway to perform a READ and print it on the screen with…
Codrin Strîmbei
  • 125
  • 7
  • 22
2
votes
1 answer

Report transaction exits silently after selection screen

I wrote a basic report with a selection screen. When I run the transaction I created for it the selection screen displays and is functional. However when I continue past the selection screen the program just silently exits without any warning or…
Lilienthal
  • 4,327
  • 13
  • 52
  • 88
2
votes
2 answers

Dynamically fill selection-screen parameter on change

Suppose I have a selection-screen block with two parameters. I want to dynamically fill the second parameter based on what the user inputs in the first, for instance by querying a table to find the expected value for the key field in parameter 1. As…
Lilienthal
  • 4,327
  • 13
  • 52
  • 88
2
votes
1 answer

Setting SELECT-OPTIONS manually?

I have a program that, among other things, retrieves data from table RESB based on the bdter field, a DATS type. On the selection screen the user either specifies a range or a standard range (start of month - today) is used. However, if I try to…
Lilienthal
  • 4,327
  • 13
  • 52
  • 88
1
2 3 4