Decimal space problem in Condition value of Import PO
Dear All,
In PO the condition value found to be 0.00.
When the problem explored,we find only 2 decimal places appears for the value.
If the value is 0.0021,it appears as 0.00 only due to decimal space given in KOMV(structure) against KWERT field is 2 decimal space only.
Can we increase the decimal space?If we increase to 4,what will be the effect or NO effect?
Please advice.
Regards
You can do this in OY04 - Set Decimal Places for Currency Code
But this is not preferred when you execute this transaction the system gives teh following messages
Information: Caution: The table is cross-client
Warning: In a productive system, you
must not delete the
currencies in use or change the
decimal places.
This could make amounts in
documents already posted
incorrect or invalid.
Warning:
Before you continue, please read the foll
text carefully.
If you do not heed this note, you can cau
irreparable damage to the system with thi
transacton.
In the R/3 System tables currency fields
stored as decimal figures with a variable
of decimal places. The decimal point is n
stored in the field in the database. Inst
each currency field refers to a currency
field. In this transaction you assign the
of decimal places to this currency key un
Example: If you have set currency USD to
two decimal places and you post an amount
USD, an amount of 10000 USD is stored
currency field in the database. Not un
amount is processed further or is outp
the system use the currency key from t
reference field to determine the numbe
decimal places via this table. In this
table content can be interpreted corre
further processing or formatted for ou
the correct punctuation.
If after posting you changed the numbe
decimal places for USD, for example, t
existing field content of 10000 would
interpreted for futher processing or o
10 USD (10.000). This would mean that
contents of tables across the system w
all currency fields containing an amount
be interpreted incorrectly by 10 per cen
change the number of decimal places for
currency already in use, you must conver
the tables in the R/3 System that contai
currency fields, so that the data integr
remains. This cannot, however, for both
organizational reasons and under the run
aspect be carried out in a productive sy
The following changes to the TCURX table
thus lead to the loss of data integrity
make the changes in a productive system
transport them into a productive system:
o Change to the number of decimal places
existing currency
Do you want to change the decimal places
all recommendations?
If you Click Yes Button then the system takes you to "Decimal Places for Currency Code" Screen
there you can change the decimal place of your currency
Similar Messages
-
Problem in Routine after rounding off the condition value
Dear all,
I have attached the routine for rounding off value for condition value for T.Code va02. Routine is working fine but the problem is after the execution of routine it goes in some standard program LV61AA55 where again the rounded value gets changed . Maximum points will be allocated ..
Thanks anr RegardsFORM FRM_KONDI_WERT_925.
*{ INSERT D01K911062 2
data : wa_xkomv like xkomv,
v_kwert like xkomv-kwert,
W_INDEX TYPE SY-TABIX.
read table xkomv into wa_xkomv with key kschl = 'JIN6'.
W_INDEX = SY-TABIX.
v_kwert = 1 * wa_xkomv-kwert / 100.
V_KWERT = WA_XKOMV-KWERT.
read table xkomv with key kschl = 'JHSC'.
CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT'
EXPORTING
I_AMOUNT = v_kwert
I_AMOUNT1 =
I_AMOUNT2 =
I_AMOUNT3 =
I_AMOUNT4 =
I_AMOUNT5 =
I_EXADDTAX1_AMOUNT =
I_EXADDTAX2_AMOUNT =
I_EXADDTAX3_AMOUNT =
IMPORTING
E_AMOUNT = v_kwert
E_AMOUNT1 =
E_AMOUNT2 =
E_AMOUNT3 =
E_AMOUNT4 =
E_AMOUNT5 =
E_EXADDTAX1_AMOUNT =
E_EXADDTAX2_AMOUNT =
E_EXADDTAX3_AMOUNT =
xkomv-kwert = v_kwert.
xkwert = v_kwert.
modify xkomv INDEX W_INDEX transporting kwert.
*} INSERT
ENDFORM. -
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 -
Problem changing the Condition Value in Po using BAPI_PO_CHANGE
Hi Experts,
My issue is BAPI_PO_CHANGE is not changing the Condition value. and giving message in bapi return as 'cannot be processed manually'.
Can anybody please help me on this.
Thanks & Regards,
SudheerCheck this link http://forums.sdn.sap.com/thread.jspa?threadID=652278
Regards, -
BAPI_SALESORDER_CHANGE add new line and conditions with a condition value
Hi,
I am using BAPI_SALESORDER_CHANGE to add new lines to a credit memo. All works fine except that I can not seem to put a condition value on the new lines. The condition is created but with a value of 0. I can popluate the condition amount field, KBETR but not KWERT. BAPICONDX seems to only have the COND_VALUE field in it and not CONDVALUE as in BAPICOND. Does anyone have any idea how to do this? In the code below I just want to change the material on the first line of the credit memo and not add the condition. Then add new lines with the the condition.
lw_order_header_inx-updateflag = 'U'.
LOOP AT i_accru INTO wa_accru.
lv_count = lv_count + 1.
lv_posnr = lv_count * 10.
* Order Items
lw_order_item_inx-itm_number = lv_posnr.
lw_order_item_inx-material = 'X'.
IF lv_count = 1.
lw_order_item_inx-updateflag = 'U'.
ELSE.
lw_order_item_inx-updateflag = 'I'.
ENDIF.
APPEND lw_order_item_inx TO lt_order_item_inx.
lw_order_item_in-itm_number = lv_posnr.
lw_order_item_in-material = wa_accru-vakey.
APPEND lw_order_item_in TO lt_order_item_in.
* Conditions
IF lv_count <> 1.
lw_conditions_inx-itm_number = lv_posnr.
lw_conditions_inx-cond_st_no = '905'.
lw_conditions_inx-cond_count = '01'.
lw_conditions_inx-cond_type = 'ZHIE'.
lw_conditions_inx-currency = 'X'.
lw_conditions_inx-updateflag = 'I'.
APPEND lw_conditions_inx TO lt_conditions_inx.
lw_conditions_in-itm_number = lv_posnr.
lw_conditions_in-cond_st_no = '905' .
lw_conditions_in-cond_count = '01'.
lw_conditions_in-cond_type = 'ZHIE'.
lw_conditions_in-condvalue = wa_accru-accru.
lw_conditions_in-currency = 'GBP'.
APPEND lw_conditions_in TO lt_conditions_in.
ENDIF.
ENDLOOP.
* Change the credit memo
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = lv_vbeln
order_header_in = lw_order_header_in
order_header_inx = lw_order_header_inx
* SIMULATION =
* BEHAVE_WHEN_ERROR = ' '
* INT_NUMBER_ASSIGNMENT = ' '
* LOGIC_SWITCH =
* NO_STATUS_BUF_INIT = ' '
TABLES
return = lt_return
order_item_in = lt_order_item_in
order_item_inx = lt_order_item_inx
* PARTNERS =
* PARTNERCHANGES =
* PARTNERADDRESSES =
* ORDER_CFGS_REF =
* ORDER_CFGS_INST =
* ORDER_CFGS_PART_OF =
* ORDER_CFGS_VALUE =
* ORDER_CFGS_BLOB =
* ORDER_CFGS_VK =
* ORDER_CFGS_REFINST =
* SCHEDULE_LINES =
* SCHEDULE_LINESX =
* ORDER_TEXT =
* ORDER_KEYS =
conditions_in = lt_conditions_in
conditions_inx = lt_conditions_inx
* EXTENSIONIN =
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
* IMPORTING
* RETURN =
ENDIF.Hi Rob,
Have you managed to solve this issue. If so, could you please share the solution.
I am also facing similar problem.
Thanks for your help.
Anoop -
In correct Excise Base Value in Import PO
Dear Experts ,
I have an query on the Excise Base value in Import PO .
The problem is I have made a Import Po , paid the customs duty through MIRO & now when I am doing J1IEX_C wrt to commercial invoice , its showing the Excise base value which is less then the value it should be , the tax amt like Excise BED, AED, Se cess & E cess is getting calculated correctly.
Can somebody tell me where the problem is.
Regards,
DGN 21
Edited by: dgn21 on Dec 3, 2010 6:24 AM>
dgn21 wrote:
> Dear Jeyakanthan,
>
> As explained earlier after paying to the customs through MIRO, I am doing J1IEX_C, in this transaction, the excise duty is being calculated correctly but the Assessable shown is incorrect.
> I have following condition in schema:
> Gross Price (A):
> Insurance %(B)
> Basic Landing Charges (C):
> Assessable value: (A)(B)(C)
> Basic customs Duty (D)
> CVD (E)
> Ecess on CVD (F):
> S E Cess on CVD (G):
> And then other conditions
>
> Presently the system is calculating the Assessable value as (A) + (D) {i.e. Gross price +Basic Customs duty}, but it should be (A) + (B) +(C).
> Kindly tell me where I need to do the changes so I can get the correct Assessable value as desired.
>
>
> Thanks in advance
Check import pricing procedure calculations in M/08 ? -
Wrong pricing condition values when using GN_INVOICE_CREATE
Hi all,
I am currently handling a program where I have to display all the materials in a given sales area and some corresponding values that depend on pricing conditions. I am using FM GN_INVOICE_CREATE to extract table komv. However, I am experiencing a problem because the values I am getting are different from those in table konv. I am getting the price conditions without the value of field KNUMV.
I would like to ask if anybody has any idea on how to go about this or maybe another function module that I can use to get the data I need.
Thanks a lot..
Regards,
jacHi,
Thanks for your reply. I only have the field AUART for checking on the pricing conditions.
Here is a the part of my code
CALL FUNCTION 'GN_INVOICE_CREATE'
EXPORTING
vbsk_i = i_vbsk
id_kvorg = ''
id_no_dialog = c_exis
invoice_date = p_datum
pricing_date = p_datum
IMPORTING
vbsk_e = i_vbsk
TABLES
xkomfk = i_komfk
xkomfkgn = i_komfkgn
xkomfkko = i_komfkko
xkomv = i_komv
xthead = i_thead
xvbfs = i_vbfs
xvbpa = i_vbpa
xvbrk = i_vbrk
xvbrp = i_vbrp
xvbss = i_vbss
EXCEPTIONS
OTHERS = 1.
The only parameters in those that have values are c_exis = X, p_datum = given date, and xkomfkgn. The other parameters are all initial when passed to the function module. I get a resulting komv table however, values are incorrect.
Thanks again for the help..
Regards,
jac -
Change decimal points in SD Condition type from 2 to 3, for EU
Hello,
We have a slight problem with the amounts. We are using resource related billing in the project and to track some expenses, there are some condition types created. Since the currency is maintained as EU, the decimal places are maintained as 2 decimals in OY04 and we dont want to change that.
We face an issue, when SAP Converts condition value from 3 to 2 decimals
For example, when in Contract we have an Condition Value of 100.025, this is converted to 100.03 and tax is applied on this amount.
When we create an invoice and subsequently a Credit Memo request, that will contain more than one item, and the sum of all items will have to sum up to 100.03, but this is never the case, as with the application of tax rate, the value comes to something like 100.02 or 100.04..
With 3 decimal points, this amount adds upto correct value.
So our ideal solution will be the have the Condition Values as 3 decimals and the Net value in 2 decimals.
Is there something that can be done for this?
Hoping for a quick response.
Regards
MaddySAP stores the 3 decimal value in XKOMV-kbetr and Xkomv-kwert is calculated based on this 3 decimal values...
I had a similar scenario with currency conversion and rounding issue in sales Order and Invoice processing, in VOFM routines... so I used a Floating point value and converted to character value and then used that 3 decimal value for calculation. -
BAPI_PO_CHANGE, changing condition value in the purchase order
Hi Friends,
I have a requirement,
a flat file is present in the application server that contains the information about PO,PO-ITEM,Condition type, movement type , condition value, plant, storage location .
And i m calling the bapi "BAPI_PO_CHANGE" and passing the po number to it.
the bapi returns the following tables, i_return, i_header,i_cond, i_item,i_itemx.
But the purpose of calling the BAPI is, to check, if the condition value in the specified PO is '0', then it has to replace with the value of condition type present in the flat file.
But when we check the tablei_return, its shows error type.
And the PO is not updated with the new condition value.
Help me out in sorting this problem, by telling me
what value is to be passed to the respective BAPI and what should i do to solve the issue?
and after that i m using a BAPI " BAPI_GOODSMOVEMENT_CREATE".
and it is for the purpose of creating the GR(Goods Receipt),
when i go through the i_return table of the bapi, it si returning a message that "BAPI_201 Unable to create goods movement".
Help me in proving the input to those bapi's and how can i get the expected output?
And let me know, what the bapi's ,"BAPI_COMMIIT" and " BAPI_ROLLBACK" , will be doing?
Edited by: kumar t on Aug 9, 2008 1:02 PMHI
[Check the Link|http://abap.wikiprog.com/wiki/BAPI_PO_CHANGE]
[Commit|http://abap.wikiprog.com/wiki/BAPI_TRANSACTION_COMMIT]
[Roll Back|http://abap.wikiprog.com/wiki/BAPI_TRANSACTION_ROLLBACK]
Regards
Pavan -
PR/ Sales order value not coming in condition value routine
As per the requirement while creating a PO I need to add a new condition type and need to calculate condition price for this newly added condition based on some matrix.
For this requirement PO will always be created with reference to PR and with account assignment category as 'E' .
(Hence sales order number /item will be copied from PR to PO in account assignment tab )
Now I have created a new pricing requirement routine ( To add the condition type ) and new condition routine to calculate and update the price.
These routines are working fine if i check them with hard coded price values.
But the problem is that I need the PR number(which we put in item overview ) / Sales order item number (from account assignment ). these values are not coming in pricing tables in the routine...structure EKPO come blank, KOMP-AUBEL is also blank).
Please give your suggestions how i can i get PR/ SO in the condition values routine .
Please replyresolved my self
-
Condition Values different fro Billing and Excise Invoice in some cases
Hi All,
Excise Invoice for domestic sales is having different condition values.
I am scenerio like this when Billing doc manually VF01, excise Invoice in generated automatically and condition values
were corrrect.But when I create Billing Document using BAPI in program, Excise Invoice is not generating,then
we are running BDC for T-code J1IIN and creating Excise Invoice.Excise Invoice generated in second case (by BDC)
is having wrong condition values.
Can anyone explain why it is happing.Is there any user exist to copy Billing Doc condition values to Excise Invoice?
Thanks in Advance ,
RayuduThanks for you response Lakshimipathy.
The above mentioned configurations were all ready done.Excise Invoice is getting generated when we create Billing Doc online.
Problem here is Excise invoice is not getting generated automatically when Billing Doc is created by our program,so we were running BDC code to created excise Invoice.
Condition values ( Duties :AED,Ecess,SHEcess) were getting calculated wrongly in excise Invoice which is created by running BDC code in program. But the Excise invoice which was created automatically while saving Billing doc manually is having correct condition values. But the billing document condition values remain the same & correct for both.
Regards,
Rayudu -
HD space problem - startup disk shouldn't be full...
Hello everyone.
I'm having a really weird problem with my hard drive. All of a sudden, a message popped up saying that my Startup Disk was almost full, and the system profiler read it as having "zero k". This is extremely odd because I had about 19 Gb free just a moment before, and after checking folders, apps and documents there really shouldn't be a space problem. The first message came up right after importing a CD, but that shouldn't have caused this.
I tried deleting some items, but space increased only by that tiny amount. After a restart, the indicated hard drive space randomly jumped up to 1 Gb. When I woke it back up right now it was down to 200 Mb, and after another restart it's just come up to 650Mb. It just seems to fluctuate...
If anyone knows what the issue might be or what I could do about it, please help! Thanks,
silviaHi. Thanks for the tip, it was really helpful. Everything was as expected except for some log files in my Library. The sizes are mostly up to 100 K except for one huge 15.9 Gb file, called console.log.2 in a strange folder called 501
It's located in
Library > Logs > Console > 501 >
I'm really not sure what these files are and what they do, or what these folders are. Can I trash them or is that a problem?
Also, I've noticed that my hard drive space is actually continuously decreasing little by little... Do you think this is related?
Thanks,
silvia -
Condition value of Tax condition type gets added to Total Value in Contract
Hi All,
I'm currently investigating an issue where there are 2 line items in an SAP Sales Contract. There is a human error in the second line where the billing end date is less than billing start date in the billing plan. Consequently, the second line has null Outgoing target value.
However, the header Total value in the Contract gets wrongly calculated as Basic condition value of 1st line + Condition value of tax condition type of line one due to this. When I modify the billing end date for the second line item to be a date greater than the billing start date, the above problem disappears and the total value of the contract does not include the tax component.
For eg.
Normal Error free Contract
Total Value at Header = 700.00 EUR
Material Outgoing Target val
Item 0010 MAT1 450.00 ( 450 + 50 (tax ) )
Item 0020 MAT2 150.00
Contract with billing plan error in second line
Total value at Header = 550.00 EUR
MAterial Outgoing target val
Item 0010 MAT1 450.00 ( 450 + 50 (tax ) )
Item 0020 MAT2 0.00
Any inputs would be most welcome.
Regards,
Venkatesh.
Edited by: Venkatesh Gopalarathnam on Jan 24, 2012 9:48 AMNo, i didn't.
Actually, i enter condition type and amount in sales order manually.
At that time my program which i modified at 'Define And Assign Pricing Procedures' in IMG should be run.
But the result of running is different from my purpose.
To change Condition value of condition type in sales order, are there any solution? -
Pricing amount and condition value in sales order
Hi all,
I have noticed for a sales order we are not able to see condition type amount, condition value in sales order even though it shows net price finaly ofr a sales order. Not even able to select the condition lines.
To be specific not able to find value in field KBETR - amount column and KWERT - condition value column
When we go to sales order line item and select condition tab, do see value displayed in Amount and Condition column. Is there are specific reason it is doing visa vis in our production we see both values.
Advise what could be the reason value not getting displayed in Amount and Condition value column.
thanksIt is due to auth for specific columns we have solved the problem.
-
Condition value is not displaying in sales order
Hi Friends,
when i am creating sales order, condition type(JEXP,JECP,JA1X..) is displaying in cond.type column and percentage(14%,2%,1%) is displaying in amount column and
the condition value is not displaying in cond. value column in conitions tab of sales order.
In analysis it is showing as condition record found...
please help me...
with regardsHi,
can it be that you have a problem with units of measure? Often, if there is no value in Condition value, the problem is in the master data of material. Did you use standard schema? If you not, have you tried it with standard schema? What is your value under "per" and "UoM"?
Regards Thomas
Maybe you are looking for
-
How to remove html tags from a column
Hi Problem is this: I get a column with a comma separated list of id's and I can successfully parse these id's and use them elsewhere. BUT, occasionally there are html tags within that id list like this: 1082471,1237423<br xmlns="http://www.w3.org/19
-
When I enter my serial number, it tells me to retry online. Might something be wrong?
-
Materialized View UNION different tables 10g.
I am trying to create a materialized view from 2 different tables. According the documentation for 10G it should be available. Here is my script. DROP MATERIALIZED VIEW PERSON_MV_T16; CREATE MATERIALIZED VIEW PERSON_MV_T16 refresh complete on demand
-
How to unlock windows admin password
Dear Support, Please tell me how to unlock the password of administrator in windows 8.1 Ashok Marodia 9873506200
-
0BBP_TD_PO_1 Delta Problem..Delta Queue not generated!
Hi Experts, I am working on SRM-EBP Project SRM 5.0 & BW 3.5 version. We are working on Extended Classic Scenario. I am facing Delta Extraction problem for 0BBP_TD_PO_1 extractor. Everytime I am only able to extract FULL load Delta loading is not wor