exporting , changing , table parametrs

Question:
HI Guru's
I am been assigned task of creating and using one function module . However , I need to change some values within the function module .Now restriction has been given that I should not use TABLES parameters of the function module . can anyone explain what is diff bw TABLES parameters & CHANGING parameters ??
Can i pass internal tables Via CHANGING parameters ? would it increase performance if u use changing instead of tables ??
Thanks
Nupur
Answer:
I took this from "Help". Doesn't look like you can use tables in the changing statement.
There are four kinds of parameters: IMPORTING, EXPORTING, CHANGING and TABLES.
IMPORTING parameters are pure inbound parameters. When they are called, a value is transfered and the value of the actual parameter stays the same.
EXPORTING parameters are pure outbound parameters. The value of the actual parameter when it is called is not important and after the parameter returns from being called, the actual parameter contains the value of the formal parameter.
CHANGING parameters are both inbound and outbound parameters. When they are called, a value is transfered and after the parameter returns from being called, the actual parameter contains the value of the formal parameter.
TABLES parameters are like CHANGING parameters both inbound and outbound parameters, but can only be used for transferring standard tables (Internal tables). In this case the internal table always has a header from the formal parameter view.
Answer:
I took this from "Help". Doesn't look like you can use tables in the changing statement.
There are four kinds of parameters: IMPORTING, EXPORTING, CHANGING and TABLES.
IMPORTING parameters are pure inbound parameters. When they are called, a value is transfered and the value of the actual parameter stays the same.
EXPORTING parameters are pure outbound parameters. The value of the actual parameter when it is called is not important and after the parameter returns from being called, the actual parameter contains the value of the formal parameter.
CHANGING parameters are both inbound and outbound parameters. When they are called, a value is transfered and after the parameter returns from being called, the actual parameter contains the value of the formal parameter.
TABLES parameters are like CHANGING parameters both inbound and outbound parameters, but can only be used for transferring standard tables (Internal tables). In this case the internal table always has a header from the formal parameter view.
Yes you can if you have defined table types.
Christian

More Articles:

syntax-check and 'REPORT/PROGRAM statement missing.' msg?
editable by row in internal table?
BDC for COPA segment?
Passing of Select option values to the function Module?
q?
List refresh VS top-of-page?