WebDynpro ABAP - Display Short Text instead of values in table column.
Hi WebDynPro Experts,
i have Column in a table which displays subject. This column has domain associated ZDE_SUBJECT with fixed values & short text
Fix.Val Short Text
01 Level 1
02 Level 2
03 Level 3
04 Level 4
05 Level 5
when i bind this cloumn to a table UI element. And have records for this table. At runtime inside the table column. i see values returned as 01, 02 , 03 ( basically fix val) my requirement is to display the corresponding short text. Is there any easy approach to do this???
Hi Prash
I think you need to bind the short text values to the table UI.
I am not sure if there is any other easy approach for this.
Regards
Naresh
Similar Messages
-
Hierarchy node text shows short text instead of medium text in WebI report
Hi,
We have created a simple Hierarchy suing Tx RSH1.
US -> North Carolina
South Carolinakey
Rest of America
Please note "North Carolina" is the medium text for the node while the short text which can contain max of 10 chars is "North Caro"
We have used and activated the hierarchy within the BEx query. Text display with "Medium Text" has been enabled for the InfoObject. The display on the BW report is as expected showing the medium text for all levels and all modes.
When a universe is built on the query and a WebI report is created based on the universe everything works fine other than than the Hierarchy text for different levels and nodes. Instead of showing the Medium text, the short text is getting display.
We took out the text object from the Universe in the Universe designer and went ahead with the key and medium text, but that did not help.
Is this a known bug? Is there a workaround for this issue?
We are on XI 3.1 SP3.
RgdsHi,
I am working on BO XI 3.1 SP2.
I have displayed the medium text for the hierarchy nodes as:
In my universe three detail objects(key, medium name and long name) gets generated for each hierarchy node.
I have copied the definition of L01 Medium name (detail object) in the L01 dimension object. similarly for other hierarchy nodes.
i.e. L02, L03.. etc.
Now the master data which have been loaded for the medium name will be displayed.
Regards,
Rohit -
Display normal text instead of drop down menu
I have two tables. One is the customer particular, which has RaceID(int) as one of the field. The other
table is Race, which has RaceID(int) and Race(char). Both of these tables are linked together.
I have the following code generated from Ultradev when I am using Dynamic Elements Server Behavior.
I will gonna do a search page, which list the value of Race of customer in normal text for each staff,
not the drop down menu(but during insert page, I am using drop down menu to enter the data). How to
do that?
Codes:(This code will generate a drop down menu which compare the value in the customer particular and
the race tables. If selected, display that one with the drop down menu.
<select name="race">
<%
while (Race_hasData) {
%>
<option value="<%=((Race.getObject("raceID")!=null)?Race.getObject("raceID"):"")%>" <%=(((Race.getObject("raceID")).toString().equals(((((Matching_data
= Matching.getObject("raceID"))==null || Matching.wasNull())?"":Matching_data)).toString()))?"SELECTED":"")%>
<%=((Race.getObject("race")!=null)?Race.getObject("race"):"")%></option><%
Race_hasData = Race.next();
Race.close();
Race = StatementRace.executeQuery();
Race_hasData = Race.next();
Race_isEmpty = !Race_hasData;
%>
</select>don't use <select>, use <input type = "text"> instead and you will get text box.
-
How can I control in a short text that the value entered is Email type
Hi,
I would like to add an Email in the Account object. In the OCOD standard, there is no Email field. I created a short text field to manage my need. I would like to add a validation rule to control that the value entered is an Email.
Is it possible to do it?
Thanks for your help
Regards,Hi,
I assume you just need to make sure the email address entered is well formed and not that you are trying to make sure that the email address actually exists on the Web.
I've had a similar issue in the past and the first finding was that there is not one single standard for email address syntax. For instance, some systems would accept the underscore character, others wouldn't.
As a result, development languages and systems don't have a built-in function for this purpose. You'll have to write your own checking test, considering the following rules:
- there must be one and only one @ character
- the @ must not be leading or trailing
- there must be one and only one dot after the @, but not right after
- other characters should only be basic letters (a..z), digits (0..9) and dash. This one is the loosest rule, where you'll find exceptions to manage (such as the underscore character)
Not much easy to program in a workflow rule, I admit!
Good luck
Christophe -
Receiving multiple short texts instead of one from some people
Just started happening where I get a text message (from only a few different contacts) that comes in as multiple short text messages. Everyone else's come through as one message, theirs is 5 or 6. This of course is eating up my text allowance. Is it a phone issue, a setting on my side, or a setting on these few contacts side?
Messages are sent as either SMS (short message service) or MMS (multimedia message service.) MMS used to be mainly for picture messages, but now also covers sending text messages longer than 160 characters. My guess is that your friend has a phone or service that for some reason is not allowing MMS
-
How to display help text in pop-up windo for column headers in
Hi all,
is it possible to display help text message in pop-up windo for manually created tabular form headers.
i am trying but not getting. any help will be appreciated.
Thanks in advance,
AmitAmit,
I've responded to this in:
How to put help text for column headers of manually created tabular form.
Unless this is a different question?
Andy -
Sql Loader INFILE name value in table column Value
Hi,
Here is my Sql Loader Script
LOAD DATA
infile '%1'
APPEND INTO TABLE XX_SUPPLIER_UPD
FIELDS TERMINATED BY ";" OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
ACTION Char
,ADDRESS_TYPE Char
,REGION Char "LTRIM(RTRIM(:REGION))"
,PO_BOX Char
,,WWW_ADDRESS Char
,status Char "NVL(:status,'X')"
,filename Char "replace(:infile,'\"','')"
I am getting the infile name as the parameter and i want to insert that parameter value in the column name fillename. Can any one guide me to how to do.
Cheers!
Jayaraj.SIf you were to use external tables instead of SQL*Loader, you can dynamically change the location of the external table (i.e. the filename) using a simple ALTER TABLE statement.
External tables also mean that all the control is inside the database rather than relying on external utilities and external scripts.
;) -
Display of calender month text instead of values in BEx report.
Hi,
I have calender months in the reporting columns, values of these reporting columns are dynamic in reports. We need to replace these values with text of the calender months. I have seen it at some places but do not remember how to do it now.
Can some one has idea on this, will update on this post please.Hi
if you want to display in columns along with the data then right click and select properties and the select the disply as Text .
If you want to display in the header go the properties and in the header (Title area where u provide desxcription) instead of ur description enter the text variable &0T_CMONV& or you can select the text variable from the list .
Regards
Ram -
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 -
How to change the text alignment of an adf table column
Hi everyone
I have a read only adf table that uses banding. What I want to do is change the text align property of one of it's columns but the task seems not at all trivial.
I tried entering a value for the text-align property in the inline style of the specific af:column tag and failed. I then tried to do the same for the af:outputText element inside the column but still nothing worked. I even created a css style and changed the StyleClass attribute on each or both elements without any luck.
Can anybody shed some light here ...
ThanassisSpecify the text-align in a css.
Re: styling column headers in adf table -
Add numeric value to Table Column
Hello,
my problem:
I have a VO with a numeric attribute (Sal). This VO is shows in a table in a JSF Page.
I need to add to the column value a numeric value.
I try with #{row.bindings.Sal.attributeValue*2} or #{row.Sal+2} or #{row.Sal.inputValue+2} But I get an error.
Can someone help me ?
Thank You
JDev 11.1.3Hi,
an option would be to use a transient attribute in the VO to compute the maths or to populate the column field from a managed bean. You can point the column field to a managed bean property (say sumSal). In this method getSumSal() you
1. Use ELContext, ValueExpression, and ExpressionFactory to resolve the #{row} reference (you can cast it to oracle.jbo.domain.Row
2. call row.get("attribute_name") to access the field value
3. Perform the computation and return the value to display in the table
Note that using a transient attribute may be easier to achieve and easier to reuse in other usages of the VO. However, you have to options
Frank -
Hi,
I am new to OAF, I am trying to get the value from the table in order to make validation. I have the following PG:
SearchResultsTableRN
itemRow
DetailsCell
DetailsTableLayout
ShortDescRow
ShortDescCell
ShortDesc
LongDescRow
LongDescCell
LongDesc
AttributesRow
AttributesCell
AttributesTableLayout
Attributes1Row
Attribute11Cell
ect...
Can anyone help me please in how to go into the table --> row --> column to retrieve the value from a specific column?
If their is a document or example that can help I will appreciate it. Since I tried searching in devguide and didn't find any results.
Note: I am extending the controller and reached till the following code:
public void processFormRequest(OAPageContext oapageContext, OAWebBean webBean){
super.processFormRequest(oapageContext, webBean);
String event = oapageContext.getParameter("ShortDescRow");
OATableBean advtable = (OATableBean)webBean.findChildRecursive("SearchResultsTableRN");
OARowBean rowtbl = (OARowBean)advtable.findChildRecursive("DetailsCell");
String message = "test:"+event+"|"+advtable+"|"+"|"+"|"+"|";
throw new OAException(message, OAException.INFORMATION);
Thanks and Regards
PatrickPatrick,
My first advice would be go through OAF guide and do tutorial examples, for such basic details.
If ur talking about tablelayout region
u can use pageContext.getParameter(<Item id of UIX bean whose value u want>);
If you are talking about table
You can Iterate through the VO based on primary key ...on which the table is based, and retrive the corresponding Vo attribute value.
--Mukul -
Display Key instead of Text in filter value
In BEx excel query, filter is displayed as text instead of key. I've changed the ojects properties to display as Key, but still displays text in query. Is there a way to change this??
Hi Angie,
There is no way to change it by way of system settings... -
Selection Screen - Text instead of Key in the value help
Hi ,
I have implemented selection options for Web dynpro.
The value help for the selection fields displays the key of the selected value (standard).
I would like to know if there is an option to display the text (instead of the key) in the field.
Key Text
01 AAAA
02 BBBB
03 CCCC
So if I select say - 01 and 03 in the value help, Can I display AAA, CCCC in the field (or next to the field)
Thanks,
Sri
Edited by: Sri on Sep 29, 2010 8:19 AMHI,
You can dispaly it as dropdown and it shown the text:Use the beloe code refernce;
DATA lt_valueset TYPE wdy_key_value_table.
DATA ls_valueset LIKE LINE OF lt_valueset.
ls_valueset-key = '1234'.
ls_valueset-value = '1234test'.
APPEND ls_valueset TO lt_valueset.
ls_valueset-key = '1235'.
ls_valueset-value = '1235test'.
APPEND ls_valueset TO lt_valueset.
ls_valueset-key = '1264'.
ls_valueset-value = '1236test'.
APPEND ls_valueset TO lt_valueset.
CALL METHOD wd_this->lo_select->add_selection_field
EXPORTING
i_id = 'CAND_ID'
it_result = lt_range_table
i_as_dropdown = abap_true
it_value_set = lt_valueset
* i_read_only = ABAP_FALSE
* i_dont_care_value =
* i_explanation =
* i_tooltip =
Regards,
madhu -
Conditional Formatting - to display text instead of Image
Hi,
We have a requirement in a BI Finance Report wherein for an amount if it is NULL or 0 it needs to show '-' symbol.
Initially we placed a image in the Conditional Format Properties similar to that symbol, but it doesnt satisfy the requirement.
There are 35 metrics in 3 BI Reports each where we need to do this change. If we write a CASE statement, that will run for 30mins which will be a bad performance issue. So can we display a text instead of an Image using Conditional Formatting or any other way.
P.S. In one of the report, we have Union joins, so we cannot write a CASE statment for each metric in every report.
Please give your inputs.
Thanks in AdvanceHi,
use ELEMENT_TYPE_N = VARIABLE_KEY in the List of text elements
(see http://help.sap.com/saphelp_nw04/helpdata/en/9f/4e9d39d44cd45ee10000000a11402f/frameset.htm )
Heike
Maybe you are looking for
-
Folks in my JSP i have a combo box where in user can select multiple values and in my Servlet i set them using a Serilizable object public void setSites(String[] sites) this.sites = sites; and in my EJB i get them as public String[] getSites() return
-
Automator - Watermark PDF Documents
Since Lion, I'm unable to use the Auromator Action "Watermark PDF Documents" I can select a .png file for the watermark, but it does not list in the action (see below) Can someone confirm that they are also unable to get this action to work, as I wou
-
Nokia Lifeblog - Can't Sync - 'An Error occurred"
Hi guys, I've been using Nokia LifeBlog flawlessly for a while with my Nokia N81. Suddenly when I try to sync it, it gives me an error that says: "An Error occurred" I've tried reinstalling Nokia Lifeblog heaps of times, nothing seems to work. Any he
-
Product description not visible
Hi, When I create SC and click on Internal Godds and Service the Prodcut description is not available in the list.Pls let me know how to get it displayed. Thanks, Manu
-
Studio Enterprise "loses" settings
A couple of weird things have happened recently that make it look like JSE8 has lost configuration info. One was that it couldn't find an import in the library. Evenrything was working fine, then I created a new class and used the automatic Import Fi