Raw text instead of icon is displayed on selection-screen
Hi,
in a module pool I've implemented a Selection-screen as a subscreen. The subscreen is placed on Tabstrip. Everything works well. Except display of icons. After entering a '*' in the low-field of a select-option there should appear an icon in front of the field. But there appears an open input-field with some text in it (e.q. "@28\QSelektieren: Muster einschl.@"). What is wrong? Is it a frontend-bug?
Thanks,
hanspeter
I tried this sample and it worked fine:
TABLES T001.
SELECTION-SCREEN BEGIN OF SCREEN 100 as SUBSCREEN.
SELECT-OPTIONS: SO_BUKRS FOR T001-BUKRS.
SELECTION-SCREEN END OF SCREEN 100.
CALL SCREEN 200.
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN SEL_SCREEN INCLUDING SY-REPID '0100'.
PROCESS AFTER INPUT.
CALL SUBSCREEN SEL_SCREEN.
Similar Messages
-
How to display the selection screen with icons as well as with text element
How to display the selection screen with icons as well as with texts (written in text elements) for PlantDate, OrderType,WareHouse..
Report zex33.
type-pools: icon.
selection-screen begin of line.
selection-screen comment 1(20) text_001.
parameters: p_werks type marc-werks.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(20) text_002.
parameters: p_whouse(10).
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(20) text_003.
parameters: p_auart like vbak-auart.
selection-screen end of line.
initialization.
write ICON_PLANT as icon to text_001.
concatenate text_001 text-001 into text_001 separated by space.
write ICON_WAREHOUSE as icon to text_002.
concatenate text_002 text-002 into text_002 separated by space.
write ICON_ORDER as icon to text_003.
concatenate text_003 text-003 into text_003 separated by space. -
To display the selection screen variant name in WAD report output.
Hello experts,
I have a requirement which is to display the selection screen variant description in the output of the WAD report.
I managed halfway, by using the object "Information field", which displays all the values which are selected by the variant.
Example:I have created a cost center report created using WAD, since I need some graphical displays..
In the selection screen, I have the characteristic "cost center" as input field. I have created a variant " GM - IT" which will include few cost centers managed by GM. In the output, I want the dispaly to be "Cost center - GM IT". Currently it displays "Cost Center - a,b,c,d" as the values a,b,c,d are the values from the variant name "GM-IT"
Please let me know if this required any java script. I am not familiar with java / html codes and any help would be much appreciated (and rewarded)
Thanks in advance
KSHi,
Try this.
If you want to include your variables in your WAD means you have to choose "Force Variable Screen" option to be in enabled condition.
TO enable this,in WAD select your Template(New Template1) click the WEBITEM , it'll shows all generic properties , here you can enable this "Force variable screen"
Save and execute your WAD now you can get your variable screen.
Thanks,
JituK -
How to display the selection screen fields for selected checkboxes
Hi all,
I have 7 checkboxes, for each check box we have some seletion screen fields.if i select first check box,i want to display first slection screen fields only.
and if we select more than one check box how to display the selection screen fields for selected check boxes,please help me this
Thanks
sriman.hi,
Try this code
report z_13317_sdn2.
tables : mara, marc, dd03l.
parameters : p_chk1 as checkbox user-command ABC,
p_chk2 as checkbox user-command PQR,
p_chk3 as checkbox user-command XYZ.
select-options : s_matnr for mara-matnr modif id A,
s_ersda for mara-ersda modif id A,
s_werks for marc-werks modif id B,
s_lvorm for marc-lvorm modif id B,
s_tab for dd03l-tabname modif id C.
data: v_chk1,
v_chk2,
v_chk3.
at selection-screen output.
loop at screen.
if screen-group1 = 'A' or
screen-group1 = 'B' or
screen-group1 = 'C'.
screen-input = 0.
modify screen.
endif.
endloop.
loop at screen.
if v_chk1 = 'X'.
if screen-group1 = 'A'.
screen-input = 1.
modify screen.
endif.
endif.
if v_chk2 = 'X'.
if screen-group1 = 'B'.
screen-input = 1.
modify screen.
endif.
endif.
if v_chk3 = 'X'.
if screen-group1 = 'C'.
screen-input = 1.
modify screen.
endif.
endif.
endloop.
at selection-screen.
if sy-ucomm = 'ABC'.
if v_chk1 = ' '.
v_chk1 = 'X'.
else.
v_chk1 = ' '.
endif.
endif.
if sy-ucomm = 'PQR'.
if v_chk2 = ' '.
v_chk2 = 'X'.
else.
v_chk2 = ' '.
endif.
endif.
if sy-ucomm = 'XYZ'.
if v_chk3 = ' '.
v_chk3 = 'X'.
else.
v_chk3 = ' '.
endif.
endif.
Regards,
Sailaja. -
Can anybody explain in more detail about NO-DISPLAY in selection screens..
an anybody explain in more detail about NO-DISPLAY in selection screens.. in that it is saying
"If you want to display a parameter only in certain cases, for example, depending on the values entered by the user in other input fields of the selection screen, you cannot use the NO- DISPLAY addition. If you use NO-DISPLAY, the parameter actually is an element of the interface for program calls, but not an element of the selection screen. As a result, you cannot make it visible using the MODIFY SCREEN statement. To hide a parameter that is an element of the selection screen, you must declare it without the NO-DISPLAY addition and suppress its display using the MODIFY SCREEN statement."
what is the meaning of this?This is use a lot in programs which are submitted using the SUBMIT statement. Say that you have a program which runs as usally with a selection screen and nornal output, but you also have some logic built in there that needs to be execute when this program is not ran by the user with the selection screen, but submitted. You can use a PARMETER statement the selection screen and NO-DISPLAY to hide it when normal processing by the user. You could pass a value to the parameter when it is called via the SUBMIT statement. Does this make sense?
Regards,
Rich Heilman -
InputComboboxListOfValues - Code instead of Description is displayed after selection
Jdeveloper version 11.1.1.6
The table CNTRYMAST has the fields "CountryCode & CountryName", while the data tables has the field "CountryCode". I want to create a LOV for selecting countries in a form for the data tables.
When I use selectOneChoice component, it works perfectly (List of Country Names displayed in the LOV & the selected country's name is displayed after selection). As I wanted to include the "Search" facility, I used the inputComboboxListOfValues component. This also works fine, but after selection of the country's name, the "Country code" is displayed. (For eg., I am selecting "Afganistan" from the LOV; after selection the code i.e. AF is displayed as selected value).
I tried several times to fix it but in vain. Can anyone please assist me to resolve this?Check Andrejus's blog Andrejus Baranovskis's Blog: Defining the LOV on a Reference Attribute in Oracle ADF 11g
about how to implement this.
Timo -
Selection icons destroyed by AT SELECTION SCREEN OUTPUT
Hello
I have a following code excerpt:
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'CUSTORDS' OR
screen-name = 'TRNSORDS' OR
screen-name = 'REASONCD'.
screen-input = '1'.
ELSEIF ( screen-group1 = 'ONE'
AND custords = set_x ) OR
( screen-group1 = 'TWO'
AND trnsords = set_x ).
screen-input = '1'.
ELSE.
screen-input = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
The problem is, that when user gives special selection criteria for select-option field, the icon which appears to the left ('=', '>', etc) next to the affected select-option field inherits the screen-group from the select-option and the coding sets screen-input = 1 for this icon thus destroying it. Instead of an icon a text appears, just like this: '@20\QSelect: Equal to@'.
How can this behavoiur be prevented ?Add screen-group3 ne 'OPU' to the elseif statement:
ELSEIF ( screen-group1 = 'ONE' and screen-group3 ne 'OPU'
AND custords = set_x ) OR
( screen-group1 = 'TWO' and screen-group3 ne 'OPU'
AND trnsords = set_x ).
Regards
Sridhar -
How to display the selection screen fields on reprt output
Hi,
I would like to know, which function module is use to diplay the selction scrren fields on the report output.
For e.g:
on selction scren I have two select options.
1. Company Code : 0000 to 9999
2. Fiscal Year : 2005 to 2008
I need to display these fields on the Report ouput, so that I can know that what selection criteria I have entered on selction screen.
Thanks & Regards
Chetan Chauhan.Hi Chetan,
Lets say u have selection criterion as
*SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS : pa_werks LIKE vlcvehicle-werks DEFAULT 'XXX' OBLIGATORY,
pa_date LIKE sy-datum DEFAULT sy-datum.
SELECT-OPTIONS : so_vbeln FOR vbrk-vbeln.
SELECTION-SCREEN END OF BLOCK b1.
Put a selection on that criterion according to selection screen,
Fill in a internal table.
Write itab-field1, field2.
Also use ABAPDOCU a tcode where u can find many demo programmes for all topic.
Reward points if useful.
cheers
Mohinder Singh
Cheers
Mohinder Singh Chauhan -
BI report not displaying Variable selection screen on UI
Hi,
We have recently upgraded our CRM to 7.0, but the strange thing is the BI reports are executing without giving the user the variable screen.
Now the alternative to this is making the variables in BI section Mandatory and they show up in the report, but this is not the correct way.
Are we missing some piece of configuration somewhere.
Regards
LalanHi Vinayak,
Do you know how can I get the variable selection screen to display in BI analyzer when I execute the report from backend BW system and it launches BI analyzer. I know we can go into Add-Ins and from toolbar we can go into Change Variables Values icon, but I would like selection screen to display as default when user runs the report from backend.
Thanks
Divya -
Unable to save the ALV layout variant and display of selection screen on F4
Hi All,
The end user wants to directly select the layout variant (SLIS_VARI). I have used the following code to display the layout variant on selection screen. But, I am unable to save the variant on ALV. Whenever I am trying to select the layout variants (by doing F4 on selection screen) its displaying "No Layout found".
Following is the code for displaying layout variant:
PARAMETERS: p_var TYPE slis_vari.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_var.
PERFORM f4_variant CHANGING p_var.
FORM f4_variant CHANGING c_variant TYPE slis_vari.
DATA: ls_variant TYPE disvariant,
l_exit TYPE char1.
ls_variant-report = sy-repid.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = ls_variant
i_save = 'A'
IMPORTING
e_exit = l_exit
es_variant = ls_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF l_exit EQ space.
c_variant = ls_variant-variant.
ENDIF.
ENDIF.
ENDFORM. " f4_variant
and following is the code for displaying the ALV:
FORM edition_alv.
ws_variant2 = ls_variant.
* Call ALV editor in list mode
IF p_list = 'X'.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = ws_extract1-report
i_callback_user_command = ws_user_command
is_layout = ws_layout
it_fieldcat = wt_fieldcat
it_sort = wt_sort
i_save = 'A'
is_variant = ws_variant2
it_events = wt_events[]
TABLES
t_outtab = wt_edition.
* Call ALV editor in grid mode
ELSE.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = ws_extract1-report
i_callback_user_command = ws_user_command
it_fieldcat = wt_fieldcat
it_sort = wt_sort
i_save = 'A'
is_variant = ws_variant2
it_events = wt_events[]
TABLES
t_outtab = wt_edition.
ENDIF.
ENDFORM.
I am not sure whats going wrong, but I am unable to save variants.
Please help.
Thanks,
Vishal.The F4 will display you the existing layouts only. So you need to save the layout first & then execute the report again & check if you are getting F4 values for that field.
The Layout needs to get stored with variant.
Regards,
Mahesh -
Table display in Selection Screen
In upper part of selection screen, there would be 2 parameters.
In lower part of selection screen, there would be 2 table display side by side. Data of these two tables can be changed from here.
Parameters are not related with tables data.
After executing the program, all the data from those Database table will be shown into selection-screen's individual table area.
After changing data, while click to 'save' button, changes would reflect into database.
Can any one please help on this matter?HI,
You can do in the following way.
You have to create a different screen for holding the table control.. When the checkbox is ticked just call the screen using CALL SCREEN or LEAVE SCREEn in your program which will display your table control.
or else
Go with module pool program.
Design the screen as your requirement.
Under PBO write the bleow code.
Create a module like MODULE_DEACTIVATE_TC.
write the below code to invisible TC initially.
IF CHECKBOX IS INITIAL.
LOOP AT SCREEN.
IF SCREEN-NAME = 'TC'.
SCREEN-INPUT = '0'.
SCREEN_INVISIBLE = '1'.
MODIFY SCREEN.
ENDIF.
ENDIF.
Create module inder PAI,to acivate TC
MODULE ACTIVE_TC.
inside module write bleow code.
IF CHECKBOX EQ 'X'.
LOOP AT SCREEN.
IF SCREEN-NAME = 'TC'.
SCREEN-INPUT = '1'.
SCREEN_INVISIBLE = '0'.
MODIFY SCREEN.
ENDIF.
ENDIF.
Regards,
Pavan. -
I am configured to open pdf's in Acrobat instead of Firefox. This works great on the web. I have a local mirror of a website on my local disk as well as a network disk. When I use my html file to attempt to open the pdf on the local disk (file:///C:/T10/drafts/adc3/adc3r04.pdf) it opens as text in Firefox - appears to be ASCII view of the binary contents of the pdf. When I use my html file on my network disk (http://tucgsa.ibm.com/~kdbutt/T10/drafts/adc3/adc3r04.pdf) everything works as it should.
You can set the pdfjs.disabled pref to true on the <b>about:config</b> page to disable the build-in PDF viewer and use the Adobe Reader instead.
*http://kb.mozillazine.org/about:config
See also:
*https://support.mozilla.org/kb/view-pdf-files-firefox-without-downloading-them
*https://support.mozilla.org/kb/change-firefox-behavior-when-open-file -
Possible to show bottom of scrolling text first when icon is displayed?
Hi,
Does anyone know if it is possible to show the bottom of
scrolling text when the display comes up? For instance, let's say
you have 20 lines of text in a scrolling display, but it only has
room for 10. By default, Authorware shows the top 10 lines in the
scrolled display, not the bottom 10. I want to show the bottom
10--is this possible?
Thanks,
EdwinHi,
Well, I decided to have the most current information at the
top of the display. For instance, if it were a chat, the most
current chat info would be on top instead of on bottom. That fixed
the problem adequately.
Edwin -
I received an email and attempted to reply. This is what shows up when I hit the "reply" icon.
<br><br><font size=2 face='Tahoma, Arial, Sans-Serif'><hr size=2 width="100%" align=center>Return-Path: <[email protected]><br>Received: from sandiego.transcore.com [65.223.36.130] by mail40.safesecureweb.com with SMTP;<br> Fri, 19 Aug 2011 18:06:59 -0400<br>X-MimeOLE: Produced By Microsoft Exchange V6.5<br>MIME-Version: 1.0<br>Content-Type: multipart/alternative;<br> boundary="----_=_NextPart_001_01CC5EBC.509C816F"<br>x-cr-puzzleid: {90BA278C-7901-4BAD-8087-3009ADB8C72E}<br>Content-class: urn:content-classes:message<br>Subject: international students transferred<br>Date: Fri, 19 Aug 2011 15:06:55 -0700<br>Message-ID: <[email protected]><br>X-MS-Has-Attach: <br>x-cr-hashedpuzzle: AiSo FtSU IiRK I0Zu JNZ/ LS+h LnQx NIdz PjJrOK, If you haven't already figured it out, I may have a solution. I googled the term: "how to install an older version of mozilla firefox". I found the site : Oldapps.com. I installed 4.0, which is the older version. I made sure to clear the cache, cookies, and history. Then I restarted the computer. All was good for me. I hope it works for you. Good luck!
-
ALV Grid display from selection screen
Hi,
i have a requirement wherein ..if the user checks a checkbox download as file. and then executes the report.. the report has to be downloaded and also displayed simultaneously...if i use GUI_DOWNLOAD ..i dont get the header , the column names etc..what shud i do.Hi,
While downloading file, u wont get the header part, u have to append the header part before the data. Then u pass the final output table with header to the function module.
So that it will read the first line that will be header and then remaning data.
U can create an internal table.
TYPES: begin of ty_itab ,
name(4) TYPE c,
***(3) Type c,
end of ty_itab.
DATA: i_itab type standard table of ty_itab,
w_itab type ty_itab.
Then do as below.
w_itab-name = 'NAME'.
w_itab-*** = '***'.
APPEND w_itab to i_output_final.
i_output[] = i_output_final.
APPEND i_output_final.
Now pass this final table to the functionmodule, so it is now with header.
Refer this link
Re: Adding header to xls file
Re: ALV with Header (in Excel)
Maybe you are looking for
-
MacBook pro Crashing after Leopard install?
I am a having a problem my MBP crash when I try to wake it from sleep this only happen when I went to Leopard. Great they fix the wireless problem and give me a Crashing MBP thank apple. Here is the log file it look to be a kernel panic I want to kno
-
Hi, I recently got a Wacom cintiq 13, with 3 in 1 chord, which I am now using on my MBP early 2011. The wacom (that has an external power supply) works fine with USB connected however everything else wont and I'm getting the above mentioned error mes
-
I want to create a blog(s) - don't want a..
Create one easily? I downloaded Wordpress's zip file but I'm no SQL expert. Does anyone know where to get something that I can do this easily? I'm pretty good at code so it doesn't need to be blogs for dummies... but at the same time I don't want to
-
Dear all, i want to display the document no,document status,date of document,document type and item details here input field is document number.tables are bkpf and bseg.i wrote the program and executed that program it causes runtime error.so please s
-
Where can i adjustier private Surfing in Safari