Hi,
Check this link..
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
TABLES Parameter:
With the addition TABLES, internal tables itab1, itab2, ... must be assigned to all non-optional table parameters t1, t2, ... of the called function module. For itab1, itab2, ... , only standard tables can be specified. The transfer takes place by reference (with the exception of RFC). If a specified table itab1, itab2, ... has a header line, this is also transferred. Otherwise, the header line of the corresponding table parameter t1, t2, ... is initial after the call.
Changing Parameter:
If non-optional input/output parameters are defined for the called method in statement METHODS or CLASS-METHODS after
CHANGING, actual parameters must be assigned to these using CHANGING. Actual parameters can be assigned to optional input/output parameters. At the time of the call, either a reference to an actual parameter is passed, or the content of an actual parameter is assigned to the relevant formal parameter, depending on the passing type. In the case of passing by value, the content of a formal parameter is only assigned to the relevant actual parameter if the method ends without errors.
hi nicky ,
for a function module, u can give the input as parameter and select option.
i,e if the input is one , ucan use the parameter , if the input is many , u have to use table statement.
if u have still doubt, plz ask me, i ll help u in this regards
regards
karthik********************rewards points if useful
Hi Nicky,
table parameter : Internal tables that can be imported and exported. The internal table's contents are transferred from the calling program to the function module. The function module can alter the contents of the internal table and then send it back to the calling program. Tables are always passed by reference
Changing parameter :Values that act as import and export parameters simultaneously. The original value of a changing parameter is transferred from the calling program to the function module. The function module can alter the initial value and send it back to the calling program.
if want more information please gothrough this link..
http://help.sap.com/saphelp_nw04s/helpdata/en/d1/801ece454211d189710000e8322d00/frameset.htm
<b>reward is usefull</b>
Add a comment