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

bapi

Former Member
0 Likes
381

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
352

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

3 REPLIES 3
Read only

Former Member
0 Likes
353

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

Read only

Former Member
0 Likes
352

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

Read only

Former Member
0 Likes
352

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