Help me on how to update values with some condition ?
hi..
I have data as below:-
select qualifier from nv2_audit_log where qualifier like '%NXPRI%NXUPM%';
/acec/nv2am/data/input/NXPRI/NXUPM.P691011_691110
/acec/nv2am/data/input/NXPRI/NXUPM.P691011_691110
/acec/nv2am/data/input/NXPRI/NXUPM.P691011_691110
/acec/nv2am/data/input/NXPRI/NXUPM.P691011_691110
/acec/nv2am/data/input/NXPRI/NXUPM.P691011_691110
/acec/nv2am/data/input/NXPRI/NXUPM.P691811_691910
/acec/nv2am/data/input/NXPRI/NXUPM.P691811_691910
/acec/nv2am/data/input/NXPRI/NXUPM.P691811_691910
/acec/nv2am/data/input/NXPRI/NXUPM.P691811_691910
The question is how could i update all the qualifier from
/acec/nv2am/data/input/NXPRI/NXUPM.P691811_691910 to /acec/nv2am/data/input/NXUPM/NXUPM.P691811_691910 where qualifier like '%NXPRI%NXUPM%' ?.. Could somebody help me ?
Actually i want to change the NXPRI to be NXUPM only for all record with qualifier like '%NXPRI%NXUPM%'
The output must be like this:-
/acec/nv2am/data/input/NXUPM/NXUPM.P691011_691110
/acec/nv2am/data/input/NXUPM/NXUPM.P691011_691110
/acec/nv2am/data/input/NXUPM/NXUPM.P691011_691110
/acec/nv2am/data/input/NXUPM/NXUPM.P691011_691110
/acec/nv2am/data/input/NXUPM/NXUPM.P691011_691110
/acec/nv2am/data/input/NXUPM/NXUPM.P691811_691910
/acec/nv2am/data/input/NXUPM/NXUPM.P691811_691910
/acec/nv2am/data/input/NXUPM/NXUPM.P691811_691910
/acec/nv2am/data/input/NXUPM/NXUPM.P691811_691910
Thank you,
baharin
Hi,
Use this update statement.
Update
nv2_audit_log
Set
qualifier = replace(qualifier,'NXPRI','NXUPM')
Where
qualifier like '%NXPRI%NXUPM%';
Hope this helps!
Regards,
Rajesh.
Similar Messages
-
How to display value withing some range?
Hi,
I am trying to display months name using map and my results are as below:-
1)January
2)February
3)March
4)April
5)May
6)Jun
Now I want to display the result in some range i.e. display from 2) to 5) or from 4) to 9); whatever user inputs the range.
So how can I achieve this?
Regards,
PrateekHi,
With the help of Range droplet I am able to set the limit of my month list like if I give the value as 3 in howmany parameter;it shows the following result-
1)january
2)february
3)march
But as I said previously how can I show te result as below if user gives some input like (3-4):-
3)march
4)april
5)march
Thanks. -
I can't download from app store apps. if i try then open account and ask me shange payment type because there is a billing problem with a previous purchase. I download one game 0.99 and nothing more! help me. How can i contact with apple?
Click here and ask the iTunes Store staff for assistance.
(102938) -
how to add docentry with some num.?
can you solve below query
Declare @a as Numeric
SET @a=14900000;
SELECT (@a+($[@MAINTDCHEAD.DocEntry])as 'series no'Hi,
Yes possible.
Try this:
Declare @a as INT
SET @a=14900000;
SELECT (@a+($[ORDR.DocEntry]))
Thanks & Regards,
Nagarajan -
I own a Mac. I want to install some new programms but itunes wants to upgrade itself and wants me to agree with some conditions. I WILL not agree to those conditions.
How can I install software now? The stupid screen keeps popping up that itunes wants to be updated. Going round in a circle here.Well, if you want to use iTunes and whatever security or changes have been made with the iTunes Agreement have changed since last time, and to work with the iTunes Store....
Clone your system.
You can also turn off updates.
Are you on Lion? And already have iTunes 11? You can manaully download and go to the support page and see what changes were made and other requirements.
There is a forum for issues with itunes (but not with the software license and agreement)
iTunes 11.1.3This version of iTunes resolves an issue where the equalizer may not work as expected and improves performance when switching views in large iTunes libraries. This update also includes additional minor bug fixes. Nov 5, 2013
http://www.apple.com/support/itunes/ -
How to update value in internal table from cdpos taking fname n value_new?
hello everyone,
i want to insert value in internal table from cdpos table taking field name from fname and value from value_new.but the problem is i am not getting how to map the corresponding field of internal table with fname value which is the field name.
for example
i
fieldname
value
name1
raj
name2
sharma
i want to update field name1. this name1 is there in fname with updated value in value_new how to make name1 with fname value
thanks and regards
laxmikant soniHi Laxmikant,
If I have understood your requirement correctly, you need to update an internal table with latest 'value_new' from cdpos table where 'fname' = 'fieldname' .
Hope the below logic will help you:
FIELD-SYMBOLS: <wa_intab> LIKE LINE OF lt_intab. "the internal table you want to change
LOOP AT lt_intab ASSIGNING <wa_intab> .
READ TABLE lt_cdpos INTO wa_cdpos "lt_cdpos contains latest data selected from CDPOS
WITH KEY fname = <wa_intab>-fieldname.
IF sy-subrc = 0.
<wa_intab>-value = wa_cdpos-value_new.
ELSE.
"//logic if the name is not there in CDPOS
ENDIF.
CLEAR wa_cdpos.
ENDLOOP.
If you wish to improve performance, I suggest using
1. "transporting value_new" addition in READ TABLE,
2. select only the data which you require from CDPOS,
3. create the internal tables with only fields which you require,
4. when you are using SELECT,LOOP AT statements, limit records by using WHERE condition
Regards,
Kavya -
How to update values to the database?
hi all!
iam using a simple form where some 4 or 5 textitems are used.
with a select query, iam selecting a particular record.
say, if i update a particular value(column), then how can
i make the code in such a way that only particular column is
updated.
p.s:
my query shud not update all the column values.
is anyone can help me?
thanks.Maybe you can use the following to find out where the cursor is, then check if that field has been updated:
SYSTEM.CURSOR_ITEM
Description
SYSTEM.CURSOR_ITEM represents the name of the block and item, block.item, where the input focus (cursor) is located.
The value is always a character string. hi Bob!
hope this logic works out.But can u explain with some code sample.
Thanks a lot. -
How to show values with initial sort asc/desc in 11.5.10 iProcurement page?
(Logged Bug 12902576 with OAFramework DEV, but OAF DEV closed the bug and advised to log the issue here in the forum)
How to have values sorted in ascending order when user first navigates to the page?
Currently the values are unsorted, and are only sorted after the user clicks the column heading to sort the values. We expect the users should not have to click the column heading, but instead that the values should be sorted in ascending order when the user navigates to the page. This issue occurs on an OAFramework based page in iProcurement application.
PROBLEM STATEMENT
=================
Receipts and Invoices are not sorted in iProcurement Lifecycle page even after implementing personalization to sort ascending on Receipt Number and Invoice Number. Users expect the receipts and invoices to be sorted but they are not sorted.
STEPS TO REPRODUCE
1. Navigate to iProcurement
2. Click the Requisitions tab
3. Search and find a requisition line that is associated to a Purchase Order having multiple receipts and multiple invoices.
4. Click the Details icon to view the lifecycle page where the receipts and invoices are listed
- see that the receipts are not sorted, and the invoices are not sorted
5. Implement personalization to sort in ascending order for Receipt Number and for Invoice Number. Apply the personalization and return to page.
- the receipts and invoices are still not sorted.
IMPACT
Users need the receipts and invoices sorted to make it easier to review the data. As a workaround, click the column heading to sort the results
Tried workaround suggested by OAFramework DEV in Bug 12902576 but this did not help.
TESTCASE of suggested workaround
NAVIGATION in visprc01
1. Login: dfelton / welcome
2. iProcurement responsibility / iProcurement Home Page / Requisitions tab
3. Click the Search button in the upper right
4. Specify search criteria
- Remove the 'Created by' value
- Change 'Last 7 Days' to 'Anytime'
- Type Requisition = 2206
5. Click Go to execute the search
6. Click the Requisition 2206 number link
7. Click the Details icon
8. In the Receipt section, click the link 'Personalize Table: (ReceivingTableRN)'
9. Click the Personalize (pencil) icon
10. Click the Query icon for Site level (looks different than the screenshots from OAFramework team, because this is 11.5.10 rather than R12
- Compare this to the Table personalization page show in the reference provided by OAFramework team -
http://www-apps.us.oracle.com/fwk/fwksite/jdev/doc/devguide/persguide/T401443T401450.htm#cust_persadmin_editperprop
11. See on the Create Query page
Sorting
No sorting is allowed
The Query Row option becomes available in personalize after setting the Receipt Number row to Searchable. However, even after clicking the Query icon to personalize, it is not possible to specify sorting. There is a Sorting heading section on the personalization page, but there is also a statement: No sorting is allowed
The workaround mentioned by OAFramework team in Bug 12902576 does not work for this case
- maybe because this is 11.5.10 rather than R12?
- maybe similar to Bug 8351696, this requires extension implementation?
What is the purpose of offering ascending/descending for Sort Allowed if it does not work?
Please advise if there is a way to have the initial sort in ascending order for this page.I´m sorry that you couldn´t reproduce the problem.
To be clear:
It´s not about which symbol should seperate the integer part from the fraction.
The problem is, that i can´t hide the fraction in bargraph.
The data im showing are integers but the adf bar graph component wants to show at least 4 digits.
As I´m from germany my locale should be "de" but it should matter in the test case.
You can download my test case from google drive:
https://docs.google.com/open?id=0B5xsRfHLScFEMWhUNTJsMzNNUDQ]
If there are problems with the download please send me an e-mail: [email protected]
I uploaded another screenshot to show the problem more clear:
http://s8.postimage.org/6hu2ljymt/otn_hide_fraction.jpg
Edited by: ckunzmann on Oct 26, 2012 8:43 AM -
Question: How to update app with a new version with new SQLite tables?
We're updating an application in the App Store, and haven't yet found good information on how to deal with updates to the SQLite Schema and data that should be transferred between apps.
Anyone successfully done this?
Q1: Does the old DB files stay on the iPhone after update? Does the installer do a "diff" between them? In our case, we just extended tables, rather than changing them, in hope that we can successfully move the data for users gracefully.
Q2: If the installer does in fact wipe all the data and files on the app before install, is there a way to access the data before it updates, so the app can gracefully update the data?to Templeton Peck:
Good Sir,
I would thoroughly appreciate you responding in a helpful manner rather than punishing my question with no regard to my question. Your harsh, quick, and false judgement was certainly not appreciated here. In regards to the macbook release: I was simply wondering IF there were releases of information that I had not heard of. I wasn't asking you to spill rumors of never released info.
Maybe you should read this material a little more carefully without hastily looking forward to ripping apart a wondering mac user.
But in regards to the SQL, I enjoy the following:
UPDATE table
SELECT........ -
Updating values with in the same table for other records matching conditions
Hi Experts,
Sorry for not providing the table structure(this is simple structure)
I have a requirement where i need to update the columns of a table based on values of the same table with some empid and date match. If the date and empid match then i have take these values from other record and update the one which is not having office details. I need the update query
Before update my table values are as below
Sort_num Emp_id office start_date
1 101 AUS 01/01/2013
2 101 01/01/2013
3 101 15/01/2013
4 103 USA 05/01/2013
5 103 01/01/2013
6 103 05/01/2013
7 104 FRA 10/01/2013
8 104 10/01/2013
9 104 01/01/2013
After update my table should be like below
Sort_num Emp_id office start_date
1 101 AUS 01/01/2013
2 101 AUS 01/01/2013
3 101 15/01/2013
4 103 USA 05/01/2013
5 103 01/01/2013
6 103 USA 05/01/2013
7 104 FRA 10/01/2013
8 104 FRA 10/01/2013
9 104 01/01/2013
Thanks in advanceI do not have time to create the table with data but basically you should be able to code the following
update table a
set office = ( select office from table b where b.emp_id = a.emp_id
and b.start_date = a.start_date
and b.office is not null
where exists ( [same query as in set] )
and a.office is null
I believe that will do the trick.
HTH -- Mark D Powell -- -
How to update iphone3 with ios 4.3
how can i update my iphone3 with ios 4.3
See the chart below to determine whether you can upgrade your device and what you can upgrade to. If you do not have a Software Update option present on your iDevice, then you are trying to upgrade to iOS 5 or higher. You will have to connect your device to your computer and open iTunes in order to upgrade.
IPhone, iPod Touch, and iPad iOS Compatibility Chart
Device iOS Verson
iPhone 1 iOS 3.1.3
iPhone 3G iOS 4.2.1
iPhone 3GS iOS 6.1.x
iPhone 4 iOS 6.1.x
iPhone 4S iOS 6.1.x
iPhone 5 iOS 6.1.x
iPod Touch 1 iOS 3.1.3
iPod Touch 2 iOS 4.2.1
iPod Touch 3 iOS 5.1.1
iPod Touch 4 iOS 6.1.x
iPod Touch 5 iOS 6.1.x
iPad 1 iOS 5.1.1
iPad 2 iOS 6.1.x
iPad 3 iOS 6.1.x
iPad 4 iOS 6.1.x
iPad Mini iOS 6.1.x
=====================================
Select the method most appropriate for your situation.
Upgrading iOS
1. How to update your iPhone, iPad, or iPod Touch
2. iPhone Support
3. iPod Touch Support
4. iPad Support
a. Updating Your iOS to Version 6.0.x from iOS 5
Tap Settings > General > Software Update
If an update is available there will be an active Update button. If you are current,
then you will see a gray screen with a message saying your are up to date.
b. If you are still using iOS 4 — Updating your device to iOS 5 or later.
c. Resolving update problems
1. iOS - Unable to update or restore
2. iOS- Resolving update and restore alert messages -
How to update values for qty n batch in mska table
Hi experts,
i would lke to know is it possible that we can update value of availabity of stock which is existing batch wise in MSKA table field 'kalab' (qty) n charg (batch).
i mean we have devided material per document number into batch a b c.
suposse
we have '20015' material
for doc1 (vbeln) -- A qty 5
B qty 5
C qty 0
for doc2 (vbeln) A qty 2
C qty 5
B qty 0
But after delivery we want to change the distribution of stock material like .
for doc1 A qty 2
B qty 3
C qty 5
and for doc2 A qty 5
B qty 2
C qty 0
i create one programe and check the availabity in mska table n give input field to reorder the batch n quantity but how should i send these values in mska table so that sap will show the correct availabity of stock batch wise.
if somebody did it before. through ur input please .
Thanks.
SeemaHi sutar,
Seems it is not WD related Question.
You are updating two tables here, but not updating in Database. check two tables how they are related.
and mysuggestion is try to update thease two tables by using code in se38. you will get where the problem is.
Cheers,
Kris. -
HELP! I need help to understand how to get value on radio buttons!
hello,
I realy need the help from anyone that knows how to get value from radio buttons in a JSP.
I have this :
<%
java.util.Vector vLinha = (java.util.Vector) datos.get("ConsNefect");
java.util.Hashtable ordens;
java.util.Enumeration eLinha = vLinha.elements();
String t = "radio";
String x = "escolha";
String l = "";
int i = 0;
//int esc = 0;
String fila = "";
boolean bol = true;
while (eLinha.hasMoreElements())
ordens = (com.ibm.dse.base.Hashtable) eLinha.nextElement();
if (++i%2 == 0)
fila = "formgriscla";
else
fila = "formgrisosc";
out.println("<tr>");
out.println("<td class=\"" + fila + "\">");
out.print("<p class=\"dato2\">");
out.print("<a href=" + urls.get("action"));
out.print("&sequencia=" + (String) ordens.get("sequencia"));
out.print(">");
out.print((String) ordens.get("descricao"));
out.print("</a></p></td>");
out.println("<td class=\"" + fila + "\">");
out.print("<p class=\"datop\">");
out.print((String) ordens.get("datap"));
out.print("</p>");
out.println("<td class=\"" + fila + "\">");
out.print("<p class=\"datop\">");
out.print((String) ordens.get("erro"));
out.print("</p>");
out.println("<td class=\"" + fila + "\">");
out.print("<p class=\"datop\">");
l = (String) ordens.get("sequencia");
out.println("<input type=\"" + t + "\" name=\"" + x + "\" value=\"" + l + "\">");
out.print("</p></td>");
out.println("</tr>");
//esc++;
%>
<!--input type="Hidden" name="escolha" value=<!--%l%>-->
<!--input type="Hidden" name="escolha" value="<!--%=escolha%>"-->
</td>
</tr>
I don�t know how to take the value... PLEASE HELP ME OUT!
THANKS TO ALL!,
Best wishes,
Alex (portugal)You must wrap your contents into a FORM element and, then, using getParameter("escolha"), retrieve your value.
-
How to update image with data from database?
hi,
is it possible to update an image object which serves as template with some data from a database table like user name etc. by converting it to image bytes and how? The final image would show user name as part of the imageanybody?
-
How to update values in ValueChangeEvent..
Hi Everyone,
I am using Jdeveloper 11.1.2.0.0.
I have a scenario as follows. I have 2 input fields as Password and Confirmpassword.
I wrote a ValueChangeListener for the field Password to do some validations and I wrote another ValueChangeListener for the Confirmpassword field inorder to compare the values entered in both fields.
But here.., In ValueChangeListener event of Confirmpassword field, iam unable to fetch the value of Password field to compare.
The reason is ..., ValueChangeListener occurs in ApplyRequestPhase/ProcessValidationsPhase, and values get updated in UpdateModelPhase, hence values are not updating and unable to fetch in ValueChangeListener event.
In order to update values to the component tree in ValueChangeListener event, i tried using below code
valueChangeEvent.getComponent().processUpdates(FacesContext.getCurrentInstance());
But values are not updating..Kindly suggest me to achieve my scenario. Do the needful. Thanks in advance.
Regards
AlekhyaHi Nitish...
Thanks for the response...
I tried fetching password field value in Confirmpassword field by 2 ways as follows
1. I binded value of the field as #{backingBeanScope.LoginPage.pwd} and tried to get value using getPwd() method.
2. I fetched Ui component of password inputfield and tried to get value using password.getValue()
By both ways Iam getting null value in ValueChangeListener event of Confirmpassword.
After clicking a button on the page , as usual the setters, ValueChangeListeners are executing and during this sequence..Iam getting value . But my scenario is this validation should be performed bu tabbing out of the field , not after clicking on a button .
autoSubmit property is set to true.
Kindly suggest me to proceed further. Thanks in advance.
Regards
Alekhya
Maybe you are looking for
-
How to have a value survive logout and destruction of the session
Hi, Currently I'm facing the following challenge: For a customer we are building a webcenter portal app (version 11.1.1.6). Depending on where you come from, customer wants to have different styles and template. I have done this by adding a URL param
-
i am using this on my css sheet - h1 {font-size:300%; font-family: "Comic Sans MS"; color: red; text-align:center; em} but that heading does not show up in italics.
-
Problem when setting JTable cell color.
hello, when I setting color for particular table cell, it sets. but, when I click another row (another cell) , the color of the previous cell disabled and it visible only when I click that cells row. how can I permanatly set the color for the rows de
-
Too confusing with setting up different profiles for Personal and Work spaces. This is a business phone, how can we just have it set to one Work space?
-
I updated to iOS 8.2 on iPad 2 my iPad won't turn on. What can I do?
After I updated my iPad 2 to iOS 8.2, my iPad won't turn on, it just stays on a loop where it shows the apple logo, does the screenshot effect then darkness. I tried connecting it to iTunes to reset it but my computer can't read it. What can I do?