Regarding BPM Data Type "Any"

Hi,
We use to capture the value of "Others" exceptions in an instance variable "exceptionHolder" of type "Any". Can anyone suggest how can we retrieve the contents of this instance variable(exceptionHolder) in a "String" instance variable.
Thanks,
Abhishek

Sure you tried this (suspect I'm not following you), but have you tried casting it?
myString = String(myExceptionVar)Dan

Similar Messages

  • Query regarding the data type for fetcing records from multiple ODS tables

    hey guys;
    i have a query regarding the data type for fetcing records from multiple ODS tables.
    if i have 2 table with a same column name then in the datatype under parent row node i cant add 2 nodes with the same name.
    can any one help with some suggestion.

    Hi Mudit,
    One option would be to go as mentioned by Padamja , prefxing the table name to the column name or another would be to use the AS keyoword in your SQL statement.
    AS is used to rename the column name when data is being selected from your DB.
    So, the query  Select ename as empname from emptable will return the data with column name as empname.
    Regards,
    Bhavesh

  • Regarding QUAN data type and Parameter id

    Dear all
    i have a doubt that is...im creating 3 fields LENGTH,BREADTH,THICKNESS for which i have used (LAENG,BRIET)but the data type QUAN is of length 13 characters, now im using theses fields in a screen and when i try to enter 3 digit value into these input fields i get the error ....Entry too long (enter in the format ~.__). and i replace it with 2 digit it will accept.
    and one more.
    each and every screen field value can be passed to the program only by PRAMAETER id statement or can u please suggest me the best possible way to pass the screen values to the program.

    Hi Naren
    If you have to consider the commas and dots also in output lenght which is 17
    10 digits
    3 digits after decimal point
    = 13 "Length
    1 decimal point
    3 commas
    = 4
    13 + 4 = 17 "Output Length
    if you enter 1,234,567,890.123 OR 1234567890  it will except
    But if you will enter 12345678901 it will not because ... it will not accept 11 digits... less then 11 digits it will except...
    also if you pass the 10 digits then decimal point and then upto 3  digits afrter the decimal point then also it will accept...
    Try to Debug the code and check the value of the parameter ID you are passing in screen...
    Check for the above validation...
    also check out the data type must match...
    post your code as well here so we can give better suggestion on it...
    Also there is no parameter ID for the Dataelement LAENG
    For passing values to other report have a look on below thread..
    Reg: SUBMIT WITH Free Selections
    Also Search on SCN using SUBMIT and also have a look on ABAP help for SUBMIT statmetn for better idea...
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Regarding F data Type

    Hi Expart ,
                   I am using a variable of type F (v_min). I don't want the decimals or Exponent .say Example v_min = 4.85.
    i only need to display 4 not the decimals .if i use exponent 0 and decimals 0 then it become '5' .but i dont want 5 i need 4 .same thing happenning if i used i or p data type .
    Please help me to get the correct value .
    Thanks in advance
    Raju

    Hi,
    Declare the variable as type F and use TRUNC function
    Eg,
    data: var type F value '4.85',
              result type I.
    result = TRUNC( var ).
    write: result.

  • Why is there a data type NUMC?

    Hi ABAP masters,
    working in database support for several years I've very often seen the problems that arise from the awkward data type NUMC.
    A numeric type stored as characters.
    What I always wondered is: what is this data type really good for?
    The leading zero output display alone is hardly a valid reason to waste storage and complicate the usage of the data of that type.
    I cannot imagine any use for this data type that wouldn't be better done by using integer types.
    So, if you know what the reasoning behind this data type is, please let me know.
    thanks and best regards,
    Lars

    NUMC data type can be used to maintain positive numbers with leading Zeros
    Most of SAP's important numbers like Sales Order numbers, Customer numbers, Delivery documents,
    Material numbers, Sales Org, Division, Company Codes, Distribution Channel are CHARs only
    But if their Data is containing only digits, SAP Transactions will automatically add Leading zeros for them and store in the database as Raw data.
    If those SAP numbers contains at least one non-digit character, then leading zeros will not be added.
    Example: if 54 is assigned to BUKRS it will be stored in DB as 0054
                   if 5A is assigned to BUKRS it will be stored in DB as 5A only
    Leading zero concept is very useful for Date and Time calculations.
    Month, Day, hours etc., must be declared as NUMC for better calculations
    Example:
        PARAMETERS p_year TYPE I.          "instead of Integer we can use type N LENGTH 4 also here
        DATA  v_month TYPE N LENGTH 2.
        DATA  v_day     TYPE N LENGTH 2.
        DATA  v_year    TYPE N LENGTH 4.       then calculations will be easy
        DATA  FDATE   TYPE D.
        v_year = p_year.
        v_day  = 1.              "1st day of Month
        DO 12 TIMES.
            v_month = sy-index.           "Leading zero will be added automatically
            CONCATENATE v_year  v_month  v_day  INTO  FDATE.
            WRITE / FDATE.                "Every month 1st day of selected year
        ENDDO. 
    Example:  Customer number contains uneven digits.  It should be converted to a 10 digit number
                     with "C" as 1st Character.  Logic will be
                     PARAMETERS custno TYPE I.               
                     DATA  v1                     TYPE  N  LENGTH  10.
                     DATA  str_custno         TYPE C LENGTH 11.
                     v1 = custno.       "customer number will be converted to 10 digit number
                     CONCATENATE 'C'  V1   INTO  str_custno.
    please correct me, if I am wrong
    Thanks and Regards
    Nagababu Tubati

  • XPath support for Date data type.

    Hi,
    I am using XPathAPI class for extracting data from an XML source.I have a column in the data which has date type (any date type supported by MS SQL, Ms Access etc).I want to select only some rows from that column.I'm not aware if XPath provides operations on date types.
    Is there any way I could compare two date values using XPath expressions??
    thanx,
    regards.

    After checking XPath 1.0 recommandation (http://www.w3.org/TR/xpath), I see nothing about date type support.
    You will have to try little tricks, like converting 2002/09/05 into a number 20020905, making it available for < and > comparisons...

  • Data Type Evaluation Order

    Hi,
    I want to get some clarification regarding the Data Type Evaluation Order (DTEO) for a Planning application.
    In the EPMA Administrator's guide it says that the DTEO defines the order of precedence when at the intersection of two members of two dimensions have separate data types. I have a specific case and couldn't find any details regarding that in the documentation.
    If I take two dimensions A and B. For one particular member of A I choose percent as the data type and the other members are all unspecified. For dimension B all members have data type currency.
    In the evaluation order I specify A first followed by B. So when the percent member of A will intersect with any member of B, the data type should be percent because of the evaluation order.
    However, the other members are unspecified. In case of intersection of those members of A with any member of B, which data type will take precedence - Unspecified from A or Currency from B (remember that A is higher in the order but in this case the data type is unspecified)?
    Shehzad

    If you've specified dimension A above dimension B in the evaluation order, then dimension A will <em>always </em>take precedence over dimension B, even when the data type of the particular dimension A member is "Unspecified." In that case, the member data will be displayed on forms without any of the formatting characteristics specified for currency, non-currency, or percentages on the <em>Other Options</em> tab of the form definition.
    You should be able to prove or disprove this by constructing a simple form that reflects the scenario in question.

  • INSERT/UPDATE date type

    I'm using an Oracle 816 and Java 2.
    There is no problem with retrieving data from the tables. My problem is "INSERT date".
    Code snip:
    (java.util.)Date dtToday = new Date();
    String strSQL = "INSERT INTO MY_DB.TABLE1 " +
    "(COLUMN1, COLUMN2) VALUES (\"bluh\", " +
    dtToday + ")";
    myStmt.executeUpdate(strSQL);
    Would you please tell me what is the right way to insert a date type (any from java.util.Date, java.sql.Date, or oracle..DATE) to an Oracle 816 table that has a date column.
    Thank you very much in advance.
    Robin Luo

    Try to use prepared statement:
    PreparedStatement pstmt =
    conn.prepareStatement ("insert into TABLE1(COLUMN1, COLUMN2) values (?, ?)");
    pstmt.setString (1, "bluh");
    pstmt.setDate (2, dtToday);
    pstmt.execute ();
    null

  • HEELLLLP with abstract data types(ie. interfaces)

    Hello Java World,
    I have a few questions regarding abstract data types(ADT) such as interfaces, etc.
    1. Which of the following is allowed in Java ?
    interface TA extends student, Employee
    class teachAssist implements TA, Cloneable, Sortable{..}
    2. ADTs cannot be instantiated only extended/implemented(coded)??
    3. Can a interface implements/extend classe(s)?
    4. Why is a Vector not an ADT? Is it because it contains implementations for its some of its methods?
    Thanks for the help, in advance!!
    RahimS

    Hello Java World,
    I have a few questions regarding abstract data
    types(ADT) such as interfaces, etc.
    1. Which of the following is allowed in Java ?
    interface TA extends student, Employee
    {...}Allowed (if student and Employee are also Interfaces).
    class teachAssist implements TA, Cloneable,
    Sortable{..}Allowed.
    >
    2. ADTs cannot be instantiated only
    extended/implemented(coded)??True.
    3. Can a interface implements/extend classe(s)?No. An interface simply defines a skeleton...says what methods are present in classes that implement it...therefore an interface cannot 'implement' anything. It may however extend other Interfaces.
    4. Why is a Vector not an ADT? Is it because it
    contains implementations for its some of its methods?A Vector is not an ADT because it is fully implemented (it contains implementations for ALL of its methods).
    >
    >
    Thanks for the help, in advance!!
    RahimS

  • Predefined data types

    Hi,
    Can somebody give me details regarding predefined data types in ABAP and equivalent Character types ?
    For example :
    F2 type p  can be equivalent to F2(20) type c
    F2 CURR17 = F2(?)  TYPE c
    Thanks

    Hi,
    Predefined : it is used to specify the types of individual field whose lenghts are fixed.
    numeric(I,F,P)
    Charcter(C,D,N,T)
    Hexadecimal type(X)
    Predefined Elementary type with variable length (String for char String,XString for byte String)
    ACCP Posting period YYYYMM
    CHAR Character string
    CLNT Client
    CUKY Currency key, referenced by CURR fields
    CURR Currency field, stored as DEC
    DATS Date field (YYYYMMDD) stored as char(8)
    DEC Counter or amount field with comma and sign
    FLTP Floating point number, accurate to 8 bytes
    INT1 1-byte integer, integer number <= 255
    INT2 2-byte integer, only for length field before LCHR or LRAW
    INT4 4-byte integer, integer number with sign
    LANG Language key
    LCHR Long character string, requires preceding INT2 field
    LRAW Long byte string, requires preceding INT2 field
    NUMC Character string with only digits
    PREC Precision of a QUAN field
    QUAN Quantity field, points to a unit field with format UNIT
    RAW Uninterpreted sequence of bytes
    RAWSTRING Byte String of Variable Length
    SSTRING Short Character String of Variable Length
    STRING Character String of Variable Length
    TIMS Time field (hhmmss), stored as char(6)
    VARC Long character string, no longer supported from Rel. 3.0
    UNIT Unit key for QUAN fields
    Pls chk this links;
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2fd9358411d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2fcc358411d1829f0000e829fbfe/content.htm
    Hope this helps,
    Regards
    CSM Reddy

  • Decimal data type

    Hi,
    I know this is a very silly thing to ask.
    But i got a doubt regarding the data types.
    look at this:
    <b>tables: zap.</b> " this is a custom table
    in this custom table "zap" the field "price" is defined like this:
    <b>field</b>| <b>field type</b>| <b>data type</b>| <b>length</b>| <b>dec. point</b>|
    price| zap_price| dec       | 11    | 6
    now in the program there is a field declared like this:
    <b>data: zap like zap-price.</b>
    now my doubt is:
    for the field <b>zap-price</b> is the value can be like this?
    a)     46578.654876
    or
    b)     4687.645478
    which one is correct.
    Please let me know.
    thnx for the help.,

    Hi,
    You a) point is right & so is point b).
    Your definition means..
    the total length of the field is 11,out of which a max of 6 places for decimals & ofcourse 1 will be assigned to the sign(- or +).
    Message was edited by: Phani Kiran Nudurupati

  • Regarding Header And Footer in Data type Creation

    Hi All,
    Can Any One Please Send me One Screen Shot Developed with Header And Footer in the Data type Creation
    I want to Know How to Create And where to create that in DT Creation
    And Why Do we need Both of these in DT Creation
    Regards
    Vamsi

    Hi,
    Will u Please send One Screen With These Details, So that I Can Uderstand More
    ID : [email protected]
    Please send
    Regards
    Vamsi

  • Regarding creation of data type from an excel sheet

    hi experts,
      I am to create a data type which has 2000 fields. details about data type is in excel sheet.
    Is there any way i can convert this excel sheet to xsd and impot it in XI
    or there is any other way to do it fast.
    Or i will have create it manually one by one element.
    thanks
    Jaideep

    Hi,
    By default the occurences in the DTD will be Only One Occurrence.
    In the DTD you have to delclare the occurences as below and then convert to XSD using XML spy.
    Declaring Only One Occurrence of an Element
    Declaring Only One Occurrence of an Element
    <!ELEMENT element-name (child-name)>Example:<!ELEMENT note (message)>
    The example above declares that the child element "message" must occur once, and only once inside the "note" element.
    Declaring Minimum One Occurrence of an Element (put + sign after the message)
    <!ELEMENT element-name (child-name+)>Example:<!ELEMENT note (message+)>
    The + sign in the example above declares that the child element "message" must occur one or more times inside the "note" element.
    Declaring Zero or More Occurrences of an Element  (put * sign after the message)
    <!ELEMENT element-name (child-name)>Example:<!ELEMENT note (message)>
    The * sign in the example above declares that the child element "message" can occur zero or more times inside the "note" element.
    Declaring Zero or One Occurrences of an Element (put ? sign after the message)
    <!ELEMENT element-name (child-name?)>Example:<!ELEMENT note (message?)>
    The ? sign in the example above declares that the child element "message" can occur zero or one time inside the "note" element.
    http://www.w3schools.com/DTD/dtd_elements.asp
    Regards,
    Krishnaraju
    Edited by: v r krishnaraju mudunuri on Feb 20, 2009 1:24 AM
    Edited by: v r krishnaraju mudunuri on Feb 20, 2009 1:25 AM

  • Regarding data type related to roman no

    hi ,
    i have created  a z table named as zstudent.  In that i hve one field name as zstandard which should contain only roman numbers  from I TO X (1ST TO 10 TH ) class .hw can i do this .wen i creating entries on that table it should restrict to only roman numbers.is there any data type related to roman numbers
    thanks in advance
    Nandini.p
    points will be rewarded if useful.

    Why don't you simply maintain a regular integer or even a numeric value in your internal table and then output the appropriate Roman numeral using CASE...ENDCASE when you need to use it?
    Or if you don't have that many, then create a series of constants and use those.
    Regards
    Kurt

  • Hi is there any XMLDocument data type available in SOAP libraries

    How to convert string to XML Document data type and is there any XML Document type available in SOAP Libraries&j2ee api?

    Hello Pradeep,
    I attached a code sample. But if xString is no valid type it wont help.
    Regards,
      Klaus
    report Test .
      data:
        serialized_Data     type xstring,
        orig_Strings        type string_Table,
        clnt_Strings        type string_Table.
      field-symbols:
        <cur_String>  type string.
    * data provider
      do 10 times.
        insert initial line into table orig_Strings assigning <cur_String>.
        <cur_String> = sy-Index.
      enddo.
      sort orig_Strings descending.
      export data = orig_Strings to data buffer serialized_Data.
    * client side
      import data = clnt_Strings from data buffer serialized_Data.
      loop at clnt_Strings assigning <cur_String>.
        write: / sy-tabix, <cur_String>.
      endloop.

Maybe you are looking for