Search code examples
javasap-basisbapi

BAPI_SYSTEM_MT_GETALERTDATA, call using Java is returning only 10 recent alerts


BAPI_SYSTEM_MT_GETALERTDATA called using Java is returning only 10 recent alerts. I want to find all the alerts for a given range if dates. Please let me know how we can do it.


Solution

  • The number 10 has nothing to do with BAPI_SYSTEM_MT_GETALERTDATA FM. This parameter is called Maximum Number of Alerts Kept, and it is adjusted in CCMS alert monitoring settings, which is S_B6A_52000011 transaction.

    enter image description here

    It seems that you simply have such setting on the remote system and this setting cannot be changed remotely. Alerts beyond 10 are not stored at all.