Skip to Content
0
Former Member
May 29, 2008 at 07:31 AM

Execute a Fm in Background

657 Views

Hello experts,

please have a look at the part of the code in report below

.

.

CALL FUNCTION 'ME_PRICING_ALL'

  • IN BACKGROUND TASK.

IMPORT EKOMV TO lt_KOMV FROM MEMORY ID 'RM06K010'.

loop at lt_komv.

write: / lt_komv-KWERT.

endloop.

in FM ('ME_PRICING_ALL') is syntax "EXPORT EKOMV TO MEMORY ID 'RM06K010'" and syntax with command WRITE .... ("report on the screen")

i don't want to "see" output(report) from FM ME_PRICING_ALL on the screen, so i called FM with "IN BACKGROUND TASK.", but I couldn't get the data from the FM.

When I'm running FM in foreground (without IN BACKGROUND TASK) I'm retrieving the data, but i don't want to see report in FM.

Thanks for help

Martin