Skip to Content

No Spool after a specific error from BAPI


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?


BR Poul Steen Hansen

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers