Displaying Text On A Variable
In the Value Selection Window, I have a variable that will only show the key, even though I have set it to Key and Text. I can input a key value (which is a number) directly into the selection box, but when I try to get a list of values it will only show the keys, I cannot get it to also display the account names (text) so that users will know which account they are selecting. Is there some setting I am missing to prevent this from displaying?
Hi
goto infoobject on which this veriable exist
goto infoobject properties - where you can find the option for display type
Select key & text
Below this option you will find text Type -Select long text.
Hope it will help you
Hari
Similar Messages
-
Displaying text based on variable
I have a variable defined as brushSize. Depending on the value of brushSize, I want to display text in a dynamic text field that relates to its value.
For brushSize values of 3, 13, 23, 33, and 43 I'd like to display 1, 2, 3, 4, and 5 respectively. I'm not really sure where to begin here, but I have tried and failed with something like this:
if( brushSize == 3) {
brushSizeDisplay("1")
Any suggestions?When I open up a new flash document and start from scratch, it works fine. But when I try to apply it to my existing project it isn't translating. Here is the code for the variable that I wish to determine what specific text to display:
var brushSize:Number = 23;
var brushSizeMax:Number = 43;
var brushSizeMin:Number = 3;
function changeValue(pHow:Number){
brushSize += pHow;
if(brushSize > brushSizeMax){
brushSize = brushSizeMax;
if(brushSize < brushSizeMin){
brushSize = brushSizeMin;
brushSizeText.text = brushSize;
brushUp.onPress = function(){
changeValue(10);
brushDown.onPress = function(){
changeValue(-10);
when I try
if( brushSize == 3) {
brushSizeDisp.text=1;
I get no results. brushSize is my variable, and brushSizeDisp is the instance name of a dynamic text field that I placed on the stage. -
Problem in Displaying text Variable
Hi All,
I have problem in Displaying text Variable in the column header.
My requirement is as follows.
Column Level:
0Calmonth/Year
Key figures
Keyfigure1 - Current Month - Text Variable1
Keyfigure2 - Previous Month - Text Variable2
Keyfigure3 - Previous Month - Same as Text Variable2 - Display same month
So based on each 0Calmonth/year these three keygirues should display in Header section like.
Selection screen
0Calmonth/Year - 03.2005 - 06.2005
Result should be for each month.
0Calmonth/Year
03.2005 04.2005 05.2005
03.2005 | 02.2005 | 02.20005 04.2005 | 03.2005 | 03.2005 05.2005 | 04.2005 | 04.2005.
I have created two text variable with Customer exit.But not able to show exact months in the header section.
For first three columns months are coming exactly, but from fourth columns it should display next month, but it is not coming.
I have tried to code, but not successfull.
Please help me how to go about this.
Will assign full points.
Regards,
Vijayhi
Check here........
Re: Customer Exist for "From Current Date To Month End"
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597335a
Cal month
it might helpful for you
assign points if helpful -
BPS Variable-Cost Element is not displaying Text
Dear Team,
We have a peculiar issue one of the BPS Variable defined for Cost Element is not displaying text in one of the Planning Layouts.
Another variable is displaying text in another layout.
Surprisingly...when I reused the old variable in the new layout it is also not displaying the text.
Am I missing something....appreciated your quick support.
Thanks & Best Regards
SrinivasHave you check the layout Lead-Column setting? Is it set to 'Key/Description'?
-
Need to display TEXT in web selection screen
HI All,
We are working on CRM-BW modeling. We have one field called "product" which will have key and medium text. We need to display both key + text in web reporting selection screen. When we ran first time text was not showing in web report. Then we found and change the configuration in search help in SE11 for that field. Then we can see the text+key combination in RSRT but still we can't see the text in web report selection screen...
Now what we have to do to display text in selection screen on web...
Please give your inputs ASAP.....we are in UAT phase....
Thanks in advance
ArunHi Arun,
For you case: Display key & text in selection screen.
In BW,
You can go to query designer, then you'll go to the info-object belong to the variable (selection-screen : product). Right-click, find for the properties, Then you'll see the option for <b>display as</b>.
Choose it for Key and text.
Then save it.
Go to the report, in the selection screen, when you're choosing for the help, you'll see the value displayed by key & text.
Hopefully it can help you a lot.
Regards,
Niel
Thanks a lot for any points you choose to assign. -
Displaying text whenever there is no value present in Database
Post Author: Sujitha
CA Forum: WebIntelligence Reporting
Hi
My business demands that a text 'Defaulted to Zero' be displayed if for a given combination of columns there is no data present in the Fact table.We use oracle 9i.
I have already used the number format where we put a value for the undefined value to display a text N/A where ever the value is not applicable.But i need to display text "Defaulted to Zero" wherever the value is applicable but NOT present in database!!
Can this be acheived in Bo level,I am using BO XI R2.?
This is a very urgent requirement as my project delivery is scheduled.!!
Many Thanks!!!Post Author: jsanzone
CA Forum: WebIntelligence Reporting
Suzie,
You can create a new local variable to report (called something like "NVP"), leave it as a "Dimension" and in the formula type:
if([col_a]=0 or [col_b]=0;"NO VALUE PRESENT")
Basically, you are using the "if" function and the syntax is very much like used in excel except you separate the arguments with a semi-colon versus a comma. You start out with "if()" and within the parenthesis is a logic statement followed by when true do this else that (with the "else that" portion optional as shown above). The drawback to using a local variable is that every report you write must be customized with the local variable versus establishing this logic in a "case" statement when building the data mart and thus it becomes resident and usable like any other column of data in your database. In some cases you are forced in using it as a local variable due to variations in the data and the logical outcome is not known until the very end of all computations, and at other times you can get away with embedding the logic at the time of constructing your data mart -- it all depends on how the data is used and sliced and diced. Good luck and write back if you have any further questions. -
How to display text dynamically
hello,
i am working in dialog programing i need to display text which is save in a file and i want that whenever each new call screen i should display a text message from my flat file on the new screen ..... is there is a funda of xml?If the text is same for all the screens then copy it into a string or variable type c and write it on all the screens
-
Hi gurus,
I have a following problem:
I work in BW 7.0. I have character1 (xkl_kv) with compounding with two characters (xrsk, xmrsk). I create a bps variable that is processed by user-exit. After user-exit is executed in my bps variable I have not any texts. Instead of texts I see only character1u2019s values.
How can I display texts?
Following is code of my user-exit:
FUNCTION Y_OKB12.
""Eieaeuiue eioa?oaen:
*" IMPORTING
*" VALUE(I_AREA) TYPE UPC_Y_AREA
*" VALUE(I_VARIABLE) TYPE UPC_Y_VARIABLE OPTIONAL
*" VALUE(I_CHANM) TYPE UPC_Y_CHANM
*" VALUE(ITO_CHANM) TYPE UPC_YTO_CHA
*" EXPORTING
*" REFERENCE(ETO_CHARSEL) TYPE UPC_YTO_CHARSEL
*" REFERENCE(ETO_ATTR) TYPE
UPC_YTO_ATTR
CONSTANTS:
l_buffer_call TYPE boole-boole VALUE ' '.
DATA: ls_varsel TYPE upc_ys_charsel,
ls_chacmp type upc_ys_chacmp,
ls_attr type UPC_Ys_ATTRSEL.
CASE i_chanm.
WHEN 'XKL_KV'.
DATA:
l_subrc LIKE sy-subrc,
ls_return LIKE bapiret2,
l_type LIKE upc_var-vartype,
lto_varsel_all
TYPE upc_yto_charsel,
lto_varsel TYPE upc_yto_charsel,
lto_var TYPE upc_ys_charsel,
lto_chanm TYPE upc_yto_cha,
lt_chavl LIKE /bic/pxkl_kv OCCURS 1000 WITH HEADER LINE,
ls_chavl LIKE lt_chavl.
read source value
CALL FUNCTION 'Z_VARIABLE_GET_DETAIL'
EXPORTING
i_area = i_area
i_variable = 'XRSK'
i_buffer = l_buffer_call
IMPORTING
e_subrc = l_subrc
es_return = ls_return
e_type = l_type
eto_varsel_all = lto_varsel_all
eto_varsel = lto_varsel
eto_chanm = lto_chanm.
IF l_subrc <> 0.
MESSAGE i136(upc_fw) WITH l_source_var.
Values of variable &1 cannot be determined
EXIT.
ENDIF.
now, you are free to determine the logic on how to
*derive the values based on the source values.
DATA: l_entries TYPE i.
READ TABLE lto_varsel INTO lto_var INDEX 1.
check prerequisites:
- record found?
IF sy-subrc <> 0.
MESSAGE i147(upc_fw) WITH l_source_var.
Variable &1 does not contain any values
EXIT.
ENDIF.
- exactly one record and characteristic?
DESCRIBE TABLE lto_varsel LINES l_entries.
IF l_entries <> 1.
EXIT.
ENDIF.
SELECT * FROM /bic/pxkl_kv INTO TABLE lt_chavl
WHERE ( /BIC/XNAP_KV = '1.' OR /BIC/XNAP_KV = '2.' ) and ( /BIC/XKL_KV <> '0,00000000000000000000001' ) and ( /BIC/XKL_KV <> '0,00000000000000000000002' )
AND /bic/xrsk EQ lto_var-low.
IF sy-subrc <> 0.
EXIT.
ENDIF.
types: begin of tkey,
XKL_KV type /BIC/OIXKL_KV,
TXTLG type RSTXTLG,
end of tkey.
types keys(60) type c.
data: keystr type string,
key type tkey,
keytab type tkey occurs 10.
ls_varsel-seqno = '0000'.
ls_varsel-chanm = 'XKL_KV'.
LOOP AT lt_chavl INTO ls_chavl.
ls_varsel-seqno = ls_varsel-seqno + 1.
ls_varsel-opt = 'EQ'.
ls_varsel-sign = 'I'.
ls_varsel-low = ls_chavl-/bic/xkl_kv.
APPEND ls_varsel TO eto_charsel.
ENDLOOP.
Thank you for your advice.
Regards,
Veronika.up
-
I am using a 3.6 version of imail, when I send an email with attachments in it to someone using microsoft outlook they don't receive the main body of text. How can I fix this!?
In what way does this not make sense? The first line:
var welcomeMessage:String = "text I want to be displayed";
creates a string variable.
The second line:
welcomeMessage_txt.text = welcomeMessage;
uses the value of that variable as the text for a dynamic
text field. It
works, it's a pretty normal method of defining a variable's
value. And
it's a pretty normal method for using that value.
Please explain more about how and why this is incorrect.
In article <f7dtdv$8he$[email protected]>,
"kglad" <[email protected]> wrote:
> your first message and the code you posted don't make
sense and could account
> for your problem. if you're using the textfield's
instance name
> (welcomeMessage_txt), your code is fine but there's no
reason to mention the
> "var" for the textfield. if you're using the "var"
associated with a
> textfield, your code is incorrect. -
Displaying text more than 256 in ALV report
Hi experts,
I have problem while displaying text field in ALV report which has more than 256 characters.
I'm using CL_SALV_TABLE for displaying alv.while concatenating my internal table holding all the text.but at the time of displying the report it's only displaying 256 characters.
Can anyone guide me how to display more than 256 characters in ALV output using CL_SALV_TABLE.Hi,
Please find the below code.
TRY.
gr_column ?= gr_columns->get_column( columnname = 'MATNR' ).
gr_column->set_output_length( '300' ).
CATCH cx_salv_not_found.
Message : Column definition problem
MESSAGE e075().
ENDTRY.
Edited by: Archana.T on Jun 16, 2010 1:24 PM -
How can I display char if a variable is null
Hi All,
How can I display char if a variable is null in sap business object
item name
Office Visits
Non-Emergency ED Utilization
Non-Preferred Pharmacy
above items are value and they are populating for this month but form next month "Inpatient Stays" a new item will add at database level
i want to display this item with current month
final result should be
item name
Office Visits
Non-Emergency ED Utilization
Non-Preferred Pharmacy
Inpatient Stays
i have tried with ISNULL function but it is not working
please help i am using SAP BO 3.1
Thanks in Advance
RanjeetYou should be able to findout NULL using isnull([object]) function.. at report layer..
Try with the below formula which should work for you
=If Isnull(trim([object])) then "Inpatient Stays" else [Object] -
How to display text on last but one page in SAPSCRIPTS
how to display text on last but one page in SAPSCRIPTS
u have create one Foooter window , this has to be called in only One Page.So hardcode /assign this window to only one PAGE number.
regards
Prabhu -
I like to edit my web pages easily,
- click to see html, edit it, (file name already there), save it
- hit restore on browser - see what I did -
Just changed from IE
which gave me NotePad, which is just fine for me
Just changed to FireFox
and it displays text in a non-editor,
can't edit and save easily
What to do??
Even worst - after installing FireFox
IE no longer clicks to NotePad
but that fancy non-editor :-(((ViewSourceWith: https://addons.mozilla.org/firefox/addon/394
See also:
http://kb.mozillazine.org/view_source.editor.external
http://kb.mozillazine.org/view_source.editor.path -
Display Text in a query as a symbol
Hi everyone,
I have a query (BI 7) that displays runtimes of BI applications (generated from technical content -0TCT_MC01 multiprovider).
In the rows there is 0TCTBIOTYPE (type of BI application) which usually displays texts as below:
query
Web Template
I would like to show in the report the symbol (image) instead of the key/text of this infoobject.
Any idea?Hi Reuvel,
Nice requirement.
Not sure 100% but from my memory i guess we can display the image for characteristic, instead of text or key by using Analysis web item Using parameter modification in WAD .
Kindly check for Modifcation parameter Display image Module (com.sap.ip.bi.*.Documentcontent) in WAD, it might solve your purpose.
Regards,
Ashish -
How to display TEXT more than 500 char in a report as multiple lines.
Hi Friends,
i have a requirement like i should display Texts of length more than 500 Characters in a report( ALV LIST) as multiple lines
I am fetching the data Using FM READ_TEXT
the output im currently geeting with 150 Char in lenth as a single line
How we can split the text into multiple lines in a report
first i would like to know is it possible? if possible please give your valuable suggitions if not is there any alternative way to do this task.
Thanks & regards
kumar.Hi,
This is possible but the Solution might not look Standard/Appropriate to you.
In ALV, you can have Multiple Line Output...There is a Field in the Field Catalogue..called as Row_position...this is by default 0...which means Single row/Line ALV output....You can have this Value in the Range of 0 to 3.......A ALV field with row_position 1, will be displayed in the second line for every record...i.e. you will have multiple line for a single record of ALV.
In your case......you can use this but you need to split your field in two fields.....but you may end up spliting a single word....but for that also you can design the logic of splitting the Fiel value at SPACE only......
This may work.......and Sorry if not work......
Maybe you are looking for
-
Vendor Invoice Output to non-SAP Application
Hello, We want to send the posting status of Vendor Invoices to a non-SAP application. What is the appropriate output condition type, Message type and IDOC type that we can use? Thanks, Venu
-
Videos with AOL are erratic or stop altogether
PC, 3 gigs RAM, recently tuned up with iyogi If I run a video through Netflix, no problems. But, if I run a video through AOL, it is very erratic, jumpy, hangs up
-
Telephone number showing on my profile
My contacts can see my real phone number on my profile and if I go to edit my profile I don't have any number added to my account. I just want to know how can i delete that nunber. Help me. Thank you.
-
Created Java Application should start an program, but it hangs
Dear Community, we've scripted a daemon, which listening on a specified port. It supports 3-4 commands, for starting, killing a application and to write files. Now, the wmplayer.exe is no problem to start. But when i try to start a dedicated server l
-
YouTube App - safety mode?
The pre-installed YouTube displays videos of any rating and the offensive language present in many comments on videos. Using YouTube in a browser it is possible to turn on and lock-on "Safety Mode" to ensure my children don't see inappropriate conten