Skip to Content
0

No Spool after a specific error from BAPI

Mar 21, 2017 at 01:09 PM

46

avatar image

Hi.

In a Z-program i am writing to a list when I get messages updating material (article since it is a Retail system) plant (Site) data using the BAPI_MATERIAL_MAINTAINDATA_RT. The program also show an old-school ALV grid using FM REUSE_ALV_GRID_DISPLAY.

Under normal circumstances, the list works fine both in dialog and when run as a background job (ALV creates spool an WRITEs create spool).

However when I run the report in background having locked one of the materials in another session, the WRITE spool isn't generated when run in background (only the ALV spool), but it fine when run in dialog (ALV Shown followed by WRITE list). I have debugged the program, but there is no difference in the program flow.

Anyone knows the reason? and even better how to fix?

Thanks

BR Poul Steen Hansen

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers