Application Development 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: 

Relation.......'REUSE_ALV_GRID_DISPLAY && IN BACKGROUND TASK

Former Member
0 Kudos

Hi All,

Why we need to add "IN BACKGROUND TASK" after FM "'REUSE_ALV_GRID_DISPLAY'".

Plz help on this

7 REPLIES 7

JozsefSzikszai
Active Contributor
0 Kudos

we don't have to add...

Former Member
0 Kudos

Hi,

Its not mandatory to call the fM "'REUSE_ALV_GRID_DISPLAY'" in Background task.

U can even call directly without any addition of background task.

Actually if u call the FM in Background task , BATCH work process will execute the FM. ( apart from Batch, there are DIALOGUE, SPOOL, UPDATE. ENQUEUE workprocess).

If you dont mention IN BACK GROUND TASK, then as usual DIALOG will exceute the FM.

The main aim behin this is to improve performance and nothing more than that.

Revrt back if any issue,

Regards,

Naveen

0 Kudos

Hi Naveen,

But it is giving an error while calling FM "REUSE_ALV_GRID_DISPLAY" like 'IN BACKGROUND TASK' is expected after FM.

0 Kudos

can you copy the code part here? may be the reason is in the CALL FUNCTION parameters

0 Kudos

Hi,

Can u paste ur code as is.

check , may be after calling the FM u have marked a period (.).

revrt back..

Regards,

Naveen

0 Kudos

Thankyou for all,

My problem solved....

Withe Best reagards,

0 Kudos

Hi,

Eager to know how u corrected? and wat was teh issue?

Regards,

Naveen