Learning the Configuration of In-House Repair

Objective

After completing this lesson, you will be able to configure an in-house repair process

Configuration of an In-House Repair Process in SAP S/4HANA

Business Example

Having executed an in-house repair process, you want to learn what is required to set up such a process in SAP S/4HANA.

Overview of Required Settings for an In-House Repair Process

A screenshot is shown of where to find the Customizing documentation for in-house repair in the configuration menu of SAP S/4HANA.

In Customizing, it is possible to access a collection of documentation nodes detailing the required set up for an in-house repair process in SAP S/4HANA. Access the SAP Reference IMG in Customizing (transaction code SPRO) and navigate to SAP Customizing Implementation GuideServiceIn-House Repair.

The following documentation nodes are available:

  • Configure In-House Repair
  • Define Partner Processing
  • Define Text Management
  • Define Actions
  • Define Basic Settings for Transactions
  • Define Process Step Overview for In-House Repair
  • Integrate In-House Repair with Advanced Returns Management

The setup explained here is (partly) based on the information in these documentation nodes.

As a prerequisite, the integration with Controlling and also with other areas of logistics processing in SAP S/4HANA (such as Procurement) needs to be set up.

Note

For more information concerning the configuration of the integration between SAP S/4HANA Service and Controlling, see a previous lesson of this course.

Besides the mentioned integration settings, specific transaction types, item categories, item category determination entries, settings for number ranges, and copying control settings for transaction types are used for in-house repair. They will be discussed first.

Basic Settings for Transactions for In-House Repair

Note

The following video explains some of the most important configuration steps in an in-house repair process (in In-House Repair 2.0):

With SAP S/4HANA 2023 FPS02, a new version of the in-house repair process was introduced. This version is sometimes referred to as "In-House Repair 2.0".

A screenshot is shown of the deprecated transaction types with In-House Repair 2.0: REPA, REPC, REPO, REPQ and REPT.

In older releases, transaction type REPA was used for an in-house repair (with item category REPI). Repair orders were created using transaction type REPO, and repair confirmations using transaction type REPC. All these transaction types (and a few more) have been deprecated since SAP S/4HANA 2023 FPS02.

Note

Items can be added to service (/repair) orders using service order templates. You can add items from templates by choosing Copy from Template.

For this to work correctly, the configuration of the transaction type(s) for the templates, the item categories and item category determination, and all related copying control settings need to be set up correctly.

It is also possible to perform credit checks for the orders that are part of an in-house repair process. This is set up in a similar way as has been described in this course for other types of service documents and processes.

The number range intervals for in-house repair are introduced: CRM_REPAIR (in-house repair), CRM_SERVIC (service/repair order), and CRM_SRV_CF (service/repair confirmation). Diagram showing the relationship between transaction types, number range objects, and internal number ranges for repair and service processes. On the left, blue rectangles represent transaction types: In-House Repair (IHRP), Service/Repair Order (SRVO), and Service/Repair Confirmation (SRVC). Arrows point to corresponding number range objects in purple rectangles: CRM_REPAIR, CRM_SERVIC, and CRM_SRV_CF. Each number range object is paired with an internal number range in another purple rectangle: CRM_REPAIR with 01: 1000000000-1999999999, CRM_SERVIC with 05: 4000000000-4999999999, and CRM_SRV_CF with 03: 5000000000-5999999999.

Number ranges need to be defined and assigned to transaction types IHRP, SRVO, and SRVC (or similar).

In Customizing, navigate to SAP Customizing Implementation GuideServiceTransactionsBasic SettingsDefine Number Ranges and choose IMG - Activity.

Double-click Number Ranges for In-House Repairs to configure the number range interval(s) for the in-house repairs (that is, the repair requests using transaction type IHRP), double-click Number Ranges for Service Transactions to configure the number range interval(s) for the service/repair orders (transaction type SRVO), and double-click Number Ranges for Service Confirmations to configure the number range interval(s) for the repair confirmations (transaction type SRVC).

A screenshot is shown of the process/transaction type and item category mapping to sales document type(s) for the billing document request(s) and billing type(s) for the invoice(s). All this in Customizing for the standard service/repair confirmation (SRVC) and its item categories.

To be able to bill items to customers as part of an in-house repair process, the configuration settings for billing as detailed in unit 3 also apply to in-house repair.

For standard transaction type SRVC (that is, the transaction type that is also used for a repair confirmation), entries have been maintained in SAP S/4HANA for the sales document type to be used for the billing document request (BDR) and for the billing type.

Mapping on item category level between the SAP S/4HANA Service item categories (used in an SRVC document) and the SAP S/4HANA Sales item categories for the BDR is also required.

In Customizing, navigate to SAP Customizing Implementation GuideServiceBasic FunctionsBillingAssign Service Transaction Types to Billing Document Request Types.

Note

In releases < SAP S/4HANA 2023 FPS02, transaction type REPC was used for a repair confirmation. This changed with SAP S/4HANA 2023 FPS02. Since then, the standard transaction type for service confirmations is used (SRVC).

Other Required Configuration Settings

Various profiles are introduced, used during the processing of an in-house repair and its repair object(s): an action profile, a user status profile, and a profile for the process step overview. This is what was used < SAP S/4HANA 2023 FPS02.

Various other configuration settings are required for an in-house repair process. What these settings looked like < SAP S/4HANA release 2023 FPS02, and what these settings look like in a system > SAP S/4HANA release 2023 FPS02 is shown in the figure called Dependencies Between Configuration Settings for In-House Repair < SAP S/4HANA 2023 FPS02 (shown above), and in the figure called Dependencies Between Configuration Settings for In-House Repair >= SAP S/4HANA 2023 FPS02 (shown below).

Various profiles are introduced, used during the processing of an in-house repair and its repair object(s): an action profile, a user status profile, and a profile for the process step overview. This is what is used >= SAP S/4HANA 2023 FPS02.

The figures illustrate examples of some of the dependencies between these settings:

  • SAP Customizing Implementation GuideServiceBasic FunctionsPartner ProcessingDefine Partner Determination Procedure

    Partner determination procedures are assigned to all transaction types used currently and also previously in an in-house repair process (such as IHRP, REPA, REPO, and SRVO). Examples are REPA2021 Org. Data Profile for In-House Repairs, which is assigned to transaction type IHRP (In-House Repair) and also 00000006 SAP Service Header, which is assigned to transaction type SRVO (Service Order).

    In this configuration activity, these partner determination procedures are configured and all the partner functions they contain.

  • SAP Customizing Implementation GuideServiceBasic FunctionsActionsActions in TransactionChange Actions and ConditionsDefine Action Profiles and Actions

    An example of a standard action profile used for in-house repair is profile REPA2002 Repair Object Actions (Item), which is assigned to item category REPI Repair Object (Item), which was used in in-house repair processing < SAP S/4HANA release 2023 FPS02.

    It contains, for example, action definition RETURN_TO_CUSTOMER2 Return to Customer, which calls a Business Add-In (BAdI) using ABAP method REPA_RETURN_TO_CUST that controls the follow-up logic when this action is selected.

    Item category IHRI IHR Item, which is used in in-house repair processing >= SAP S/4HANA release 2023 FPS02, uses a different action profile called REPA2022 Actions for In-House Repair Items.

    Transaction type IHRP In-House Repair has action profile REPA2021 In-House Repair Actions assigned to it, which contains (amongst others) action definition REPA2021_ORDER_CREATE. Via the ABAP method REPA_CREATE_FWPNS you could change the default transaction type used for a created service/repair order for a repair object from SRVO Service Order to another transaction type, if needed.

  • SAP Customizing Implementation GuideServiceBasic FunctionsActionsActions in TransactionChange Actions and ConditionsDefine Conditions

    In this configuration activity, conditions for actions are defined. For example, the schedule condition and the start condition for each action definition (such as START_REPAIR_TAM2 Start Repair) are defined. The start condition is checked before an action is executed and the action is only executed when the start condition has been fulfilled. In this Customizing activity, it is also defined whether, when the schedule condition is met, the action is scheduled automatically.

  • With respect to user status profiles:

    Item category REPI Repair Object (Item) uses a user status profile called REPA2002 Status Repair Object.

    Item category IHRI IHR Item does not use a user status profile anymore. It is still possible to create and use a user status profile for a repair object, but the default way of maintaining and showing repair object status information is now via the system statuses of the involved service/repair order and/or service/repair quotation.

  • For in-house repair processing < SAP S/4HANA release 2023 FPS02, and item category REPI Repair Object (Item), the following settings are relevant: SAP Customizing Implementation GuideServiceTransactionsBasic SettingsStatus ManagementOptimize User Status for Queries

    This is where Life Cycle User Status values (such as R020 Precheck: Decision Pending and R050 Repair) are defined and assigned to actual user statuses of a status profile (such as E0003 Precheck: Decision Pending and E0007 Repair, both part of user status profile REPA2002 Repair Object Status).

    The status profile itself is assigned to the item category used in (for example) the in-house repair document. An example is user status profile REPA2002 Repair Object Status, which is assigned to item category REPI (Repair Object (Item).

A screenshot is shown of a process step overview in an in-house repair.
  • SAP Customizing Implementation GuideServiceTransactionsSettings for In-House RepairAssign Action to SAP Fiori App

    In this configuration activity, you assign action definitions to SAP Fiori apps to make these actions available on screens/user interfaces in particular SAP Fiori apps. You use actions to do the following in in-house repair processing:

    • Create follow-up transactions for in-house repairs and their related repair objects.
    • Change the status of the repair objects.

    Note

    Read the Customizing help documentation for this particular setting for more details and an example of how this can be used.
  • SAP Customizing Implementation GuideServiceTransactionsSettings for In-House RepairDefine Profile for Process Step Overview

    This profile (example: REPA2) is used to configure the overview of all process steps performed for a business transaction item within an in-house repair (transaction type IHRP). Such an overview is shown in various SAP Fiori apps, such as Manage In-House Repairs (see the figure called Example of a Process Step Overview).

    Examples of process steps used in such an overview are Precheck, Repair, and/or Completed.

    Note

    In the past (< SAP S/4HANA release 2023 FPS02, see for example profile REPA), each process step was assigned the respective Life Cycle User Status value(s) (such as R050 Repair) that a business transaction item can have within the business process. Now (> SAP S/4HANA release 2023 FPS02) this is no longer set up in this way (see for example profile REPA2).

    In the process step overview, the process steps are displayed graphically in the sort sequence as defined here in Customizing. The SAPUI5 icon that is displayed with the description of the process step, can also be selected.

    A profile for such a process step overview is assigned to the transaction type used for the in-house repair (such as IHRP).

  • Deprecated/deleted objects starting from SAP S/4HANA release 2023 FPS02:

    • Deprecated apps: Perform Prechecks, Process Repair Quotations, Plan Repairs, Perform Repairs, Prepare for Billing. Recommended successor apps: Manage Repair Objects and Release for Billing.
    • ​Deleted business roles: Customer Service Manager - In-House, Customer Service Representative - In-House Repair, and Service Technician - In-House Repair. ​Recommended successor business role: Service Manager.
  • You can specify settings for returns orders when created as a follow-up document: SAP Customizing Implementation GuideServiceTransactionsSettings for In-House RepairSpecify Settings for Returns Orders as Follow-Up. Here you can see that (for example) for an IHRP in-house repair, the sales document type used for the returns order is ZCAR (where this was RE2 for a REPA in-house repair).
  • You can specify the transaction type that needs to be used when creating an in-house repair out of a service order or a service quotation:SAP Customizing Implementation GuideServiceTransactionsSettings for In-House RepairSpecify Transaction Types for IHR as Service Order/Quotation Follow-Up. Here you can see that an IHRP in-house repair is created when creating the in-house repair out of an SRVO service order or SRVQ service quotation.

Integration of In-House Repair with Advanced Returns Management

You can use Advanced Returns Management (ARM) for customer returns to run the logistics process for repair objects that are sent to your plant by the customers for a repair.

The Advanced Returns Management process can be configured completely under Sales and Distribution. Use the following menu path: SAP Customizing Implementation GuideSales and DistributionSalesAdvanced Returns Management.

You must perform the following configuration activities:

  • In the Activate and Rename Follow-Up Activities configuration activity, define in-house repairs as a logistical follow-up activity that is used in Advanced Returns Management for customer returns.
  • As mentioned (above) before, in Customizing for Service, under Transactions and then Settings for In-House Repair, using the Specify Settings for Returns Orders as Follow-Up Activity configuration activity, you define the sales document type that needs to be used to create a follow-up sales document for a service transaction.

You use outbound deliveries to send the repair objects back to the customer if a returns order exists, and the repair object has been received by the repair center. The following configuration is related to this outbound delivery:

  • Set up the configuration for Logistics Execution under ShippingDeliveriesDefine Delivery Types for returns deliveries.
  • In the Define Action Profiles and Actions configuration activity in Customizing for Service, under Basic FunctionsActionsActions in TransactionChange Actions and Conditions, define the action definition that you use to create outbound deliveries.

    Check for example action definition REPA2021_OUTBOUND_DEL_CREATE (Create Outbound Delivery), that is part of action profile REPA2021 (In-House Repair Actions) which has been assigned to transaction type IHRP (In-House Repair).

Note

See, for example, the learning journey/course S46800 Configuring Cross-Application Processes in SAP S/4HANA Sales and Procurement for more details about advanced returns management (ARM) in SAP S/4HANA.

Summary

  • With SAP S/4HANA 2023 FPS02, a new version of the in-house repair process was introduced. This version is sometimes referred to as "In-House Repair 2.0". In a standard SAP S/4HANA system of release 2023 FPS02 or newer, the in-house repair itself is created using transaction type IHRP (with item category IHRI). This is the document to which one or more repair objects are assigned. An in-house repair order uses transaction type SRVO and an in-house repair confirmation is created using transaction type SRVC.
  • For an in-house repair (transaction type IHRP (In-House Repair)), standard item category IHRI (IHR Item) is derived for a repair object (item). A service order that acts as a repair order and a service confirmation that acts as a repair confirmation use standard item categories, such as SRVP Service Item for a service item in a service/repair order and SVCM Service Part for a service part in a service/repair confirmation.
  • Some important configuration settings for in-house repair processing: partner determination procedures are assigned to all transaction types used currently and also previously in an in-house repair process. Item category IHRI IHR Item uses an action profile called REPA2022 Actions for In-House Repair Items. Transaction type IHRP In-House Repair has action profile REPA2021 In-House Repair Actions assigned to it. Item category IHRI IHR Item does not use a user status profile anymore. It is still possible to create and use a user status profile for a repair object, but the default way of maintaining and showing repair object status information is now via the system statuses of the involved service/repair order and/or service/repair quotation. A profile (example: REPA2) is used to configure the overview of all process steps performed for a business transaction item within an in-house repair (transaction type IHRP). And as a last example: you can specify the transaction type that needs to be used when creating an in-house repair out of a service order or a service quotation.
  • You can use Advanced Returns Management (ARM) for customer returns to run the logistics process for repair objects that are sent to your plant by the customers for a repair.

Configure an In-House Repair Process

Part 1 of 2 of the exercise/simulation:

Part 2 of 2 of the exercise/simulation:

Log in to track your progress & complete quizzes