Appending to a value
Hello:
I have the following query which translates a column to include "underscores". In addition, at the end of the value, I need to add the following "_v1".
In addition, I need to add two additional texts to precede the value. For example:
The current value looks like this: Retinal Exam.
My current query gives me the following result: Retinal_Exam.
I need the query to give me this result: WM_TMV_Retinal_Exam_v1.
The WM and the TMV are coming from other tables.
Can someone help me fix my query as I can add this extra bit of text?
This is my query:
select global_traittype_description, translate(global_traittype_description,' /-()','_') as traitname
from trait_map_dim
order by global_traittype;I tried a number of things and I keep receiving an "Invalid Character" message.
Thanks for the help.
Hi,
Assuming Column_value 'WM' comes from table_1. Column_1
and column_value 'TMV' comes from table_2.Column_2.
Your query would be something like:
select global_traittype_description,
table_1.Column_1 || '_' || table_2.Column_2 || '_' || translate(global_traittype_description,' /-()','_') || '_v1' traitname
from trait_map_dim, table_1, table_2
where
{join condition of your three tables}
order by global_traittype;
Hope this helps.
Regards,
Jo
Similar Messages
-
Parameters - Not Filling in when using Append all database values
Hello, I am using CR 2013 and trying to create a parameter which would be a list of organization names from a MySQL Database. I am able to see the tables and field names no problem but when I click Append all database values I get the circle and nothing appears. It should be noted I can see a list of values in the "Select Expert" for that same table and field.
I am running a Windows 7 machine.
Please let me know if you have any suggestions or solutions.
Thanks,
Peter LaMontare you using win 7 sp1 or higher as per the supported platforms. you probably are but have to ask.
i would recommend trying to create a new report off of the same db and try to use a dcp again. if that doesn't work, can you create a dcp (using a new report) off of a different database type...e.g. ms access?
is anyone else in your environment having the same issue?
if none of the above work it's most likely an install issue and you may wish to try an update of cr finding the latest sp here.. -
How to show Append Changes previous value in text box during edit
Hi,
I am using multi text column with append mode, all feature of append mode is working fine,but when any other field has been changed on that time append text box take blank value.
when using same list with ssrs ,report shows the current data,but after approved by manager current item change in blank and current data come in history.
is any way to do ,if any body change the any item same data appear during edit time in same column.
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
|
| TwitterHi Hasan,
According to your description, my understanding is that the multi text column with append mode is not working fine in your SharePoint 2010.
For reproducing your scenario, I created a new custom list , turned on its version feature and added a multi text column with append mode. But it was working fine when I change the values of both the
multi text column and other columns.
For your issue, could you create a new list to verify the multi text column with append mode works correctly.
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Sapce getting append to the value in textfield
Hi All,
In my project, for the value in one inputfiled i am calucating some value in new child,opening window like this
var win = window.open("fetchprice.htm?matnr="+matnr_value,"FETCH_VALUE",);
In the child window after calucating the value it posted back to the input filed in the parent using the following
opener.document.forms['myform'].elements['value1'].value = '<%=wr_test%>';
The input filed in the parent getting the value is
<htmlb:inputField id = "value1"
type = "bcd"
alignment = "right"
doValidate = "TRUE"
decimals = "2"
size = "20"
maxlength = "20" />
The problem is while the value is posted to parent inputfiled from child window a space is getting append to the last of the digits .How can i fix this problem?
Thanks & Regards
Sujithis it only happenning when posted to parent input field from child window?
i just tried this code and i dont get any space at the end.
<%
data: test type i .
test = '1234.45' .
%>
<htmlb:inputField id = "IP"
alignment = "right"
size = "20"
type = "BCD"
value = "<%= test %>"
maxlength = "20"
doValidate = "TRUE"/>
Regards
Raja -
Mass updating a multi-valued field- to append the new value
I have a question on multi-valued fields:
I have store table with 5 multi-valued fields, say MLB, soccer, college FTBL, college Basketball, etc.
A store can have 4 MLBs, 2 soccer teams, and so on.
Say, there is a new MLB that came out called Mexico MLB team.
A user wanted to add this to 30 stores using a mass update. But remember the 30 stores can have totally different sets of values in the multi-valued fields.
How can I add this new value while still preserving the MLB teams values of each store record?
Does MDM not support this feature?
I am using SAP MDM SP6
An answer would be highly appreciated.
Thanks
SaviSavi,
I assume you are defined these fields as multi-value lookup and linked to main table. In general, you can not because it will mess up and overwrite your multi-value entries for all of your 30 store records.
Here is something in MDM come in handy. It is following the same concept but design your model a little differently. If you model your multi-value fields into qualified lookup table, it will be easier and optimized to handle.
You can select all 30 records and mass-update with adding the new MLB entry into your Q-lookup table. Once you save, this mass-update action will respect all your diversity of each individual records with the new value added.
Hope this helps
If this answers your question, please kindly reward the points.
Regards
Dawei -
Dynamic variable in 11g rpd - character 'd' got appended to default value
Hi All,
We have recently upgraded to 11.1.1.6 version from obiee10g.
We are facing an issue with default initializer in the dynamic variables in the RPD.
For one of the dynamic variables XYZ_YEAR default value is '2013.0d' in 11g. In 10g for the same dynamic variable XYZ_YEAR default value is '2013'.
As we are using this variable on the 11g dashboard the following error has been thrown -- A numeric value was expected (received "2013.0d")
After the upgrade we are unable to do online changes to the RPD. That is another issue.
So, coming back to the variable issue. I have taken a offline copy of the rpd and changed the default value of the variable to '2013.0'.
And ported the offline rpd via EM. Initially, it seemed to be resolved. But, after sometime the dashboard got errored out with the same error.
I went back to check the online rpd and saw the dynamic variable's default value as '2013.0d'
I have tried making changes in offline rpd twice and ported the rpd via EM but the issue still persists.
Thanks,
Obul
Edited by: obul on Nov 23, 2012 3:44 AMAn easiy solution to this issue is to change the SQL for the initialization block to look like this:
select cast(year as number (4,0)) from blah....
The ,0 in the number specifier truncates any decimal data, and OBIEE then sees it as an integer type instead of decimal. Sorry, I posted this answer in another thread, but there seem to be quite a few threads about this issue.
Hope it helps!
Scott -
Append Lookup Column Values using SharePoint Designer Workflow
Hi all,
I can set the value of a lookup column using number;#itemname (ex. 1;#MyValue), but I need to add a value to a lookup column that has existing values. I have tried setting the lookup column to the current value plus the new value, but it fails. Please assist.
Regards,
Kelly
Personal Blog: http://thebitsthatbyte.comThis would fail because when using a lookup, that value must exist. The lookup creates a reference and if it can't find the reference in the list it's looking up to, it will fail. If you want to set it to something that is not in that list, then you'd
either need to add it to the list first (run a loop through the list and check to see if it's there, Yes=set the field, No=create new item in list and then set field) or use a single line of text field.
Andy Wessendorf SharePoint Developer II | Rackspace [email protected] -
How to append the Default value in the QueueValue
Hi Frnds
Could any one help on how to add an default value to an Queueid in SXMB_MONI
My field is ID_PART, its value is ZGRD929
i want this as 00ZGRD929 in the interface in SXMB_MONIif you are looking for dynamic queue creation, refer;
Setting Queue Dynamically using Adapter Module
Dynamic EOIO Queue Derivation with Adapter Modules -
To open a new page by appending some values
Hi,
I created a button and on click of the button it should open a new page based on a few flag conditions.There are 4 URL's which are stored in a standard table.Please let me know how i can open the page by using the respective URL and then appending the opportunity value to it.
Thanks,
Sirisha NTo open url on button click, you can use the following example, that I used in one of my cases...
Z P/L analysis
ls_button-text = 'P/L analysis monitor'.
ls_button-tooltip = 'P/L analysis monitor'.
lv_string1 = 'javascript:window.open( "'.
lv_string2 = '" );'.
CONCATENATE lv_string1
lv_url2
lv_object_id
lv_string2
INTO lv_string3.
ls_button-on_client_click = lv_string3.
ls_button-page_id = me->component_id.
ls_button-enabled = abap_true.
APPEND ls_button TO rt_buttons.
CLEAR ls_button.
Comments:
- lv_string3 represents the URL
- lv_url2 contains the url of bsp component, which you can build manualy or read from any table with select single statement
- lv_object_id represents the id of opportunity which you can read from BOL or with one of crm_order_read function modules
Regards. -
Append list values under Field selection per Mvt type (MIGO)
Hi Experts,
Can we append list of values for u2018Field Nameu2019 in case of Setting for goods movement (MIGO), under Field selection per Mvt type. We want to append values for 101 Mvt type.
Current values are
CUSTNAME Customer
EXVKW Sales Value
GRUND Reason for Movement
LIFNR Vendor
SGTXT Text
WEANZ Number of GR Slips
WEMPF Goods recipient
Regards,
Praful MankarHi pafulmankar
If you find the solution, please share with me. I do have the same requirement
Thanks -
Append String onto inputText value
Hi all,
I need to append the string value " - old" onto a value. How do I do this?
I had: <h:inputText rendered="#{diffHandler.costCode.isDeleted}" id="descriptionOld"
value="#{diffHandler.costCode.alternateDescription} - old">but when I go to save it, it throws an error. What I need is the -old to be appended onto the value and set when the save is pushed.
Cheers,
IlluMake a separate property on your backing bean that handles it in the getter and setter.
-
Weird "\r" in property value
Hi,
I am populating an object in my code and for some reason when I debug it I see this "\r" at the end of the value. It is driving me nuts and I can't figure out why only this property has it that way. The other properties populate fine but I am getting this "\r". Any idea why? Here is what I am seeing when I debug within Flex Builder
username: "jblow\r"
email: [email protected]
phone: "800-555-1212"
I assume \r is some type of new line character or something to that effect but I'm not sure why it's getting appended to my values.
-WestsideFrom a database query. I am thinking the data is stored in the database like that so the solution may be simple as ensuring the the initial data is trimmed before loading it....
-Westside -
Inserting a value from page field into an xml file
Hi there,
I have added a field 'Comments' on a create vacancy page.
There are other fields on that page and the values from those fields are getting stored in an xml file.
This xml file is getting stored in TRANSACTION_DOCUMENT column of table HR_API_TRANSACTIONS.
Is it possible to add the value from the field (that I've added on the page) into the same xml file?
If yes, please tell me how
and if no, tell me what should I do to store that value.
Regards,
Gaurav.Hi Gaurav,
You need to check in seeded files for the logic of generation of XML file and setting it in DB column. May be in PLSQL API this code would exist.
Once you get that logic you can append your column value in XML tag (need to create new tag) if you are allowed to modify seeded API. Otherwise use free additional attributes of the table.
Hope I am clear.
Regards,
Mukesh Uchaniya -
How to clear a default condition / parameter value in a Discoverer Viewer ?
Hi there,
Appreciate if anyone can help with what I am trying to do below in Discoverer10g:-
1. In Desktop we created a workbook with a parameter and we set the default value of the parameter as '%%'. This is so that all values are selected for that parameter unless the user over-writes it by picking values from the LOV.
2. When we run the workbook in Desktop, and pick a value out of a LOV, the system automatically remove the '%%' and substituted with the values picked from the LOV. This is working well.
3. However, when we published the workbook to our Disco Viewer users, on the parameter screen, when a user picks values out of the LOV, the system DOES NOT remove the '%%' automatically, and appends the picked values to the list. Of course this makes the report select all values for that parameter.
4. To resolve the problem, the Viewer user has to manually remove the default '%%' before picking values out of the LOV. Often they forget to do that and trust the value reported on the worksheet.
5. We believe some sort of a "REPLACE '%' with BLANK" function on clicking the "Move" button will remove the '%%' values when we pick values from LOV in the parameter screen. But we do not know how to do this.
If anyone has successfully done the above and share his experience, that will be much appreciated.
Thank you.Hi there,
Thanks for your feedback.
Our workbooks mostly have muitii-item parameters where the users can pick more than one value.
I have created a test workbook in Desktop with a mutil-value parameter. After picking up multiple values from the LOV, the '%%' default automatically get sover-written.
I shared this same workbook to a Viewer user.
In Viewer, after picking multiple values from the left window and clicking the [Move] button, the '%%' value stays. Wonder if anything can be done to remove the '%%' in Viewer after the user has picked a value and the [Move] button is clicked.
Further help / comments appreciated.
Thanks again for your help.
Regards -
Web Services from ABAP function modules return values- leading zeros
I am using several web services from SAP CRM (5.0) that were created from Function modules ( I am assuming that that they are in ABAP).
I can call the web services fine and they work as expected, but I am seeing a lot of leading zeros in the return values of fields in tables from the Web service.
The ABAP ers are telling me that they cannot see the leading zeros.
So my question is where these are appended to the values in the whole process. When I execute the Function Module in SAP CRM from transaction SE37 I can see the leading zeros. So I think that this is something that has to be handled by the ABAP ers and not in the client consuming the web service.
Are the functions in SAP CRM that can remove leading zeros for fields in a table (that is an export parameter?)
JawaharHello Jawahar
If you run your (RFC-enabled) function modules using the SAP-GUI (i.e. in dialog) then the GUI automatically replaces leading zero when the function module returns any data. However, calling the same function module remotely you will always see these leading zeros.
These so-called conversion exits are defined as attribute of domains in the ABAP dictionary. If the function module used for the WebService is a standard fm then you have little chances to get rid of the leading zero. Perhaps the WebService has some attribute to suppress conversion exits or activate them when retrieving the data.
Regards,
Uwe
Maybe you are looking for
-
How to deal with huge old stockpile of footage ala "Mr. Brainwash"??
Total newbie who is feeling a little stuck, and could really use some help dealing with a "video hoarding paralysis"... Here's what I've got: about 250gb of clips, covering a span of 5 years and a dozen main projects. I did all of the original upload
-
How to convert javascript alert message into an Inline message in Apex Page
Hi All. Im new to Apex. Present Approach - I have a dynamic report region developed using API's like APEX_ITEM etc. I am using java scripts to validate these dynamic items and popup alert messages as shown below - function ValidateNotObservedCB(p_row
-
Photosmart all in one - not scanning to PDF
Our photosmart premium all in one fax, scanner printer no longer scans to PDF files. It prints ok and we can scan to photo directly from the scanner to USB and from / to the PC. It worked perfectly well before, then started to stop several pages int
-
I'm trying to install the latest XCode from the App Store on a used MacBook Pro running OS X Lion with all the latest updates. The app appears to download then I get a message "An error occurred while extracting files from the package "mzm.rdaenqgx.p
-
My new car has a USB port and requires music in MP3 format to play. How can I convert my mountain lion Itunes 11 m4a albums to mp3?