Skip to Content
0
Jul 02, 2019 at 04:02 PM

How to add a totally new Fragment to SAP Fiori Standard Application ?

272 Views

Hello SAP Coder,

actually Im customize a Fiori Standard Application.

I know how to enhance Fragments, Views and Controllers. I understood that I just replace the original Views/Fragments/Controller with theire extension file in my extension project.

customizing: {
		"sap.ui.Extensions": {
			"root.ProjectExtension.view.ZS4": {
				"extDefaultProductAttributes": {
					"className": "sap.ui.core.Fragment",
					"fragmentName": "root.ProjectExtension.view.S4_extDefaultProductAttributesCustom",
					"type": "XML"
				}
			},
			"root.ProjectExtension.view.ZCustomerContractSelectDialog": {
				"extDefaultProductAttributes": {
					"className": "sap.ui.core.Fragment",
					"fragmentName": "root.ProjectExtension.view.ActivityTypeSelectDialog_extDefaultProductAttributesCustom",
					"type": "XML"
				}
			}
		}
	}

BUT... What happens if I dont have a Fragment/View/Controller to enhance?!
My Problem is, I dont understand how to add a totally new Fragment.


I need a simply ValueHelp Fragment for an input field.

Im happy about every helpfull answer !

Greetings Alex !