Service Invoice Check
Purpose
If you offer services in your leases in addition to physical objects, you have to make sure that you post and pay only those service invoices that are covered by your customer's lease. In the case of invoices for services that are not covered by the lease, you either bill the customer or, in the case of errors, file an objection with the invoicing party.
Because the service invoices are received in SAPERP (agency business) but the leases are stored in SAPCustomer Relationship Management (SAP CRM), the two systems must exchange this data. To do this, you use SAP NetWeaver Exchange Infrastructure .
Prerequisites
-
You have entered the basic settings in SAP NetWeaver Exchange Infrastructure . For more information, see SAP Help Portal at
-
To connect SAP CRM and SAP NetWeaver Exchange Infrastructure , you have created a site with the type External Interfaces for XI in the middleware for SAP CRM. To enable communication between the two systems, you have created a subscription for the site with the type All Business Transactions .
For more information, see Customizing for SAP CRM under
-
You have assigned the BDoc type and the interface CRMXIF_SERV_CONF_NOTIF_SAVE to the site.
For more information, see Customizing for SAP CRM under
Process Flow
The figure below illustrates the components and actions involved:
To enable you to perform the invoice check, we provide XI content with the following interface and mapping objects:
-
Send invoice data to be checked (SAPERP)
The system performs this check if an invoice relates to a previously planned service, that is, if the invoice has a service order number. SAP ERP transfers the service order number and the object reference, for example the license plate number, to SAPCRM.
Interface in Software ComponentEA-APPLEA-APPL 603 or Higher: Message interface
InvoiceDataToCheck_Out (synchronous, outbound)
Namespace
http://sap.com/xi/AB/FS/VP
Message type (request)
InvoiceData
Message type (response)
True
Fault message type
StandardMessageFault
-
Receive invoice data to be checked (SAPCRM)
SAPCRM receives the service order number from the agency business in SAPERP. The system checks whether the service order number exists with the object reference in SAPCRM.
-
If this check is successful, the system can perform further invoice checks.
-
If this check is not successful, the system displays an error message. You must correct your entries for in the invoice in the agency business.
Interface in Software ComponentSAP BBPCRMSAP CRM ABAP 7.0: Message interface
InvoiceDataToCheck (synchronous, inbound)
Namespace
http://sap.com/xi/CRM/FS
Message type (request)
InvoiceData
Message type (response)
True
Fault message type
StandardMessageFault (http://sap.com/xi/CRM)
-
-
Send invoice information (SAPERP)
If you enter service invoices in a settlement request list in SAPERP and save this data, the system transfers the invoice data to SAPCRM to create a service confirmation for each single invoice.
Interface in Software ComponentEA-APPLEA-APPL 603 or Higher: Message interface
InvoiceInformation_Out (asynchronous, outbound)
Namespace
http://sap.com/xi/AB/FS/VP
Message type
InvoiceInformation
-
Receive invoice information (SAPCRM)
In SAPCRM, the system uses the invoice data from agency business to create a service confirmation.
The system searches for a service order and for the lease for the service confirmation and checks whether these correspond to the service confirmation.
Interface in Software ComponentSAP BBPCRMSAP CRM ABAP 7.0: Message interface
InvoiceInformation_In (asynchronous, inbound)
Namespace
http://sap.com/xi/CRM/FS
Message type
InvoiceInformation
Fault message type
StandardMessageFault (http://sap.com/xi/CRM)
-
Send service confirmation notification (SAPCRM)
When the service confirmation has been created and compared with the documents in SAPCRM, SAPCRM transfers the notification that the service confirmation has been created to SAPERP.
Interface in Software ComponentSAP BBPCRMSAP CRM ABAP 7.0: Message interface
ServiceConfirmationNotification_Out (asynchronous, outbound)
Namespace
http://sap.com/xi/CRM/FS
Message type
ServiceConfirmationNotification
-
Receive service confirmation notification (SAPERP)
If the check in SAPCRM is successful, the system releases the invoice item in the settlement request list. If the check is not successful, the invoice item remains open in the settlement request list and you must postprocess this manually.
Interface in Software ComponentEA-APPLEA-APPL 603 or Higher: Message interface
ServiceConfirmationNotification_In (asynchronous, inbound)
Namespace
http://sap.com/xi/AB/FS/VP
Message type
ServiceConfirmationNotification
Fault message type
StandardMessageFault
More Information
For more information, see Checking of Service Invoices .

