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: 

Problem with Batch Input

Former Member
0 Kudos

Hi. I have the next problem. There is a Z programm (A) wich I do Batch from another problem (B). The Z Program (A) wich I do the batch, consist in ALV with header. When I use the main program (B) it works normally. But when I execute the main program (B) in background, it generates a DUMP, and the problem is locate exactly in this part of code of programm A:

IF g_custom_container IS INITIAL.

CREATE OBJECT g_custom_container

EXPORTING container_name = 'CONTAINER_1'

EXCEPTIONS

cntl_error = 1

cntl_system_error = 2

create_error = 3

lifetime_error = 4

lifetime_dynpro_dynpro_link = 5.

After this part, the exception 3 is raised. I don't know what could be the problem, because when i execute the programa B normally (with F8), it works great, but in background (with F9) the problemm appears. Please help me.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You cannot create OO LAV reports in the background.

2 REPLIES 2

Former Member
0 Kudos

You cannot create OO LAV reports in the background.

former_member194669
Active Contributor
0 Kudos

What will be system dump?

ALV needs the SAPGui components to run. if you run in the background system looks SAPui frontend components. i think that why its dumping