Differences between Position Hierarchy and Supervisory Hierarchy
Hi All,
Can somebody tell me the pros and cons of using Position Hierarchy and Supervisory Hierrarchy .
Regards,
If you use the Position hierarchy then you will have to go through the process of defining all of the positions / posts in your organisation and specifying all reporting lines in your organisation from top to bottom. You will then have the overhead of maintaining your positions and position hierarchy and keeping them in line with the business on a day to day basis.
If your organisation is fairly fluid, e.g. a project based organisation or an expanding organisation, these can be very significant overheads. Business re-organisation will create a large workload in creating new positions and migrating employees to them.
If you are in a fairly static organisation e.g. public sector then it may well be that the position structure is well documented and changes infrequently. In this case use of positions and position hierarchies is a simple data entry task and adds significant value.
The supervisor hierarchy is more flexible. It is simply a field held against the person record. However, there is very little validation on it so the you have to put manual processes in place to make sure the data is valid e.g. leavers are replaced and that no loops are created.
I would recommend NOT using positions unless yours is a public sector implementation.
Regards,
Andrew
Similar Messages
-
Where is the difference between Positive Liste and BP Release in SPL?
Hi Folks,
Where is the difference between setting a Business Partner on a
Positive or Negative List and release or block a business partner in SPL?
I thought that should be almost the same. Hope you can clarify it.
Thanks
Regards
DieterHi Dieter,
The difference is the following:
If you put a partner on a negative or positive list it no longer gets screened. so, unless you screen the positive or negative list explicitly, the partner is no longer screened, and of course the one on the positive list is never blocked and the other one always free.
If you release a Partner the Partner then the following happens (depending on the customizing).
1. If you do not have set the memory function in the customizing then the partner stays unblocked until you launch a new screening run and, if it gets hit against a list entry, it will be blocked again
2. If you do have the Memory function ticked in the customizing then the partner gets screened and released when you do a screening run (in contrary to the positive and negative list it does get screened, but automatically released). But if there is a new or changed entry that matches with the released partner, the partner gets blocked.
Regards,
Marc -
Difference between Standard Hierarchy and Alternate Hierarchy
Hi
Can anyone explain the difference between Standard Heirarchy and Alternate Hierarchy in Controlling.
Thanks in Advance,
Deepthi.<b>Standard Hierarchy:</b> It is a hierarchy of cost center groups / profit center groups in which all cost centers / profit centers are gathered together in a controlling area.
In order to create cost centers, you require a structure in master data maintenance to which you can assign cost centers. You create this CO structure, the standard hierarchy, when you create a controlling area. If this hierarchy is not present during controlling area maintenance, the system automatically creates the highest node there.
<b>
Alternate Hierarchy:</b> The alternate hierarchy setting in the controlling area enables you to name up to two more alternative hierarchies (according to fiscal year), which can be used for the authorization check in the same way as the standard hierarchy (meaning, that inheritance logic is used). You can also deactivate the standard hierarchy as an authorization hierarchy, and use only the alternative hierarchy.
Regards,
NareN. -
Difference between BPC 5 and 7 ms
Hello all,
I have found documents about the bpc 7ms but however im looking for whats the difference between bpc 5 and bpc 7ms systems, new features and so on. Do anyone have information about this. Please Share =)
Cheers
JojohI,
Right now BPC 5.1 is going on in the market, and BPC 7.0 NW version is in rampup.
BPC 5.1 is the Microsoft version which uses the microsoft tools (Excel,powerpoint,etc) and the backend is SQL server, while BPC7.0 will be having both Microsoft version and Netweaver version.Here Microsoft version will be same as for BPC 5.1 with some advancements,while for NW version the backend will be BI.
Between BPC 7.0NW and BPC 5.1
What is In
Integration with NetWeaver BI
Increased dimensionality
New Validations engine
Integration with BI Accelerator
Improved dynamic templates
Lifecycle Management (transports)
Statistics framework for monitoring
64-bit ABAP A/S support
Database neutrality
Debugging capabilities (ABAP only)
What is Out
BPFs
Books
Drill-Through
Dynamic Hierarchy Editor
Insight
SQL-Logic in Script Logic
Some EV functions
Ability to rename a member, delete a member being used, reduce the length of a property
Custom Menus
Thanks,
Anila -
Difference between parant total and parent adj total?
hi experts.
What is the difference between Parent total and Parent adj total in value dimension? can you explain with a simple example.
Your comments will be appreciated
Thanks
SarathHi Sarath,
Hope the below can help you.
Parent Totals: when you save data, financial management automatically calculates totals for the parent members of the dimension hierarchy.
ex : if you enter and save data for the hotel and meals members, a total is calculated for their parent total expenses. ; here the data does not aggregate to parent members until consolidation occurs.
Parent Adjustment : If entities roll up to more than one parent, you can create parent adjustment. Parent adjustments enables you to apply an adjustment for a child to a selected parent, rather than to all parents.
Parent adjustments are available only for parent entities for which the AllowAdjFromchildren application setting is selected.
thank you
Regards,
Mahe -
Difference between parent currency and parent in value dimension
Hi
Dear friends please tell me about following:
1.Difference between <Parent Currency> and <Parent> in value dimension and its significance.
2.Difference between <Parent Currency Adjs.> and <Parent Adjs.> in value dimension and its significance.
Thanks
Mayank
Edited by: mayanka bhusan on Jun 17, 2010 10:08 PMWhen you have an entity which contributes to two or more parent entities, you can specify if an adjustment applies and contributes to all parent entities or the selected entity.
1. Create the adjustment to <Parent Curr Adjs> and the adjustment value contributes to all parents.
2. Create the adjustment to [Parent Adjs] and you can select which parent entity you want the adjustment value to contribute to.
<Parent Currency> is where the translation happens.
<Parent Curr Total> is the total of the translated value plus any adjustments applying to all parents -i.e. <Parent Curr Adjs>
[Parent] simply carries the <Parent Curr Total> numbers to the next level of the value hierarchy
[Parent Total] is the total of the previous level plus any adjustments applying to the specified parent -i.e. [Parent Adjs] -
Difference between Base Hierachy and Alternate Hierachy
Hi da,
Can you please tell me what is the difference between base hierachy and alternate hierachy ?
and is there some other types of hierachies ?
Thanks and Regards,
Sri.Let's say you have a Time dimension and it has a Hierarchy called "Total Year".
It might look like the following:
Total Year
--Q1 +
----Jan +
----Feb +
----Mar +
--Q2 +
----Apr +
----May +
----Jun +
--Q3 +
----Jul +
----Aug +
----Sep +
--Q4 +
----Oct +
----Nov +
----Dec +
'Total Year' is your base hierarchy.
Now suppose you work for a CFO who is very superstitious and believes all months that begin with the letter 'J' are bad luck because he had a traumatic experience when he was a kid in the month of July. Anyway, he wants to track activity for months that begin with 'J' and asks you to create an alternate hierarchy.
It would like this
'Bad Luck Months'
--Jan + (Shared Member)
--Jun + (Shared Member)
--Jul + (Shared Member)
So your alternate hierarchy consists of "Shared Members" from your base hierarchy. It allows you to group the members in a different ("alternate") way.
HTH -
What is difference between tax procedure and pricing procedure?
Dear Gurus,
Would you please let me know the difference between tax procedure and pricing procedure?
Why it is necessary to maintain them separately?
Thanks in advance,
RanjanHi
Tax procedure settings
OBBG - Assign Country to calculation procedure.
OBCO - Specify structure for Tax Jurisdiction code. For country like U.S.A.
LG -> character length of first level of hierarchy within your tax jurisdiction code structure.
LG -> Second level of hierarchy as above.
LG -> Third level of hierarchy as above.
LG -> Fourth level of hierarchy as above.
TX -> Tick if you want the system to determine taxes on a line by line basis instead of determining them on a cumulative basis
per tax jurisdiction code.
OBCP - Define Tax Jurisdiction code
Dil -> Tick if you do not want tax amounts included in the based amount used for calculating cash discounts.
Txl -> Tick if you want the cash discount amount deducted from the base amount that is used to calculate taxes.
FTXP - Define Taxes on Sales/Purchases Code.
OBCL - Allow Tax codes for non-taxable transactions.
In MM module, pricing procedure is used during RFQ and PO creation. Total value of material based on all addition and subtraction like discount, surcharge, tax, freight, etc. In this we are defining pricing procedure and linking to vendor and purchase department through the virtual schemas.
Following steps for pricing procedure as,
1. Define conditions.
2. Define pricing procedure.
3. Define virtual purchase organization and vendor.
4. Info Record.
Regards,
Raman -
Differences Between Report Painter and Report Writer
Hi,
Anyone knows the differences between report painter and report writer?
Thanks,
CWHello CW Teo,
Yes report writer can be used in logistics also. One of the way which I am aware of is described below.
Flexible analyses allow you to can tailor the way in which key figures are combined and aggregated. This means that it is possible to both provide administrators with detailed information and management with aggregated information.
Flexible analyses enable easy access to the Report Writer, a user-friendly tool with which you can create reports for various analyses. The Report Writer is integrated in other SAP applications, such as Extended General Ledger and Cost Center Accounting.
Evaluation structures form the interface to the Report Writer. Evaluation structures consist of characteristics and key figures and are easy to construct.An evaluation structure with the same name exists for each information structure in the standard system.Even the self-defined information structures created in Customizing can be evaluated via the flexible analyses.
Evaluations:You can create an evaluation on the basis of the evaluation structure.
To define an evaluation, all you need to do is select the characteristics and key figures you require (pick-up technique).One of the especially useful features here is that you have the option of tailoring the layout of your report to suit your particular requirements. You can also define extra key figures for the reports, which are derived from existing key figures by means of calculation formulas. You can thereby multiply the key figures or divide one key figure by another.
============================================================
In addition to the above you can also edit a report in logistics module with the help of a report writer. below mentioned is the process for it.
It is now possible to edit your report data using the Report Writer. You can also change the layout of the report. The most important functions of the layout design are summarized below.
Summation levels:In the report screen, you can use the menu sequence View ->Summation level to specify the number of summation used to calculate total values. All totals that do not lie within the specified interval will be hidden. A summation level corresponds to a hierarchical level (for example, material level). Summation level 1 is the lowest hierarchical level. Summation level 2 is the next level up, and so on. The individual values are on the summation level 0.
The summation levels can be specified both universally (for the entire report) or locally (for specific blocks of rows). In this case, the local settings overwrite global values.
Report views:If a report is displayed on the screen, the Report Writer will then set page breaks so that exactly one page fits into the current window. This view will be defined as the standard view. As the Report Writer always processes exactly one page, you can only use the page keys and page icons to page up and down; the scroll bars cannot be used.
The page view can be determined via Settings-> Page view. The page breaks in the page view correspond to those defined in the report layout.
Hide and show rows:The function Edit->Hide rows exclude certain preselected areas of your report from the display. You can undo this command with Edit ® Show rows.
Expanding and collapsing report rows:View-> Hierarchy->Collapse allows you to hide the report rows of the sub-trees that are located underneath. View->Hierarchy ->Expand allows you to undo this command level by level.
If you want to display all the report rows that were hidden by collapsing the hierarchy or restricting the summation levels, select, View->Hierarchy-> Expand all.
View->Collapse all allows you to reduced every row block to the highest summation level.
Texts and Annotations:You can create an annotation for your report.
Select: Extras->Annotation.
You branch into the text editor of the Report Writer.
Via the menu sequence Settings->Texts, you can create and format a title page, the last page, as well as headers and footers using word processing functions.
For example, you can store variables in the header for the author of the report, the date of the selection or the name of the person who last changed the report.
Layout parameters:Using the menu sequence Settings->Layout you can specify the page format, display form, rows and columns of the report according to your needs and you can determine the settings for the graphics function. You can make these layout settings with Report->Save settings.
Hope I had been able to help you to some extent. please assign points as reward.
Rgds
Manish -
Difference between sy-uline and uline
Hi All,
Any one of you please update me what is the difference between sy-uline and uline. Also when i give sy-uline in top-of-page event it gives error.
Thanks
sankarwith ULINE u can specify the position from where the ULINE should start
corresponds to WRITE AT 3(10) SY-ULINE.
ULINE AT 3(10) NO-GAP will supress the spacess after the under line
ex : 1
uline at 4(10).
write : / 'My Program'.
uline at 4(10).
ex : 2
write : 'My Program' , sy-uline. -
What is difference between report programming and dialog programming?
hi,
what is difference between report programming and dialog programming? plz provide some example code
byeABAP programming
Basically reports are used to read database and represent the results in lists.
Reports are collections of processing blocks that the system calls depending on events.
We can use reports to evaluate data from database tables.
Reports are stand alone programs and controlled by events.
A report itself never creates events
steps in report:
Processing the selection screen
Reading the database
Evaluating the data and creating lists
Outputting a list.
1st u write simple logics, after that u can enhance the code as step by step.
http://venus.imp.mx/hilario/Libros/TeachYrslfAbap4/index.htm
http://help.sap.com/saphelp_47x200/helpdata/en/d1/802cfc454211d189710000e8322d00/frameset.htm
http://www.sapdev.co.uk/reporting/reportinghome.htm
Dialog Programming
Structure of a Dialog Program
A dialog program consists of the following basic components:
Screens (dynpros)
Each dialog in an SAP system is controlled by dynpros. A dynpro (DYnamic PROgram) consists of a screen and its flow logic and controls exactly one dialog step. The flow logic determines which processing takes place before displaying the screen (PBO-Process Before Output) and after receiving the entries the user made on the screen (PAI-Process After Input).
The screen layout fixed in the Screen Painter determines the positions of input/output fields, text fields, and graphical elements such as radio buttons and checkboxes. In addition, the Menu Painter allows to store menus, icons, pushbuttons, and function keys in one or more GUI statuses. Dynpros and GUI statuses refer to the ABAP/4 program that control the sequence of the dynpros and GUI statuses at runtime.
ABAP/4 module pool
Each dynpro refers to exactly one ABAP/4 dialog program. Such a dialog program is also called a module pool, since it consists of interactive modules. The flow logic of a dynpro contains calls of modules from the corresponding module pool. Interactive modules called at the PBO event are used to prepare the screen template in accordance to the context, for example by setting field contents or by suppressing fields from the display that are not needed. Interactive modules called at the PAI event are used to check the user input and to trigger appropriate dialog steps, such as the update task.
All dynpros to be called from within one transaction refer to a common module pool. The dynpros of a module pool are numbered. By default, the system stores for each dynpro the dynpro to be displayed next. This dynpro sequence or chain can be linear as well as cyclic. From within a dynpro chain, you can even call another dynpro chain and, after processing it, return to the original chain.
Check this link for basics.
http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
Check this link for Dialog Programming/Table Control
http://www.planetsap.com/Tips_and_Tricks.htm#dialog
Check this SAP Help for Dialog Program doc.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
Check this SAP Help link for Subscreens.
http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbabfe35c111d1829f0000e829fbfe/content.htm
Check this link for subscreen demo program.
http://abapcode.blogspot.com/2007/05/demo-program-to-create-subscreen-in.html
Also check this link too.
http://abapcode.blogspot.com/2007/06/dialog-programming-faq.html
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm
http://sap.mis.cmich.edu/sap-abap/abap09/sld004.htm
http://help.sap.com/saphelp_nw04/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/52/670c17439b11d1896f0000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/52/670c17439b11d1896f0000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9ccf35c111d1829f0000e829fbfe/frameset.htm
http://abapprogramming.blogspot.com/ -
I have a test system which uses a PXI-7352 motion controller with a MID-7602 stepper motor drive to position a 200 step/revolution stepper motor with an attached 1000 line encoder. The MID-7602 is configured for 64 microsteps per step, giving 12,800 microsteps and 4000 encoder counts per revolution. The system is controlled using LabView 7.1 and NI-Motion 6.13. To home the motor, I've defined a sequence in MAX which first finds the reverse limit switch and then moves forward to the encoder index pulse.
When finding its reference in open loop mode, the system its reference at the same microstep each time. When findings its reference in closed loop mode, the system finds its reference somewhere within about a 20 microstep wide range.
I hope somebody out there with more experience with this controller can describe the difference between finding the encoder index in open loop mode and finding the encoder index in closed loop mode.
Thanks,
Mark MossHello Mark,
I suspect that the behavior you are experiencing has today
with the resolution difference between your encoder and your
microstepping. Let me illustrate with an
example:
Example Setup
Stepper
Motor
NI
Motion Controller
10
steps per encoder pulse (Every 10 steps the controller gets an encoder
pulse, therefore positions 0-9 all appear to be 0 to the controller)
The
system has a maximum of 3 pull in moves set
Open Loop Scenario
The
system is commanded to go to position 9.
The
controller sends out 9 pulses.
The
motor moves to position 9.
Closed Loop Scenario
The
system is commanded to go to position 9.
The
controller sends out 9 pulses.
The
motor moves to position 9.
The
controller checks its position and sees that it is still at position 0
because it has not received an encoder pulse.
Because
the controller thinks it is still at position 0, it sends another 9 pulses
as its first pull in move.
The
motor moves to position 18.
The
controller checks its position and sees that it is at position 10 because
it has only received one encoder pulse.
Because
the controller thinks it is still at position 10, it sends1 reverse pulse
as its second pull in move.
The
motor moves to position 17.
The
controller checks its position and sees that it is at position 10 because
it has only received one encoder pulse.
Because
the controller thinks it is still at position 10, it sends and additional
single reverse pulse as its third pull in move.
The
motor moves to its final position of 16.
I believe something similar is happening with your
application as it looks for the index pulse.
Because the controller does not compensate for what it perceives as
position error in open loop mode, the motor always goes to the same commanded
position. In closed loop mode, the motor
is bouncing around inside the single index encoder pulse trying to find a
certain position.
There are several recommendations I can make towards
correcting this behavior. These
recommendations are in order of effectiveness:
Setup
your system so that there are more encoder counts per revolution than
steps per revolution.
Turn
off pull-in moves by setting them to 0 in MAX.
Use an
open loop configuration.
Play
around with the pull in window in MAX.
Regards,
Luke H -
The difference between FIELD-SYMBOL and normal DATA TYPE
Dear experts,
Please see the example below, both are output the same result.
DATA: EXTERNAL_RECORD(4000),
POSITION TYPE I,
LENGTH TYPE N,
ENTRY TYPE STRING.
EXTERNAL_RECORD = '0005Smith0007Edwards0005Young'.
DO.
LENGTH = EXTERNAL_RECORD+POSITION(4).
IF LENGTH = 0.
EXIT.
ENDIF.
ADD 4 TO POSITION.
MOVE EXTERNAL_RECORD+POSITION(LENGTH) TO ENTRY.
WRITE ENTRY.
ADD LENGTH TO POSITION.
IF POSITION >= 4000.
EXIT.
ENDIF.
ENDDO.
--OR It can be written as--
DATA: EXTERNAL_RECORD(4000),
POSITION TYPE I,
LENGTH TYPE N.
FIELD-SYMBOLS <ENTRY>.
EXTERNAL_RECORD = '0005Smith0007Edwards0005Young'.
DO.
LENGTH = EXTERNAL_RECORD+POSITION(4).
IF LENGTH = 0.
EXIT.
ENDIF.
ADD 4 TO POSITION.
ASSIGN EXTERNAL_RECORD+POSITION(LENGTH) TO <ENTRY>.
WRITE <ENTRY>.
ADD LENGTH TO POSITION.
IF POSITION >= 4000.
EXIT.
ENDIF.
ENDDO.
Is there any special circumstances we need to use FIELD-SYMBOL?
Why is FIELD-SYMBOL is introduce in the first place?
Kindly advice with example.
Thanks in advance for those who can help me on this.HI,
You can use field symbols to make the program more dynamic. In this example the name of a table control is substituted by a field symbol. Thus you cal call the form with any internal table, using the name of the table control as a parameter.
Example
form insert_row
using p_tc_name.
field-symbols <tc> type cxtab_control. "Table control
assign (p_tc_name) to <tc>.
insert 100 lines in table control
<tc>-lines = 100.
Field symbols allow you to:
** Assign an alias to a data object(for example, a shortened
name for data objects structured through several hierarchies
- <fs>-f instead of rec1-rec2-rec3-f)
** Set the offset and length for a string variably at runtime
** Set a pointer to a data object that you determine at runtime (dynamic ASSIGN)
** Adopt or change the type of a field dynamically at runtime
** Access components of a structure
** (from Release 4.5A) Point to lines of an internal table
(process internal tables without a separate work area)
Field symbols in ABAP are similar to pointers in other programming
languages. However, pointers (as used in PASCAL or C) differ from ABAP
field symbols in their reference syntax.
The statement ASSIGN f to <fs> assigns the field f to field
symbol <fs>. The field symbol <fs> then "points" to the
contents of field f at runtime. This means that all changes to the
contents of f are visible in <fs> and vice versa. You declare
the field symbol <fs> using the statement FIELD-SYMBOLS: <fs>.
Reference syntax
Programming languages such as PASCAL and C use a dereferencing symbol
to indicate the difference between a reference and the object to which
it refers; so PASCAL would use p^ for a pointer instead of p, C would
use *p instead of p. ABAP does not have any such dereferencing symbol.
** In PASCAL or C, if you assign a pointer p1 to a pointer p2,
you force p1 to point to the object to which p2 refers (reference semantics).
** In ABAP, if you assign a field symbol <fs1> to a field
symbol <fs2>, <fs1> takes the value of the data object to
which <fs2> refers (value semantics).
** Field symbols in ABAP are always dereferenced, that is,
they always access the referenced data object. If you want to
change the reference yourself in ABAP, you can use the ASSIGN statement
to assign field symbol <fs1> to field symbol <fs2>.
Using field symbols
You declare field symbols using the FIELD-SYMBOLS statement.
They may be declared either with or without a specific type.
At runtime you assign a field to the field symbol using the ASSIGN
statement. All of the operations on the field symbol act on the field
assigned to it.
When you assign a field to an untyped field symbol, the field symbol
adopts the type of the field. If, on the other hand, you want to assign
a field to a typed field symbol, the type of the field and that of the
field symbol must be compatible.
A field symbol can point to any data object and from Release 4.5A,
they can also point to lines of internal tables.
The brackets (<>) are part of the syntax.
Use the expression <fs> IS ASSIGNED to find out whether the field
symbol <fs> is assigned to a field.
The statement UNASSIGN <fs> sets the field symbol <fs> so
that it points to nothing. The logical expression <fs>
IS ASSIGNED is then false. The corresponding negative expression
is IF NOT <fs> IS ASSIGNED.
An unassigned field symbol <fs> behaves as a constant with
type C(1) and initial value SPACE.
MOVE <fs>
TO dest Transfers the initial value SPACE to the variable dest
MOVE 'A' to <fs>
Not possible, since <fs> is a constant
(runtime error).
To lift a type restriction, use the CASTING addition in the
ASSIGN statement. The data object is then interpreted as though
it had the data type of the field symbol. You can also do this
with untyped field symbols using the CASTING TYPE <type> addition.
The danger with pointers is that they may point to invalid areas.
This danger is not so acute in ABAP, because the language does not
use address arithmetic (for example, in other languages, pointer p
might point to address 1024. After the statement p = p + 10, it would
point to the address 1034). However, the danger does still exist, and
memory protection violations lead to runtime errors.
A pointer in ABAP may not point beyond a segment boundary. ABAP does
not have one large address space, but rather a set of segments.
Each of the following has its own segment:
* All global data
* All local data
* Each table work area (TABLES)
* Each COMMON PART
You should only let field symbols move within an elementary field or
structure where ABAP allows you to assign both within the global data
and beyond a field boundary.
Rgds
Umakanth -
Difference between datatype NUMBER and NUMBER(38)
Difference between datatype NUMBER and NUMBER(38)
From
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements001.htm#i54330
NUMBER Datatype
The NUMBER datatype stores zero as well as positive and negative fixed numbers with absolute values from 1.0 x 10-130 to (but not including) 1.0 x 10126. If you specify an arithmetic expression whose value has an absolute value greater than or equal to 1.0 x 10126, then Oracle returns an error. Each NUMBER value requires from 1 to 22 bytes.
Specify a fixed-point number using the following form:
NUMBER(p,s)
where:
p is the precision, or the total number of significant decimal digits, where the most significant digit is the left-most nonzero digit, and the least significant digit is the right-most known digit. Oracle guarantees the portability of numbers with precision of up to 20 base-100 digits, which is equivalent to 39 or 40 decimal digits depending on the position of the decimal point.
s is the scale, or the number of digits from the decimal point to the least significant digit. The scale can range from -84 to 127.
Positive scale is the number of significant digits to the right of the decimal point to and including the least significant digit.
Negative scale is the number of significant digits to the left of the decimal point, to but not including the least significant digit. For negative scale the least significant digit is on the left side of the decimal point, because the actual data is rounded to the specified number of places to the left of the decimal point. For example, a specification of (10,-2) means to round to hundreds.
Scale can be greater than precision, most commonly when e notation is used. When scale is greater than precision, the precision specifies the maximum number of significant digits to the right of the decimal point. For example, a column defined as NUMBER(4,5) requires a zero for the first digit after the decimal point and rounds all values past the fifth digit after the decimal point.
It is good practice to specify the scale and precision of a fixed-point number column for extra integrity checking on input. Specifying scale and precision does not force all values to a fixed length. If a value exceeds the precision, then Oracle returns an error. If a value exceeds the scale, then Oracle rounds it.
Specify an integer using the following form:
NUMBER(p)
This represents a fixed-point number with precision p and scale 0 and is equivalent to NUMBER(p,0).
Specify a floating-point number using the following form:
NUMBER
The absence of precision and scale designators specifies the maximum range and precision for an Oracle number.
And
2
NUMBER[(precision [, scale]])
Number having precision p and scale s. The precision p can range from 1 to 38. The scale s can range from -84 to 127
Sybrand Bakker
Senior Oracle DBA -
What are the differences between PD objects and PA objects?
can any one tell me What are the differences between PD objects and PA objects?
PA is based on Infotypes 0000-0999. PD is based on Infotypes 1000-1999, chief being Objects Infotype 1000. Objects Infotype is the source of different Object Types such as Person, Position, Org Unit etc. You can check that through transaction OOOT.
Regards
Lincoln
Maybe you are looking for
-
What are the differences between ESB 10g and OSB 10g
Hi, I'm newbie to OSB 10g. I have installed OSB 10g. I came to know after Oracle acquired BEA, the ALSB is renamed as OSB. I'm curious to know what are the differences between ESB and OSB. If there are many differences, please post any links which pr
-
i am developing an automation plugin on mac osx photoshop cs2. how can i test if ther is an icc profile for this document? If ther is an profile, what is the name of this profile. Is there anyone who can help?
-
Solaris 9 Level I Certification.
Hi I am preparing for Solaris 9 Part I certification. So request to send me any solaris certification dumps to my mail ID [email protected] Thanks Haani Edited by: Haani on Dec 25, 2007 5:54 AM
-
I have had this problem for about 2 years now, and no safari updates have helped. I gave up and switched to firefox but as you know it is the worst thing of all time When I start up safari it freezes and the I get the beachball on and off for about a
-
My mac is slowing down daily. I have check the memory. Seems find. I have freed up hard disk space. I have checked for viruses and trojan horses, there are none. I have updated anything I can update. Any tricks, key strokes, magic potions, anyt