Char types

what is the difference between "inspection characteristics " and "general characteristics from the batch classification"?

Sandip,
From terminology point Inspection charaterisctics ar basically MICs which are used in insp plans. These are used for results recording valuation of a lot.
In batch classification it is just called as class characterisctics. You may choose to record some of the inspection parameters in the batch charateristics so that the batch iteself can show the inspction characteristics.
Hope you are clear.
Rgds
Ram

Similar Messages

  • How can I use jbo:InputSelect for a char type filed?

    How can I use <jbo:InputSelect for a char type filed?
    I have two tables. One is room (primary key is room(type is char)), another table is responsibility (foreign ker is room(type is char)). Both tables have same length for room column.
    There is a problem:
    If I use (in the "DataEditComponent.jsp" file)
    <jbo:InputSelect multiple="false" datasource="dsEdit" displaydatasource="roomData" displaydataitem="ROOM" displayvaluedataitem="ROOM" ></jbo:InputSelect>
    to get the room input for responsibility from combobox(Datasource roomData is from room table). In the form the room field cannot bind the data in combobox, alway select the first item. And if I select one item and click the update button.There is an error message:
    Error Message: JBO-27010: Attribute set with value H409 for Room in Responsibility has invalid precision/scale
    I found If I changed the field type from char to varchar2 in database also change the entity objects, it works well. I wonder if there are any diffrence using <jbo:InputSelect tag in char and varchar2 type. How can I use <jbo:InputSelect for a char type filed as i don't want to change my datatype in database at this stage.
    I try this in JDeveloper 9.03, 9.034, 9.04. The result is the same.

    If I were in your shoes, here's how I would do it:
    <%-- Assuming you have dsRoom and dsResponsibility --%>
    <%-- Select is an HTML tag --%>
    <select name="ROOM" size="1">
    <% char roomID =""; // Init your character var
    // Open a rowsetIterator to get the records and add them to the LOV
    <jbo:RowsetIterate datasource="dsResponsibility" changecurrentrow="true" >
    <% roomID = (char)dsResponsibility.getRowSet().getCurrentRow().getAttribute("ROOM"); // Grab the char value
    // add the value to the LOV
    %>
    <option value="<%=roomID%>"><%=roomID%></option>
    </jbo:RowsetIterate>
    </select>
    If you are using this as part of an edit page you may want to utilize the "selected" option of the <option> tag. In one instance I am doing this on an edit page because the use may open an existing record. If I don't account for it, then it will change the DB to contain the first value from the list! You can do a simple check like:
    //Set the current record's char
    char curRecord = (char)rowEdit.getAttribute("ROOM");
    // inside the iterate:
    if (curRecord == roomID) {
    <option value="<%=roomID%>" selected><%=roomID%></option>
    } else {
    <option value="<%=roomID%>" ><%=roomID%></option>
    Hope that helps!

  • How to Change Date-Type to Char-Type with Format?, When it.....

    I'd like to Change format Data from Date-Type Column to char-type
    especially, as 'YYYYMMDD' Format, But There are some Error Message.
    I already know, to_char(sysdate, 'yyyymmdd') from dual,
    But When it Applied my Table (has Date Type Column )....
    That SQL was Error...
    Table Description
    ===================
    GUBUN     NOT NULL     NUMBER(7)
    POLCD     NOT NULL     NUMBER(7)
    TITLE          VARCHAR2(200)
    VALUE          NUMBER(7)
    SIDATE          VARCHAR2(20)
    SQL
    ================================
    SELECT TO_CHAR(SIDATE,'YYYYMMDD') as V_SIDATE , -- <== Error
    TO_CHAR(SYSDATE,'YYYYMMDD') as V_TODAY -- <== Ok
    FROM T_POLL
    Error Msg
    ================================
    ORA-01722: invalid number
    .....I don't know Why... plz. help me, it's Urgent...-_-;
    ICQ : 40751557
    MSN : [email protected]
    Finally, sorry for my poor English...

    The reason for the error is you are applying a TO_CHAR function to a character datatype. SIDATE is a character. That field should be a date field. If for some reason, you need it to stay as a character field then you will need to change it to a date then change it back to a character.
    TO_CHAR(TO_DATE(SIDATE,'put format here'),'YYYYMMDD')

  • Measuring Point during IK01 not allowing characteristics with CHAR type

    Hi Experts,
    Measuring Point during IK01 not allowing characteristics with CHAR type Only allows NUM,
    could you anyone suggest on this.
    Regards
    Nitin

    May i know the reason of such implementation?
    You can use group code and valuation code for assigning predefined values to measuring documents.
    Moreover text field can be used for assigning short text to it.

  • Converting CHAR type to other data types

    Dear SDN users,
    would any of you know how to convert a CHAR data type to other data types for example hexadecimal etc., and convert them back? I suspect there must be some standard FMs available.
    Thankyou for your responses.
    Regards,
    Smitha

    Hello smitha ,
        I suppose you are assigning some  variable of char type to a variable of integer type it will automaticaly (implicitly ) convert the type .
    in some case we need to change the type explicitly like the above mentiioned .
    Thanks and regards ..
      Priyank

  • Can we move char type data to packed decimal

    Hi
    can we move char type data to packed decimal??
    Thanks
    Devi

    Hi..
    that depends on the data in the character variable..
    if that character variable contains onli numbers then it is possible.
    <b>data c type c value '1'.
    data p type p.
    p = c.
    write p.</b>
    here the output is  1.
    If it contains even a single Alphabet , then it goes for a dump.
    <b>data c type c value 'A'.
    data p type p.
    p = c.
    write p.</b>
    here u will get a short dump.
    hope u understood.
    regards,
    sai ramesh

  • How to pass one sapce to char type variable

    Hi,
    There is one import parameter in rfc "zstat" with char type and length 1. I want to pass value equal to one space in this variable during execution of RFC so that it passes the condition in code where it is not initial.
    But during runtime it doesnt store value equal to one space and become initial.
    So my question is how to pass value equal to one sapce to this variable.?
    Thanks in Advance!!!
    -Harkamal

    Hi!
    If it a char type, then its initial value is a SPACE character.
    If it confuses the program and you wanted to use it another way, then use numbers (type i - integer). It's initial value is "0".
    Or try to use other flag characters, like "T" for true and "F" for false values.
    Regards
    Tamá

  • HOW TO TRANSFER DATA FROM CHAR TYPE TO NON CHAR TYPE

    HI EXPORTS,
             THIS IS SASIDHAR, I HAD UPLOADED DATA FROM FLAT FILE INTO DYNAMICAL INTERNAL TABLE NAME <T_UPLOAD>. THIS INTERNAL TABLE FIELDS ARE CONVERTED INTO CHAR TYPE FIELDS. NOW I HAVE TO TRANSFER THIS DATA INTO ANOTHER INTERNAL TABLE  <DYN_TABLE> WHICH CONTAINS BOTH CHARACTER AND NON CHARACTER FIELDS. PLEASE ANY ONE GUIDE ME REGARDING THIS ISSUE.
    THANKS AND REGARDS
    SASIDHAR.V

    there is no specific CASTING operation in ABAP, so just do following:
    non-char-field = char-field.
    as long as it is possible ABAP does implicit casting and you dont have to care about anything.

  • Data truncation when using resultset.getString() to a char type field

    In my table ,there is a char type field,such as a char(4) field, for multilanguage use,I put two "double-byte" character in it,
    when I using resultset.getString() to this char type field,I can't get the right result,one char was truncated, so I only get three char, for "double-byte" it 's error code
    this only happen on IBM JVM on AIX 5 , when I use oracle jdbc on windows hotspot vm , it works fine (we use the same oracle on AIX)
    is there any further setting for JDBC driver on AIX ? but it 's thin driver
    and the varchar type works fine at any paltform
    any help ?

    Hi jul!!!
    write like this:
    DATA : wa_flight_data TYPE bapisfldat,
    wa_add_info TYPE bapisfladd,
    wa_availability TYPE bapisflava,
    it_ret TYPE STANDARD TABLE OF bapiret2,
    wa_ret TYPE bapiret2.
    PARAMETERS : pa_carr TYPE sflight-carrid,
    pa_conn TYPE sflight-connid,
    pa_date TYPE sflight-fldate.
    CALL FUNCTION 'BAPI_FLIGHT_GETDETAIL'
    EXPORTING
    airlineid = pa_carr
    connectionid = pa_conn
    flightdate = pa_date
    IMPORTING
    flight_data = wa_flight_data
    additional_info = wa_add_info
    availibility = wa_availability
    TABLES
    *EXTENSION_IN =
    *EXTENSION_OUT =
    return = it_ret.
    write : / 'Flight Data: ',
    wa_flight_data-AIRLINEID,
    wa_flight_data-AIRLINE,
    wa_flight_data-CONNECTID,
    wa_flight_data-FLIGHTDATE,
    wa_flight_data-AIRPORTFR,
    wa_flight_data-CITYFROM,
    wa_flight_data-AIRPORTTO,
    wa_flight_data-CITYTO,
    wa_flight_data-DEPTIME,
    wa_flight_data-ARRTIME,
    wa_flight_data-ARRDATE,
    wa_flight_data-PRICE,
    wa_flight_data-CURR,
    wa_flight_data-CURR_ISO.
    similaryly for wa_add_info and wa_availability.
    becoz u r using work area directly in WRITE statement and
    wa_flight_data TYPE bapisfldat,
    wa_add_info TYPE bapisfladd,
    wa_availability TYPE bapisflava,
    contains both int and char data so u can print all of them together..They can be printed field by field.
    if any doubts..let me knw.
    hope it helps.
    kindly rewrd.

  • Unicode Program : # is appearing for data types declared as char type

    Hi friends,
    I have copied one program on unicode system to unicode system. As only char type data types are allowed, i converted structure EP to char type only. Now during execution it is giving dump because it is showing value as '#' for 2 fields whos original data type was P and currency. How shall i convert them? Any suggession will helpful.
    Abhijit

    Hi Sandeep,
    This is my piece of code : Initially structure EP was used in read dataset which is of different datatypes. so i created similar structure ep_c with data type as char. As u suggested, i  tried to declare field BETRG as type currency. Then also it gave dump. (Runtime errors: UC_OBJECTS_NOT_CHARLIKE). For 2 fields BETRG and POHRS which is of currency and dec type originally, i am getting values as '#' causing in dump. In non unicode program both fields have values as '0.00' If i put these values in debugging then after execution, program comes to selection screen! Kindly advise.
    Data : komok(2) type c,
           betrg(18) TYPE c,
             betrg type betrg,
             pohrs(10) type c.
    open dataset seq-in for input in text mode encoding default ignoring conversion errors.
          if sy-subrc = 0.
            do.
              read dataset seq-in into ep_c.
              case sy-subrc.
                when 0.
                  move :ep_c-id to ep-id,
                        ep_c-text to ep-text,
                        ep_c-abkrs to ep-abkrs,

  • Converting char type to numeric

    hi,
    is there any Function Module that converts char type to numeric.
    thanks.

    hi,
    data : w_num type i,
             w_char type char10.
    Use can asign character to numeric in PGM by using the statement try endtry.
    try .
    w_num = w_char.
    endtry.
    Regards,
    Prabhudas

  • Forms: Oracle AS 10g R2 - parameter with "char" type only limit to 4k

    Hi,
    i have one forms with parameter ":parameter.whole_rights" (Datatype=Char, Length=32767) over design time.
    when i compiled and execute it in old server (Oracle AS 10g R1), it work perfectly but when compiled and execute it over the 10gr2, it always show ora-06502: pl/sql: numeric or value error.
    after some troubleshooting, i found out that the maximum length for "char" type parameter is only 4k. if i assign any string larger than 4k characters, it will show the error as per mentioned but it work on old server...
    anyone have this problem and how to resolve it???
    additional information:
    server is on unix environment.
    Edited by: cy82 on Jun 15, 2010 3:35 AM

    Hi there,
    the application does not use up all the 32k characters, the maximum length it use currently is around 6k.
    the parameter is used to store all the available access right (forms name, button/object name, read, write etc which is very customized & application specific design). every related access right in that parameter will be passed seperately into related form when the form is called to control the view, transaction nature etc.
    as the design involve other system who passed the data in, i not really plan to change it as it involve interface between 2 systems instead try other possible ways (simple and less impact).
    i think i should not say it use up all 32k, i just curious why the application declare the length as 32k over the forms design time but the actual length was only limited to 4k during forms execution time on Oracle AS r2.
    thanks for suggesting me to try the copy build in and i will try it & post the result tomorrow. i think it should work because i saw your quote for the documentation here:
    In Oracle Forms 10g, all parameters of datatype CHAR are limited to 4000 bytes when set or referenced using PL/SQL bind variable notation; for other usages no limit is imposed.
    as the "copy" build in does not use the parameter as PL/SQL bind variable, quite large posibilities it works...will try and update the result tomorrow....
    another question: where did you get the documentation for oracle forms?? i'm searching around and still cant find the quote that you copy from documentation. hopefully you can give me the link for my future reference.
    Edited by: cy82 on Jun 16, 2010 9:58 PM

  • Convert decimal to char type

    Hi all,
    How to convert decimal type length 3(e.g:25.0) to char type.......
    Thanks in advance

    hi,
       data : var_dec type p decimals 3,
              var_char(10).   
    <b>move var_dec to var_char.</b>
    else use FM
          CALL FUNCTION <b>'CEVA_CONVERT_FLOAT_TO_CHAR'</b>
               EXPORTING
                    FLOAT_IMP  = P_ORIGEN
                    FORMAT_IMP = CAMPO_FLOAT
               IMPORTING
                    CHAR_EXP   = C_DESTINO.
    Regards,
    Santosh

  • Converting Char  type  structure to Hex type structure

    Hello ,
             In unicode system how to convert char type structure to hex type structure . I am having structures as follows :
    DATA: BEGIN OF HEXBYTE,
      X TYPE X,
      END OF HEXBYTE.
    DATA: BEGIN OF CHARBYTE,
      C TYPE C,
      END OF CHARBYTE.
    HEXBYTE-X = CHARFIELD.
    CHARBYTE = HEXBYTE.
    But error coming is Charbyte and HexByte are not compatible . Plz suggest!!
    Thanks ,
    Keith

    Hi,
    These function modules are:
    NLS_STRING_CONVERT_TO_SYS (hex to char)
    NLS_SRING_CONVERT_FROM_SYS (char to hex)
    Regards,
    Nikhil

  • Transfer a char type varialble value to NUMC type variable

    Hi all,
    I have a BSEG-PROJK  type NUMC(8) variable and one xyz type CHAR(50)  variable.
    I have to pass value from xyz to BSEG-PROJK
    my e.g is that while I am passing
    xyz= 'M-000064'
    BSEG-PROJK  = xyz
    then the value of BSEG-PROJK is 00000064 but i need M-000064

    Hi,
    The value M-000064 is showing in field PROJK of BSEG, due to the conversion routine ABPSP attached in the domain level of this field.
    - To check the actual value stored in data base level
    - SE16 Give table name=>to see the table contents Press F7=>settings=>user parameters=> uncheck the check box check conversion exit.
    - now the value in field PROJK will show in numeric.
    Regards
    DKS

  • Using the StringTokenizer But Have a Delimiter of "char" type

    I am using the java.util.StringTokenizer to break a String into tokens.
    The delimiter is common (i.e. ',') and I declare it as a char.
    I have a compilation error becasue the StringTokenizer requires the delimiter of the String type. How do I handle the problem?
                            char delimiter =  ',';
                            int longest = 0;
                                  StringTokenizer t = new StringTokenizer( letters, delimiter );
                                  while ( t.hasMoreTokens() )
                                       String token = t.nextToken();
                                       int length = token.length();
                                       if ( length > longest )
                                            longest = length;
                                  }

    How do I convert a char to a String?Familiarize yourself with the API for Character and String, I can see about 4 different ways of doing this.
    Or do it the shortcut way ;-)char c = 'c';
    String s = "" + c;db
    edit Now why wasn't #3 on the page before I posted? Forum lagging again?
    @OP: The other ways are
    -- put the char in a one-element array and use the appropriate String constructor, or static method copyValueOf
    -- static method String#valueOf(...)
    Edited by: Darryl.Burke

Maybe you are looking for

  • Problem when invoking a web service multiple times

    Hello, I have a java client which invokes an apache axis web service (deployed on an Oracle Application Server on a remote machine) multiple times. The client distributes the web service invokes among multiple threads, every thing goes well but after

  • Can't simulate Clocking Wizard in ISE 14.7

    Hi! I have developed a simple design for a VGA module where I need to produce a 40Mhz clock out of 100Mhz input for an Artix-7 (XC7A100T-CSG324) on an Digilent Nexys4 evaluation board. In order to aquire this clock I have used a Clock Wizard for a DC

  • Adobe Air 2.0 beta causes overly transparent applications - unuseable

    Hi,    I'm running Crunchbang linux 9.04 (Ubuntu Jaunty) x64. I successfully installed Adobe Air 2.0 beta and apps run, but they are all so transparent that they can't be seen or used. Below is a screenpic of an adobe air application called doit.im.

  • Project Online Odata 45 Field limit

    Hi all, according to the below TechNet article http://office.microsoft.com/en-us/office365-project-online-help/project-online-software-boundaries-and-limits-HA104063425.aspx If you use the Odata feed and Project Online you are limited to a max of 45

  • How does one regenerate a Book using a previously generated *.bk log file?

    I could swear that I've done this before, but I can't remember the correct steps to take.  I'm using FrameMaker v10.  Thanks.