User-Exit to change/Calculate the Exchange Rate
Hi ALL,
I am looking for an user-exit that can be used to change the Exchange Rate during the billing cycle. I want to claculate the exchange rate based on the translation date (BKPF-WWERT).
BR,
Tanmoy
Hi ALL,
This is a very tricky issue.
The table BKPF has a field called WWERT (Translation Date). Now we want to calculate the Exchange rate based on the translation date. The table BSET has two fieds LWSTE (Tax Amount in Country Currency) &
LWBAS (Tax Base in Country Currency) and they must get updated with correct values based on the translation date, but thats not happening as the exchange rate is calculated based on the posting date/billing date. The exchange rate is determined from the TCURR table but its taking the incorrect Exchange rate. I need to find out the way so that I can correct it.
BR
Tanmoy
Similar Messages
-
User Exit / Enhancement Point to set exchange rate using GR date in MIRO
Dear experts,
I'm trying to set exchange rate not as default but using GR date (When I input the PO number and click enter, the exchange rate should be set). So when system set the exchange rate, it will use the PO date, not GR date.
What user exit / enhancement point / BADI should I use?
I've already tried all user exit and BADI for MIRO but still not succeed. Is there anyone who could help me?
Thank you very much..
Regards,
ShirleyHi,
So as to capture Exchange Rate w.r.t PO date, it is suggested to go for Development/Enhancement with required import purchasing doc types in it. While doing GR and before posting the document you need to capture the Exch Rate as per PO date and replace with GR date Exch rate present in it through development.
Regards, -
How to change the exchange rate filled in a posted Invoice?
Hi All,
an user has posted an invoice in foreign currency. He has forgotten filling in a particular exchange rate.
I wonder if is possible to change the document filling, in the exchange rate required, so to have the right amount in local currency.
Thanks
G.RossiHi,
You can not change exchang rate in the already posted document.
You need to reverse that document and have to create a new one using correct exchange rate.
Regards,
Gaurav -
Change the exchange rate of a line item manually
My company has an issue regarding the exchange rates. We are in a country using EURO.
Though from one of our vendor we take prices in USD. In our pricing procedure in the sales orders we post the price of the vendor and in the prices we maintain another condition type for our profit.
In the case of the vendor price that gives us USD, we have want to give the price in the usd and the system to translate the usd in eur (in the next line of the procing procedure) accourding to an exchange rate that the user will give per line item.
At the moment the system thanslates the price to eur accourding to the exchange rate from the system (automatically) and I haven't have the possibility to change the predifined exchange rate manually as I want to do.Hi,
Exchange rate are maintained in the T.Code "OB08".
Goto the T.Code "OB08".
Change the exchange rate as per your requirement.
If you want to get different currency then goto the T.Code "XD02".
Enter your customer number,Company code and sales area.
Goto Sales area data.Sales tab.
Change the currency to your value as per your requirement.
If you create a new order with that customer,then we will get this new currency.
After creating the invoice,pass the accounting document number into "FB03" and enter the company code and fiscal year.
Enter.
Click on "Currency".
It gives you the value in base currency.
Regards,
Krishna. -
Is it possible to change the exchange rate after completion of miro documen
Dear sap guru's,
Please suggest me user can raise an po with account assignment cateagory (asset) ie AUC Asset. at the time they are giving exchange rate is 39.41. after doing migo he setteled the AUC asset to Main asset.
Month ending he is doing MIRO At this time System is caputuring the exchange rate as 39.58. so the differnce amount is comes under AUC Asset.Already the AUC Asset is setteled but exchange rate difference amount is showing in asset. how do i resolved this one Kindly suggest me this is an urgent issue.
Regards,
Kumar.Hi Kumar,
There are two solutions,
1. At the time of MIRO, you can give the exchange rate in the details tab screen which can be an exchanged rate which was used at the time of capitalisation. Hence, there will not be any differences between capitalised value and MIRO value.
2. You can post the difference in the AuC asset and again you can distribute it to an expenditure or an assets based on business process / decision.
Hope it clears your doubt.
Regards
A.Saravanan. -
Is there any user exit to change the UOM of a material while creating sales
Hi experts,
I have a requirement to change the UOM of the item material in sales order while creating. Could anybody help me in finding the correct user-exit to change the UOM.
Thanks,
srinivas.Hi Ravish,
I am already changing the UOM in the same include and in the subroutine "USEREXIT_MOVE_FIELD_TO_VBAP". But it is again over writing in the standard program. What I need to do, to remain same UOM.
Thanks,
srinivas. -
What is the user exit to change segment version at the run time of an IDOC
Dear Experts
Please can some one help on this ...
Which is the user exit to change segment version at the run time of an outbound IDOC.
For example
Suppose we have a IDOC segment with two version 620 and 46C.
By default the IDOC pick the 620. But Our requirement is to use 46C.
What user exit we can use for outbound IDOC to change the version used at run time for a segment.
Appreciate your response.
ThanksHi,
ALE00001 EXIT_SAPLBD11_001
User exit for the IDOC version changer
Regards,
Ravi -
USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT
Hi,
Pls advise any USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT.
Regards,Hi,
There is another user exit for updating material document data Upon posting is MB_CF001
I hope this will fullfill you.
Prem -
Need to know the user exit to change unlimited check box in delivery tag
Need to know the user exit,
To change the <b>unlimited check box(</b>EKPO-UEBTK) in <b>delivery tag</b> of <b>item details</b> for tcode <b>ME21N/ME22N</b> on <b>SAVE</b>.
Thanks in Advance.
BaburajHI Baburaj,
Use the BADI ME_PROCESS_PO_CUST to change the unlimited check box(EKPO-UEBTK)
Implement the BADI and insert the code in the method PROCESS_ITEM
Example code :
*Data Declarations
DATA: ls_mepoitem TYPE mepoitem,
ls_mepoitemx type mepoitemx,
ls_customer TYPE mepo_badi_exampl,
ls_tbsg TYPE tbsg.
INCLUDE mm_messages_mac. "useful macros for message handling
*here we get item data
ls_mepoitem = im_item->get_data( ).
*work area for price value
data : begin of it_eban,
banfn type mepoitem-banfn,
bnfpo type mepoitem-BNFPO,
pries type mepoitem-NETPR,
end of it_eban.
*Get the Purchase requisition price from EBAN table
select single banfn bnfpo preis from eban into it_eban
where
banfn = ls_mepoitem-banfn
and bnfpo = ls_mepoitem-bnfpo.
*if entry is available.
if sy-subrc eq 0.
*check if price is zero
if it_eban-pries EQ 0.
*if zero, set FREE field of PO to 'X'.
ls_mepoitem-uebtk = 'X'.
endif.
endif.
*Set updated fields
CALL METHOD im_item->set_data
EXPORTING
im_data = ls_mepoitem
Reward if Helpful***** -
User exit to change the storage section indicator (MLVS-LGBKZ)
Hi.
I'm looking for a user exit which be able to change the storage section indicator (field MLVS-LGBKZ) proposed by the material master data in the process of creating a TO (transaction LT06). I haven't found any user exit for this. Do you know any user exit to change this value?
Thanks in advancehi,
thank you for your response.
whatever the exit which you have been provided, not calling when i creating PR through MD50.
i need an exit which will trigger when we create PR through MD50.
Many thanks,
Regards,
kiran -
Exchange Rate: Routine to copy the "Exchange Rate" value From TCURR table
Dear experts,
I have created a cutomised Key Figure (ZEXCHRATE) with the 0currency as the unit and this field is included in my ZCOPA_C21 Infocube.
In the update rule, it was then appointed with a simple routine below;
(PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: TCURR.
DATA: IT_TCURT Type TCURR occurs 0 with header line.
$$ end of global - insert your declaration only before this line -
FORM compute_data_field
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
USING COMM_STRUCTURE LIKE /BIC/CSZCOPA_TPL_IS
RECORD_NO LIKE SY-TABIX
RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING RESULT LIKE /BIC/VZCOPA_C21T-/BIC/ZEXCHRATE
RETURNCODE LIKE SY-SUBRC
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
fill the internal table "MONITOR", to make monitor entries
SELECT * FROM TCURR appending corresponding fields of table
IT_TCURT
WHERE KURST = 'M'
AND FCURR = 'USD'
AND TCURR = 'IDR'.
AND GDATU = ___.
AND UKURS = ___.
Sort IT_TCURT by GDATU descending.
Loop at IT_TCURT.
Move IT_TCURT-UKURS to RESULT.
Exit.
Endloop.
result value of the routine
RESULT = space.
if the returncode is not equal zero, the result will not be updated
RETURNCODE = 0.
if abort is not equal zero, the update process will be canceled
ABORT = 0.
$$ end of routine)
Which will basically copy all the contents of TCURR into an internal table (IT_TCURT), sort it and then only copy out the UKURS (Exchange rate) data into the customised ZEXCHRATE to get the latest exchange rate value.
Routine was checked and its fine.
The problem is, upon checking the update rule, it returned an error message;
"No Unit maintain for Key Figure Exchange Rate Local".
Double checked the declaration of ZEXCHRATE, the unit was there.
My questions;
1. Is this the correct way of doing it ? I just want to be able to show the exchange rate value in my query (hence the existence of ZEXCHRATE).
2. Is there an alternative way of achieving the same result ?
Your help or advice will be greatly appreciated.
Thanks
KGHi Sreeni,
Referring to the " but the conversion from VEF to USD is happening at a rate @0.23256 which is valid till 02/13/2013 only" part in your post, the date given in OB08 for currency rate is valid from and not valid till. Hence, please check the setting once. Once you enter the rate from 02/13/2013, the rate is valid till you enter another date later than 02/13/2013.
Regards, -
Billing is not happening according to the exchange rate
dear all i have a problem
while doing export sales , in copy control settings of VTFL , i put pricing exchang rate as " B ' thesystem is calculating the correct exchange rates at the excise posting. but during billing the system is not taking the correct exchange rate which is for that particular month..
in the schdeulines header data accounting tab before processing for billing i need to put the correct exchange rate manually then if i do the billing the required exchange rate is coming in the billing .
in order the system to caculate the exact foreign exchage rate during billing and exise posting automatically based on the rate given in" OB08" what is the best way i can give
becasue the key user is finding it diffcult to put the correct exchange rate manually before processing the schedulines agreement and then do the process
kindly send ur suggestionsHi,
According to standard SAP , the accounting document will be calculated in case of export sales based on the exchange rate determined in invoice header, where as the excise postings will capture exchange rate from invoice item line.
Due to this u have no problem at excise invoice and the system will not change at invoice header based on your billing date, service rendered date etc based on copy control changes.
If you want system to determine exchange rate automatically at invoice header based on billing date etc, with out changing in sale order, you need to incorporate a routine and user exit with the help of your abaper.
The system will not accept copy control changes in this case.
So clearly you can tell your requirement to abap consultant and incorporate user exit for your requirement.
Regards
Kiran -
F110 Default the Exchange rate Type
Hi Experts,
I have requirement for Setting up the Exchange rate type (Kurst) to defualt even on F110 transaction ( Tab :Paramter)
(Even if user change it should not to be allowed)
Can you please let me know if any Exit/Badi/ EnahancementSpot/ BTE which can fullfill my requirement.
ThanksHello
did you get answer ?
I have problem same as you. -
Display a variable d'user exit as text in the title of a colomn
Hi, experts,
I would like to calculate the number of days of a certain month. This calculation would be done in the user exit.
Then in the report, this number will be displayed in the title of the colomn.
Is it possible to realise this requirement and what is the configuration regarding as this variable?
Thanks in advance.Hi,
Yes you can do it.
Create text variable 'ZNO_MNTH', with processing by Customet Exit.
Variable Entry = Mandatory
Length of Input field = 0008
Uncheck ready for input.
Note: Here I'm using based on SY-DATUM, for your requirement you can change the LOGIC. Insted of SY-Datum you can pass your Date.
WHEN 'ZNO_MNTH'.
*ZDATE = SY-DATUM.
DATA: NODAYS TYPE INT1.
LOOP AT i_t_var_range INTO loc_var_range.
IF sy-subrc = 0.
CLEAR: l_s_range.
CALL FUNCTION '/OSP/GET_DAYS_IN_MONTH'
EXPORTING
IV_DATE = SY-DATUM
IMPORTING
EV_DAYS = NODAYS .
L_S_RANGE-LOW = NODAYS.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
ENDIF.
ENDLOOP.
In Report you just gve text variable and check it, don't give any Alphabets in heading, just give this Text Variable.
Thanks
Reddy -
Use Current Exchange Rate from the Exchange Rate Table itu00B4s not working
Hi Experts:
Working with manager user, Iu2019m trying to create a Goods Receipt PO through the Draw Document Wizard, but the option u201CUse Current Exchange Rate from the Exchange Rate Tableu201D it is not working, it does not bring me the USD exchange rate of today defined in the table; it brings the USD exchange rate from the base document (AP Reserve Invoice), and Iu2019m not allowed to change it. What should I do?. We are working wih SAP Business One SP01 PL06. Thanks
CLAUDIAHi,
There is a SAP Note related to your issue, have a look at this.
[http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_sbo_adm/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d373033303238%7d]
...For companies using the Continous Stock System feature, there are three additional scenarios in which the row Exchange Rate will be copied from the base document regardless of the calculation method chosen in the 'Draw Document Wizard':
a) Goods Receipt PO -> Goods Return.
b) Goods Return -> Goods Receipt PO.
c) AP Reserve Invoice -> Goods Receipt PO.
Hope this helps,
Son.
Maybe you are looking for
-
Working with multiple users and computers, but shared data
Sorry if this is posted in a poor place, I'm not sure where the best place is. This is sort of a general questions. For a long time, my wife and I have had either one computer, or two machines but one has definitely been just a terminal. We've basica
-
I gt problem in createImage method, Please Help Me!
This part of code is from Ticker.Class: public void createParams() {//tickerTape.x = 900; //tickerTape.y = 40; int width = getSize().width; //System.out.println("getSize().width "+getSize().width); int hei
-
I get message "The iTunes application could not be opened. An unknown error occurred (-50).
-
This question was posted in response to the following article: http://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f8617383751001ea8cb3f-6c43a.h tml
-
When i download music from internet it is not shown in my phone's music library....whenever i want to listen that music i have to open that application through which i have downloaded it. What should be done to fix this?