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: 

Report is giving different outputs in background and foreground

Former Member
0 Kudos

Hi All,

Foreground and background executions of a custom report are not giving same no. of records.

The coding is done in such a way that foreground triggers "ALV_GRID_DISPLAY" and background triggers "LIST_DISPLAY".

Found after the execution of this function module "GN_INVOICE_CREATE", system is behaving differently in both the cases.No clue why is it so.

Do share your comments and give some feasible soluiton.

Thanks in advance.

1 REPLY 1

Sandra_Rossi
Active Contributor
0 Kudos

I don't think the way you display the results is in cause AS YOU SAY.

Anyway, you should continue to investigate why GN_INVOICE_CREATE returns a different number of entries in the internal table (and make sure that input parameters are the same).

If you don't find you may trace with SE30 both executions (dialog/background) and check when it becomes different. In SE30, you must define a variant with "no aggregation", and display the result with "call hierarchy" mode.