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

Function Module

Former Member
0 Likes
569

What is the use of Pass Value option(check box) in Export Parameter?

Use of Changing parameters tab?

5 REPLIES 5
Read only

Former Member
0 Likes
475

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.

Read only

Former Member
0 Likes
475

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á

Read only

Former Member
0 Likes
475
" 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

Read only

Former Member
0 Likes
475

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

Read only

Former Member
0 Likes
475

RFC CAN BE CREATED WITH ONLY PASS BY VALUE. IF U TICK MARK, IT LL WORK