‎2010 Nov 25 4:13 AM
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
‎2010 Nov 25 4:47 AM
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.
‎2010 Nov 25 4:18 AM
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,
‎2010 Nov 25 4:47 AM
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.
‎2010 Nov 25 4:47 AM
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.
‎2010 Nov 25 4:49 AM
Hi Navneeth ,
While getting inside the FM it status is read only, how to change then.
Regards,
Kapil.
‎2010 Nov 25 4:51 AM
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.
‎2010 Nov 25 4:53 AM
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
‎2010 Nov 25 4:55 AM
‎2010 Nov 25 4:57 AM
HI,
I think you have passed the parameter by reference ,so u will not be able to change it .
Regards,
Madhukar Shetty
‎2010 Nov 25 7:27 AM
Yes, you can change the value of import parameters ONLY if you set the pass value attribute as TURE.
Try it.