Caluclation in P.O. Conditions shall be upto 04 decimal place.
Hi All,
Please help me of getting foure decimal points in PO conditions.
Thanks
The dec0imal places relating FI only. The FI people has to configure to require decimal places. you can try with the following settings in FI.
1.in OY04 maintain Currency and No.of decimal places required for all purposed.
2.in OB90 maintain company code, currency and maintain rounding unit.
Similar Messages
-
Rounding Rule upto 3 Decimal Places in Tax Condition(SABRIX)
Hi,
We are Using SABRIX for Tax determination and need to round up Condition Type XR1- XR6 to round upto 3 Decimal Places.
Do we need to To Change ALT Calc Type- 301306or Alt Cond Base Value -- 16 or have to change Currency decimal Places in transaction OY04/OY03.
Kindly Suggest.
Thanks
AmitHi,
Tax % for customer is decided in SABRIX, Where does TaX calculated?? In SABRIX or in SAP.
Thanks
Amit
Edited by: AMIT GUPTA on Mar 31, 2010 10:54 AM -
SD Pricining Condition Up to 7 Decimals Places
Hi All,
I want to maintain condition record up to 7 decimal places. In normal scenario we can maintain up to 2 decimal places and can be customized upto 5 decimals . How I can achieve this requirement ?
Please help me .......
Thanks & Regards
N. N. TiwariThe simple work around is that in VK11, you maintain the price per ten thousand.
Let us assume, the selling price of Material A is 5.123456, your VK11 screen should be
Material A::::::::::51234.56::::INR::::10000::::PC
thanks
G. Lakshmipathi -
Decimal upto 3 places in ALV report output
Hi Experts
My requirement is that User wants to have 3 decimal places in report output.I have used type P decimal 3,also have used field catalog Decimals_o = '3' .In the report output Lets say Previously it was 123 now after the changes its coming 123.000 but its only virtual when i try to edit that it takes only upto 4 characters like 123.???I think because the datatype defined is NUMC and its limited to 4 characters only so it is not allowing to enter more than 4 characters??Please suggest me a way?sud I change the NUMC to 6 characters as it is standard??sud I make changes in it??
Thanks & Regards
ShankarHi
i have tried that but still it takes 4 characters in output.pasting the code
1)The declaration part
DATA : gv_gjahr TYPE gjahr,
gv_plant TYPE cciht_ial-iaplant.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-003.
SELECT-OPTIONS: s_plant FOR gv_plant NO INTERVALS NO-EXTENSION OBLIGATORY,
s_gjahr FOR gv_gjahr NO INTERVALS NO-EXTENSION OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.
CONSTANTS : c_x TYPE c VALUE 'X',
c_celltab(7) TYPE c VALUE 'CELLTAB',
c_gjahr(5) TYPE c VALUE 'GJAHR',
c_april(5) TYPE c VALUE 'APRIL',
c_may(3) TYPE c VALUE 'MAY',
c_june(4) TYPE c VALUE 'JUNE',
c_july(4) TYPE c VALUE 'JULY',
c_augus(5) TYPE c VALUE 'AUGUS',
c_septe(5) TYPE c VALUE 'SEPTE',
c_octob(5) TYPE c VALUE 'OCTOB',
c_novem(5) TYPE c VALUE 'NOVEM',
c_decem(5) TYPE c VALUE 'DECEM',
c_janua(5) TYPE c VALUE 'JANUA',
c_febru(5) TYPE c VALUE 'FEBRU',
c_march(5) TYPE c VALUE 'MARCH',
c_rw(2) TYPE c VALUE 'RW',
c_ro(2) TYPE c VALUE 'RO'.
TYPES : BEGIN OF ty_envtran,
envno TYPE numc3,
envlx TYPE zehenvlx,
plant TYPE ccihe_iaplant,
gjahr TYPE gjahr,
april TYPE numc4,
may TYPE numc4,
june TYPE numc4,
july TYPE numc4,
augus TYPE numc4,
septe TYPE numc4,
octob TYPE numc4,
novem TYPE numc4,
decem TYPE numc4,
janua TYPE numc4,
febru TYPE numc4,
march TYPE numc4,
END OF ty_envtran.
DATA: gt_envtran TYPE TABLE OF ty_envtran,
gs_envtran TYPE ty_envtran,
gt_envmast TYPE TABLE OF zehs_envmast,
gs_envmast TYPE zehs_envmast.
DATA: save_ok LIKE sy-ucomm,
g_container TYPE scrfname VALUE 'ZEHS_ENVIRONMENTS_CC1',
g_grid TYPE REF TO cl_gui_alv_grid,
g_custom_container TYPE REF TO cl_gui_custom_container,
gt_fieldcat TYPE lvc_t_fcat,
gs_layout TYPE lvc_s_layo,
g_success TYPE c,
gv_success TYPE c,
gt_envtran3 TYPE TABLE OF ty_envtran,
gs_envtran3 TYPE ty_envtran, "#EC NEEDED
gt_envtran2 TYPE TABLE OF zehs_envtran,
gs_envtran2 TYPE zehs_envtran.
DATA: BEGIN OF gt_outtab OCCURS 0. "with header line
DATA: envlx TYPE zehenvlx,
gjahr TYPE gjahr,
april TYPE numc4,
may TYPE numc4,
june TYPE numc4,
july TYPE numc4,
augus TYPE numc4,
septe TYPE numc4,
octob TYPE numc4,
novem TYPE numc4,
decem TYPE numc4,
janua TYPE numc4,
febru TYPE numc4,
march TYPE numc4,
plant TYPE ccihe_iaplant,
envno TYPE numc3.
DATA: celltab TYPE lvc_t_styl.
DATA: END OF gt_outtab.
DATA: gs_outtab LIKE LINE OF gt_outtab.
2)The Field catalog part
LOOP AT pt_fieldcat INTO ls_fcat.
CASE ls_fcat-fieldname.
WHEN c_APRIL.
ls_fcat-scrtext_l = 'April'(c01).
ls_fcat-scrtext_m = 'Apr'(c13).
ls_fcat-scrtext_s = text-c13.
WHEN c_MAY.
ls_fcat-scrtext_l = 'May'(c02).
ls_fcat-scrtext_m = 'May'(c14).
ls_fcat-scrtext_s = text-c14.
WHEN c_JUNE.
ls_fcat-scrtext_l = 'June'(c03).
ls_fcat-scrtext_m = 'Jun'(c15).
ls_fcat-scrtext_s = text-c15.
WHEN c_JULY.
ls_fcat-scrtext_l = 'July'(c04).
ls_fcat-scrtext_m = 'Jul'(c16).
ls_fcat-scrtext_s = text-c16.
WHEN c_AUGUS.
ls_fcat-scrtext_l = 'August'(c05).
ls_fcat-scrtext_m = 'Aug'(c17).
ls_fcat-scrtext_s = text-c17.
WHEN c_SEPTE.
ls_fcat-scrtext_l = 'September'(c06).
ls_fcat-scrtext_m = 'Sep'(c18).
ls_fcat-scrtext_s = text-c18.
WHEN c_OCTOB.
ls_fcat-scrtext_l = 'October'(c07).
ls_fcat-scrtext_m = 'Oct'(c19).
ls_fcat-scrtext_s = text-c19.
WHEN c_NOVEM.
ls_fcat-scrtext_l = 'November'(c08).
ls_fcat-scrtext_m = 'Nov'(c20).
WHEN c_DECEM.
ls_fcat-scrtext_l = 'December'(c09).
ls_fcat-scrtext_m = 'Dec'(c21).
WHEN c_JANUA.
ls_fcat-scrtext_l = 'January'(c10).
ls_fcat-scrtext_m = 'Jan'(c22).
ls_fcat-scrtext_s = text-c22.
WHEN c_FEBRU.
ls_fcat-scrtext_l = 'February'(c11).
ls_fcat-scrtext_m = 'Feb'(c23).
ls_fcat-scrtext_s = text-c23.
WHEN c_MARCH.
ls_fcat-scrtext_l = 'March'(c12).
ls_fcat-scrtext_m = 'Mar'(c24).
ls_fcat-scrtext_s = text-c24.
Note: I have already tried giving DECIMALS_O,OUTPUTLEN,DATATYPE,FIELDCAT-REF_FIELD ,FIELDCAT-REF_TABLE BUT but still it takes upto 4 characters in output. -
Decimal places in condition records
Hi Friends,
(1) I want to know how to maintain rates in condition records with 7 desimal places. Clients requirement is to maintain price of a material as 0.0009123 per Ton.
Thanks and Regards,
Anil AgrawalHi Laxmi,
I know that is cross client thats why i am asking any other solution, I also know that per field i can use but the limitation of per Qty is also till 10,000 units only so if it is desimal to 4 digits then ok but for 7 to 8 decimals again not possible.
Please suggest what we can do?
Regards,
Anil Agrawal -
Quantity column display upto 2 decimal places in ALV
I've created an ALV for dynamic columns. For this i've first created the fieldcatalog and then the internal table.
The problem that i'm facing in this is that the user wants the quantity column to be displayed upto 2 decimals. For this i tried the following:
1.) wa_fldcat-decimals_o = '2'
wa_fldcat-decimals = '3'.
wa_fldcat-datatype = 'QUAN'.
with this i tried that let the calculation be to 3 decimal places but on output it should show 2 decimal places.
But this doesnot gets reflected on ALV. It still shows 3 decimal places.
eg: 3 decimal places: 16.667 + 16.667 + 66.667 = 100.001
2.) wa_fldcat-decimals_o = '2'
wa_fldcat-decimals = '2'.
wa_fldcat-datatype = 'CURR'.
I also tried doing the calculation with 2 decimal places with datatype CURR but with this the last digit gets rounded.
eg: 2 decimal places: 16.67 + 16.67 + 66.67 = 100.01
Now we are taking total as 100 %. So tha calculative total cannot be more than 100.
On seeing 100.001 user says show it to me to 2 decimal places i.e. 100.00
On seeing 100.01 user says how can the total be more than 100 & this is .01 more than 100.
Therefore how can the 1.) option be achieved.
PLZ HELP!Hi,
Can u check this one
DATA: gv_packed TYPE p DECIMALS 2.
CATCH SYSTEM-EXCEPTIONS conversion_errors = 6.
MOVE char_field TO gv_packed.
ENDCATCH.
IF sy-subrc = 6.
error handling
ENDIF
Try to move ur char field to a type p field. If char field is other than numeric then u will get error that can be handled in try...chatch..endtry block.
data: l_val type p decimals 2.
parameter my_val type char20.
try .
l_val = my_val.
catch cx_root.
Do ur error handling here
endtry.
you can work with search and concatenate.
value1 = 3601152
search value1 for '.' .
if sy-subrc eq 0.
concatenate value1(5) '.' value1(2)+5 into text.
Or value1 = value1 / 100.
endif.
Thanks.
Ashok. -
Price upto four decimal places
Hi ,
I am using Basic planning objects for estimation of project.
I havea item whose price is to be calculated on percentage basis.For Example Price o item X is 0.25% of Value Y.But when I am putting rate of that item as 0.0025 ( INR )system doesnt excepts this is also same for quantity.Since the decimals are restricted upto 2 for Price & upto 3 for Quantity.
How this can be solved ?
RgdsHi Shrikant
I made the settings & tried to put in the Quantity field of ECP but following error is shown by system.
Too many decimal places (maximum 3)
Message no. DB739
Diagnosis
You specified 4 decimal places, but the field allows only 3 decimal places.
System Response
Unable to continue processing.
Procedure
Correct your input.
Rgds -
How to restrict decimal values upto two decimal places?
Hi all,
I want to restrict decimal figures upto two places. How to do that? Help will be appreciated.
atanu
[email protected]You can use NumberFormat class.
There are lot of threads available in this forum. Just search for the keyword 'NumberFormat'. -
Rounding a number upto two decimal places.
Hey !
My question is regarding the rounding of a number in such a way that answer that we get after the rouning comes upto two decimal places,no matter how small or the large the number before rounding was.
Somebody please help me.
thankshi,
use BigDecimal class in java.math package.
here is some code how to do it ..
BigDecimal bd = new BigDecimal(your number here);
bd.setScale(2,BigDecimal.ROUND_DOWN)
System.out.println(bd);
hope this helps ...
bye
ashok -
Decimal Places for Pricing conditions in Purchase info record
Hi guys:
In the material master, Moving average price/std price 2 decimal places, purchase info records -pricing conditions we have option of 2 decimal places.
Is there any we can increase the number of decimal places .?
Thanks
swethHi,
you can either have high prices or high accuracy, but not both together (because field length stays fixed).
Don't think about a modification - to much changes would be necessary. I never have seen a situation, where you needed more than about 6 significant digits (= not '0'): high prices don't have decimals.
So you usually change a factor: Maintain prices for higher or smaller units to get into the correct range. Or you might use different currencies in different situations. You can also maintain prices per 100 or 1000 units (in case of cheap products).
If nothing else is possible, you might use two conditions: one without decimals, second one only decimals, the sum of both can be a very precise high price.
Better to use the option price unit if you want exact value in place.
Kuber -
Condition value upto four decimal places
hi experts
client has some group of material these material made by difffrent material compounds,
these materials are purchasing under the condition of IEEMA organisation
every month material compound rates are chaning ,accoring to main material rate also chage
for achiving this we worte a routine ,in the routine we used the condition type
on condition type value is 0.1432 but in sap allows only two decimal point how can achive four decimal points for that condition type
regards
vijayYou are speaking about purchasing as I understand.
In this case you can define this in the PO itself (for the line item; there's also a condition tab in PO at item level...) - Amount / Currency / Per / Unit - 1432 / RS / 10 000 / PC. You can do the same in contract, info record, etc.
Edited by: Csaba Szommer on Jun 22, 2010 8:55 AM -
Decimal places for condition type .
Dear sir,
I have a condition type like JCV1,ZADC & same are included in purchase order.These are the manual condition type.
I have created a purchase order & on condition tab page in once i enter 10 % for jcv1 condtion type ,system is showing that 10.000 .So i want that system should display 10.00 so please guide me how solve this .Hi,
Check your decimal settings in your user id transaction SU01
Thanks
Diwakar -
Decimal places in condition value
Dear Experts
How can I configure the number of digits to appear after decimal point?
For example: 45.0 to 45.00
Regards
SDCHi,
In SPRO, go to general settings - currency-- change decima places for currency ...
I think the above path will help u to configure..
regards
sankar -
Storeing values in floate data type upto two decimal places
Hi
I want a float type field in my table but want to store value up to two decimal places.
so what syntax i need to follow plz suggest.
thanksit is not possible to store with Number datatype. if you are using the data to sho report, then change its format (like 45 to 45.00). if you want to store 45.00 in database, then you have to modify the datatype for that column. for this follow the following path
1. Add a column of datatype Varchar2.
2. Copy all the value of your number field to it.
3. Drop the old column.
4. However make sure that if you have used that column somewhare in arithmetic calculation, the modify it and use to_number function to do arithmetic opration. -
Pricing condition records maintanence
Hello All,
We have a requirement to store the pricing condition records in 3 decimal places say 1.733 instead of 1.73 that way standard SAP is doing.
Do we have any solution for this? Can we maintain the pricing condition records in 3 decimal places?
Any suggestions would be appreciated ?
Thanks,
Vinaychk the following thread:
https://forums.sdn.sap.com/click.jspa?searchID=5045505&messageID=3878405
Regards
AK
Maybe you are looking for
-
I have a MacBook with the following configuration: Model Name: MacBook Model Identifier: MacBook2,1 Processor Name: Intel Core 2 Duo Processor Speed: 2 GHz Number Of Processors: 1 Total Number
-
SAP allows release of Standard Cost for Material with Moving Average Price
Hi We set our Raw Material to use Moving Average Price (V) and price determination 2 (single level). And we activated material ledger. During mass calculation of standard cost (CK40N), If user accidentally forgot to restrict the Raw Material for bein
-
I've installed Visual Studio Enterprise 6.0, Which edition of Visual Studio 2013 does the i need to purchase as the legalization for Visual Studio Enterprise 6.0?
-
Decimate.vi doesn't work for me
Hello, I am using two NI9237-modules and a NI9219 in a NIcDAQ-9174 chasis. The NI9237's are used to measure strains and the NI9219 is used for currents. I want to measure both with a frequence of 100 Hz. I already know that the min sample rate of the
-
How do you eliminate duplicate iphoto photos?
How do you eliminate duplicate iphoto photos?