Which Data Type with 255 cars +

Hi,
I have a flat structure table with 15-20 fields, and I need for one of the field a data type with more than 255 cars
I cant put a STRING without having the flat structure error ...
Which one should I use ? How should I proceed ?
Thanks !
Kr,
BA

Hi Benjamin,
use SE80, click repository info system, click dictionary - data elemets. Chose length > 1024. F8 to execute.
Check where-used-list of what you like to use to make sure it is so frequently used that SAP will not change it.
Or better create your own Z data element with required length
Regards
Clemens

Similar Messages

  • Data Type with reference and view maintenance

    Dear all,
    There are two questions that I want to ask.
    1.     Error when referencing a table with data type = u2018STRINGu2019.
    I have a Z table with some fields = u2018stringu2019, when I use this as a reference, an error prompted.
    "ZTBL_ABC" must be a flat structure. You cannot use internal
    tables, strings, references, or structures as components.-
    2.     Error in generating the View maintenance for field length > 255.
    Actually, I want to create fields with
    1.     data type = char(255),
    2.     data type = text
    3.     data type = char(3000)
    It is okay if I create the field with the selected size, however, when I generate the View maintenance (which can be access through SM30); it does not allow me to do so. It still not working if I change it into string. How can I create such table and use the table maintenance, as well as using that as the reference type of an internal table for another program?
    Regards,
    Mandy Au

    Hello,
    1st of all a table which has a field of type string can be converted in to table maintenance because TM does not support string type as it becomes a very big field to be displayed on screen ... so u need to change that.
    and then about the CHAR of length 3000 is too big ... to have a max limit of 255.
    If you change this both u will be able to generate TM.
    Incase after changing the field length it it gives error in activatin your table then go to SE14 put your table name EDIT and then Adjust n activate it....
    hope this was helpful
    --- Close the post once you get the solution

  • Unsigned byte: Java byte data type (0-255)?

    I need an "unsigned" byte type.
    How can I implement a one byte data type with values from 0-255 in Java?

    No there isn't an unigned byte, but you don't need
    one. You just separate storage representation from
    calculation representation. When you store the
    "unsigned byte" you use a signed byte. When you make
    calculations on the "unsigned byte" you use an
    integer. For this you need two conversion functions,
    public static int toInt(byte b) {
    return b + 128;
    public static byte toByte(int i) {
    return (byte)(i - 128);
    }These amazing functions must be tested off course.
    public void testUnsigned(int unsgn) {
    byte bA[] = new byte[1];
    int i = unsgn;          // 0 to 255
    bA[0] = toByte(i);    // stored as -128 to 127
    int j = toInt(bA[0]); // 0 to 255
    if (i==j)
    System.out.println("Yes it works!");
    Sorry, but your code doesn't work. I also tried the byte & 0xFF and I get strange results too. 0xFF transfer to 129, which (I think, but maybe I'm wrong) should transfer to 255 (0xFF == 1111 1111, no?). After some tests, I found that "ounos" solution is the best fitted (byte < 0 ? b+256 : b)
    If you only do a (byte + 128), you'll get, for example:
    0000 0000 (should be 0) == 128
    I think that only 1 case is enough to proove that this code doesn't work... :-)

  • Howto call custom Oracel Data Type with TopLink?

    Hello,
    in our DB we have a custom Oracle type and a PL/SQL method which uses it.
    I would like to call the Oracle data type with TopLink. How can I do this?
    I could not find any documentation on this.
    I know JPublisher can do this but I don't want to use it!
    Please see code below
    cheers,
    Pete
    **************Datatype********************************
    CREATE TYPE My_Sub_Object AS OBJECT (Sub_Object_ID Number,
    Sub_Object_Txt VARCHAR2(200));
    CREATE TYPE My_Sub_Objects AS VARRAY (20) OF My_Sub_Object;
    CREATE TYPE My_object AS OBJECT (Object_id Number,
    Object_txt VARCHAR2(200),
    Sub_Objects My_Sub_Objects);
    ************PL/SQL-Method*****************************
    CREATE OR REPLACE PROCEDURE My_object_pro
    (Item_Object out My_Object) is
    Item_Sub_Object My_Sub_Object;
    Item_Sub_Objects My_Sub_Objects;
    Begin
    Item_Sub_Object := My_Sub_Object(10, 'Sub Object 10');
    Item_Sub_Objects := My_Sub_Objects(Item_Sub_Object);
    Item_Sub_Objects.Extend;
    Item_Sub_Object := My_Sub_Object(11, 'Sub Object 11');
    Item_Sub_Objects(2) := Item_Sub_Object;
    Item_Object := My_Object(1, 'Object', Item_Sub_Objects);
    End;
    /

    Object types and Varrays can be used from TopLink stored procedure calls. There was some support for this in 10.1.3, but the support in 11g (preview) is much better. You can also access the JDBC connection from TopLink or your DataSource and use JDBC directly.
    In TopLink 11g you can use an ObjectRelationalDescriptor to map the Object type to a Java class, and use this class as the argument type in your StoredProcedureCall.
    PL/SQL types are more difficult as they are not supported by JDBC, but your example only includes object types. If you had PL/SQL types you would need to wrap the types in object types, or use a PL/SQL block to convert them. TopLink 11g (preview 3) should have support for these as well.

  • Which Data-Types can be used as Widget Parameters?

    Hi,
    I have been playing about with widgets (specifically widget parameters) for a while now.
    I've got to wondering, exactly which data-types can Captivate turn into widget parameters?
    So far I know that you can use:
    Numbers,
    Strings,
    Arrays,
    Objects
    and Booleans,
    as parameters.
    Which ones am I missing?
    I know some don't work, because I tried storing a MovieClip as a parameter and that didn't work.

    Hi Eccles,
    You can set all basic data types supported in flash viz.,
    1)Numbers
    2)Strings
    3)Arrays
    4)Objects
    Since in Action script , an Object can be anything (array , array of objects , array of objects which by themselves are array of objects and so on ) , you can virtualy send anything as widget params
    But there are two caveats to this
    1)Object References
    -Object References do not have any meaning once the swf is closed.But the widget params have to be stored across sessions.So If you send a reference as part of widget params it is not going to work.
    This is why sending a Movie Clip (which is actually a reference to an Object ) does not work
    If you want to send such things you will have to 'serialize' the object.
    2)Size of the Object that you send
    The size of the object that you send can have an impact on performance.And since any object that you send has to be converted into XML , objects like bitmaps can turn out to be huge and difficult to handle.
    This brings us down to this - you can send any object across as widget param as long as it is small and serialized.

  • Problem with central build of Simple Date Type with Enumeration

    Dear gurus,
    I hope I'm posting this in the correct forum. Please advise if I'm in the wrong forum.
    I have a Web Dynpro DC in which I've created a simple data type with enumeration.  It is used for binding to a radio box. The data type is called DownloadType; the enumeration contains two vales: current and archive. To allow me to access the enumeration values, I turn on the "Generate a class representation of the enumeration" in the data type builder.
    I then reference the enumeration values with code like:
    if (downloadType.equals (DownloadType._CURRENT))
        yada yada yada
    This works fine when building locally and deploying directly. But when the DC is built by CBS (or doing a "Development Component->Build..." in NW Dev Studio), the build fails, stating that the DownloadType._CURRENT symbol cannot be resolved.
    For example:
    C:yadayadayada.java:227: cannot resolve symbol
    symbol  : variable _CURRENT
    location: class yadayadayada.DownloadType
                    equals(DownloadType._CURRENT))  {
    Apparently the central builder is not smart enough to handle the "Generate a class representation" flag.
    Is this a known problem? Are there any workarounds?
    Thanks in advance for any help you can provide.
    -Kelly
    P.S. Environment: 2004s

    Hi Kelly,
    works for me using SP10, what SP are you on?
    There's a line in the DC log that says:
         [ddgen] [Info]    Generating datatypes/com/x/x/x/MyEnum.java
    and the java compiler includes the matching path for compilation:
          [echo]   source paths:
          [echo]     ...\_comp\src\packages
          [echo]     ..\t\ABF37B5AFB3B2E8A76FFD29E7862EA48\gen_ddic\datatypes
    Regards,
    Marc

  • How to detect which data type is passed in ?

    Hello!
     I've built a VI function. But I want to make it more secure - that function could detect which data type is wired to the inputs and allow wiring only certain data types. How can I do this?
     Thanks
    Message Edited by ACiDuser on 05-23-2009 08:13 PM
    Solved!
    Go to Solution.

    I'm assuming you're talking about numeric datatypes. In this case that information is not available to you at the subVI level. The LabVIEW compiler will have already changed the datatype to match what your subVI expects if someone wires something of a different type.
    You could use a variant as your input. Then in the subVI you can use the Variant to Flattened Data to get the type. The OpenG LabVIEW Data Tools VIs will be useful if returning an enum specifying the datatype. Specifically, using the "Get TDEnum From Data VI".
    Now that we've gotten that out of the way, let's talk about the why. Why do you need to do this? What are you trying to "secure"?

  • Which data types I have to use.

    hi all,
    I was using DEC '9' for a variable.
    ie., tunni type DEC of length 9. For smaller values like 000000488225584 is ok.
    But for larger values like 000001048988458000000513871057 is going to dump.
    Please suggest me which data type I have to use.
    It should not be effect the performance.
    Thanks in advance.

    Hi,
    Try use numerical character (TYPE N).
    Regards,
    Charles

  • Jdev11g: How to use a Ord.image data type with ADF Faces 11g

    Where to find an example about Ord.image data type with ADF Faces 11g preview3

    Hi,
    such a sample doesn't yet exist.
    Frank
    Btw.: The Jdeveloper 11 forum is JDeveloper and OC4J 11g Technology Preview

  • Data type with large size in a table and updating it

    Hi guys,
    i am working on a requirement in which i need to create 4 tables. Here, 2 tables will be updated by the user and a program will update this content to the other 2 table.
    2 days before i posted a query on this, Previously i stucked on a part where, table need to entries with size char 400 and char 9000. As from the reply, i changed it to STRING with which table was sucessfully created and i was able to update data through a report program.
    Now we ned to provide an sm30 option to users, so they can insert new contents and update the status of old contents. But when i tried this table maintanance generator, i got an error that table contains string, so maintanance generator cannot be done ! i changed the data type to rawstring also. Now maintanance generator got saved, but when i open the table in sm30, i am getting dump saying tht table is using string/char etc.
    can anyone tell me what data type to use in this scenario with which we can enter data through sm30 ?

    Hi Kithu,
    you can use STRING (or XSTRING) fields. Then there is no limit on the field size. As long as it is not (fully) filled with data, no space is wasted.
    The disadvantage is that STRING type data are treated as 'deep' structures. That leads to some trouble in the definition of interfaces. Give it a try!
    Regards,
    Clemens

  • Which data type for X_Data_Type argument to PlotXY(...)

    Using Labwindows/CVI 2013.
    I'm collecting data and time stamps.
    The time is acquired by calling time( &timeTag );
    timeTag is declared as time_t;
    So now I have a big array of time_t.
    I want to use PlotXY to display the data.  The x-axis of the graph control is configured for absolute time so it will display time and date.
    My question is:
    What data type should I use for the X_Data_Type argument to the PlotXY(...) function?
    Should I convert the absolute time to double and use VAL_DOUBLE?
    Or should I use the time_t values as is and use VAL_UNSIGNED_INTEGER?  Will this still work if I build as a 64-bit application.
    Thanks,
    Kirk
    Solved!
    Go to Solution.

    You can use both: the information is basically the same but using time_t datatype you will loose the fractional part of seconds, which may or may not be a problem for you (apparently is not since you are already getting data using time () and are satisfied with that).
    Look at <cvisampledir>\userint\TimeDateUnits example for an application of time graph using doubles: you can modify the example simply using time () instead of GetCurrentDateTime () and setting the appropriate data type in PlotXY ().
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Generate Serializable data types with WSDLC

    Hello everyone,
    I'll was pretending to send a through a JMS ObjectMessage a type generated from WSDL with the wsdlc ant task. Unfortunately the generated types are not serializable and so I'm unable to send the message. It's really ackward to manualy change all of them so I would like to know if it's possible to instruct wsdlc to generate serializable data types. I'm using Weblogic 11gR1PS1. If it's not possible what do you recommend ?
    Currently the tasks are configured like this:
    <taskdef name="wsdlc" classpathref="weblogic.classpath" classname="weblogic.wsee.tools.anttasks.WsdlcTask" />
    <wsdlc srcWsdl="ejbModule/META-INF/wsdl/DataCatalog.wsdl" destJwsDir="gen" destImplDir="gen" packageName="br.com.allwayx.schema" type="JAXWS">
    Obs: I noticed that If I use a binding element inside the task passing any xjb file the wsdlc task generates a pair of Entity interface - EntityImpl implementation class. It stays like this:
    <wsdlc srcWsdl="ejbModule/META-INF/wsdl/DataCatalog.wsdl" destJwsDir="gen" destImplDir="gen" packageName="br.com.allwayx.schema" type="JAXWS">
                   <binding dir="${binding.declaration.dir}" includes="${binding.declaration.file}" />
    </wsdlc>
    Still I would like to keep the old way, without the binding element which generates just a concrete class for each element. Maybe this is a bug?
    Thank you !
    Edited by: Lupan on 28/04/2010 13:13

    Hi Lupan,
    Currently I believe there is no way to instruct WSDLC task to generate the Serializable data types.
    There was already a BUG opened with BEA for WLS -9.0 following are the BUG details:
    http://download.oracle.com/docs/cd/E13222_01/wls/docs100/issues/known_resolved.html
    CR228385
    Description:
    The Web Service Description Language (WSDL) compiler does not generate serializable data types, so data cannot be passed to remote EJBs or stored in a JMS destination.
    You should contact the Oracle Weblogic Support to get the current status of the BUG.
    Thanks,
    Sandeep

  • IT0041 : Same date type with different values in the same infotype

    Hi,
    Is it possible to store in the 0041 infotype, the same type date but with a diffentent date.
    Example :
    IT0041
    employee 1000:
    date type : xx 01.05.10
    date type : xx 02.05.10.....
    Thanks

    Hi there,
    My two cents.
    I don't think it can be done in standard. Also copying IT 0041 would limit you to enter only 12 dates.
    My suggestion:
    Create a custom infotype with subtype field and a date field like IT 0015.
    On the screen you will only be seeing subtype and date. And assign time constraint 3 to it.
    In this way with the same subtype you can record several dates.
    cheers
    Ajay

  • Decimal data type with negative sign

    Hi Gurus,
    I wanted to created a z table with a filed of type decimal with sign.  What I did is I created a field in predifined type with dec type, but -ve sign is not taking at the time of entering the data in SM30. Its saying only +ve values are allowed. Please let me know how can I achieve this. My data will be like -4.1242.
    Thanks,
    David.

    Hi..
    Try using another field as an indicator for negative fields so that you can consider those signs in your program.
    Regards,
    Karthik

  • How do you mix data types with Producer/C​onsumer?

    Hi,
    I am trying to build a VI using Producer/Consumer architecture and trying to learn how to do it.  I am measuring two types of data that must be used "simultaneously" to create output commands.  The attached vi is a simplified version that I am using to try to understand how the data flows before I build my much larger more complex VI. 
    I will be collecting three values in an array from a DAQ sequence, and then one single value (also from another DAQ function) in another loop, so, the two loops are labelled THREE VALUES and ONE VALUE.   The DAQ's run at different rates, so, that is the reason for the producer/consumer architecture.   I want to take each of the three values, and pair it with the most recent one value, (hence the LOSSY ENQUEUE set to max size 1) and create a serial command to be output.  (Actually, I would create 3 serial commands, one per value from the THREE loop.)
    In the attached VI, I create an array of 3 values, but, I see only one of them during execution.  I am trying to see all 4 values, but, I see only one of the THREE, and one of ONE.    I think I should see 1, 23, 44, and 99, but, I see only 44 and 99.  Where  did 1 and 23 go?  I want to be able to use (see) 1 and 23 in my consumer loop.
    Thanks
    Attachments:
    forum oct 6 2013.vi ‏17 KB

    apok wrote:
    try this...
    Spoiler (Highlight to read)
    (OP NI did you a slight disservice stating Producer Consumer vice Master Slave pattern- you need a master slave pattern)
    Close to right Apok,  A problem.  Two solutions possible:
    1)The slowest notifier needs to be waited first and have the ignore previous boolean T (Not sure which is slowest)  This "Slow Loop" then throttles the slave loop and the "Fast Loop's" notifier looses data between slow loop samples.
    2) Wait the Fast loop's notifier first. and leave both notifiers ignore previous =F  And, set the slow loop timeout to 0.  This duplicates the slow loop value for each fast loop acquisition.
    Jeff

Maybe you are looking for

  • Why doesn't iTunes match work?

    I just got iTunes match and it doesn't work! it uploads the songs that it can't match but it can't even match half of the songs. but thats not my main issue. the issue is the matched songs doesn't sync with the songs in iTunes as if i didn't buy the

  • Activities linked to cases

    Hello , We have requirement wherein we need to get all those cases with activities linked to them. Is there anyway to read the activities linked to cases . There is a BAPI which gives the details , but that is only for one case at a time. Is there a

  • Executing Java Code in ODI Procedure

    Hi All, I have following  java code which i need to write on ODI procedure but i am not sure which technology to chose (Jython,Sunopsis API or Java BeanShell). I tried to execute the procedure Jyhton with <% "Java code"%> but getting the error.Any bo

  • Authoring Environment Tutorial or SAP Class

    Hi , In order to learn the details of Authoring Environment ( LSO 300 or LSO 600 ) , what is the best ? SAP class HR270: SAP Learning Solution Overview, seems the only class were Authoring Environment is presented , is HR270 a good class (enough deta

  • URISyntaxException while using GlassFish JPA provider in WebLogic

    I am trying to plug in GlassFish JPA provider https://glassfish.dev.java.net/javaee5/persistence/#Java_Persistence_API in WebLogic Application Server version "EJB 3.0 Tech Preview". EJB 3 tech preview version is only available on Windows OS, so I am