Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Defaut Value

Former Member
0 Kudos

Hi Experts,

In the FM READ_EXCHANGE_RATE

have the imports like this TYPE_OF_RATE LIKE TCURR-KURST 'M"

Here Default value is "M". i need here with out Default value.

How to get it?

Thanks & Regards,

Sreedhar.

6 REPLIES 6

Former Member
0 Kudos

Hi Sreedhar,

While calling thsi FM , just pass the your required value to the parameter TYPE_OF_RATE then it will overwrite on 'M'. If you don;t want to pass anything and then pass SPACE here. So it will empty that value.

I hope your problme is solved.

Warm Regards,

Vijay

0 Kudos

Hi ALL,

Actually i need the value "B" . when i put the 'B" value instance of "M".

'B" value is working fine , But 'M' value is not working.

When i put the SPACE here any value is not working.

Regards,

Sreedhar.

former_member404244
Active Contributor
0 Kudos

Hi,

u need to pass the required value to the parameter TYPE_OF_RATE .

Regards,

Nagaraj

Former Member
0 Kudos

HI,

This will be written in the Function module, so while callin ghte function module in the program ,thange the value M and write your value for that field, it will take your field only

Regards

Sudheer

Former Member
0 Kudos

Default value can be changed as per the requirement, If calling this FM you are not considering TYPE_OF_RATE import parameter then it will take default value as 'M' and when you are considering then you change it or keep as it is.

Regards

Former Member
0 Kudos

Hi Sreedhar,

When you call function module with pattern then you will get default values for the parameters automatically. You can not avoid them with out default values but you can change the value of the function parameter values after calling the pattern.

If you really needs that value with out default value then copy the function module and dont give the default value to the TYPE_OF_RATE parameter.

Thanks,

Vinay