Small problem  in updating values

Structure of a table :
Column Type
name name Length Scale Nulls
EMPNO INTEGER 4 0 Yes
ENAME CHARACTER 20 0 Yes
CNTY_VISITED CHARACTER 100 0 Yes
I want to insert a row in the table such that the data in the table shud look as :
EMPNO ENAME CNTY_VISITED
1001 JACK 'IND','JPN'
I guess you understood the req. It should not be IND,JPN.. It should be ' IND ' , ' JPN '
in the table.

> but its not the same with other special operators like * and ,
any special conditions to be followed for these operators to get
the output in the format IND,*JAP*.
The asterisk (*) and comma (,) are just regular characters. Only because a quote (') is also used to mark the beginning and the end of a string, we have to do something different to say "this is a quote and not the end of the string". This is done by using two subsequent quotes. So:
'''IND'',''JPN''')should be read as "beginning of the string" followed by a quote, the text IND, a quote, a comma, a quote, the text JPN, a quote and a marker for the end of the string. Where each "a quote" is written by two quotes inside the string.
Hope this helps.
Regards,
Rob.

Similar Messages

  • Problems in updating values

    Hi,
    I have an ADF input form where results are displayed after a named query.
    I make some changes to the values of some fields and push a save button.
    It doesn't work. I'm using toplink 9.0.4 and I think I should find a way to detach the results of the query in order to get them updated.
    I'd need a workaround for the following instruction:
    result = (ServiceRequests)getSessionFactory().detach(result);
    Can anyone help me?
    Thanks in advance
    Pino

    thanks for answering!
    so far, so good
    I tried in sql-plus the following:
    SQL> select bestellnr from
    2 K_falschgeladen_vw
    3 where
    4 LIEFERDATUM=02-OKT-09;
    LIEFERDATUM=02-OKT-09
    ERROR in Zeile 4:
    ORA-00904: Ungültiger Spaltenname
    Problem seems to be the kind of the date value. the format wich is used ist DD.MM.RR, so the right value should be 02.10.09. if I amend v_bestellnr as follows
    v_bestellnr := to_char(:k_falschgeladen_vw.Lieferdatum,'DD.MM.RR');
    test := 'LIEFERDATUM='||v_bestellnr;
    then I get no result and after pressing shift F1 the message ORA 00933 ... could not finish correctly

  • Problem in updating values in hashmap

    I have a hashmap(key,value), where key is a String and value is an ArrayList. It has following values:
    {500, [GRES]}
    {600, [GRES]}
    Now i check for the key 500 in the hashmap and want to update the value ArrayList for it with [GRES,TOEC].
    For doing this i have written code as follows:
    if(hashmap.containsKey("500")) {
        ArrayList hashDoc = (ArrayList) hashmap.get(500);
        hashDoc.add("TOEC");
        hashmap.put(500,hashDoc);
    }The problem i am facing with this code is that the value for key 600 is also changing to [GRES,TOEC], which i don't want.
    I just want to update the value for key 500.
    What should i do?

    Though there does not seem any problem with your code, I tried to simulate the same.
      public class HashMapDemo {
         public static void main(String[] args) {
              ArrayList l1 = new ArrayList();
              l1.add("1");
              ArrayList l2 = new ArrayList();
              l2.add("2");
              HashMap x = new HashMap();
              x.put("500", l1);
              x.put("600", l2);
              if(x.containsKey("500")) {
                   ArrayList tem = (ArrayList)x.get("500");
                   tem.add("1.2");     
                   //x.put("500", tem);
              System.out.println(l1);
              System.out.println(l2);
    }OutPut:
    [1, 1.2]
    [2]

  • Problem with updating values...

    Hi,
    I am facing a problem, I want to update tables that is in my local host server which is now I m using Access , and i want to update my values in server database which is MySQL, is dere any option to do dat...please help me out of dis problem...thanks

    So change your DB from Access to MySQL. What's the problem?

  • Problem in updating value at different time interval

    Hello,
    Can anyonce suggest me how to update different value at different time interval.
    I want to use only one while loop but I should be able to send data at different rate.
    Eg:- I have 3 input ,10,20,30
    I need to give output 10 at every 5 ms
    20 at every 10th sec
    30th at every 13th sec.
    so my output should be
    10 at 5th sec
    10 at 10 sec
    20 at 10th sec
    30th at 13th sec.
    Please let me know if anyone has solution for it.

    Is this under windows on in a realtime system?
    In the varous posts, you are sometimes talking about milliseconds, sometimes about seconds
    You could run a timed loop at 5ms time and use quotient and remainder for each multiple with three parallel case structures.
    Here's a possible solution for the case:
    output 10 at every 5 ms
    20 at every 10th sec
    30th at every 13th sec.
    as in the original post...
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    VariousTimes.png ‏8 KB

  • Problem getting updated values from DCIteratorBinding

    Hello,
    I have one af:table which is binded using DataControl based on ViewObject.
    I typed some values in each column and now I want to access those values from the iterator but its giving me initial value at the time page loaded.
    //getting the iterator
    DCIteratorBinding itr = ADFUtils.findIterator("ViewObject1Iterator");
    Row row[] = itr.getAllRowsInRange();
    String deptName = (String) row[1].getAttribute("deptName");
    The strange thing is, I have another ViewObject binded to af:table and it works fine I do not know whats wrong here
    any ideas?
    many thanks

    Hi,
    the code seems okay and if it works with another VO but not this particular, then the issue obviously is not in teh Java code but the page code. Since you have a working and a not working solution, i don't think its an issue with the product.
    Frank

  • Update values on an Adobe Interactive Form

    My question refers to the thread posted back in 2004 which remains unanswered...
    Thread: http'How to update values in Adobe form?
    With ECC 6.00 (SP10) , assuming that the Webdynpro and Adobe Interactive Forms has been correctly setup, can values on an Adobe Form be updated after retrieval from the back-end database?
    Updating of UI elements NOT on the Adobe Form has always worked; but, there it is unclear if the problem to update values inside the Adobe Form has been resolved.
    Can anyone address this issue with a detailed explanation or example code?
    Best regards,
    john

    Can you please, open a customer message in the BC-SRV-FP queue and please, provide your landscape component info, i.e., ECC 6.00(SPS10), AS Java SPS?.  Please also, provide a WTS connection and information on how to replicate the problem.  If it is possible also, upload the webdynpro project in question.
    Thanks... George

  • Updating Values from Portal to R/3

    Hi ,
      Iam facing a problem in updating values while calling RFCs from portal.This is the scenario of calling RFCs :
    1. Submitting new data by changing some values from the existing record.
                                   - They are calling a RFC to save those values in R/3.
                I have used Commit work and wait and also   
                BAPI_TRANSACTION_COMMIT to update the values in database in this 
                RFC.
    2. Now Immediately after submission they are searching the records by giving  
        changed values as search criteria by calling another RFC(RFC for search).
                                  - The record is coming but the values are not updating and showing previous values.
    Same scenario is working fine from R/3 when executing the Function modules with out calling from portal.
    What are the changes that need to do at R/3 side?
    Thanks & Regards,
    Swarna Munukoti.
    Message was edited by:
            Swarna Munukoti

    In addition and from a maintenance perspective you could do a: Portal Group to R/3 UserMapping.
    This will then automatically map all Portal Users in the Portal Group to the one R/3 user in the back-end. This saves effort when new users are created on the portal you don't have to map them all.
    This method is also proposed by SAP for mapping to MDM for example.
    NOTE: When you choose this you cannot trace the user in the back-end because
    this back-end user is shared. If this is not a problem for your scenarion then I would say go for it.
    Cheers,
    Benjamin Houttuin

  • Problem with update variable value

    i have declase a variable as
    static int small;
    in the public class.......
    then the method "a" will update this "small" to a new value everytime the "a" is called....
    but i could not update the "small " to a new value....everytime is the same value.....
    how could this be solved??

    i think my rpoblem come from other factor.....
    i think i'm unable to remove the selected node from the list....
    eg:
    newtempNode = firstNode;
    tempNode = firstNode;
    for ( int i =0;i < (smallid-1);i++)
    tempNode = tempNode.next;
    for (int i = 0; i< smallid;i++)
    newtempNode = newtempNode.next;
    tempNode = newtempNode.next;
    ==>can the above delete the selected node from the list???
    or anybody can show me how to deleted the selected node from the linked list???

  • Not able to view actual Price updated 'Value' in Change Tracker

    I was able to get my Change tracker to work and it is functioning. (SRM 5.0 MDM5.5 )... Configured Portal iViews for change tracker.
    If I change a description I can see it in the change tracker application. But if I try and track a Price change it only shows me a date-time  and user as to I when the price was changed it doesnu2019t show me the actual value changed, for my audit purposes.
    On the portal the change tracker "Field" dropdown shows -> Price Updated. this is what is tracking any change of price.
    In MDM Console-> Admin->Change Tracker I am tracking under Catalog Items: Price information, Price Updated, Special search terms, long description.
    When I look at the Data manager in the Record Detail, I see  u2018Price Updatedu2019 and it only has a Date and time stamp. In this same Record Detail,  I see the field Price Information that contains :Lower bound, Purchasing Info record ID, Purchasing Organization, Amount and Currency.  Amount-> contains the actual price value. This is what i want to see in the portal iView as Old value and New value....this is what I am unable to view? theres one small step i am not doing...
    I am trying to track the actual change in the filed u2018Amountu2019u2026 I have tried to search for it in the Portal iView fields (table, record contains, fields, record)
    cheers
    alex

    Hi Alex,
    I would not here comment on change Tracking functionality but can you suggest another workaround to achieve this requirement. If it fits in your requirement you can go ahead with it.
    In MDM, Create another field in Main table say Initial Price and for already existing field Amount replace its name with Updated Price in Qualified table Price.
    now after this you will see that your by default Updated Price has values as it was your Amount field earlier and Initial Price field as empty. Now for next time, if any record comes using Import Manager then MDM workflow should trigger at Record Import.
    This workflow contains following steps.
    Start(Checkout)>Assign>Stop(CheckIn)
    Assign step should have below expression and assignment:
    Price Information.Updated Price
    Where I am assuming Price Information is the field in main table which is look up to this qualified table Price.
    So in this way you can maintain both existing and updated values of Price and cant then show in your Catalog.
    suppose you have already existing record say 1 which has value of Amount as 20.
    So that means you have Updated Price as 20 and Initial Price as empty(Null)
    Now when same record 1 updates with new Amount say 40, it triggers this workflow on record import which will then assign value of existing updated Price 20 to Initial Field after that Updated Price will update by 40.
    Note: This Assignment works well only if your main table record has this Qualified table link as single record. If your main table record contains more than one qualified links then this Assignment would not work fine. So use only if it fits.
    Regards,
    Mandeep Saini

  • Get Updated values in valueChangeListener of af:selectManyShuttle

    I am using Jdeveloper 11.1.1.3.0
    I have applied the valueChangeListener in selectManyShuttle to get the values in backing bean.
    But the problem is, it's not giving me the updated values.
    For example, for the 1st time, the left side list is empty. So, 1st time when I moves some values, it doesn't give me any value but next time, it gives me the the ID of previously moved items.
    How to resolve this problem?

    You can try to put the following line as the 1st line in your valuechangelistener method.
    valueChangeEvent.getComponent().processUpdates(FacesContext.getCurrentInstance());
    Thanks and Regards,
    S R Prasad

  • Facing Problem with passing Values from One report to another

    Hi,
    I am Hemanth, I have developed 2 reports. Firast Report High Level Summary, Secong is detailed. First report is developed using Union(4 union) , I am having 4 columns. The report is generating the data. I have used Navigation option on Client Column to move on to Second report. In Second report with in Filter i am using Prompted option. Due to some problem, the client value from first report is not passing to the second one. The second report is getting generated for all the clients.
    Normally i have used this Navigate option in other reports and that works fine. I have even tested with Union, it works. This time it is giving some trouble.
    Please, let me know whats going wrong.
    Thanks for the help.

    sorry for the late updation.
    My First Report, Summary level is a Pivot Table.
    I tried the same report with Table option, the value is passing correctly.
    Is there a way to get rid of this situation using Pivot table.
    Thanks for your help.
    below is the original request.
    Hi,
    I am Hemanth, I have developed 2 reports. Firast Report High Level Summary, Secong is detailed. First report is developed using Union(4 union) , I am having 4 columns. The report is generating the data. I have used Navigation option on Client Column to move on to Second report. In Second report with in Filter i am using Prompted option. Due to some problem, the client value from first report is not passing to the second one. The second report is getting generated for all the clients.
    Normally i have used this Navigate option in other reports and that works fine. I have even tested with Union, it works. This time it is giving some trouble.
    Please, let me know whats going wrong.
    Thanks for the help.

  • How to get updated values from the loops while they are running

    Hello,
            I am having difficulty solving a very basic problem, how to access the updated values from the 'FOR loop' while its running?  Basically, the VI  I am currently working on calls two sub VIs. Each sub VI has a for loop, and both VIs may or may not run for same number of iterations. My goal is to read the values at each terminal inside the loop of both sub VIs, in the Main VI. I tried to achieve it using Global Variables, but in main VI it displays only the last iteration value from both sub VIs. Could anyone please tell me whrere am I going wrong? Is there any other/better way to achieve this.
    I appreciate any input on this issue.  
    Kudos are (always) welcome for the good post. :-)
    Solved!
    Go to Solution.

    Dennis,
                In attached VI, I can see the values changing in the sub VI from the main VI with the numeric indicator whose reference is passed on to the sub VI. Now if I wanted to store or use those values how do I do that? I tried to chnge the indicator to control and read from it (in the attached VI) , but the the indicator updates only once. Tried to create a property node and read the Value from it and it didn't work either.
    Thanks in Advance!
    -Nilesh
    Kudos are (always) welcome for the good post. :-)
    Attachments:
    main-1.vi ‏8 KB
    sub-1.vi ‏9 KB

  • Problem with update of BLOB field in a table with compound primary key

    Hi,
    I've been developing an application in Application Express 3.1.2.00.02 that includes processing of BLOB data in one of the tables (ZPRAVA). Unfortunately, I've come across a strange behaviour when I tried to update value in a BLOB field for an existing record via a DML form process. Insert of a new record including the BLOB value is OK (the binary file uploads upon submiting the form without any problems). I haven't changed the DML process in any way. The form update process used to work perfectly before I'd included the BLOB field. Since than, I keep on getting this error when trying to update the BLOB field:
    ORA-20505: Error in DML: p_rowid=3, p_alt_rowid=ID, p_rowid2=CZ000001, p_alt_rowid2=PR_ID. ORA-01008: not all variables bound
    Unable to process row of table ZPRAVA.
    OK
    Some time ago, I've already created another application where I used similar form that operated on a BLOB field without problems. The only, but maybe very important, difference between both the cases is that the first sucessfull one is based on a table with a standard one-column primary key whereas the second (problematic one) uses a table with compound (composite) two-column PK (two varchar2 fields: ID, PR_ID).
    In both cases, I've followed this tutorial: [http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm]).
    Can anybody confirm my suspicion that Automatic Row Processing (DML) can be used for updating BLOB fields within tables with only single-column primary keys?
    Thanks in advance.
    Zdenek

    Is there a chance that the bug will be included in the next patch?No, this fix will be in the next full version, 3.2.
    Scott

  • Problem in updation of infotype 1 & 8

    Hi all,
    I m using funtion module 'HR_MAINTAIN_MASTERDATA' for updation of data in infotype 1 and 8, But basic pay does not updated through that. all other fields are getting updated. I also used HR_INFOTYPE_OPERATION FM, but problem remains same.
    << Moderator message - Everyone's problem is important. Please do not ask for help quickly. >>
    Edited by: Rob Burbank on Dec 3, 2010 4:03 PM

    hi volker,
    Manually am able to update that field UNPSI.
    I have checked the table pa0584 manually updated value is found in the table.
    But the value which i have inserted using the FM created an empty record with the field UNSPI having 0 value.
    I have given all the fields into the record as same as when it is update dmanually.
    I dnt knw why the value is not updating.
      p0584_2-pernr = wd_comp_controller->gv_pernr.
      p0584_2-infty = '0584'.
      p0584_2-subty = '0002'.
      p0584_2-begda = '20100401'.
      p0584_2-endda = '20110331'.
       p0584_2-OBJPS = '01'.
       p0584_2-SPRPS = 'X'.
      p0584_2-seqnr = '01'.
      p0584_2-UNSPI = ls_actual_details-other_income.
      p0584_2-INTYP = '0002'.
      p0584_2-WAEHI = 'INR'.
      p0584_2-AEDTM = sy-datum.
      p0584_2-UNAME = sy-uname.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
      EXPORTING
        infty                  = '0584'
        number                 = wd_comp_controller->gv_pernr
       SUBTYPE                = '0002'
      OBJECTID               =  p0584_2-OBJPS
      LOCKINDICATOR          =  p0584_2-SPRPS
       VALIDITYEND            = p0584_2-endda
       VALIDITYBEGIN          = p0584_2-begda
       RECORDNUMBER           = '01'
        record                 = p0584_2
        operation              = 'INS' "lv_op_type
       TCLAS                  = 'A'
       DIALOG_MODE            = '0'
      NOCOMMIT               =
      VIEW_IDENTIFIER        =
      SECONDARY_RECORD       =
    IMPORTING
       RETURN                 = return_584_2
       KEY                    = key.
    Pls give some solutions
    Thanks
    Nalla B

Maybe you are looking for

  • 5700 heat-map support

    does 5700 have the heat-map support? can i load a floor-plan to the controller. i know we can make this with wcs. aruba saying that in 7200 specifications controller must have load floor plan option.

  • Every time I sync my iPod, it syncs more than 1000 songs that I have not changed in any way.

    I could do the syncs immediately after each other, and the same songs will sync again. It's always the same songs. It takes a long time to do. Any suggestions?

  • RFC and XI

    Hi everybody, I would like to know how can I call a RFC function, that is defined in SAP XI  System from R/3. Can you provide me any information about how RFC function works with XI and how can I call them from R/3? Many thanks! Reyes

  • Playlist Issues

    I have iTunes 11.1  on a MacBook Pro with Retina, with OS X Maverick. Numerous playlists show each song as having been played numerous times. How can I reset so that each song of a particular  playlist will only be played and burned once please? Hope

  • No icons for bookmarks are showing

    When u drag a URL from the addressbar and put it in ur bookmark on the top it will show the i con for example Youtube i will grab it and put it with my other bookmarks and it will show the bookmark with youtube beside it and icon showing but then whe