Show TOC

App Extensibility: Create Sales OrdersLocate this document in the navigation structure

Use

You can extend the Create Sales Orders 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.

Front-End and Back-End Extensibility Entities

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

SalesOrderReviewCart.view.xml

extReviewOrderCostDetails

SRA017_SALESORDER_CREATE_SRV/ SalesOrder

SRA017_S_SO_HEADER_INCL

Superclass:

CL_SRA017_DPC_EXT

Method:

CONTACTS_GET_ENTITYSET

S3.view.xml

extSalesOrderDetail

     

SOItemDetail.view.xml

extSOItemTableColumnHeader

     

extSOItemTableColumnValue

   

SRA017_SALESORDER_CREATE_SRV/ Customer

SRA017_S_SO_CUSTOMER_INCL

Superclass:

L_SRA017_DPC_EXT

Method:

CUSTOMERS_GET_ENTITYSET

SalesOrderCartDetails.view.xml

extShippingAndPayment

SRA017_SALESORDER_CREATE_SRV/ Order Item

SRA017_S_SO_ITEM_INCL

Superclass:

CL_SRA017_DPC_EXT

Method:

ORDERITEMS_GET_ENTITYSET

   

SRA017_SALESORDER_CREATE_SRV/ Partner Address

SRA017_S_SO_PARTNERADDR_INCL

Superclass:

CL_SRA017_DPC_EXT

Method:

PARTNERADDRESSES_GET_ENTITYSET

SalesOrderReviewCart.view.xml

extSOCCartTableColumnHeader

SRA017_SALESORDER_CREATE_SRV/ Product

SRA017_S_SO_PRODUCT_INCL

Superclass:

CL_SRA017_DPC_EXT

Method:

PRODUCTS_GET_ENTITYSET

extSOCCartTableColumnValue

SalesOrderCreatePrice AndAvailabilityCheck.view.xml

extSOCCartTableColumnHeader

extSOCCartTableColumnValue

SalesOrderCreateCart.view.xml

extSOCCartTableColumnHeader

extSOCCartTableColumnValue

ListItemTemplate.view.xml

extSalesOrderListAttributes

   

SRA017_SALESORDER_CREATE_SRV/ Product Attribute

SRA017_S_SO_PRODATTR_INCL

Superclass:

CL_SRA017_DPC_EXT

Method:

PRODUCTATTRIBUTE_GET_ENTITYSET

Further Extensibility Entities

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 Start of the navigation path "Create Sales Order" End of the navigation path node):

  • BAdI: Extending the Sales Order Header (BADI_SRA017_SALESORDER)

    You can use this BAdI to populate custom fields for the sales order header.

  • BAdI: Extending the Sales Order Item (BADI_SRA017_ORDERITEM)

    You can use this BAdI to populate custom fields for sales order items.

Extension Includes

In addition to the extension entities described above, the following extension includes are available:

DDIC

Extension Include

Use

SRA017_S_SO_HEADER

SRA017_S_SO_HEADER_INCL

Allows you to add new fields in the sales order header

SRA017_S_SO_ITEM

SRA017_S_SO_ITEM_INCL

Allows you to add new fields in sales order items

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 Start of the navigation path Extensibility Information for SAP Fiori Next navigation step Extending the UI Layer Next navigation step UI Extensibility Workflow Next navigation step  Next navigation step Checking the SAP-Enabled Extension Options Next navigation step Extension Points End of the navigation path.

More Information

For a general description of the extensibility options and procedures of SAP Fiori apps, see http://help.sap.com/fiori_implementation Start of the navigation path Extensibility Information for SAP Fiori End of the navigation path.