SAP Knowledge Base Article - Public

3831008 - Service Orders Limited to 1000 Records in C4C Premises

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

  1. Go to Utilities > Premise.
  2. Search for a premise using the premise number.
  3. 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

  1. Implement BADI COD_UTILTITIES_SRV_ORD_GET_BADI.
  2. In method ADJUST_BASIC_SO_SEARCH_PARAM, set cs_display_parameters-pagelength to the required maximum number of hits (greater than 1000 as needed).
  3. Activate and transport the BADI implementation as per your development lifecycle.
  4. 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

Product

SAP Cloud for Customer core applications all versions