Problem with type DEC

Hi,
I have a data of type DEC in a table, in MI Server. The value it is 3. When i sync the app this value is transformed in 786435 by MI Server. And this happen with all data of this type. Anynone knows what can be happen?
Thanks..

Hi Jo,
We are using smartsync layer... When i get this field, the type it is P in the application... I'm confusious because if i do a select in the table on MI Server, the data is returned correctly and when this data is sync, in the merep mon shows that this value updated. anymore idea?
Thanks.

Similar Messages

  • Problem with type conversion and primary key during row fetch

    [Note, this error occurs in Oracle XE, APEX 2.1.0.00.39]
    I have been having a problem with Automatic Row Fetch:
    ORA-01460: unimplemented or unreasonable conversion requested
    So in an effort to resolve this, I created a PL/SQL process with the query below and was able to isolate the same error. The problem seems to come from one of the primary keys being a "number" type (APP_ID). The error occurs on the line:
    where u.app_id=:P5_APP_ID
    I have tried the following variations on this line in an effort to resolve this, but all generate the same error:
    1) where to_char(u.app_id) = :P5_APP_ID
    2) where u.app_id = to_number(:P5_APP_ID)
    3) where to_char(u.app_id) = to_char(:P5_APP_ID)
    I've also tried the laternate syntax "&__." and "#__#", but these don't function in the Source field and show up as syntax errors.
    Any suggestions are welcome.
    begin
    for r in (
    select app_name, apptype, appcreator, appurl
    from application_users u, application_info i
    where u.app_id=:P5_APP_ID
    and i.app_id=u.app_id
    and u.username=:P5_USERNAME)
    loop
    begin
    :P5_APP_NAME := r.app_name;
    :P5_APPURL := r.appurl;
    exception
    when others then
    raise_application_error(-20000,'In Loop Failure',true);
    end;
    end loop;
    exception
    when others then
    raise_application_error(-20000,'Out of Loop Failure',true);
    end;
    Thanks in advance,
    Barney

    I found a prior post referencing a similar issue and it was solved by using the "v(__)" syntax. This did resolve my issue, however, I have a quick follow-on which I'm hoping someone can answer quickly...
    Since the "v(__)" syntax won't work for the Automatic Row Fetch (at least to the best of my knowledge), I have to do a manual process. However, the manual query as shown above doesn't actually populate any of the form values through the bind variables. They all remain at their cached values from prior data entry on the form.
    Is using the bind variables for assignment incorrect, or is there something that must be done to get the updates to show up in the form (ordering of processes, etc.).
    My manual process is running in the Load: Before Header state so I would have expected it to update all of the fields.
    Thanks in advance,
    Barney

  • Problem with type 4 driver using oracle 10g

    HI,
    I am unable to establish a type 4 connection with oracle 10g.
    Specs:
    Driver used: OracleDriver that comes with the ojdbc14.jar along with oracle 10g
    JDK used: Tried using both j2sdk1.4.2 and using JDK 5.0
    JRE: Again, JRE that was shipped with j2sdk 1.4.2 and JRE 5.0
    OS: Windows XP sp2
    I am able to compile the following piece of code, so there is no classpath problem, etc.
    When I try to run the program, the exception thrown is "No Suitable Driver"
    There is no problem with the TNSListener, etc...even if all Oracle related services in 'services.msc' are Started/Stopped, the error remains.
    I am, however, able to establish the connection using type1 driver.
    Please Help!
    import java.sql.*;
    import java.io.*;
    class TestConn
         Connection connection;
         Statement statement;
         ResultSet resultset;
         public void testConn() throws SQLException, ClassNotFoundException
              DriverManager.registerDriver(new oracle.jdbc.driver.OracleStatement());
              //DriverManager.registerDriver(new sun.jdbc.odbc.JdbcOdbcDriver());
              connection = DriverManager.getConnection("oracle:jdbc:thin:@127.0.0.1:1521", "scott", "tiger");
              //connection = DriverManager.getConnection("jdbc:odbc:dsn1", "scott", "tiger");
              System.out.println("Connection Established");
              statement = connection.createStatement();
              resultset = statement.executeQuery("select ename from emp");
              while(resultset.next())
                   System.out.println(resultset.getString(1));
    class Test
         public static void main(String args[]) throws SQLException, ClassNotFoundException
              TestConn obj = new TestConn();
              obj.testConn();
    };

    The JDBC URL should include the database SID. For example, if the database SID is Orcl
    connection = DriverManager.getConnection("oracle:jdbc:thin:@127.0.0.1:1521:Orcl", "scott", "tiger");

  • Problem with Type Reference "TYPE' in JCO

    Hi All,
    I am facing a weard situation when i am creating a custom RFC function module. This FM is called by Java program with JCO. But, if i define the FM parameters with Reference type as 'TYPE', the Java application is not able to get the data. But the same time, if i declare the parameters with 'LIKE', it is working successfully.
    Can anybody advise me, why it is behaving differently? Is the problem with JCO which is not able to recognise the 'TYPE' reference or from SAP side?
    And, any solution to use 'TYPE' reference successfully?

    hi Sailesh,
    You are right. SAP doesn't recommend the usage of Like in PROGRAMS/REPORTS - mind it, only REPORTS.
    But when it comes to RFC enabled FMs, JCo Understands only LIKE. what you had observed is true. LIKE creates a WA and JCo looks into a workarea. TYPE can refer to a pool of variables but your JCo can't differentiate them. So, you use LIKE.
    Again, you use LIKE only Remote enabled FMs not in Reports/Programs. so, you may use TYPE as your company remommends in reports but in RFMs, use LIKE.
    Hope this cleared.
    Regards
    Ak.
    PS: If my post helped, don't forget the rewards!

  • Problems with type ... is table of - values

    Hello,
    please look at the following procedure:
    CREATE OR REPLACE PROCEDURE fct_s_snpdb_ersetzung_einzeln (
    p_tnr IN VARCHAR2,
    p_ersetzung IN VARCHAR2
    IS
    -- DECLARE VARIABLES
    p_ersetzung_rep VARCHAR2(4000);
    v_test_table NUMBER;
    TYPE nersetzungtab IS TABLE OF VARCHAR2(4000)
    --s_snpdb_tnr_ersetzung.ersetzung%TYPE
    INDEX BY BINARY_INTEGER;
    v_ersatzliste nersetzungtab;
    v_anzersatzliste NUMBER;
    v_test VARCHAR2(4000);
    v_instr NUMBER;
    i NUMBER := 1;
    BEGIN
    SELECT 1
    INTO v_test_table
    FROM all_tables
    WHERE table_name LIKE 'S_SNPDB_TEMP_ERSETZUNG';
    IF (v_test_table <> 1) THEN
    EXECUTE IMMEDIATE 'create table s_snpdb_temp_ersetzung (tnr_ersetzung varchar2(19))';
    END IF;
    EXECUTE IMMEDIATE 'truncate table s_snpdb_temp_ersetzung';
    IF (p_tnr IS NOT NULL) THEN
    p_ersetzung_rep := '''' || p_tnr || ''',' || p_ersetzung;
    p_ersetzung_rep := REPLACE(p_ersetzung, '''', '');
    ELSE
    p_ersetzung_rep := REPLACE(p_ersetzung, '''', '');
    END IF;
    v_instr := INSTR (p_ersetzung_rep, ',');
    WHILE (v_instr > 0) LOOP
    v_test := TRIM(SUBSTR(p_ersetzung_rep, 1, v_instr - 1));
    v_ersatzliste(i) := v_test;
    p_ersetzung_rep := SUBSTR(p_ersetzung_rep, v_instr + 1);
    v_instr := INSTR(p_ersetzung_rep, ',');
    i := i + 1;
    END LOOP;
    --now the problem comes
    FOR f IN 1 .. i LOOP
    EXECUTE IMMEDIATE 'INSERT INTO s_snpdb_temp_ersetzung VALUES(:tnr)'
    USING v_ersatzliste(i);
    END LOOP;
    END fct_s_snpdb_ersetzung_einzeln;
    The inputvalue for p_ERSETZUNG = 'A42020002 39 ','A42020004 55 ','A54017901 02 ','A54017901 03 ','A42020002 60 ','A42020004 15 '
    I want to separate each value in separate row of a table.
    It runs fine until the "insert into" statement.
    Here I get the error "no data found". This means, that the variable v_ersatzliste(i) contains no value. I used the debugger, the separation of the value runs fine, but why the variable v_ersatzliste(i) has no values. I didn't find the problem.
    Its not the first time, I use "type ... is table of", but till now I never had problems with this.
    What could be the reason for no founded data in my variable.
    Thanks in advance
    D. Mildner

    ohhh yes, you're right.
    I think I should go home now :-).
    Thanks very much.

  • Problems with type aligning in CS 6

    I work for a print shop. My colleague is having an issue that I am unable to duplicate on my computer. She has a customer supplied ID document. The customer is doing an effect with type where it is a spot color (a red) and then the same type is on top with a gradient applied. The client sets the type on top to multiply but when my colleague exports to pdf some of the type on the back side shifts slightly so as not to align properly. Here only fix is to set it to overprint which fixes the problem. However, when I do it on my computer (same OS, Mac 10.6.8) it works fine as multiply. When she does it in CC it works fine.
    Obviously, changing to overprint is a good solution but the client is supposed to be sending a lot more work done this way and it would be nice if we didn't always have to change it. I had her trash her preferences in ID. She has reloaded ID. Anybody else have any idea of what could be going on that is causing this?
    Thanks in advance.
    Rick

    Michael, thanks for your reply. I was just going to check the font versions she is using against the ones I am using and stopped because I think she figured it out. It looks like it was a corrupt pdf preset. She made a new one with pretty much the same settings and everything looks good.
    Not sure why that would happen but if someone has a theory I would like to hear it. And I had never had an issue with presets getting corrupt.
    Rick

  • Problem with type engines in both CS4 & CS5

    Hello,
    I'm having a strange problem with the type engines in CS4 and 5.
    Currently I cannot insert the cursor into the last line of any block of text in order to make edits.
    When I try to insert the cursor into the last line it affects only the next-to-the-last line and not the intended line.
    Please help.
    Thanks for your consideration,
    cobaltgreen

    Hello,
    I'm having a strange problem with the type engines in CS4 and 5.
    Currently I cannot insert the cursor into the last line of any block of text in order to make edits.
    When I try to insert the cursor into the last line it affects only the next-to-the-last line and not the intended line.
    Please help.
    Thanks for your consideration,
    cobaltgreen

  • Problems with types using JAX-RPC

    Hi,
    I have to convert an RMI application into a JAX-RPC application. I thought it was easy but I have some problems with the parameter types and the return types of the remote methods.
    For example, how can I pass a java Object as a parameter or as a return type, supposing this object could be anything during runtime? Is there any way to do it because the only types one could use with JAX-RPC are not enough for my application.
    Regards,
    Vincent

    Thanks, that was my mistake.
    Instead of using wscompile, you must generate the stub classes with the WTK. Then, you set a reference to the j2me-ws.jar (JSR-172). No additional libraries from the Web Service Development Kit are required.

  • Problem with types

    Hello,
    I have a problem. I have created a type
    create or replace type type1 as object (
      field1 number,
      field2 number,
      constructor function type1 return self as result
    );, and also the body.
    Now i have another type
    create or replace type type2 as table of type1In a package function i have somewhere
    tmp type2;
    tmp=new type2();
    tmp.extend --works
    tmp(tmp.last).field1 := ...<something>; --does not work, i got: Reference to an unitialized variable..., so that field1 is unrecognizedIf i issue 'describe type2' i see field1 and field2.
    What i'm doing wrong?
    Thanks
    Edited by: Roger22 on 12.07.2010 14:26

    Hi
    I hope this solves your problem...
    Create a Object Type body(With the definition of the constructor function) since u have defined a constructor, by specifying a constructor in your type specification you are overriding the default object constructure provided internally by oracle ...
    constructor function type1 return self as resultEdited by: Prathamesh on Jul 12, 2010 4:40 AM

  • Problem with type tool

    I am having trouble with my type tool in Photoshop cs4 on windows xp
    I have looked through a few threads where people have had the same problem and tried the recommended solutions but it hasn't helped.
    If i use the type tool it creates a new layer but nothing happens on my workspace,  it renames the layer with what i have typed. I tried changing font, font size, font colour and canvas size, still nothing. If i use the transform tool sometimes it will give me an error saying "could not transform because the initial bounding rectangle is empty" and sometimes it it will work and i will be able to transform something that isnt there. i have reset tools like suggested in other threads but that has not changed anything.
    Any ideas
    Thanks

    You may have been able to solve the problem by just resettiing the Type tool.
    While resetting the whole of preferences will cure all sorts of problems, you have to go through all the settings again to get them how you had them before.
    Unless of course you made a copy of the entire preferences folder, to copy back in over the defaults.

  • Huge thanks - Mac problems with Type A new firmwar...

    Since I got the upgraded Type A firmware on my HomeHub 3 its messing my wifi on my macbook pro. Every other device is fine, the macbook works fine on other connections.
    The connections stalls for 30sec or so, disconnects all games, apps etc.
    Then comes back on.
    Spent 45mins onto India tech support, the girl had no idea what firmware was and kept blaming my macbook. Ive worked for o2 broadband support, i know what the problem is the HomeHub. Problems started 23rd Nov when i got upgrade.
    I email and a lovely lady has a Type B on the way next day, took 2 emails.
    Seems to get things sorted, you need to escalate.

    Hi BuckleZ
    I am sorry you are having problems.  Could you drop us in an email please and we'll have a closer look.
    Use the 'contact us' form in my forum profile under the 'about me' section. You can find it by clicking on my username.
    Thx
    Craig
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)”
    td-p/30">Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Problem with type ahead, maybe known as keyboard buffer or keyboard buffering

    Hi, I'm new to Lightroom and am halfway through Martin Evening's excellent book, but there's a problem I have which I can't find an answer to anywhere so far.
    I work on an older PC that has three screens.  My problem is if I have LR on one screen and type into an application in another screen, or rather think I'm typing into the other application but actually the LR screen is still active, then LR basically goes nuts as it attempts to carry out what is in effect a random series of keyboard shortcuts.  I have to wait for LR to finish jumping about and then so a long series of undo's and hope that one of the shortcuts wasn't a delete.
    It's occurred to me within LR when I've been typing into the keywords box and predded Enter twice by mistake to confirm an auto complete suggestion by LR and so subsequently exited the keywords box causing LR to interpret all my following keyword letters as commands.
    Is there any way to change this? To my mind there shouldn't be any need for LR to read from the keyboard buffer at all.  Is there any way to turn off keyboard shortcuts either all of them or selectively?

    Biganon,
    If you are willing to experiment, you could try the following simple xorg.conf:
    Section "Device"
    Identifier "Configured Video Device"
    Driver "nvidia"
    EndSection
    Section "Screen"
    Identifier "Default Screen"
    Device "Configured Video Device"
    DefaultDepth 24
    EndSection
    This minimal xorg.conf is only needed because xorg must be told to use the nvidia drivers.
    It should figure everything else by itself.
    For the Keyboard and mouse handling, install xf86-input-evdev, if not already there.
    Start hal from the daemons Line in /etc/rc.conf:
    DAEMONS=(syslog-ng network netfs !dbus hal ....
    For the Keyboard layout, copy the file:
    /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi
    to
    /etc/hal/fdi/policy/10-keymap.fdi
    and edit this copy as follows:
    <merge key="input.xkb.layout" type="string">ch</merge>
    <merge key="input.xkb.variant" type="string">fr</merge>
    I don't particularly appreciate this fdi thing, but, from experience, letting a particular
    Desktop/Window Manager manage the keyboard layout is even worse.
    Further info at:
    http://wiki.archlinux.org/index.php/Xor … otplugging
    Needless to say, if you try this, backup your original xorg.conf.
    Mektub

  • Problems with Type in Photoshop 5.1

    Hi. After downloading a 30 day trail version of Captivate, I noticed that my Font Preview was no longer available in Photoshop (although still visible in MS Word, Powerpoint and Captivate). Also, the Type Tool has become inoperable in Photoshop 5.1. I get the dialoge box 'Could not complete your request because something prevented the text engine from being initialized"
    What to do??
    I have downloaded all Photoshop 5.1 updates. I have checked Font Preview Box in Preferences, and also unchecked Font Preview in Preferences to no avail. I do not have any of the problem Fonts. I ran Malware and Windows Security Essentials and found no problems.
    What to do?
    Thanks for any advise.

    Thank you so much for your reply. I downloaded all the available downloads for Photoshop 5.1, and then did nothing. Today I pulled an old Photoshop file into the software, and the Font Previews were there again, and the type tool worked fine.
    So I closed that file and created a new project. The type tool worked fine, as did the Font Preview.
    Don't have any explanation to offer except the Adobe Gods took pity upon me and fixed it while I was sleeping.
    Thank you again for your reply and solution recommendations. Apparently your thoughtful solutions were so effective I didn't even need to act upon them! Good MoJo Silkrooster. Now please give some thought to World Peace please.

  • Problem with 'type'

    i have created object as type
    CREATE OR REPLACE TYPE myTableType2 as object(
    str1 VARCHAR2(500), str2 VARCHAR2(10))
    Then i created object type of table based on above object like
    CREATE OR REPLACE TYPE myTableType as table
    of myTableType2;
    now within a loop i want to assign value something like this
    l_data myTableType := myTableType();
    n number;
    begin
    loop
    exit when l_string is null;
    l_data.extend;
    * l_data.v_string(l_data.count) := 'a';*
    l_string := substr( l_string, n+4 );
    end loop;
    end;
    But the problem is i cant assign value, and giving me error while compiling the proc.
    Please help me.
    Thanks,
    Kapil
    Edited by: Kapil_A on 02-Feb-2009 22:32

    But the problem is i cant assign value, and giving me error while compiling the proc.It's always easier when you give us the error message instaead of expecting us to guess.
    The syntax for objects is a bit clunky in PL/SQL. That's because OO programming was retrofitted to an established procedural language. Anyway, it works like this
    SQL> create or replace type mytabletype2 as object(
      2      str1 varchar2(500)
      3      , str2 varchar2(20));
      4  /
    Type created.
    SQL> create or replace type myTypeTable as table of mytabletype2;
      2  /
    Type created.
    SQL> set serveroutput on
    SQL>
    SQL> declare
      2      l_data myTypeTable := myTypeTable();
      3      l_rec myTableType2 := myTableType2(null,null);
      4  begin
      5      for i in 1..10
      6      loop
      7          l_data.extend();
      8          l_rec.str1 := rpad('a',i,'!');
      9          l_rec.str2 := rpad('b',i,'?');
    10          l_data(i) := l_rec;
    11      end loop;
    12      for j in l_data.first()..l_data.last() loop
    13          dbms_output.put_line(l_data(j).str1||'::'||l_data(j).str2);
    14      end loop;
    15  end;
    16  /
    a::b
    a!::b?
    a!!::b??
    a!!!::b???
    a!!!!::b????
    a!!!!!::b?????
    a!!!!!!::b??????
    a!!!!!!!::b???????
    a!!!!!!!!::b????????
    a!!!!!!!!!::b?????????
    PL/SQL procedure successfully completed.
    SQL>Cheers, APC
    blog: http://radiofreetooting.blogspot.com

  • Problem with type size in design view CS3

    Has anyone experienced type in design view that is just too
    small to read? It seems to be inconsisent -- type is speced the
    same, but some of it is showing as 1 or 2 pt in my design view. Not
    having this problem in DW8. Probably something that I did by
    mistake, but I can't seem to "fix" it.
    Your help is most appreciated

    Design View doesn't process code like a brower does. It's primarily used for viewing layout.
    Hence the name Design View.
    You want to click on Live View while in Design View

Maybe you are looking for

  • Battery and Icon Issues

    My battery is not holding a charge and shuts down when unplugged from the charger. In addition the icon at the top of the screen shows an X in the battery icon. When placed on percent or time remaining it still only will show the X. The computer is l

  • Flash not loading  images in FireFox

    I have a website that loads a small flash object that gets it's images from an txt file. It all works fine in IE but not in FireFox. I have the newest version of FireFox and Flash player 9 plugin. It loads the flash object and background but will not

  • IPhoto 6 is loading duplicates in my library.

    I've transferred all of my photos to my new computer and from iPhoto Ver. 5 to iPhoto ver. 6. I just added photos from a 1 GB card which I had previously loaded with ver.5. Now it reloaded the entire 800 photos when it was only the last 10 that shoul

  • Cannot get Flash to work on certain websites

    I am having problems getting the Flash Player to run on certain websites. Those websites are ESPN.com and MLB.com. I am running Vista and have Flash Player 9.0.45. Any solutions would be greatly appreciated.

  • PS CS6 keyboard shortcuts aren't!

    The shortcuts work to an extent. That is, for instance if I hit M for marquee I get the marquee. BUT if I hit M again it won't change to the next one. And it's the same for all shortcuts. I have to mouse to the icon to change it. What gives? Is there