Spend Management Blogs by SAP
Stay current on SAP Ariba for direct and indirect spend, SAP Fieldglass for workforce management, and SAP Concur for travel and expense with blog posts by SAP.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

1. Create a custom JS

   To know on how to create a custom JS follow link: http://scn.sap.com/community/srm/blog/2013/11/06/extensibility-in-sap-srm-user-interface-addon-10

2. Add the code given below in the above custom JS:

sap.ui.jsview("testView", {
getControllerName : function() {
return
"testController";
},
createContent : function(oController) {
//start of creation custom UI

    var oTextView = new sap.ui.commons.TextField({value : "TEST"});
return oTextView;
// end of creation of custom UI

}
// return this.vlayout;
});


sap.ui.controller("testController", {
dataModelKey : null,
onInit : function() {
Appcc.registerView(this);
},

});


3. Change the lines in bold(in the code above) as per need basis


4. Goto SPRO

     SAP Implementation Guide -> SAP SRM User Interface  Add-On ->Extension and Field Controls -> UI Configuration for Administrator


5. Replace the View Path of the View which you want to replace with “testView” (give the View Path of your choice, mention the same while creating the view )

2 Comments