Remove ":" from select option label(description)
Hello All
I have a requirement to remove the select option description (which SAP displays by default from the field label maintained in the data element),
I thought the best way to achieve that requirement is by passing "space" to the parameter 'I_DESCRIPTION' to the method IF_WD_SELECT_OPTIONS->ADD_SELECTION_FIELD, however, it turned out that SAP still displays the label from the data element inspite of passing space(blank) to the parameter 'I_DESCRIPTION', to overcome this limitation I have created a data element without maintaining any labels this approach worked expect that SAP still displays ":"(colon) as the label, is there any way to get rid of this ":" too?
As shown above, ":" is still displayed as the label of the date select option. I'm also looking for a way to reduce the distance between the last radio button and the select option, any pointers would be appreciated.
Thanks for looking into this.
-Vikram.
You could use the below methods to recursively scan all elements of the view and set the design of all labels to light.
method adjust_view .
* IO_VIEW Importing RefTo IF_WD_VIEW
data lo_container type ref to cl_wd_uielement_container.
check io_view is bound.
lo_container ?= io_view->get_root_element( ).
process_elements( io_container = lo_container ).
endmethod.
method PROCESS_ELEMENTS .
* IO_CONTAINER Importing RefTo CL_WD_UIELEMENT_CONTAINER
data lo_container type ref to cl_wd_uielement_container.
data lt_elements type cl_wd_uielement=>tt_uielement.
data ls_elements type ref to cl_wd_uielement.
data lo_lbl type ref to cl_wd_label.
lt_elements = io_container->get_children( ).
loop at lt_elements into ls_elements.
try.
lo_container ?= ls_elements.
process_elements( io_container = lo_container ).
catch cx_sy_move_cast_error .
if ls_elements->_definition_name eq 'LABEL'.
lo_lbl ?= ls_elements.
lo_lbl->set_design( value = '01' ).
endif.
endtry.
endloop.
endmethod.
Similar Messages
-
How to Deactivate or remove "Remove from Page"option for iview/page tray
Hi,
I would like to deactivate the "remove from page" option in the iview tray for ESS screens(WD iviews). I have made Show tray to NO and it hided the whole tray also tried Show remove to NO but no effect. But instead i would like this option (Remove from page) alone to be deactivated or removed.
regards
Bharat.Remove from page is the correct setting you need to change. If it doesn't seem to be working, this is normally because a content administrator has done something wrong with the delta links. For example, if an iView is included in a page as a copy (not as a delta link) changing the iView won't change the behaviour in the page. Instead you need to change the iView in the page. This is worst practice.
You need to do some delta link tracing -
Adding and Removing from Selections
In CS5, Is there a difference between using the Add or subtract from selection in the Control Panel vs. just using the Shift key to add to a selection and the Alt/Option key to remove from a selection? OR are these just different ways to do the same thing?
Thanks.They're the same thing
-
Getting values from select option
Hi,
I have a requirement where the user is going to pass values in select-option in low and high. lets say s_bwart(movement types).
now i have to fetch this bwart values into an internal table.
my internal table will be having only one field that is bwart. so how do i populate my internal table with those values. could any body help me in this.
Thanks in advance
nehaHi, when using SELECT-OPTIONS, use can pretty much do any kind of selection he wants, including ranges, and excluding values, so the best way to handle it is to select from the data base when the user executes the report. for example.
data: begin of ibwart occurs 0,
bwart type mseg-bwart,
end of ibwart.
select-options: s_Bwart for mseg-bwart.
start-of-selection.
select bwart into table ibwart
from <b>T156</b>
where bwart in s_bwart.
Regards,
Rich Heilman -
Selecting user input from Select option into smart form
Hi,
when i use parameter then i wil show company code in smart-form output
but when i use select option then its throwing error parameter specified here is different
what should i do in this case i want to design a big select option screen for taking user input
REPORT ZMM.
TABLES BSEG.
DATA : V_FORMNAME TYPE TDSFNAME VALUE 'ZPUR_REG',
V_FMNAME TYPE RS38L_FNAM.
*PARAMETERS SO_BUKRS TYPE BUKRS.
SELECT-OPTIONS : SO_BUKRS FOR BSEG-BUKRS.
DATA : Z_CONTROL TYPE SSFCTRLOP, "Smart Forms: Control structure
Z_OPTIONS TYPE SSFCOMPOP. "SAP Smart Forms: Smart Composer (transfer) options.
MOVE 'X' TO : Z_control-no_dialog, "SAP Smart Forms: General Indicator
Z_options-tdnewid, "New Spool Request (Print Parameters)
z_control-PREVIEW. "Print preview
MOVE 'LP01' TO Z_options-tddest. "Spool: Output device
MOVE space TO Z_options-tdimmed. "Print Immediately (Print Parameters).
MOVE 'PRINTER' TO Z_control-device. "Output device
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = V_FORMNAME
IMPORTING
FM_NAME = V_FMNAME.
CALL FUNCTION V_FMNAME
EXPORTING
CONTROL_PARAMETERS = Z_CONTROL
OUTPUT_OPTIONS = Z_OPTIONS
USER_SETTINGS = ''
BUKRS = SO_BUKRS.
pls help me in this regards.
ketan..hi
thnx for your reply
can u pls elaborate in my code
now i changed code BUKRS = SO_BUKRS-low.
either i can give low or high but how to select from range
REPORT ZMM.
TABLES BSEG.
DATA : V_FORMNAME TYPE TDSFNAME VALUE 'ZPUR_REG',
V_FMNAME TYPE RS38L_FNAM.
*PARAMETERS SO_BUKRS TYPE BUKRS.
SELECT-OPTIONS : SO_BUKRS FOR BSEG-BUKRS.
DATA : Z_CONTROL TYPE SSFCTRLOP, "Smart Forms: Control structure
Z_OPTIONS TYPE SSFCOMPOP. "SAP Smart Forms: Smart Composer (transfer) options.
MOVE 'X' TO : Z_control-no_dialog, "SAP Smart Forms: General Indicator
Z_options-tdnewid, "New Spool Request (Print Parameters)
z_control-PREVIEW. "Print preview
MOVE 'LP01' TO Z_options-tddest. "Spool: Output device
MOVE space TO Z_options-tdimmed. "Print Immediately (Print Parameters).
MOVE 'PRINTER' TO Z_control-device. "Output device
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = V_FORMNAME
IMPORTING
FM_NAME = V_FMNAME.
CALL FUNCTION V_FMNAME
EXPORTING
CONTROL_PARAMETERS = Z_CONTROL
OUTPUT_OPTIONS = Z_OPTIONS
USER_SETTINGS = ''
BUKRS = SO_BUKRS-low.
ketan.. -
About Reporter Painter,How to remove a selection option ?
Hi ,Experts
Now , I want to copy form 0SAPRATIO-01 (FSI4) to create my form in which i want to remove the standard selection option <b>G/L account </b> ,So how to do ? Could you give me the step in detail ?Hi,
I failed to find the field crresponding to select-option 'G/L Account No.' in the two level you mentioned .
Take 0SAPRATIO-01 for example , Could you tell me which field should be removed if i want to delete the select-option 'G/L Account No.' in the report screen.
At general data selection of form 0SAPRATIO-01, there are only two fields they are
<b>Fin.Stmt Vers. and Plan./act.</b>
while in the report's select-option ,there are five select-options. Why?
Message was edited by: guixin chen -
Reading from select-options field into the internal table
Hi,
I have to read the low and high ranges from the select-options fields into a field in the internal table in order to update the same field in line item table. since the user may change the screen fields, i need to pass the values directly from the screen and store it in a variable in the internal table. Is there a way to pass both ranges, low and high to one variable which holds the entire range?
Thanks,
SruthyHi,
In the Selection screen you can directly read the field(Select-option)value using read statement as follows:
READ TABLE <SELECT-OPTIONS field name> [using index] INTO <work area>.
After reading you can directly access all the values as follows and can store them in the variables:
var1 = <work area>-LOW
var2 = <work area>-HIGH
var3 = <work area>-SIGN
var4 = <work area>-OPTION
as per your requirement.
I think this will help you.
<b>Kindly reward if helpful.</b>
Regards,
Shakuntala. -
How to read data from select Options in another view without using context
I have 2 views, one for selection screen and another for displaying result.
In selection screen view I have define a select options with the help of webdynpro component.
Now my object is display result in result view based on entry of selection screen.
I don't want to do binding in context node, without that how I can read data of select option
in result view?
Regards,
Rasmi Ranjan MishraSolve by own.
If I define the Select options in component controller, then it will be global in nature. so i can get the value of select options
in another view also.
Regards,
Rasmi Ranjan Mishra -
Sample program to remove standard selection-options & replace user defined.
The standard selection-options are provided for the logical database. i need to supress the standard selection-options and include my own selection-options. I neeed a sample program how to do it.
Is this your custom program where you assigned the LDB in the attributes?
If so, you can do this in your AT SELECTION-SCREEN OUTPUT event.
LOOP AT SCREEN.
IF SCREEN-NAME = <LDB SELECTION-SCREEN FIELDNAME>.
SCREEN-ACTIVE = 0.
ENDIF.
ENDLOOP.
If your LDB selection parameters have a MODIF ID xyz option addition, then instead of the above SCREEN-NAME, you can replace it with SCREEN-GROUP1 and do the same thing.
Srinivas -
when i delete a song from my library, i am not given the option to delete it also from my pc file as the help section shows.
after clicking delete and remove only the library reference is removed. song in file remains.Take a look at my FindTracks script. Download it and test it out on a few tracks first. Use the No option first time around to manually confirm each path that it wants to fix so you can see how it works. When you're happy it does what you want select a larger group of tracks to process automatically.
tt2 -
Finder does not show all colors from selected color Labels
Since a view days finder does not show all Color Label colors. When I select either yellow or green it is selected, but it does not show in the file list with details, I can see it in icon and 3 pane view, but not in the detail list view.
does anybody know why or how? Or what plist files I might need to delete to get this reset?Create a new account, name it "test" and see how your labels work in that User acct in list view? (That will tell if your problem is systemwide or limited to your User acct.) This account is just for test, do nothing further with it.
Open System Preferences >> Accounts >> "+" make it an admin account.
Let us know and we'll troubleshoot this further.
-mj
[email protected] -
Remove from page menu option in personalization
Hi All,
After clicking the Personalize link am getting new window Portal lagunage option in the detail navigation.
In the Page menu there are different option like remove from page, open in new window. I have selected remove from page option and afte that whole contect area became blank.
I want to revert the changes but am not able to do the same, because i am getting nothing in the content area, only in the detail navigation i am getting one link as Portal lagunage. After clicking this link also am not getting any thing.
I want to get back the language change page. i got one thread on the same but anot able to revert the changes done by me. ESS - Personilize - urgent
Please provide solution for the issue.
Deepak!!!Use the System Admin role to revert it back.
There is a under System Admin> Support > > Portal Content Directory > Personalisation cleanup
the required tool.
Use Principal and enter the user.
Regards,
Kai -
Optional label behavior...
Hi, guys.
Clicking on Optional Label (when item is select list or multiselect list) is selecting first value in the control and put it in the Session State. Is this a disired behaviour or...? Is it possible to avoid this, i.e. when click on the label the value in the item is not selected?
Thnks.
MikeTo force it not do that you need to remove the label
tag from the optional label template.
<br>
<br>
Carl or anybody I'm not sure what exactly you mean.
<br><br>
My before label is:
<br>
<label for="#CURRENT_ITEM_NAME#" tabindex="999">
<[pre]span class="t9optional"[pre]><br>
and after label is:
<br>
</a></label><br>
<br>
What part should be removed?
<br>
<br>
Thanks,
<br>
John
Message was edited by:
John b
Message was edited by:
John b -
whan i am using select-options prior to this i what to display check box on the same line.
when i am selecting the this check box it should execute automaticall
could u plz explain the code clearly with example.search forums.
Re: Dynamic Selection Options
Posted on: Jul 17, 2006 5:50 PM, by user: Praveen -- Relevance: 100% -- Show all results within this thread
am doing exactly as you had stated. But the user wants to see it something like this: 1. For the selection options, he wants to see three box's. a. Technical Name of the field selection. b. ...
Re: regarding selection options
Posted on: Mar 15, 2007 8:46 AM, by user: SHIBA DUTTA -- Relevance: 99% -- Show all results within this thread
you have to use begin of line and end of line. SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN COMMENT 1(10) TEXT-001 FOR FIELD P1. PARAMETERS: ...
Re: Restricting selection-options
Posted on: Jan 18, 2005 8:58 AM, by user: Andreas Mann -- Relevance: 90% -- Show all results within this thread
FOR vbak-vbeln OBLIGATORY DEFAULT '5300000000'. INITIALIZATION. PERFORM init_1001. START-OF-SELECTION. SELECT belnr FROM bkpf INTO bkpf-belnr WHERE bukrs = '0001' AND ...
Check that at least on Selection Options are filled
Posted on: May 25, 2006 4:37 AM, by user: Boater -- Relevance: 90% -- Show all results within this thread
I have a program that has four selection options. The user needs to enter a selection for at least one of the four selection options. ...
possible entry for selection-options
Posted on: Feb 22, 2007 7:32 AM, by user: Tiwa Noitawee -- Relevance: 89% -- Show all results within this thread
F-1 At last 3 alphabets of Prod.hierarchy is Product line (EX1, PC5) that users have to choose via selection-options like this <b>EX1</b> EXCEL 251 : F-1 <b>PC5</b> POWERTOP W-200 ...
select-options multiple selection
Posted on: Mar 5, 2007 3:06 AM, by user: venkateswarao gangavarapu -- Relevance: 87% -- Show all results within this thread
hi can u send code for getting multiple selections in select-options Thanks in advance venkat ...
Submitting Report with selection screen options
Posted on: Apr 27, 2005 5:45 PM, by user: Rajesh Nittala -- Relevance: 85% -- Show all results within this thread
Hi all, I have a situation, in my report i am using a selection screen which contains input select-options are store(range), date (from ..to)....after that ...
sample program to remove standard selection-options & replace user defined.
Posted on: Dec 7, 2005 5:37 AM, by user: Josephine Clara Arokiasamy -- Relevance: 83% -- Show all results within this thread
The standard selection-options are provided for the logical database. i need to supress the standard selection-options ...
Adding default value for a select-options in a selection-screen
Posted on: May 26, 2006 11:51 AM, by user: sid alpay -- Relevance: 77% -- Show all results within this thread
hello gurus, i have a report program with the following select-options in a selection-screen block:
select-options: so_site for MyTable-werks.
i want the so_site ...
Adding Selection Options Fields in Report(Using Query)
Posted on: Aug 25, 2004 5:26 AM, by user: lijo joseph -- Relevance: 76% -- Show all results within this thread
Hi, how can we add Selection Fields Options in Query Reports Which we create using SQ01. I need a default option by which ...
Getting the selection parameters/options in a diffrent program
Posted on: May 11, 2006 3:05 AM, by user: Chad Cheng -- Relevance: 75% -- Show all results within this thread
use Submit to get a report from a diffrent program and I am using variants to get the value of the selection criteria. However, for a less tedious approach, I think it would be better if I get the selection ...
Read options from selection-screen
Posted on: Aug 24, 2006 3:30 PM, by user: Silke Eng -- Relevance: 75% -- Show all results within this thread
Hi Kiran, as all other questions are answered already, remains the one on the select-options. Function module <b>RS_REFRESH_FROM_SELECTOPTIONS</b> returns those. Kind regards, Silke ...
Selection screen for SAP Query: OR between options
Posted on: Jun 29, 2006 3:04 PM, by user: Tania Pouli -- Relevance: 74% -- Show all results within this thread
need a variant where either of two fields should not be 0. Is there some way to add an OR between two selection options? I can't change the actual query because it's used with many other variants. Thanks ...
Pass internal table of selection-options through method!
Posted on: Nov 22, 2004 3:49 PM, by user: Frank Roels -- Relevance: 74% -- Show all results within this thread
I created a selection screen with multiple select-options. Now I want in a method of a class work with the internal ...
select-options: at selection-screen on value-request
Posted on: Sep 18, 2006 10:51 PM, by user: Sumit Agarwal -- Relevance: 72% -- Show all results within this thread
one field is dependent on the values of the other field in the select-options. I am using the "at selection-screen on value-request event on" to populate the select-options field, S_AUFNR, that is dependent ...
Pages: 16 [ 1 2 3 4 5 6 7 8 9 10 | -
Aperture 2 Frustration 27 "Remove From Album" disabled
I created an album of selected images. I want to remove some of the images. I select a few and try Images > Remove From Album. The option is disabled. Why? It's not a Smart Album.
I selected several images from the result of search criteria. Most of them are stacked images. I only want one of each stacked image in my album, which sounds like a reasonable thing to do, but all images are copied into the album.
Then I tried removing the unwanted images from the album, but if they're stacked, the "Remove from Album" option is greyed-out.
It doesn't seem to represent how one would do things with a real "album". I may have a "stack" of photographs, held together with a rubber band. I can easily slip a selected photograph out from the stack and stick it in the album - shouldn't that be how Aperture works?
Also:
When creating a book, you can set an option to "include stack picks only". For example, if you wanted to create two books, one of colour photos and one of black and white Versions of the same photos, this "include stack picks only" is not very helpful as you'd have to change the stack pick for each of the books, or choose to see all the photographs without the option to "include stack picks only".
This all doesn't seem intuitive at all - am I missing something fundamental?
Thank you.
Maybe you are looking for
-
UFF58 Loaded, but not integrating correctly
Hi all, Hope you might be able to help me on this one - I'm using the sound/vibration toolkit and had saved 3 channels of acquired dynamic signal to the UFF58 format using the Save to UFF58 express VI. The save worked great, but now that I'm trying
-
CRM_ORDER_READ giving no output when it is called in RFC.
Hi , I have written a FM in CRM which is to be called from R3 and further processing logic is there in R3. I am facing problem when i call this function from R3.. I am getting no output in pridoc i.e. it is blank. I have checked connection also it i
-
How to handle multiple spatial operators and\or-ed in 10g express(locator)?
I've noticed that I cannot run certain queries in 10g express, which run perfectly in 10g enterprise. The following query is an example: SELECT S_ID, SDO_NN_DISTANCE(1) from MAP.BYGG_POLY where SDO_WITHIN_DISTANCE(GEOM, mdsys.sdo_geometry(2001, NULL,
-
This is for the Droid Turbo, wasn't doing anything different from last month and in one day the phone used over 75% of my data. They gave me the run around on the phone, I don't use it for social media or things like that either.
-
Expose won't display all applications
Hello, Expose on my 2.3 GHz i5 Macbook Pro (Snow Leopard 10.6.8) will not open all windows. When I hit F3 or perform the Expose gesture on my trackpad, only minimized applications appear. I can cycle through active applications by clicking on the i