2006 Dec 15 6:23 PM
hi,
what is the use of CHANGING tab in function builder (se37)
what is the use of DIALOG and SYNCHRNOUS in case of creating function module?
thank in advance<
ganesh
2006 Dec 15 6:32 PM
Changing tab will have variables which you pass to the FM when you call it and the same variables are returned with a CHANGED value based on the processign logic.
- Guru
Reward points for helpful answers
hi,
what is the use of CHANGING tab in function builder (se37)
what is the use of DIALOG and SYNCHRNOUS in case of creating function module?
thank in advance<
ganesh
2006 Dec 15 6:32 PM
Changing tab will have variables which you pass to the FM when you call it and the same variables are returned with a CHANGED value based on the processign logic.
- Guru
Reward points for helpful answers
2006 Dec 15 6:34 PM
Hi,
CHANGING can be used to pass the value from the calling program..And use the same parameter to change inside the FM and send it back..
Example..
-
Create a FM which has only CHANGING parameter..
The parameter name is CH_DATE TYPE SYDATUM.
FUNCTION ZFUNCTION.
CH_DATE = CH_DATE + 1.
ENDFUNCTION.
Calling program
-
DATA: V_DATE TYPE SYDATUM.
V_DATE = SY-DATUM.
CALL FUNCTION 'ZFUNCTION'
CHANGING
CH_DATE = V_DATE.
WRITE: / V_DATE.
Thanks,
Naren
2006 Dec 15 6:37 PM
Hi ,
The changing tab as the name suggests is basically used to pass those variables/structures whose value is passed to the FM , some processing takes place on it and the new value is passed back to the program.
I did not get the meaning of the second questio, could you please explain more.
Regards
Arun
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |