cancel
Showing results for 
Search instead for 
Did you mean: 

Substitution for Field BKPF-KUTY2 (Exchange Rate Type)

Former Member
0 Kudos

Hi All,

We have a requirement to subsitute the field BKPF-KUTY2 with a different exchange rate type.

By default the value will be "M".

As this filed is not avialable for substitution we decided to go with the user exit.

But still the substitution is not working.

We have also tried removing the checkbox in GB01 table against this field. It is working in simulation mode. But when we actually post the document it still showing the Exchange rate type as "M".

Can you please provide any suggestion/solutions/views on how to use this field in the substituions?

Best Regards

RS

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Why do you want to use the substitution?

Define a document type for this activity and assign the default indicator at the doucment type level. As a business process you advise users to use this document type or you can change the default exchange rate at document type level itself.

Rewrad points if useful

Sarma

Former Member
0 Kudos

HI

Thanks for your suggestion. But the requirement is only for a particlular company code and particular currency.

If we maintain at document type level it will reflect for all the company code.

That is the reason we are planning to go with Substitutions.

Is there anyway to use this field or can't we use this filed in Substituion/

Best Regards

Ranga Swamy. M

Former Member
0 Kudos

Write a Validation based on Document type and in prerequisites give company code and in check give currency or vice versa.

There is no problem in doing so.

Hope you understood.

Reward if useful.

Sarma

Former Member
0 Kudos

Hi Sarma,

Thanks for your suggestion.

The field Exchange Rate type (BKPF-KUTY2) is not an input parameter.

If we write validation how user can enter the correct value when the validation satisfies.

Best Regards

Ranga Swamy. M

Former Member
0 Kudos

You didn't undertsand the post.

Agreed that BKPF-KUTY2 is not an put parameter.

How ever what I am suggesting is that,

1) Create a document type ZZ with Default exchngae rate as "What ever u want" and Save,

Now your problme is that the document type is at higher level than compnay code it is accessible across the company codes and also you want to restrict the currency also.

FOr this I suggested you to create a vlaidation.

Go to OB58

Create the validation at the header level and assign this to the compnay copde for which you want to trigge.

In Step

Create a pre Requiste as

BUKRS<>"XXXX" or BUKRS<>"YYYY" (Here you need to give all the compnay codes, that are in your box and also assign at the first screen)

In Chek

WARES<>"XXX"

Assign a message.

What I am trying to say is by defining a Doc type with the required Ex. Rate your primary requirement is met.

By creating a validation your secondary problem is solved (Restricting COmpnay Code and Document type)

You are indirectlky meeting the requirement of substitution.

Remember only Two true conditions make a posting.

In no way you are touching the BKPF-KUTY2.

rewrad if useful.

Sarma

Answers (1)

Answers (1)

former_member183879
Active Contributor
0 Kudos

Hi

The exchange rate type will always be M in FI. You can read the following OSS notes to understand how exchange rate types function.

423667

783877

123819

hope this helps