Application Development and Automation 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: 
Read only

Changing the import parameter while debugging

Former Member
0 Likes
3,763

Hi All,

While Calling a Function Module , I have hard coded one Import Parameter to SPACE and transport it to the Production. Now in Production the Function Module is not working with that Import parameter so i want to check in production itself with which String it will work. So i want to chane the Import Paramter of that function Module while Debugging.

How to do so?

Note : I can provide a Local Variable to the Import Parameter but in that case i have to change the code in Dev System and Transport it to the Production to check.

Regards,

Kapil

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,039

Hi,

Import parameter of a FM cant be changed.

You can try to look into function module, if this inport parameter is getting assigned to any othe global/local variable inside the FM. Then change this variable content.

Thanks & Regards,

Navneeth K.

9 REPLIES 9
Read only

Former Member
0 Likes
2,039

If the compiler is going inside FM, Keep a break point in the first line of that FM and change the import parameter there.

Regards,

Read only

0 Likes
2,039

Hi,

Thanks for your reply ! when i get into the first line of the FM, and check the attribute of that Parameter in debugger, it is Read Only.

Regards,

Kapil.

Read only

Former Member
0 Likes
2,040

Hi,

Import parameter of a FM cant be changed.

You can try to look into function module, if this inport parameter is getting assigned to any othe global/local variable inside the FM. Then change this variable content.

Thanks & Regards,

Navneeth K.

Read only

0 Likes
2,039

Hi Navneeth ,

While getting inside the FM it status is read only, how to change then.

Regards,

Kapil.

Read only

0 Likes
2,039

Ya its read only.

I want you to check if that import parameter is getting transferring its value to any of the local / global variable present in the FM.

Then you can change the content of the local / global variable. No way you can change the content of import parameter.

Let us know the FM you are using.

Read only

0 Likes
2,039

Hi navneeth,

No inside the FM it is used in the select statemnt to fetch record from the Table, there also the status is read only.

it is not transferring to any Varaible.

this is the internal FM for our project not any standard FM.

Regards,

Kapil.

Edited by: KapilG on Nov 25, 2010 10:23 AM

Read only

0 Likes
2,039

Sorry, You cant change the import parameter in debug mode.

Read only

0 Likes
2,039

HI,

I think you have passed the parameter by reference ,so u will not be able to change it .

Regards,

Madhukar Shetty

Read only

Former Member
0 Likes
2,039

Yes, you can change the value of import parameters ONLY if you set the pass value attribute as TURE.

Try it.