Different LC amount for same exchange rate at Incoming & Outgoing payment
Hi
I have created an incoming and outgoing payment separately. One of the amount is the same between Incoming and Outgoing payment with same currency and same exchange rate, but system generated LC amount with a rounding difference of SGD 0.01. Example, in incoming payment, the double entry is:
Dr AP/AR Contra account USD $ 294,318.00 __*SGD $ 442,065.64*__
Cr Customer USD $ 294,318.00 SGD $ 440,289.64
Cr Exchange Gain/Loss SGD $ 1,776.00
For outgoing payment, if the exchange is the same as 1.512, the system generated double entry below:
Dr Supplier USD $ 864,624.53 SGD $ 1,271,084.52
Dr Exchange Gain/Loss SGD $ 27,581.52
Cr Cash At Bank USD $ 570,306.53 SGD $ 856,600.41
Cr AR/AP Contra A/C USD $ 294,318.00 __*SGD $ 442,065.63*__
As you can see from the sample above, AP/AR Contra account is generated as 442,065.64 in Incoming payment whereas for the same rate and same posting date, the system generated different LC amount in Outgoing payment to 442,065.63, there is a 0.01 difference.
Why is that so? Why same exchange rate and FC amount will resulted in different SGD amount? Anybody know whether there is any workaround to solve this problem? Thanks.
Regards,
MH
Hi Gordon,
I don't really get what you mean. I have tried on my own database and it doesn't happen even though patch level, decimal places and document settings are the same. But it just happen on customer database with exactly the same transactions. So not sure how SAP calculate the amount. Thanks.
Regards,
MH
Similar Messages
-
Outgoing payment post different LC amount for same exchange rate as AP INV
Hi All,
I have this entry in my out going payments linked to a AP down payment that I cannot explain. This is a foreign currency transaction
1. AP down payment
FC
USD 381,000 @ document exchange rate of .931277
LC
AUD 409115.66
2. outgoing payment
FC
USD 381,000 @ document exchange rate of .931277
LC
AUD 448,235.29
Although the outgoing payment document exchange rate is same as AP down payment , SAP has applied rate from exchange rate table (@.85)
as a result LC amount is different and its created an exchange gain/loss entry. Any idea why this happen?
Other info
on payment means screen all transactions in USD and payment is NOT on account.
ThanksHi Smith
Check the below link it may useful to you
http://help.sap.com/saphelp_sbo900/helpdata/en/45/1149f129fc4805e10000000a1553f6/content.htm
With Regards
Balaji Sampath -
To have a same exchange rate in Proforma (F8) and Std Invoice (F2).
Hi Friends,
I have searched all the threads and could not find appropriate answer for the below query.
Having different exchange rates in Proforma (F8) and final invoices (F2) causes problems and should be avoided.
Proforma invoices are necessary to start customs processes during export transactions (before shipment). Final invoices issued after PGI are generated through SAP.
However the total amounts differ in F8 and final invoice (F2) because they are not generated at the same day and SAP converts the costs to USD using current rates in the related day.
Therefore the final invoice (which is the legal invoice) and the initial proforma invoice amounts are not the same.
As a result for each final invoice - F2 (if they are not generated at the same day) a manual correction entry is created.
Having this much correction entry is not legally proper.In summary business requires that SAP should use the same exchange rate both in F8 & F2.
Business process:
PO --> Replishnment Delivery --> F8 --> PGI ---> F2
SO --> Delivery --> F8 --> PGI ---> F2
I have tried an option by changing copy control setting from Delivery to F8, pricing type- Pricing calculatiion unchanged.
But I am not sure the impact of it.
Regards,
Vamsi
I request you to suggest the correct procedure for the above issue.
Edited by: vamsi P on Aug 25, 2010 7:45 AMDear Joao ,
In the copy control (VTFL) of your invoice and delivery , select the item category and in the details
maintain A Copy from sales order for 'PricingExchRate'
Check and revert back whether your issue is solved.
Thanks & Regards,
Hegal K Charles
Edited by: Hegal . K . Charles on Jun 27, 2011 5:45 PM -
User exit for calculating exchange rate in MRER,MRKO,MRNB,MIRO
Hi All,
For the transactions MRER,MRKO,MRNB,MIRO I want to change the exchange rate type(tcurv-kurst) which is used to calculate exchange rate .
For example, exchange rate type 'M' is used to calculate the exchange rate but now i want to use the type 'ITAD' to calculate the exchange rate.Could you suggest some user exit or BADI for achieving this.Hi Subasree,
The user exits for respective tcodes are mentioned below,
MRER
Exit Name Description
MRER0001 Automotive Evaluated Receipt Settlement (ERS)
MRKO
Exit Name Description
RMVKON00 Enhancements to report "Settle consignment liabilities"
MM08R001 User exits for ERS
MM08R002 User exit for tolerance checks
MRNB
Exit Name Description
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
MIRO
Exit Name Description
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Hope you will find the required amongst this,
Regards,
Soundarya. -
Quality info records: different pack configurations for same raw material
how can i differentiate different pack configuration for same raw material in quality info records, as one might approved and the other not? that is, besides creating different material master for each packaging?
thanks
AlisaYou need to use the MPN profile functionality that is a standard part of SAP.
In Config under the purchasing define the MPN profile. There are several options you can turn on/off including info records.
You assign the MPN profile to your material. It now is considered by SAP to be an internal material number.
You then create a HERS material type for each separate manufacturer material number you have. You only need the purchasing view for these materials. You can also create purchasing text views, classification and some others if you wish.
In the SAP approved vendors list (AVL), you then assign each manufacturer vendor(s) with the HERS material created.
You create a Q-info record for each manufacturer/HERS material combination.
Now, when you specify the internal material number in a PO, the system will tell you to order the MPN material. When you do the drop down for the material now, it will show you the approved manufacturers allowed in the AVL for the ordering plant.
When the 01 inspection lot is created you will have a vendor number as well as a manufacturer's number in the inspection lot. The DMR can be done by the manufacturer or the vendor depending on how you set up the inspection plan. Q-info record will be used accordingly.
Take a look at it and research it. It's not hard to set up.
FF -
Can we have different output types for same document?
Hi,
Can we have different output types for same doucument.if yes plz describe the steps to perform it
ThanksHi,
Generally you can use same out put type for the different document types of PO. You can create different out put types for the same PO, in case you need different layouts that is different forms like MEDRUCK. Please refer below link to create out types . If you want that PO as fax or e-mail can use same out put type .Thanking you.
http://www.sap-img.com/materials/purchasing-tips.htm -
"Program for Currency Exchange rate updatein SAP"
HI All,
PLease provide me with the Program name for Currency exchange rate update.
Thanks & Regards
HarishHI
You can use Program RSIMPCURR to automate.
This program update the TCURR table everyday with correct exchange rate.
Thanks
Ranjith -
RE: account determination for OI exchange rate
Hello,
I have maintained accounti determination for OI exchange rate differences in the transactio code OB09.
G/L account --- Loss and gain..
Can any one help me in testing ? How this should be tested that the accounts are working properly.Hi
Come up with a test scenario where you post a foreign currency invoice (E.g. Customer Invoice) at the beginning of the month and then subsequently posting a receipt later on that would result in foreign currency gain or loss. Results of this should be as per u201CExchange Rate difference Realizedu201D set up in OB09. F.05 should result with u201CValuationu201D set up in OB09.
Hope this was clear -
Document Split for Currency Exchange while posting Incoming payment
Hi Experts,
Scenario:
> Post incoming Customer payments using F-28
> posting entered today (14 Jan 2009), but posting date is 30 Dec 2008)
> Tested in Clients 001 and 005 (same setup in terms of GLs, Customers, Vendors, etc)
I was able to post the incoming payment in Client 005. However, in Client 001, I got error message:
*Ex.rate diff.accts are incomplete for account 0000140000 (Trade Debtors/Customers) currency SGD
Message no. F5063
Diagnosis
The accounts for posting exchange rate differences could not be determined. For the specified G/L account and the specified currency key, the accounts are only specified incompletely. Either the accounts for the implemented exchange rate difference, the accounts for the valuation differences or the balance sheet adjustment account are missing.
System Response
The system cannot generate the exchange rate difference posting.
Procedure
By pressing ENTER, you achieve that the document is reset to a status without automatic posting. In another window, you can complete default settings for exchange rate differences and post the document afterwards.
Proceed*
When I clicked Proceed, the system took me to OBA1, with "Document Split for Currency Exchange" option highlighted in blue.
Does this mean that I need to create a new GL account to post Document Split for Currency Exchange?
Note: Setup for OBA1 both 001 and 005 are the same. But I only encountered the error in 001.
Hope someone can help me.
Thanks...problem solved: add relevant Open Item GLs in OBA1 (Account Determination for OI Exchange Rate Differences)
-
Split orders into different billing documents depending on exchange rate
We are going to have a new business and process sales orders with currencies.
As our materials have a long life cycle and for commercial reasons, users want to freeze the currency rate on the material.
Our first analysis leads us to use the pricing date on item, to get it from the u201Csale from dateu201D maintened on the material, so SD determines the exchange rate valid at this date in the currency table (TCURR). This exchange rate is kept on the order item in the u201Cexchange rateu201D field (VBKD-KURSK).
So we can have in the same order (and obviously for the same currency) items with diffrent exchange rates.
Now, we would like to split the billing document depending on the exchange rate (or the pricing date is it determines the rate). My question is : how to do this ? Is there a way thru u201CCopying control: Sales document to billing documentu201D ?Thank you Caveman
We have added a new routine to concatenate the exchange rate in the VBRK-ZUKRI field and it works ! -
Different logon pages for same server.
hi Expert,
I have created two different logon pages with different URL's for the same server, now i can use both the pages to logon in to the system.
what i need to do now is :-
URL "A" users set ="A"
URL "B" users set ="B"
If we have the above two different URL and respective users for those URLs.
Now if i am User from the User set "A" and try to Login by using URL "B".
I am able to login, but i want to restrict.
ie.
users from set ="A" login only by the link URL "A"
users from set ="B" login only by the link URL "B"
Points would be given to helpful answers.
Regards,
Sanjyoti.Hi Sanjyoti,
I am not sure if this would work, but if time permits then do try this.
User A -- URL A
User B -- URL B
Now make User A a part of Group A, and set conditions in code that Group A can logon only through URL A and User B can logon through URL B.
Then in code check the association user - group and group - url and accordingly allow / disallow the user to go ahead.
This is just a thought.....do tell me if this works.....or if it doesnt then do post the solution you use....
Thanks,
GLM
P.S: PLEASE CLOSE THE THREAD IF THE ISSUE HAS BEEN RESOLVED
Edited by: GLM on Aug 27, 2008 2:08 PM -
Validation \ User-exit \ BADI \ BTE for F-43 for missing exchange rate
Hi,
I maintain the exchange rate on a daily basis in TCURR exchange rate table.
But, let's say that, by accident, in one day I fail to input the exchange rate.
In this case, when I input a invoice in F-43, I'd like for the system to issue a warning (blocking) message saying that there is no exchange rate for that specific posting (translation) date.
I tryed to create a validation for F-43. But the conditions available in validation are just too simple and I couldn't achieve my goal.
However, I saw I can attach an user exit to the validation or an user exit directly in F-43.
I found in SMOD the following user-exits for F-43 (in package FBAS), but I don't know how to use them:
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
Can you help me to attach an user-exit to a validation or an user exit directly in F-43 to do the specified validation?
Or maybe this can be done with a BADI \ BTE?Thanks for the reply.
I succeded creating the validation with an user-exit. I made the following steps:
1) I created the validation in GGB0 (for document header), issuing a standard message (420 "Exchange rate not found") from message class (ZRSAU) - which is a copy of RSAU message class (in the beggining I put no pre-requisites, checks or rules, just the message).
2) In OB28 I attached the validation (with call point document header) and I made it active (without batch input).
3) I copied the RGGBR000 program (which is standard program with an example of validation) into ZRGGBR00 (it should be maximum 8 characters).
Then I changed the ZRGGBR00 program (form U100) comparing the translation date (from BKPF) with the date from table TCURR (and exchange rate type M, and documents currency other than local currency).
If the program doesn't find any exchange rate in TCURR in that date, it issues the error message (assigned in GGB0).
4) In GGB0, I put the U100 user exit as a check and rule
5) In GCX2, I attached the ZRGGBR00 program to the GBLR application area (which is for user exits for validations / rules).
Now it's working fine! -
Two different tax calculation for same material/plant/vendor key combination
Hi all,
My requirement is that in PO client needs two different percentages of calculation of VAT for same plant/vendor/material.
How can this be incorporated?
regards,
vinsHi Vinda,
Can't you use Tax Code in Purchase order and enter as the case may be
If not, please ellaborate with example
Thanks
Nishu -
Different 'execution plans' for same sql in 10R2
DB=10.2.0.5
OS=RHEL 3
Im not sure of this, but seeing different plans for same SQL.
select sql_text from v$sqlarea where sql_id='92mb4z83fg4st'; <---TOP SQL from AWR
SELECT /*+ OPAQUE_TRANSFORM */ "ENDUSERID","LASTLOGINATTEMPTTIMESTAMP","LOGINSOURCECD","LOGINSUCCESSFLG",
"ENDUSERLOGINATTEMPTHISTORYID","VERSION_NUM","CREATEDATE"
FROM "BOMB"."ENDUSERLOGINATTEMPTHISTORY" "ENDUSERLOGINATTEMPTHISTORY";
SQL> set autotrace traceonly
SQL> SELECT /*+ OPAQUE_TRANSFORM */ "ENDUSERID","LASTLOGINATTEMPTTIMESTAMP","LOGINSOURCECD","LOGINSUCCESSFLG",
"ENDUSERLOGINATTEMPTHISTORYID","VERSION_NUM","CREATEDATE"
FROM "BOMB"."ENDUSERLOGINATTEMPTHISTORY" "ENDUSERLOGINATTEMPTHISTORY"; 2 3
1822203 rows selected.
Execution Plan
Plan hash value: 568996432
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1803K| 75M| 2919 (2)| 00:00:36 |
| 1 | TABLE ACCESS FULL| ENDUSERLOGINATTEMPTHISTORY | 1803K| 75M| 2919 (2)| 00:00:36 |
Statistics
0 recursive calls
0 db block gets
133793 consistent gets
0 physical reads
0 redo size
76637183 bytes sent via SQL*Net to client
1336772 bytes received via SQL*Net from client
121482 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1822203 rows processed
===================================== another plan ===============
SQL> select * from TABLE(dbms_xplan.display_awr('92mb4z83fg4st'));
15 rows selected.
Execution Plan
Plan hash value: 3015018810
| Id | Operation | Name |
| 0 | SELECT STATEMENT | |
| 1 | COLLECTION ITERATOR PICKLER FETCH| DISPLAY_AWR |
Note
- rule based optimizer used (consider using cbo)
Statistics
24 recursive calls
24 db block gets
49 consistent gets
0 physical reads
0 redo size
1529 bytes sent via SQL*Net to client
492 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
15 rows processed
=========second one shows only 15 rows...
Which one is correct ?Understood, second plan is for self 'dbms_xplan'.
Anyhow I opened a new session where I did NOT on 'auto-trace'. but plan is somewhat than the original.
SQL> /
PLAN_TABLE_OUTPUT
SQL_ID 92mb4z83fg4st
SELECT /*+ OPAQUE_TRANSFORM */ "ENDUSERID","LASTLOGINATTEMPTTIMESTAMP","LOGINSOURCECD","
LOGINSUCCESSFLG","ENDUSERLOGINATTEMPTHISTORYID","VERSION_NUM","CREATEDATE" FROM
"BOMB"."ENDUSERLOGINATTEMPTHISTORY" "ENDUSERLOGINATTEMPTHISTORY"
Plan hash value: 568996432
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
PLAN_TABLE_OUTPUT
| 0 | SELECT STATEMENT | | | | 2919 (100)| |
| 1 | TABLE ACCESS FULL| ENDUSERLOGINATTEMPTHISTORY | 1803K| 75M| 2919 (2)| 00:00:36 |
15 rows selected.
I am just wondering, which plan is the accurate and which I need to believe ? -
Different query plans for same query on same DB
Hi,
HP-Ux
Oracle Database 10.2.0.4
We are experiencing a strange issue. One of our night batch process is taking invariably more time to execute. The process does not consume time at 1 particular query. Everyday we find a new query taking more time than previous execution.
Now, when we see the explain plan while the query is executing, we see NESTED LOOP SEMI (with improper index being used). At the same time if we take the query and see the explain plan seperately, we get HASH JOIN SEMI (with proper index being used). Also, if we execute this query with the values as in procedure, it finishes within mili seconds (as it should).
The tables and indexes are analyzed everyday before the process starts.
Can anybody explain, why the same query shows two different plans at the same time ?
Thanks a lot in advance :)Aalap Sharma wrote:
HP-Ux
Oracle Database 10.2.0.4
We are experiencing a strange issue. One of our night batch process is taking invariably more time to execute. The process does not consume time at 1 particular query. Everyday we find a new query taking more time than previous execution.
Now, when we see the explain plan while the query is executing, we see NESTED LOOP SEMI (with improper index being used). At the same time if we take the query and see the explain plan seperately, we get HASH JOIN SEMI (with proper index being used). Also, if we execute this query with the values as in procedure, it finishes within mili seconds (as it should).
The tables and indexes are analyzed everyday before the process starts.
Can anybody explain, why the same query shows two different plans at the same time ?As already mentioned, you might hit typical issues in 10.2: The column workload based SIZE AUTO statistics gathering feature and/or bind variable peeking.
How do you analyze the tables and indexes before the process starts? Can you share the exact call with parameters?
Some ideas:
1. If your process is "new", then the column workload monitoring of the database might recognize the column usage pattern and generate histograms on some of your columns. It might take a while until the workload has been established so that all columns got histograms according to the workload (It needs a certain number of usages/executions before the workload is registered as relevant). Until then you might get different execution plans each time the statistics are refreshed due to new histograms being added.
2. If the default 10g statistics gathering job is active, it might gather different statistics during the night than your individual job that runs prior to the processing. This could be one possible explanation why you get different plans on the next day.
3. "Bind Variable Peeking" is possibly another issue you might run into. How do you test the query so that you get a different, well performing plan? Does your original statement use bind variables? Do you use literals to reproduce? Note that using EXPLAIN PLAN on statements involving bind variables can lie, since it doesn't perform bind variable peeking by default.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/
Maybe you are looking for
-
this morning I had 2 tabs open was trying to open my bank web site and it seemed to respond really slow so closed firefox and opened Safari instead the site still responded slow but finally opened when I closed and went back to firefox it would not o
-
'Cut and paste' function in Safari
On my iPad, when I scroll down a long web page in Safari, sometimes the text turns grey and the word 'copy' appears. I have to tap the screen a couple of times to get rid of the grey. This is very irritating. Is there any way to disable this function
-
Hello If I try to start a video with xine, the video has a green tone and is sloooooooooooooooooow. Same thing if I use codeine (which uses xine). Kaffeine (which AFAIK uses xine too) works without any problem... I found an old thread with a broken l
-
Weird CS4 hanging issue in windows Vista when opening files with PS already loaded
I just installed the demo. I have a dual monitor setup running Windows Vista Ultimate x64 with 8GB ram ... It appears I have both the 32bit and 64bit versions of PS CS4 installed. If I open either of these apps, then choose say a jpg on my desktop, r
-
Video does not show on iPad in reflowable epub
I placed a video in my InDesign file, as an FXL it works just fine, but when I export to reflowable epub, the video does not show on the iPad (I only see a blanc container), it only shows in iBooks on the desktop... Help, what am I doing wrong, am I