XSL Mapping

When executing the operation mapping with my XSL transformation getting the error “Error when parsing an XML document (The markup in the document following the root element must be well-formed.)” Below is my XSL <?xml version=”1.0″ encoding=”UTF-8″?><ns0:stylesheet version=”1.0″ xmlns:ns0=”http://www.w3.org/1999/XSL/Transform” xmlns:wfm=”http://www.avangrid.com/wfm/” xmlns:opt=”http://www.clicksoftware.com/OptionalParameters” xmlns:xsl=”http://schemas.xmlsoap.org/soap/envelope/“><ns0:template match=”/”><ns1:Header><ns2:OptionalParameters xmlns:ns2=”http://www.clicksoftware.com/OptionalParameters“><ns2:CallerIdentity>EAI_SAPGLB</ns2:CallerIdentity><ns2:ErrorOnNonExistingDictionaries>true</ns2:ErrorOnNonExistingDictionaries></ns2:OptionalParameters></ns1:Header><ns1:Body><ns1:copy-of select=”*”/></ns1:Body></ns0:template></ns0:stylesheet> The header has to close before the body tag. provide …

XSL Mapping Read More »

XSL Mapping

When executing the operation mapping with my XSL transformation getting the error “Error when parsing an XML document (The markup in the document following the root element must be well-formed.)” Below is my XSL <?xml version=”1.0″ encoding=”UTF-8″?><ns0:stylesheet version=”1.0″ xmlns:ns0=”http://www.w3.org/1999/XSL/Transform” xmlns:wfm=”http://www.avangrid.com/wfm/” xmlns:opt=”http://www.clicksoftware.com/OptionalParameters” xmlns:xsl=”http://schemas.xmlsoap.org/soap/envelope/“><ns0:template match=”/”><ns1:Header><ns2:OptionalParameters xmlns:ns2=”http://www.clicksoftware.com/OptionalParameters“><ns2:CallerIdentity>EAI_SAPGLB</ns2:CallerIdentity><ns2:ErrorOnNonExistingDictionaries>true</ns2:ErrorOnNonExistingDictionaries></ns2:OptionalParameters></ns1:Header><ns1:Body><ns1:copy-of select=”*”/></ns1:Body></ns0:template></ns0:stylesheet> The header has to close before the body tag. provide …

XSL Mapping Read More »

March Developer Challenge – CloudEvents: Week 2

As we learned last week, CloudEvents is a specification for describing event data in common formats and the goal is to provide interoperability across services, platforms and systems. This week we will expand on what we learnt last week and we will create our first CloudEvent programmatically. Links to March’s developer challenge: Week 1: https://community.sap.com/t5/application-development-discussions/march-developer-challenge-cloudevents-week-1/td-p/13629129 …

March Developer Challenge – CloudEvents: Week 2 Read More »

Add Relations in Operation using ‘BAPI_ALM_ORDER_MAINTAIN’

Hi Experts, My scenario is to add Relationship in operation available in IW32 using bapi – BAPI_ALM_ORDER_MAINTAIN              ls_methods–refnumber = 000000             ls_methods–method = ‘SAVE’.             ls_methods–objectkey = 000004000001.             APPEND ls_methods TO lt_methods.              ls_methods–refnumber = 000001.             ls_methods–objecttype = ‘RELATION’.             ls_methods–method = ‘CREATE’.            ls_methods–objectkey = 00000400000100200000040000010030.             APPEND ls_methods TO lt_methods.              ls_operations–activity = 0030.             APPEND ls_operations TO lt_operations.              ls_operations_up–activity = ‘X’.             APPEND ls_operations_up TO lt_operations_up.              ls_relation–order_predecessor = 000004000001.             ls_relation–operation_predecessor = 0020.             ls_relation–order_successor = 000004000001.             ls_relation–operation_successor = 0030.             ls_relation–relation_type = ‘FS’.             ls_relation–duration_relation_unit = ‘H’.             APPEND ls_relation TO lt_relation. …

Add Relations in Operation using ‘BAPI_ALM_ORDER_MAINTAIN’ Read More »

Error: Unsupported event ‘propertyChange’: v4.ODataModel#attachEvent

Hi all, Trying to attach a function to the method attachPropertyChange on the sap.ui.model.odata.v4.ODataModel onAfterRendering: function () {var oModel = this.getView().getModel(); //based on sap.ui.model.odata.v4.ODataModeloModel.attachPropertyChange(() => console.log(“hello”));} in the console it appears: Has the event `PropertyChange` been deprecated on `sap.ui.model.odata.v4.ODataModel`? Best regards  

Scroll to Top