Skip to Content

Currency rate translation in TS01

Hi Experts,

We have a custom program to create security transactions. But when executing the custom program, rate is always defaulted to 'Exchange Rate Fixed' radio button as seen below. We want this to be in 'Current Rate' instead.

So to check, I manually created a security transaction in TS01, but as per manual creation, currency translation is still defaulted to 'Exchange Rate Fixed'.

My question is where can I set the default to 'Current Rate' instead of 'Exchange Rate Fixed'?

Any input will be highly appreciated.

Thank you!

Regards,

Katherine Darunday

Add a comment
10|10000 characters needed characters exceeded

  • if the answer solves your problema, mark as correct or upvote.

    if it doesn't, marke the question as not solved

  • Some clues on sap note 1515865 - Error in Currency conversión

    Good debuging :)

  • Hi Gustavo,

    Thank you so much for your reply. I have debugged the program and found at that local currency rule is set in FM FWTR_SEC_INIT_FOR_BAPI

    where the code looks like this:

     IF current_rate EQ xtrue.
    g_str_processing-loc_curr_rule = '1'.
    ELSEIF exchange_rate_fixed EQ xtrue.
    g_str_processing-loc_curr_rule = '2'.
    ELSEIF fixed_amount EQ xtrue.
    g_str_processing-loc_curr_rule = '3'.
    ELSE.
    g_str_processing-loc_curr_rule = '2'.
    ENDIF.

    The reason why 'Exchang Rate Fixed' was set is because current_rate, exchange_rate_fixed, and fixed_amout are all not equal to 'X' or is not equal to abap_true. I am however unable to identify where the values for these three fields come from, maybe customizing? Or do you know of any fields in transactions in SAP that contain these fields?

Related questions

1 Answer

  • Best Answer
    Posted on Oct 04, 2019 at 02:53 PM

    IMG

    Financial Supply Chain Management
    Treasury and Risk Management
    Transaction Manager
    Securities
    Transaction Management
    Transaction Types
    Define Transaction Types

    Select a Prod Type and transaction,

    it took some time but this should solve it :-)


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.