cancel
Showing results for 
Search instead for 
Did you mean: 

Returning value from Func Module running in Update task

Former Member
0 Kudos

Hi,

I am having a fucntion moudle to be run in update task. Is it possible to return some value from there? I tried export / Import, it doesnt seem to work. I call the funciton module in update task and use COMMIT WORK AND WAIT to trigger it. Should I try using shared memory area or something like that to achieve this? I am SAP R/3 4.6c.

Thanks in advance for any suggestions.

Regards,

Gokul

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Gokulakrishnan,

1. U are right.

2. Export parameters are not allowed.

3. I don't think there is any direct

way to detect / return some value.

4. SET UPDATE TASK LOCAL. (see F1 help on this)

Probably we can use this

so that updates happens synchronously.

5. Inside the FM, as u said,

we can use shared memory

(EXPORT / IMPORT)

to return some values.

I hope it helps.

Regards,

Amit M.

Answers (1)

Answers (1)

dhananjay_khamkar
Participant
0 Kudos

Hi Gokul,

Please give FM name .

Regards,

Dhanu