You can extend the Customer Invoices app according to your business needs for different aspects. For this purpose, the following extensibility options are available:
You can insert custom content that overwrites the default content provided inside the extension points.
Extension points are inserted in the views of delivered standard applications.
To add a customer field to the app, the extensibility entities listed below are available on the different software layers. You have to extend each of these entities according to your specific business needs:
UI |
Back End/ABAP |
|||
---|---|---|---|---|
View |
Extension Point |
Design Time: Gateway Entity |
Design Time: Extension Include (in DDIC Structure) |
Runtime: Superclass/ Method to Be Redefined |
SRA021_SRV/Contact |
SRA021_S_CONTACT_INCL |
Superclass: CL_SRA021_DPC_EXT Method: CONTACTS_GET_ENTITYSET |
||
SRA021_SRV/Customer |
SRA021_S_CUSTOMER_INCL |
Superclass: CL_SRA021_DPC_EXT Method: CUSTOMERS_GET_ENTITYSET |
||
ListItemTemplate.fragment.xml |
extInvoiceListAttributes |
SRA021_SRV/Invoice |
SRA021_S_INVOICE_INCL |
Superclass: CL_SRA021_DPC_EXT Method: INVOICES_GET_ENTITYSET |
SRA021_SRV/Item |
SRA021_S_ITEM_INCL |
Superclass: CL_SRA021_DPC_EXT Method: ITEMS_GET_ENTITYSET |
||
S3.view.xml |
extInvoiceDetails |
SRA021_SRV/SOItem |
SRA021_S_SOITEM_INCL |
Superclass: CL_SRA021_DPC_EXT Method: SOITEMS_GET_ENTITYSET |
extIconTab |
||||
extInvoiceGeneralInfo |
SRA021_SRV/DetailInvoice |
SRA021_S_DETAIL_INVOICE_INCL |
Superclass: CL_SRA021_DPC_EXT Method: DETAILINVOICES_GET_ENTITY |
Business Add-Ins (BAdIs)
The following BAdIs are available for extensibility purposes in Customizing for Sales and Distribution (call the transaction SIMGH to open the node):
BAdI: Extending Customer Invoices (BADI_SRA021_EXTENSIBILITY)
You can use this BAdI to populate custom fields such as for invoice details.
Extension Includes
In addition to the extension entities described above, the following extension includes are available:
DDIC |
Extension Include |
Use |
---|---|---|
SRA021_S_CONTACT_DATA |
SRA021_S_CONTACT_INCL |
Allows you to add fields for contacts |
SRA021_S_CUSTOMER_DATA |
SRA021_S_CUSTOMER_INCL |
Allows you to add fields for customers |
SRA021_S_DETAIL_INVOICE |
SRA021_S_DETAIL_INVOICE_INCL |
Allows you to add fields for invoice details |
SRA021_S_INVOICE |
SRA021_S_INVOICE_INCL |
Allows you to add fields in the master details invoice section |
SRA021_S_ITEM |
SRA021_S_ITEM_INCL |
Allows you to add fields in the item details invoice section |
SRA021_S_SOITEM |
SRA021_S_SOITEM_INCL |
Allows you to add extra fields to the list of sales order numbers |
If there are additional fields available in the OData service, you can display these fields on the UI. For more information, see the extensibility documentation for the respective SAP NetWeaver release on your front-end server at http://help.sap.com/fiori_implementation .
For a general description of the extensibility options and procedures of SAP Fiori apps, see http://help.sap.com/fiori_implementation .