SAP Job log reports warning message, so the spool output is not included in the job log:
Job log IS0000012390563900S000000002U000006371.2370973
================= BEGINNING OF SPOOL LIST ==================
[step 1] ---------------------------
[step 1] |Data statistics|Number of|
[step 1] |-------------------------|
[step 1] |Records passed | 1.327|
[step 1] ---------------------------
==================== END OF SPOOL LIST =====================
{}{} Warning: Memory error while retrieving the spool list {}{}=== WW84610101 : NORMAL END ===
{}!**{_}
We enabled traces 0,SAPMGR,RFC,CONV and set RFC trace to 3, those are the error messages issued in the logs:
Log:
| 2023-06-27 08:43:48 |INFO |X|SAP|pid=11436.10456| manage_sap_return_codes | Invoking [BAPI_XBP_JOB_SPOOLLIST_READ_20] function returns RFC_OK
| 2023-06-27 08:43:48 |INFO |X|SAP|pid=11436.10456| uxsap_bapi_job_spoolist_r | Building table list...
| 2023-06-27 08:43:48 |INFO |X|SAP|pid=11436.10456| uxsap_bapi_job_spoolist_r | Number of lines inside table SPOOL_LIST: [1424]
| 2023-06-27 08:43:48 |INFO |X|SAP|pid=11436.10456| u_RfcSAPUCToUTF8 | Conversion OK for [---------------------------]
| 2023-06-27 08:43:48 |INFO |X|SAP|pid=11436.10456| u_RfcSAPUCToUTF8 | Conversion OK for [|Data statistics|Number of|]
| 2023-06-27 08:43:48 |INFO |X|SAP|pid=11436.10456| u_RfcSAPUCToUTF8 | Conversion OK for [|-------------------------|]
| 2023-06-27 08:43:48 |INFO |X|SAP|pid=11436.10456| u_RfcSAPUCToUTF8 | Conversion OK for [|Records passed | 1.327|]
| 2023-06-27 08:43:48 |INFO |X|SAP|pid=11436.10456| u_RfcSAPUCToUTF8 | Conversion OK for [---------------------------]
| 2023-06-27 08:43:48 |ERROR|X|SAP|pid=11436.10456| uxsap_sap_to_mgr | Error while trying get LINE value
| 2023-06-27 08:43:48 |ERROR|X|SAP|pid=11436.10456| uxsap_build_joblog | Unable to get spool from step 1
Trace: Row 5 where the buffer stops being written to the job log, contains 667 characters (hyphen):
FieldName: LINE Value: -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
RFC log: we can see that the buffer length=255 is probably too small to handle the 667 characters so it returns message RFC_BUFFER_TOO_SMALL:
023-06-27 08:43:48.056486 [10456] >> RfcMoveTo
Moving to row 5. Size is 1424
2023-06-27 08:43:48.056539 [10456] << RfcMoveTo returned RFC_OK
2023-06-27 08:43:48.056557 [10456] >> RfcGetCurrentRow
Current row at 5
2023-06-27 08:43:48.056587 [10456] << RfcGetCurrentRow returned RFC_OK
2023-06-27 08:43:48.056612 [10456] >> RfcGetChars
RfcGetChars(0000000022D70298, "LINE", buf=000000002F307A90, buf len=255, errorInfo=0000000000000000)
2023-06-27 08:43:48.056713 [10456] << RfcGetChars returned RFC_BUFFER_TOO_SMALL
Release : 6.10, 7.x
Component: Automic Dollar Universe
The SAP job log buffer is not aligned to the new size
Solution:
The issue has been confirmed and a product enhancement was raised by our Dev team.
A fix will be provided in a future version.
Product Enhancement ID: PMDU-3226