How to create a characteristic that can hold decimal values.

Hi,
I want to create a characteristic which shoul be able to hold decimal values.
Because from source system its coming in the format Number(1,1) and it should be a characteristics as per my
business requirement.
Please give me the solution if u know.
Thanks,
Vijaya

Hi,
it depends on your requirements... there are two possibilities
1. type CHAR - displays the values as they are coming from source system, but I do not think any further calculations will be possible
2. type NUMC - you can multiply each value from source system with 10 to derive an Integer value if you have format 1,1 for all records. The values will not be displayed as decimals but you can apply further calculations if needed (and divide all numeric values by 10 to transform back to correct decimal value)
Please elaborate on your requirements, maybe you can meet your requirements using a decimal key figure...
@Manfred
I think type amount will be available only for key figures, not for characteristics?
Best regards,
Björn

Similar Messages

  • How to create a structure which can hold a dynamic table as a field in DDIC

    Hi ,
           I am designing a solution for a problem and have a unique requirement.  I need to create a structure which can hold a field where dynamic table data can be stored.  Let me illustrate with an example :
    My structure  ( say  Z_output_struc ) will have the fields
    Table_name  Table_Data
    My function module will have a table type of the above structure, so in effect ,my output can have multiple table names and related to each of them, there will be table data of that table name. The issue is how do I configure this in DDIC ?
    I tried creating table_data as "Type ref to Data"  but was stuck  inside the func module when I tried to transfer data to this.
    Any pointers as to how to think about this differently ? 
    Best Regards,
    Girish

    Hi Girish,
    you start directly from the ref to data. You assign it to a field symbol and cast this to the type of the destination of your select. So you can directly add the reference to the cache:
    I hope this example helps a bit (I took a form instead of a function module as it is easier to add here and used an hr table as kna1 is empty on my test system):
    REPORT  z_rwe_99_dyn_tab_cache.
    * type definition
    TYPES:
      BEGIN OF _s_cache,
        table TYPE        tabname16,
        cache TYPE REF TO data,
      END   OF _s_cache,
      _t_cache TYPE STANDARD TABLE OF _s_cache.
    * data declaration
    DATA:
      lv_table     TYPE tabname16,
      lv_condition TYPE string,
      lt_cache     TYPE _t_cache.
    * define table and condition
    lv_table     = 'HRP1000'.
    lv_condition = 'plvar = ''01'' and otype = ''S'' and objid = ''50000016'''.
    * get the result of a single table into the cache
    PERFORM get_dyn_table USING
                            lv_table
                            lv_condition
                          CHANGING
                            lt_cache.
    * form to read a single table
    FORM get_dyn_table USING
                         iv_table     TYPE tabname16
                         iv_condition TYPE string
                       CHANGING
                         ct_cache     TYPE _t_cache.
      FIELD-SYMBOLS:
        <lt_table> TYPE ANY TABLE.
      DATA:
        ls_cache TYPE        _s_cache,
        lr_data  TYPE REF TO data.
      CREATE DATA lr_data TYPE STANDARD TABLE OF (iv_table).
      ASSIGN lr_data->* TO <lt_table>.
      SELECT * FROM (iv_table) INTO TABLE <lt_table>
        WHERE
          (iv_condition).
      ls_cache-table = lv_table.
      ls_cache-cache = lr_data.
      APPEND ls_cache TO ct_cache.
    ENDFORM.                    "get_dyn_table
    If you have more questions just give another post.
    Best Regards
    Roman

  • How to create a user that can login the LDAP?

    I want to create a user that can login the OID/LDAP. I know how to create a user, it is allowed to login OIDDAS, but I also want the user to grant access to ldap directly. How do i do that?
    And how can I give it read rights and or update/delete rights on a specific tree?
    Regards
    Eelco

    Eelco,
    did you see the OiD developers guide? Here you find some examples how to create users in OiD using pl/sql or java.
    http://download-west.oracle.com/docs/cd/A97329_03/manage.902/a95193/smplcode.htm#637294
    how to use directory access control can be found in
    http://download-west.oracle.com/docs/cd/A97329_03/manage.902/a95192/access.htm#1054232
    --Olaf

  • How to create a vi that can be connected to any type of array

    I would enjoy to create a vi that can perform an operation (like resizing) on any type of array (array of string, of cluster, of num,...): Which type of control or indicator could I use for this purpose? Any Idea?
    Thank's for your help

    Olivier,
    to do this you have to use a variant input. You can wire any type of data to a variant input. Inside the VI you flatten the variant to a string. The flattened string of an array contains both data and length of the array. You reshape the array manipulating the string. When done, you unflatten the data to a variant and output it from the VI. The caller has to convert the variant input to the source array type. OpenG.org provides a quite extensive toolkit to manipulate variant data. Some VIs specifically manipulates arrays. To see a description of VIs go to : http://opengtoolkit.sourceforge.net/lvdata/index.html
    LabVIEW Data Tools can be downloaded from http://sourceforge.net/projects/opengtoolkit/
    You need both packages lvdata AND error.
    LabVIEW, C'est LabVIEW

  • Data type that can hold negetive values with decimals

    Hi all,
    Is there any datatype which can hold negative values with decimals. INT4 can hold negetive values but don't have decimals and type P has decimals but it cannot hold negative values. Please suggest me some datatype for my requirement.
    Thanks in advance,
    Dev.

    Hi,
    Create your Screen field of type DM07M-JVCRP
    Go to Screen painter and change the Screen field type to DM07M-JVCRP
    Since this Accepts Negative values you wont get run time Errors
    Check the below data elements or use Domain CURRV13 " you can find in where used list for more
    Cheerz
    Ram

  • Can we create a cursor that can hold records of any table

    DECLARE
         CURSOR cr_tablenames IS
              SELECT tname
              FROM tab;
         v_tablename tab.tname%TYPE;
    BEGIN
         OPEN cr_tablenames;
         LOOP
              FETCH cr_tablenames INTO v_tablename;
              EXIT WHEN cr_tablenames%NOTFOUND;
              DBMS_OUTPUT.PUT_LINE('Table: '||v_tablename);
              -- HERE, I WANT TO PERFORM SELECT * OPERATION ON
              -- EACH TABLE WHOSE NAME COMES INTO v_tablename
              -- AND DISPLAY THE RECORDS
         END LOOP;
    END;
    I want to perform SELECT * operation on each table whose name comes into the variable and display the records. How to achieve it? I am clueless.
    Can this be achieved by something like... using cursors which can be defined dynamically and which can hold records of any table?
    Or, do I need to have some different approach to this problem?
    Edited by: kartins on Nov 5, 2009 11:41 PM

    something like
    SQL> create or replace
      2  function getContent (p_tn in varchar2)
      3     return sys_refcursor
      4  is
      5     retval sys_refcursor;
      6  begin
      7     open retval for
      8       'select * from '||p_tn;
      9     return retval;
    10  end;
    11  /
    Function created.
    SQL>
    SQL> var rc refcursor
    SQL>
    SQL> begin
      2     :rc := getContent ('emp');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> print rc
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        900                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1700        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1350        500         30
          7566 JONES      MANAGER         7839 02-APR-81       3075                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1350       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2950                    30
          7782 CLARK      MANAGER         7934 09-JUN-81       2551                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3100                    20
          7839 KING       PRESIDENT            17-NOV-81       5100                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1600          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1200                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81       1050                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3100                    20
          7934 MILLER     CLERK           7782 23-JAN-82       1400                    10
    14 rows selected.
    SQL>
    SQL> begin
      2     :rc := getContent ('dual');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> print rc
    D
    X

  • How to create a JButton that can run other Apps?

    Hi, Every1
    i want to create a JButton which can let the user click it and it runs a
    specified installed app in the system ( say, a JButton that fires up MS
    Outlook). how can i do that?
    thank you very much.
    Yu.

    hi, if i want to execute some kind of the following, how would i handle it?
    mailto:[email protected]
    i tried: Runtime.getRuntime().exec("mailto:[email protected]");
    but it gave me java.io.IOException: CreateProcess: mailto:[email protected] error=2
    i think this problem would be relatively easy but i just cant figure out.
    thanks

  • How to create a latch that can latch the input data for 50ms?

    Now I have some data come from the sensor. I want to latch this data for 50 ms and then reset it to 0. Does anybody do this before? Thank you

    Now I am using the "two button dialog" to create a dialog box. After the dialog box pop up, I choose "yes" the "two button dialog" will output a "True". My problem is that this "True" disapear too fast. My while loop frequency is only 20Hz. And I want to send this "True" value to somewhere. However the two "button dialog" will clear this "True" after 10ms?. So I always got a "false" value. How to "Freeze" this dialog box output value for at least 50ms? How to create a latch to hold this value?
    Attachments:
    Two_button_Dialog.bmp ‏1132 KB

  • How to create PDF files that can't by copied by MAC

    Hi,
    I need to create pdf files that I can put on my website, that cannot be copied or edited by MAC users. I have created pdfs that can't be copied by Windows users, but they're still copyable by Mac users.
    Thank  you!
    Alicia

    Your Windows users must be exceptionally uninformed...

  • How to create a DVD that can play on a computer

    I've finally become familiar with using Premiere Pro CS3 and Encore. When I'm creating a DVD I understand that it will be played on any standard DVD player but I would also like to have it play on a computer. Is there a setting which will allow this to happen?
    I've tried playing it on my PC as well as another, but nothing happens.
    Have I overlooked something?
    Thank you.

    Persius,
    Nearly every DVD that will play on a set-top player *should* play on a computer, provided two things:
    1.) the computer has a DVD player that can handle that flavor of DVD media, DVD RW, DVD-R, DVD+R, DVD DL, etc.
    2.) the computer has a software player installed. This feature has been removed from some common media players. You may need to locate, download and install a separate software player.
    There could be another discussion on interlaced vs progressive scan media, but I'll let you ask that question.
    Hunt

  • How to create BI templates that can appear on Blackberries

    Hello,
    I am trying to create web templates that will appear on some BI users' blackberries. They use Blackberry models 8110 and 8520. Using the Blackberry simulator for testing, I have managed to get the web templates to appear on the Blackberry screen.
    Unfortunately, I cannot display output in a table or graph format. Right now all I get is a line by line text display. I also cannot get variable screens to appear. We are using BI version 3.5 to create the templates. I understand it is not possible to use BW 7 for this purpose.
    Does anyone know of any tricks or techniques to get table or graphical web template output to appear on a Blackberry screen?

    Persius,
    Nearly every DVD that will play on a set-top player *should* play on a computer, provided two things:
    1.) the computer has a DVD player that can handle that flavor of DVD media, DVD RW, DVD-R, DVD+R, DVD DL, etc.
    2.) the computer has a software player installed. This feature has been removed from some common media players. You may need to locate, download and install a separate software player.
    There could be another discussion on interlaced vs progressive scan media, but I'll let you ask that question.
    Hunt

  • How to create a Column that will "carry over" values

    I have the first 5 colums of the following table and I would like to create the last column (Carryover). The calculation for carryover (current row) is PRIOR_DAYS_OF_SUPPLY(current row)-DAYS_BTW_REFILL(current row)-carryover (prior row)
    This is tricky since the value is dependent on the prior row value of the SAME column. I have tried the window functions but still cannot get it to work.
    P_ID     RX_DATE     DAYS_OF_SUPPLY     PRIOR_DAYS_OF_SUPPLY     DAYS_BTW_REFILL     CARRYOVER
    100     10/20/2005     30               0
    100     11/28/2005     30     30     39     0
    100     12/21/2005     30     30     23     7
    100     1/13/2006     60     30     23     14
    100     3/3/2006     30     60     49     25
    100     4/14/2006     30     30     42     13
    100     6/9/2006     30     30     56     0
    100     7/7/2006     30     30     28     2
    100     7/31/2006     30     30     24     8
    200     10/20/2005     30               0
    200     11/28/2005     30     30     30     0
    200     12/21/2005     30     30     35     0
    200     1/13/2006     60     30     25     5
    200     3/3/2006     30     60     70     0
    200     4/14/2006     45     30     32     0
    200     6/9/2006     30     45     41     4
    200     7/7/2006     30     30     30     4
    200     7/31/2006     30     30     32     2
    Any help would be greatly appreciated,
    Sam

    I may not be explaining my issue well enough. I believe that 10g has new funciontality that can solve this. Since I am in 9i, I would like to have something that does the same thing as the following 10g SQL:
    create table foo (P_ID number(3) ,R_DT date , DOS number(3) ,
    PDOS number(3), DBTWR number(3), CO number(3));
    insert into foo values (100,to_date('10/20/2005','mm/dd/yyyy'),'30',0,null,null );
    insert into foo values (100,to_date('11/28/2005','mm/dd/yyyy'),'30','30','39',0);
    insert into foo values (100,to_date('12/21/2005','mm/dd/yyyy'),'30','30','23',7);
    insert into foo values (100,to_date('01/13/2006','mm/dd/yyyy'),'60','30','23',14);
    insert into foo values (100,to_date('03/3/2006','mm/dd/yyyy'),'30','60','49',25);
    insert into foo values (100,to_date('04/14/2006','mm/dd/yyyy'),'30','30','42',13);
    insert into foo values (100,to_date('06/9/2006','mm/dd/yyyy'),'30','30','56',0);
    insert into foo values (100,to_date('07/7/2006','mm/dd/yyyy'),'30','30','28',2);
    insert into foo values (100,to_date('07/31/2006','mm/dd/yyyy'),'30','30','24',8);
    insert into foo values (200,to_date('10/20/2005','mm/dd/yyyy'),'30',0,null,null);
    insert into foo values (200,to_date('11/28/2005','mm/dd/yyyy'),'30','30','30',0);
    insert into foo values (200,to_date('12/21/2005','mm/dd/yyyy'),'30','30','35',0);
    insert into foo values (200,to_date('01/13/2006','mm/dd/yyyy'),'60','30','25',5);
    insert into foo values (200,to_date('03/3/2006','mm/dd/yyyy'),'30','60','70',0);
    insert into foo values (200,to_date('04/14/2006','mm/dd/yyyy'),'45','30','32',0);
    insert into foo values (200,to_date('06/9/2006','mm/dd/yyyy'),'30','45','41',4);
    insert into foo values (200,to_date('07/7/2006','mm/dd/yyyy'),'30','30','30',4);
    insert into foo values (200,to_date('07/31/2006','mm/dd/yyyy'),'30','30','32',2);
    ================
    Quote:
    select p_id,r_dt,dos,pdos,dbtwr,cry
    from foo
    model return all rows
    main grr
    partition by ( p_id)
    dimension by (row_number() over
    (partition by p_id order by r_dt ) as rn )
    measures (r_dt,dos,pdos,dbtwr,co, 0 as cry )
    ignore nav rules sequential order
    cry[any]= case when (pdos[cv()]-dbtwr[cv()] +cry[cv()-1])
    < 1 then 0
    else pdos[cv()]-dbtwr[cv()]+cry[cv()-1]
    end
    )

  • How to create a form that can auto-populate all fields based on a specific selection?

    We have created a template for each type of package used in our business.  The template is the same but depending on the package selected, the fields would be populated differently.  How can we create a template to load the fields based on the specific package selected?  We use Adobe Acrobat Pro in creating the templates.

    This forum is for the Adobe FormsCentral (http://formscentral.adobe.com) which is a service that allows you to create, collect and analyze data using an online web form. You should ask Acrobat/PDF related form questions in the Acrobat forums:http://forums.adobe.com/community/acrobat/acrobat_windows
    I'll move your post to that forum so you don't need to retype it. They can help you out...
    Randy

  • How to create stored procedure that can be read through Hyperion intelligen

    hello everyone out there. I need some help I create a select stored procedure and would like to run it through Hyperion intelligence with some input parameters. The procedure is not working. it is throwing an error when I execute it through Hyperion. Also how do I put multiple values like an array sort of things in a where clause like this where name in('test', 'test1). I place the stored procedure below any help will be greatly appreciated.
    CREATE OR REPLACE PROCEDURE emp_by_dept (
    p_deptno ert_dept_t.dept%TYPE
    IS
    emp_refcur SYS_REFCURSOR;
    v_dept ert_dept_t.dept%TYPE;
    v_deptname ert_dept_t.deptname%TYPE;
    BEGIN
    OPEN emp_refcur FOR SELECT dept, deptname FROM ert.ert_dept_t WHERE dept = p_deptno;
    DBMS_OUTPUT.PUT_LINE('dept deptname');
    DBMS_OUTPUT.PUT_LINE('----- -------');
    LOOP
    FETCH emp_refcur INTO v_dept, v_deptname;
    EXIT WHEN emp_refcur%NOTFOUND;
    END LOOP;
    CLOSE emp_refcur;
    END;

    Chrome has its own PDF viewer plugin that is quite buggy when it comes to PDF forms (as do Firefox and Safari, by the way).
    So yes, the best solution is to download the file and then open it locally using Adobe Reader. However, you can't enforce that. It's up to the user and their browser settings. You can only recommend it to them.

  • How to create a plugin that can be installed on a webserver

    Hi,
    I want to create a program in java which can be installed as a plugin on a WebServer. Can anyone please give me some suggestions as how to go ahead with this.
    Thanks in advance
    -Raghu

    The means of writing plugins for web servers (Apache, IIS, iPlanet, etc.) vary widely and why would you want to do that anyway? Wouldn't a Servlet be a better idea?

Maybe you are looking for

  • Keep together gropus across columns

    Hello! I'm creating a lot of reports with Crystal Reports for Visual Studio 2010, and I'm unable to keep togheter groups across columns. This funcionality only works across pages. I've benn searching a lot in this forum and others and it appears that

  • How can I open rtf files in pages?

    I just bought a "New iPad" (iPad3) I am am to succesfully sync .doc files from my MacBook running Lion over to pages on my ipad using itunes. Then I can sucessfully edit the .doc files. But when I try it with .rtf files, I can see them on my ipad, bu

  • Attendence Type and Absence Type update

    Hi,   When ABSENCES AND ATTENDENCES  are entered in CAT2 ,  the Infotypes 2001 and 2002 (Aabsence info type and Attendence infotype)  are not gettting updated. Can any one please help me with this.                                                     

  • Moving Virtual Machine - Attach VHD with new VM

    Hi All, We wants to migrate 2 virtual machines from one location to another location. Present Location :- Windows Server 2008 R2 Enterprise (IBM X3400 M3) VM 1 - Server 2008 R2 Standard with Additional Domain Controller and Exchange Server 2010 SP3 i

  • Re: Rubbish Broadband speed

    Hi Folks, Well this is certainly a long time after the event RogerB, but wanted to thank you for your help. This is now completely sorted. The new cabling works great and I have a typical speed of around 3-4 mbs which I never thought we would get. Ch