Average currency
Dear Friends,
we are using interval calday variable for fi report. the value should be need inr and us doller so need to calculate average of doller value between days. In BI TCURR table not able to get date format.
Pls share me how and where to get average currency?
Regards
Amulu
The date format in the TCURR table, no matter which SAP application you're looking at, is in 9s Complement Format. To get the date from TCURR-GDATU, you must do the following calculation:
Effectivity Date = 99999999 - TCURR-GDATU
An example for this would be:
TCURR-GDATU = 79899885
Effectivity Date = 99999999 - 79899885 = 20100114 (14-Jan-2010)
The history behind this date format goes back to the advent of SAP R2. When SAP was invented by former IBM employees, it was originally named SAP R2 and was initialled developed on a mainframe using IMS-DB/DC like technologies. IMS databases used to be only sort data in ascending order. Therefore if date date was loaded to an IMS database in YYYYMMDD format (in most cases it was YYMMDD format instead), any transactions loaded from today would be at the bottom of the database and therefore would affect performance when retrieving data. Therefore, the 9s Complement Format was born whereby they subtracted the current date from all 9s thereby inversing the numbers and making the last date the first (converting 20100114 into 79899885 as in the example). If you weren't curious of the history on this, I apologize. But, I thought there may be others who might be wondering why the date format on TCURR is the way it is.
Similar Messages
-
Hello,
I use the following code to call web service from abap, but in the method "http_client->receive" i see "http_communication_failure = 1" .
this is the code:
DATA: SMS_TEXT TYPE STRING,
SMS_TEXT_UTF TYPE STRING,
SEND_STRING TYPE STRING.
DATA: w_string TYPE string ,
w_result TYPE string ,
r_str TYPE string .
DATA: result_tab TYPE TABLE OF string.
DATA: http_client TYPE REF TO if_http_client.
SEND_STRING = 'http://www.currencyserver.de/webservice/currencyserverwebservice.asmx/getDollarValue?provider=AVERAGE¤cy=EUR'.
CALL METHOD cl_http_client=>create_by_url
EXPORTING
url = SEND_STRING
IMPORTING
client = http_client
EXCEPTIONS
argument_not_found = 1
plugin_not_active = 2
internal_error = 3
others = 4.
if sy-subrc = 0.
CALL METHOD http_client->send
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2.
CALL METHOD http_client->receive
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3.
if sy-subrc = 0.
w_result = http_client->response->get_cdata( ).
REFRESH result_tab .
SPLIT w_result AT cl_abap_char_utilities=>cr_lf INTO TABLE result_tab .
loop at result_tab into w_result.
write :/ w_result.
endloop.
endif.
endif.
Any Idea?
thanks.
Ouail.*& Report ZBS_TEST
REPORT zbs_test.
*Data
DATA: xml_doc TYPE REF TO cl_xml_document,
node TYPE REF TO if_ixml_node,
value TYPE string,
lv_result TYPE string,
lv_service TYPE string,
lo_http_client TYPE REF TO if_http_client.
lv_service = 'http://www.currencyserver.de/webservice/currencyserverwebservice.asmx/getDollarValue?provider=AVERAGE¤cy=EUR'.
*Call method to invoke web service
cl_http_client=>create_by_url(
EXPORTING
url = lv_service
IMPORTING
client = lo_http_client
EXCEPTIONS
argument_not_found = 1
plugin_not_active = 2
internal_error = 3
OTHERS = 4 ).
lo_http_client->send(
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2 ).
lo_http_client->receive(
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3 ).
*Create XML parser object using xml returned from web service
CLEAR lv_result.
lv_result = lo_http_client->response->get_cdata( ).
CREATE OBJECT xml_doc.
xml_doc->parse_string( stream = lv_result ).
*Use XML parser to get initial row and then loop through all rows
CALL METHOD xml_doc->get_first_node
RECEIVING
node = node.
*Loop through xml document extracting the data into an internal table
WHILE NOT node IS INITIAL.
CLEAR value.
CALL METHOD node->get_value
RECEIVING
rval = value.
WRITE: / 'Value', value.
CALL METHOD node->get_next
RECEIVING
rval = node.
ENDWHILE.
Try this code it should work to retrieve your values from the webservice. -
DEAR ALL,
a) Can Anybody explain me the use of "END", "AVG", "AVGFLOW" in rate application for Currency conversion.
b) In BPC Excel, what is mean by Active Workbook.Hi Chandramohan,
It is required that the currency conversion for some accounts use the average currency rate of a period and some accounts use currency rate at the end of the month or currency rates of previous month and so on.... This in BPC is facilitated by the Rate dimension in the rate application. The user inputs currency conversion rates for avg,end and avgflow accounts (different account members in rate dimension) and the currency conversion logic uses the applicable rates for an account based on the RateType property in account dimension.In general P&L and cashflow accounts use Avg rates and Balance sheet accounts use End of period rate, but it can be a combination of both.
And Active workbook will be the current workbook you will be working on.
Kranthi -
To calculate average for a currency field in alv
Hi,
I have a requirement in which i need to find the average of a currency field in alv. For the particular field, i'm passing the value of DO_SUM = 'C' in thr field catalog(as suggested in many threads); but I'm not able to calculate the average. it still shows me summation when i click on summation button.
What could be the possible error??? Is there any other method we can do the same??
Thanks in Advance.
JaspreetHi
U can try this way.
*& Report Z_DEMO_JG
*& Display average in ALV report
REPORT z_demo_jg LINE-SIZE 80 LINE-COUNT 50
NO STANDARD PAGE HEADING.
TABLES: sflight.
TYPE-POOLS: slis.
* Data declaration
DATA: i_flight TYPE STANDARD TABLE OF sflight,
i_catalog TYPE slis_t_fieldcat_alv,
w_flight TYPE sflight,
w_catalog TYPE slis_fieldcat_alv.
DATA: v_repid TYPE syrepid.
* Selection screen
SELECT-OPTIONS: s_carrid FOR sflight-carrid.
START-OF-SELECTION.
* Fetch data from sflight table
SELECT *
FROM sflight
INTO TABLE i_flight
WHERE carrid IN s_carrid.
CHECK sy-subrc = 0.
v_repid = sy-repid.
* Build field catalog for ALV report
PERFORM build_catalog.
* Display ALV report
PERFORM display_report.
*& Form build_catalog
* Build field catalog for ALV report
* None
FORM build_catalog .
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = v_repid
i_structure_name = 'SFLIGHT'
CHANGING
ct_fieldcat = i_catalog
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc = 0.
* For average populate 'C' as value in
* field DO_SUM
w_catalog-do_sum = 'C'. " C = Average
* Modify record with new value
MODIFY i_catalog FROM w_catalog TRANSPORTING
do_sum WHERE fieldname = 'PRICE'.
ENDIF.
ENDFORM. " build_catalog
*& Form display_report
* Display ALV report
* None
FORM display_report .
IF i_catalog[] IS NOT INITIAL.
* Call ALV grid
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = v_repid
it_fieldcat = i_catalog
TABLES
t_outtab = i_flight
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc = 0.
ENDIF.
ENDIF.
ENDFORM. " display_report
Edited by: meetjoe on Sep 15, 2009 7:17 PM -
Moving Average Price for Material in Dual Currencies
Does a report exist that will display the Moving Average Price of a material using split valuation in more than one currency? For example: Part Number '12345' Qty 10, Moving Average Price (EUR), Moving Average Price (USD), Total Value (EUR), Total Value (USD).
Hi
It is not possible to maintain the material master accounting view in two different currencies. you will have to activate the material ledger for this.
Check the link
Re: Multiple Currency for Material with MAP
Thanks -
Currency Conversion - update rules for average rate
I am working in BI 7.0
I have a currency conversion I have defined with RSCUR with the exchange rate type 'M' defined in SPRO -> General Settings -> Currencies -> Exchange Rate Types. The currency conversion takes place in my update rules. I've set my 'Time Reference' to 'End of Period'.
I want the conversion to be an average of all rates for the fiscal period. If I check my table using 'OB08', I find my conversion is only using the rate for the last day of the Fiscal Period. It is not averaging all the rates.
My question is this. Can I actually average all the rates for the fiscal period using RSCUR? Do I need to have the people on the R/3 side have the rates be averages? Meaning, the rates they update are not currency rates for that specific day but a running average for the month?
What are the best practices for average rates for currency translations for update rules based on a Fiscal Period?
Edited by: Michael Pepper on Mar 3, 2008 8:37 AMHi MIchel,
If you want the conversion to be an average of all rates for the fiscal period.
Check under the cloumn ExRt
you may find some row as description as "Average exchange rate"
Create Currency Conversion type with that exrt type.
use this Currency Conversion type in u'r query for u'r keyfigure.
hope this will be helpfull...........for this you can contact Fi people.
Regards,
Vijay. -
Japanese currency - Moving Average Price
Hi all,
In SAP systems the Moving avg price is stored as 36.88 (JPY currency)in Material Valuation (MBEW).
But in Mainframe side the actual value is stored as
3,688 JPY .
When doing the price calculation in ABAP with this price i want to use the actual value stored in Mainframe and not the one stored in MBEW with decimal points because the JPY currency will not have decimal places.. But i dont know why SAP is storing the value as ' 36.88 ' instead of ' 3688.00 '.
anyway does any one know how to remove the decimal point ' . ' from the above example shown.. so that i can easily use that for price calculation.
Please help.Hi Hemavathi Durairaj,
Go through the SAP Note : 886532 why price is calculated wrongly.
Regards
Balasubramanian -
Item Standard Cost for foreign currency purchase order
Hi there
I have a question about
We have foreign currency purchases of USD which is fixed in USD.
Currently, we are converting this into AUD and entering this as the standard cost.
But if the currency rate is changed, we need to adjust the standard cost of AUD even though the price of USD is still the same.
Does Oracle have standard functionality where we can enter the USD purchase price into the system and have the system rate convert it to AUD whenever we have a new exchange rate?Hi,
my solutioning would be
1. Create an Org where in item cost is maintained in US$, and perform no material transactions in this Org.
2. Use the prog 'Copy Item Costs Across Organizations', to copy the cost from US$-Org to AUS$-Org using any conversion rate as defined (Corporate, or average etc)
Use this process on regular basis so that you have the latest coversion and cost rate.
Regards
Adarsh Krishna -
Report to show different currencies
Dear Experts,
Currently my report shows value in local currency.
In my report I need to show the PO Value, GR Value etc in local, order and group currency. While investigating the underline Cube and DSO's, I find the following:
1. There is no 0Curtype object in the DSO or corresponding values coming from Datasources.
2. Each record has an Exchange Rate attached to it.
3. All the PO values are converted to local currency. Say a PO is ordered in CAD and the local currency is USD. Now in the transformation the PO Value is converted to local currency using the program PERFORM LOC_CURR_CONVERT which uses the Process Keys, Order_Val, Doc_Date, Order_Curr, Loc_Curr, Exchg_Rate.
4. This is done for other key figures too.
Questions:
1. Which the best way to approach this requirement and how to achieve the objective of showing the report in local, order and group currency? Do I need to make changes in the design if the cube, dso or only at report level and how? pls provide detail steps.
2. In the DSO or Cube's I do not see any Group Currency mentioned? What is Group Currency and how do I achieve it?
Thanks,
JainuHi Jainu
There is no need to change the Cube or DSO's design. Firstly Group currency is usually the global reporting currency used by your client. Usually it is USD if your client is based out of North America. Secondly you need to define different currency conversion types. For that go to RSCUR transaction and define a currency translation type.
- It can be AS02 (Month Average Rate) or AS01(Month End FX Rate) or M (Daily exchange rate) type based on your requirement.
- These values will be available in the TCURR table in your system and will be transferred from SAP R/3 to your BI system.
- In the Currency Translation type definition choose Exchange Rate type in the exchange Rate tab.
- In the currency tab choose "Source currency from Data Record, Target urrency as "Fixed Target Currency" and choose USD in the F4 help.
In the Time Ref tab choose Fixed Time Ref and Current Date.
Activate and move this translation type from Dev to Production in a transport. In order to do a currency conversion using this translation type in your query, choose your key figure and in the conversions tab, choose the conversion type and the Target Currency will automatically get populated as USD. When you run this query after these settings it will return your key figure values in USD. Remember that in the TCUR table your conversions should be maintained for all currencies to USD for this to happen and your READ_EXCHANGE_RATE function module should be defined.
This is a generic approach and does not need any cube or DSO change. -
Summary report treats a currency fields as text
In the summary report I have three charts with the currency field. The two charts show 'average' and 'total' but the other chart shows 'percentage' of responses - in other words the report treats that field not as a number but as text. The filed is designated as a currency in the desing view. Why is it treated as text?
Hi,
The percentage of responses is a reference for the responses of that field. If you don't want it to show, you can disable it.
Hope this help,
Perry -
Hi,
We have different needs for the currency translation depending on the financial statement items an movement type.
So, we have defined 2 methods (and 2 tasks) all different.
They are different also in the exchange rate type for the reference translation.
That is, for example:
First method (task):
Exchange rate type for the reference translation (1003 - Historical exchange rate)
Step:
Investment items
and type of movement (100 u2013 beginning balance)
Specific translation:
u2022 Currency translation key: periodic
u2022 Exchange rate type: EURX (EMU regulation, variable exchange rates)
Item (Translation Difference):
Item (58200)
Subitem (58201)
Second method (task)
Exchange rate type for the reference translation (1002 - Average exchange rate)
Step:
Income statement items
Specific translation:
u2022 Currency translation key: periodic
u2022 Exchange rate type: EURX (EMU regulation, variable exchange rates)
Item (Translation Difference):
Item (58200)
Subitem (58202)
PROBLEM:
When we run the methods at consolidation monitor, the second task affects the result of the first task.
The result from the first task is correct.
When we run the second task, which is for income statement items (not this as the first one u2013 investments), System is creating a new step (a cumulative one), which is changing the Exchange rate type for the reference translation of this item; meaning is changing the previous correct values.
Why is this happening?Thanks for your answer.
So, what you're saying is that I cannot have several Exchange rate type for the reference translation according to financial statement items/movement types?
I always have to have the same Exchange rate type for the reference translation for all the items/movement types?
Thanks for your help.
Best regards. -
Currency Translation feature in BEx reports
Hi colleagues,
As you know, when creating queries, you can right click a given key figure and from Currency Translation frame you can select a customized Currency Conversion Key so OLAP engine displays the "converted" value of such Key figure. Standard TCURR table is used for the conversion.
Also, RRC1 txn. code can be used to create Currency Translation Keys to be used in query designer as described before.
I have created a "currency translation key" (let's name it ZTAXILOC) in RRC1.
I have changed my query in the query designer to use this "customized Currency Conversion Key (ZTAXILOC)". My query uses an InfoSet as "infoprovider".
However, when executing query on BEx Analyzer, I receive error message "Cannot apply currency translation type ZTAXILOC in infocube ZTXA04LA3", where ZTXA04LA3 is the name of my infoset that feeds my query.
The Diagnosis is: "You tried to translate a query element with the currency translation type ZTAXILOC. The translation type ZTAXILOC, however, has VARIABLE TIME REFERENCE, relevant to "DH Document Date" characteristic, which is not available in ZTXA04LA3 infoprovider....".
The "DH Document Date" characteristic exists in the ZTXA04LA3 infoset, but technical name changes since for Infosets, BW system dynamically assigns a technical name for each element in the join and it differs from technical in source ODS.
My question is:
Can I use custom "currency translation keys" in query designer if my query uses an infoset as infoprovider? or is custom "currency translation key" just allowed in queries that use an ODS/InfoCube as infoprovider? or should I provide RRC1 with technical name for "DH Document Date" existing on ZTXA04LA3 infoset?
Please advise.
Thank you.
Mario Vallejo.We are running into similar currrency conversion issues on an infoset. We have an existing currency conversion key created using RRC1. The existing currency key is set up as follows:
TO_USD Convert to USD (Billing)
Exchange Rate Type = Standard translation at average rate
Dynamic Exchange Rate Determination = Yes
Inverse Exchange Rate = No
Source Currency from Data Record = Yes
InfoObject for Determining the Source Currency = No
Selection of Target Currency with Translation = No
Fixed Target Currency = Yes = USD
InfoObject for Determining Target Currency = No
Fixed Time Reference = No
Variable Time Reference = Yes = To the Exact Day = Special InfoObject (0BILL_DATE)
Query Key Date = No
We convert sales amounts to USD using this conversion key on existing cubes. When trying to apply the same conversion key to the new infoset, we received the following error:
Diagnosis:You tried to translate a query element with the currency translation type TO_USD. The translation type TO_USD, however, has variable time reference or variable target currency relevant to characteristic Billing doc. date. Characteristic Billing doc. date is also not available in InfoProvider ZBILLCOST and it references either none or more than one characteristic () of the InfoProvider for Billing doc. date, or Billing doc. date is not a base characteristic.
We have tried to steps in the response to this thread and continue to receive the error.
In Step 1, the only thing that we think we can change is the info object text in the infoset, not the technical name, is this correct?
In Step 2 & Step 3, we have never used variables for currency conversion. We create the currency key using the RRC1 and select the info object for conversion. We did try creating a new currency key in RRC1 and tried to find the newly named (text) info-object for billing date on the infoset, but it wasn't listed as an option under special info-object. Do you have more information on how to create the variable in query designer and how it is used and how to assign to the currency translation? -
Report to display Average time taken for processing payments".
Hi,
I have been asked to develop a report for "Report to display Average time taken for processing payments".
Could any one guide me technically what are the different tables i need to take to generate the report. Treat this is very urgent. Pls provide sample code too....
Thanks in advance....Given below is the set up for credit card payment processing:
Set Up Credit Control Areas:
Define Credit Control Area
Transaction: OB45
Tables: T014
Action: Define a credit control area and its associated currency. The Update Group should be 00012. This entry is required so the sales order will calculate the value to authorize
Assign Company Code to Credit Control Area
Transaction: OB38
Tables: T001
Action: Assign a default credit control area for each company code
Define Permitted Credit Control Area for a Company
Code
Transaction:
Tables: T001CM
Action: For each company code enter every credit control area that can be used
Identify Credit Price
Transaction: V/08
Tables: T683S
Action: Towards the end of the pricing procedure, after all pricing and tax determination, create a subtotal line to store the value of the price plus any sales tax. Make the following entries:
Sub to: A
Reqt: 2
AltCTy: 4
Automatic Credit Checking
Transaction: OVA8
Tables: T691F
Action: Select each combination of credit control areas, risk categories and document types for which credit checking should be bypassed. You need to mark the field no Credit Check with the valid number for sales documents.
Set Up Payment Guarantees
Define Forms of Payment Guarantee
Transaction: OVFD
Tables: T691K
Action: R/3 is delivered with form 02 defined for payment cards. Other than the descriptor, the only other entry should be 3 in the column labeled PymtGuaCat
Define Payment Guarantee Procedure
Transaction:
Tables: T691M/T691O
Action: Define a procedure and a description.
Forms of Payment Guarantee and make the following entries Sequential Number 1
Payment Guarantee Form 02
Routine Number 0 Routine Number can be used to validate payment card presence.
Define Customer Payment Guarantee Flag
Transaction:
Tables: T691P
Action: Define a flag to be stored in table.
Create Customer Payment Guarantee = Payment Card Payment Cards (All Customers can use Payment Cards).
Define Sales Document Payment Guarantee Flag
Transaction:
Tables: T691R
Action: Define the flag that will be associated with sales document types that are relevant for payment cards
Assign Sales Document Payment Guarantee Flag
Transaction:
Tables: TVAK
Action: Assign the document flag type the sales documents types that are relevant for payment cards.
Determine Payment Guarantee Procedure
Transaction: OVFJ
Tables: T691U
Action: Combine the Customer flag and the sales document flag to derive the payment guarantee procedure
Payment Card Configuration
Define Card Types
Transaction:
Tables: TVCIN
Action: Create the different card types plus the routine that validates the card for length and prefix (etc )
Visa , Mastercard, American Express, and Discover
Create the following entries for each payment card
AMEX American Express ZCCARD_CHECK_AMEX Month
DC Discover Card ZCCARD_CHECK_DC Month*****
MC Mastercard ZCCARD_CHECK_MC Month
VISA Visa ZCCARD_CHECK_VISA Month
The Routines can be created based on the original routines delivered by SAP.
*****SAP does not deliver a card check for Discover Card. We created our own routine.
Define Card Categories
Transaction:
Tables: TVCTY
Action: Define the card category to determine if a
payment card is a credit card or a procurement card.
Create the following two entries
Cat Description One Card Additional Data
CC Credit Cards No-check No-check
PC Procurement Cards No-check Check
Determine Card Categories
Transaction:
Tables: TVCTD
Action: For each card category map the account number range to a card category. Multiple ranges are possible for each card category or a masking technique can be used. Get the card number ranges from user community. Below is just a sample of what I am aware are the different types of cards.
Visa Credit Expires in 7 days.
400000 405500
405505 405549
405555 415927
415929 424603
424606 427532
427534 428799
428900 471699
471700 499999
Visa Procurement Expires in 7 days.
405501 405504
405550 405554
415928 415928
424604 424605
427533 427533
428800 428899
Mastercard Credit Expires in 30 days
500000 540499
540600 554999
557000 599999
Mastercard Procurement Expires in 30 days
540500 540599
555000 556999
American Express Credit Expires in 30 days
340000 349999
370000 379999
Discover Card Credit Expires in 30 days
601100 601199
Set Sales Documents to accept Payment Card Information Transaction:
Tables: TVAK
Action: Review the listing of Sales Document types and enter 03 in the column labeled PT for each type which can accept a payment card
Configuration for Authorization Request
Maintain Authorization Requirements
Transaction: OV9A
Tables: TFRM
Action: Define and activate the abap requirement that determines when an authorization is sent. Note that the following tables are available to be used in the abap requirement (VBAK, VBAP, VBKD, VBUK, and VBUP).
Define Checking Group
Transaction:
Tables: CCPGA
Action: Define a checking group and enter the
description. Then follow the below guidelines for the remaining fields to be filled.
AuthReq Routine 901 is set here.
PreAu If checked R/3 will request an authorization for a .01 and the authorization will be flagged as such. (Insight does not use pre-authorization check).
A horizon This is the days in the future SAP will use to determine the value to authorize
(Insight does not use auth horizon period).
Valid You will get warning message if the payment card is expiring within 30 days of order entry date.
Assign Checking Group to Sales Document
Transaction:
Tables: TVAK
Action: Assign the checking group to the sales order types relevant for payment cards
Define Authorization Validity Periods
Transaction:
Tables: TVCIN
Action: For each card type enter the authorization validity period in days.
AMEX American Express 30
DC Discover card 30
MC Master card 30
VISA Visa 7
Configuration for clearing houses
Create new General Ledger Accounts
Transaction: FS01
Tables:
Action: Two General Ledger accounts need to be created for each payment card type. One for A/R reconciliation purposes and one for credit card clearing.
Maintain Condition Types
Transaction: OV85
Tables: T685
Action: Define a condition type for account determination and assign it to access sequence A001
Define account determination procedure
Transaction: OV86
Tables: T683 / T683S
Action: Define procedure name and select the procedure for control. Enter the condition type defined in the previous step.
Assign account determination procedure
Transaction:
Tables:
Action: Determine which billing type we are using for payment card process.
Authorization and Settlement Control
Transaction:
Tables: TCCAA
Action: Define the general ledger accounts for reconciliation and clearing and assign the function modules for authorization and settlement along with the proper RFC destinations for each.
Enter Merchant IDs
Transaction:
Tables: TCCM
Action: Create the merchant ids that the company uses to process payment cards
Assign merchant ids
Transaction:
Tables: TCCAA
Action: Enter the merchant ids with each clearinghouse account -
Hi Team,
The Purhcase order is created for 50 qty reference to Contract price 284.58 and we have done the GR for 33 qty on 01 April and invoice completed on 07 april for 33 qty and for the remaning qty 17 we have processed the invoice intially before GR on 18 June and reversed it on 19 June and reprocessed invoice for 17 qty on 26 June also mistankenly one more invoice processed for 8 quantity on 26 June and reveresd on the invoice for 8qty on 14 july and finally we processed the Goods receipt for 17 qty on 15 July and system has picked the Material price as 267.81.
I know this is an SAP standard behavior for Material with Moving average price,
The reason for the Goods Receipt Material price value picked by the system as 267.81 is
INVOICE for 17*284.58 = 4837.86
INVOICE for 8* 232.18 = 1857.44
Total 25 = 6695.3
Total value (6695.3) / total quantity (25) = 267.81 (Material price)
Hence when we post the goods receipt system has picked the Material value as 267.81.
Could you please let me know the reason on the SAP behvaiour below
we have revered the invoice on 14 July for 8 qty and processed the GR for remaining PO qty 17 only on 15 July eventhough system has picked the Material price as 267.81
i couldn't able to find the Material price form where system has picked. (it's not update in Material master and table MBEW)
Thanks in advance.Hi Karthikeyan,
Tcode MR51 check your all material document currency key for amounts in the system which document change to price see you..
MBEW is last average price listed.
You need to change average price use to Tcode MR21
Regards,
Cem ATES -
PROBLEM WITH MOVING AVERAGE PRICE
Hi,
Correct me if Im wrong, but from what I know the moving average price should only change or be recalculated when purchases or goods_recipts are made, otherwise items should be consumed at a FIXED moving average price (cost).
I´ve noticed when looking into the Inventory Audit Report that the moving average price is changing in my installations and I see that SAP BO recalculates it every time an issue is made. This last thing only happens when the total amount of the transaction is rounded or left with 0 decimals and the other types such as prices, rates, quantities, percent, etc. are left with 2 or 3 decimals.
Because of my country settings, the total amount has to have 0 decimals (I live in Chile and we dont have cents in our currency) and the moving average price of an Item should not change when an issue is made, can you help me with this?
Thanks and best regards to you all.
FernandoHi Nagesh,
Thank you for your quick response.
I understand what you say, but moving average price should not change when an issue is made and that´s what is bothering us.
The difference between what it shoud be and what SAP BO is calculating is our concern, ie: let´s say the number of transactions is 100, would that difference be negligible?
Here is an example:
Goods issue:
SO 8 11 -10,49 166,67 -1.748 99,35 16.559
SO 9 11 -10,49 166,673 -1.748 88,86 14.811
SO 10 11 -10,49 166,678 -1.748 78,37 13.063
SO 11 11 -10,48 166,684 -1.747 67,89 11.316
SO 12 11 -10,56 166,681 -1.760 57,33 9.556
Note that coma (,) is decimal separation and period (.) is the mile separator.
Where the 3rd line is the quantity of the goods issue, the 4th is the moving average, and the 5th is the total quantity of the issue.
So you see 10,49 x 1748 = 1748,39977= 1748(SAP) and then SAP BO recalculates the AVG. Price.
The problem I was talking about was the difference of the stock AVG Price with one hundred transactions or so... now the difference seems negligible (166,7 - 166,681 = 0,011).
Can you see it changes?, is that a bug?
Thank you
Fernando
Maybe you are looking for
-
Been using AE CS5 and loving it, but wish there were a couple of more features... -- shadow color for 3D lights. not only control the color of the light, but of the shadows they create (like in Lightwave and other 3D packages) -- more user friendly
-
ok so i just bought a mac book pro for college, and i have been sitting here for the past 5 hours trying to figure out how i can get the music from my ipod touch onto the mac book pro. the last computer that i had was a dell with windows obviously, a
-
How to use exception for a Date Key Figure
Hello All, I have the following requirement. 1. I have a Key Figure which is Date Type. 2. I need to color the cell to green if the it is filled with date otherwise leave it as it is. Please suggest how to overcome it. Thanks & Regard
-
In CM SDK it was possible to write custom agents, either timer-based or event-based (or both). I don't see anything about writing agents in Content DB though, although there are agents. Will there be any documentation on writing agents in Content DB?
-
Best way to store large amounts of data
Greetings! I have some code that will parse through XML data one character at a time, determine if it's an opening or closing tag, what the tag name is, and what the value between the tags is. All of the results are saved in a 2D string array. Each p