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:
- Create custom fields
- Implement cloud BAdI to consume the CDS view
- Perform configuration steps for data transfer
- Create billing document
- 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:
I_BillingRequestItem
Extend and Integrate Your SAP S/4HANA Cloud
Sample code_How to Consume CDS View I_BillingRequestItem.pdf