You can consume a Core Data Services (CDS) view to get the data relevant to billing request lines of service contracts. It can help you improve business operations. One of the use cases is to add service contract dates (start/ end date at service contract item level) and settlement dates (settlement start/ end date at billing request line level) to your invoice items so that the financial personnel can easily tell which invoice is for which contract period or for which settlement period. 

The following video takes you through all the necessary steps:

  1. Create custom fields
  2. Implement cloud BAdI to consume the CDS view
  3. Perform configuration steps for data transfer
  4. Create billing document
  5. Check custom field in invoice item

You can watch the video How to Consume CDS View I_BillingRequestItem - Business Case: Adding Service Contract Dates to Invoice Item below.

Related links:


Extend and Integrate Your SAP S/4HANA Cloud

Sample code_How to Consume CDS View I_BillingRequestItem.pdf