Skip to Content
2
Former Member
Jul 20, 2007 at 05:09 AM

job fails in background but success in foreground

142 Views

Hi,

we have executed a report in foreground which is executed succesfully. but in background the job failed at the container object.

  • create container for alv-tree

DATA: L_TREE_CONTAINER_NAME(30) TYPE C.

L_TREE_CONTAINER_NAME = 'CCONTAINER1'.

CREATE OBJECT G_CUSTOM_CONTAINER

EXPORTING

CONTAINER_NAME = L_TREE_CONTAINER_NAME

EXCEPTIONS

CNTL_ERROR = 1

CNTL_SYSTEM_ERROR = 2

CREATE_ERROR = 3

LIFETIME_ERROR = 4

LIFETIME_DYNPRO_DYNPRO_LINK = 5.

IF SY-SUBRC <> 0.

MESSAGE X208(Z0) WITH 'ERROR'(100).

ENDIF.

Please let us know any pointers on the same.

Why a job fails if we use container/object oriented concepts in report in background?

regards

Shiva