on 04-17-2006 4:33 PM
Problem: We are using the 2LIS_02_SCL to get our purchasing order data. The problem is that instead of sending over the Doc Value Amounts found in the EKBE table, SAP is doing a calculation based on the the local currency. They are then using the Exchange rate from the PO Header. Our users are complaining, because they expect it to match up with what is in the purchase order history.
I was planning to create a new amount field and and in my transfer rules write ABAP code to take the following fields from 2LIS_02_SCL:
BW:CValLC(BWGEO), Local cur.(HWAER), Posting Date, Currency(WAERS)
Use this Date to go back to TCURR to get the correct exchange rate that is used and do my calculation to doc currency (basically replicating the data as viewed in PO History).
I ran into an issue however. The Currency (WAERS) field is being filled with the value from EKKO. I have a below example where in EKBE, the PO was invoiced in a currency other than the DOC Currency.
Data in R/3 from EKBE (History per PO)
PO: 1
Amount in Local Currency(DMBTR): 250,01
Local Currency (HSWAE): USD
Amount in Doc Currency(WRBTR): 250,01
Doc Currency (WAERS): USD
Data in R/3 from EKKO (Purchase Order Header)
PO: 1
WAERS: DKK
In this scenario, I am unable to populate the correct value (as seen in purchase order history).
I dont see of a way that I can get around this. Does anyone have any ideas?
Thanks
Hi,
have you solved the issue?
Thanks.
Regards.
Andrea
Edited by: Maraviglia Andrea on Dec 9, 2011 3:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But what I have to enhance, the program?
Do you think I have to modify function module...
Please tell me.
Rgds,
Giuseppe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I have the same issue.
In case solved may you feedback on solution applied?
Rgds,
Giuseppe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello JP,
have you been able to fix this problem?
I'm in a same situation and I would appreciate a solution.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello JP,
Please go through OSS notes 459297 and 670313 and see if it helps.
Regards,
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.