Symptom
Service orders for a premise are not fully retrieved; retrieval is limited to 1000 records.
Environment
- SAP Cloud for Customer
- S/4 HANA ISU
Reproducing the Issue
- Go to Utilities > Premise.
- Search for a premise using the premise number.
- Open the Service Orders tab and observe the number of listed service orders.
Cause
The standard pagination logic in IBAPI_ALM_ORDERHEADER_GETLIST limits the number of processed records to 1000 (EV_LAST_SHOWN_HIT = 1000).
Resolution
- Implement BADI COD_UTILTITIES_SRV_ORD_GET_BADI.
- In method ADJUST_BASIC_SO_SEARCH_PARAM, set cs_display_parameters-pagelength to the required maximum number of hits (greater than 1000 as needed).
- Activate and transport the BADI implementation as per your development lifecycle.
- Re-run the service order retrieval and verify that records beyond 1000 are now returned.
See Also
Keywords
C4C, service orders, BAPI, IBAPI_ALM_ORDERHEADER_GETLIST, pagination limit, EV_LAST_SHOWN_HIT, ST_ORDER_LIST, 1000 records, not fully retrieved, COD_UTILTITIES_SRV_ORD_GET_BADI, ADJUST_BASIC_SO_SEARCH_PARAM, cs_display_parameters-pagelength, S/4HANA integration, utilities, record limit , KBA , IS-U-CS-C4C , Integration C4C - S/4HANA IS-U , LOD-CRM-IND-UTL , Utilities , Problem
SAP Knowledge Base Article - Public