Show TOC

App Extensibility: Search Form BundlesLocate this document in the navigation structure

Use

You can extend the Search Form Bundles app according to your business needs for different aspects. For this purpose, the following extensibility options are available:

  • Add more filter parameters to the filter area.

    You can add filter parameters to the search bar in addition to the ones provided by the standard implementation.

  • Add more columns to the form bundles result table.

Add More Filter Parameters

To add more filter parameters to the filter area, 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

S1.view.xml

searchBarExtn

Form bundle entity in TRM_SEARCH_FORM_BUNDLES SEGW

DUMMY_FB_SEARCH_RESULT_INCL

Superclass: CL_TRM_SEARCH_FORM_BUN_DPC_EXT

Method: formbundleset_get_entityset

Add More Columns to the Form Bundles Result Table

To add more columns to the form bundles result table, 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

S1.view.xml

searchListCellExtn

Form bundle entity in TRM_SEARCH_FORM_BUNDLES SEGW

DUMMY_FB_SEARCH_RESULT_INCL

Superclass: CL_TRM_SEARCH_FORM_BUN_DPC_EXT

Method: formbundleset_get_entityset

S1.view.xml

searchListColumnExtn

Form bundle entity in TRM_SEARCH_FORM_BUNDLES SEGW

DUMMY_FB_SEARCH_RESULT_INCL

Superclass: CL_TRM_SEARCH_FORM_BUN_DPC_EXT

Method: formbundleset_get_entityset

Further Extensibility Entities

Extension Includes

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

DDIC

Extension Include

Use

FMCA_FB_SEARCH_RESULT

DUMMY_FB_SEARCH_RESULT_INCL

Allows you to add fields to the search result of the form bundles list.

FMCA_FB_BUPA_DETAILS

DUMMY_FB_BUPA_DETAILS_INCL

Allows you to add fields to the taxpayer business card.

FMCA_FB_BUPA_DETAILS_ADD

DUMMY_FB_BUPA_DETAILS_ADD_INCL

Allows you to add fields to the taxpayer address details of the taxpayer business card.

FMCA_FB_BUPA_DETAILS_RELATION

DUMMY_FB_BUPA_DETAILS_REL_INCL

Allows you to add fields to the taxpayer relation details of the taxpayer business card.

FMCA_FB_FORMS

DUMMY_FB_FORMS_INCL

Allows you to add fields to the form entity.

FMCA_FORM_TYPE

DUMMY_FORM_TYPE_INCL

Allows you to add fields to the form type entity.

FMCA_FB_INPUT_CHANNELS

DUMMY_FB_INPUT_CHANNELS_INCL

Allows you to add fields into the form input channels entity of the service.

FMCA_FB_MESSAGES

DUMMY_FB_MESSAGES_INCL

Allows you to add more fields for the messages related to a form bundle.

FMCA_FB_NOTES

DUMMY_FB_NOTES_INCL

Allows you to add more fields to the notes entity that is related to a form bundle.

FMCA_FB_PROCESSOR_DETAILS

DUMMY_FB_PROCESSOR_DETAILS_INC

Allows you to add fields to the processor business card.

FMCA_FB_NOTES_REASON

DUMMY_FB_NOTES_REASON_INCL

Allows you to add to the Reason dropdown list when creating notes.

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.

UI Controller Hooks

To plug in and execute custom code, the following hooks are available in the controller code:

Controller

Hook

Use

S1.controller.js

extHookFilterForFBSearch

Extension of search filters. Allows you to modify the filter used for search on the form bundle.

S1.controller.js

extHookForProcessorImg

Extension of processor pop. This can be used to modify the processor pop.

S2.controller.js

extHookGetProcessorImg

Extension of processor pop. This can be used to modify the processor pop.

If there are additional UI controller hooks available in the controller code, you can add own code. 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 UI Controller Hooks End of the navigation path.

Display of UI Controls

The following UI controls can be hidden on the app UI:

View

Control ID

Use

S1

Ftype

To hide/unhide filter parameters for the form type.

S1

TP_from

To hide/unhide filter parameters for Tax Period From.

S1

TP_to

To hide/unhide filter parameters for Tax Period To.

For more information about hiding UI controls, 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 Hiding UI Controls 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.