‎2007 Aug 08 1:58 PM
What is the use of Pass Value option(check box) in Export Parameter?
Use of Changing parameters tab?
‎2007 Aug 08 2:01 PM
if u check this box, then it is a mandatory field in the FM selection screen. U need to pass some value to this field.
‎2007 Aug 08 2:13 PM
Hi!
Theorically:
Import parameters - you will not change them, only use their values (read-only) and pass their values back to an export parameter
Changing parameters - you use their values, change them and give the changed value back to the caller routine.
You can use Import-Export parameters, or you can use Changing parameter. They have the same functinality.
In most common we use the import-export ones.
Regards
Tamá
‎2007 Aug 08 2:15 PM
" When you execute the Function Module ..
' The check box selected parameters are Mandatory fields.. so you need to
' pass data to that field . then only your FM will execute .reward points if it is usefull ....
Girish
‎2007 Aug 08 2:21 PM
Hi Mani,
The use of check box in the Pass Value Option is to pass the parameter with values. This means that the parameter contents are copied both when the parameter is passed and when it is transferred back to the calling parameter. For structures that contain tables, performance may be reduced considerably. Therefore, you should not do this.
<b>CHANGING parameters:</b> These must be supplied with data when you call the function module, unless they are flagged as optional. They can be changed in the function module. The changed values are then returned to the calling program.
You can assign default values to optional importing and CHANGING parameters. If an optional parameter is not passed in a function module call, it either has an initial value, or is set to the default value.
Thanks,
Vinay
‎2007 Aug 09 2:51 PM
RFC CAN BE CREATED WITH ONLY PASS BY VALUE. IF U TICK MARK, IT LL WORK