The answer to your question is ‘NO’. It is not possible to map your complex JSON object (object of objects) to a list <Objects> as it does not make sense.If you want you can have a model or a JSONModel which replicates your object and then you can map it ... Read More
Yes, you can. You can use the available sorter property available on the List. It lets you specify all the required details. For e.g.:<List Items="{ path: '/EmployeeCollection', sorter: { path: 'EmployeeName', descending: true, group: true } }" headerText="Employees" />I have specified ... Read More
WEBI provides you a lot of functions which you can let you perform a wide range of operations ranging from fetching data to doing some complex calculations. You can get the entire list at help.sap.com.For your requirement you can use from the following functions:DocumentOwner()DocumentAuthor()These will not give you directly the ... Read More
I have not tried it but it does not seem feasible. The reason being if you are planning to use JCo library, you will require a native library but that is still not available for Android environment.You can try an alternative for it. You can create a Web Service either ... Read More
The simple answer to your question is NO. Because, this is SAP standard behavior and if you want to restrict the number of columns to be returned then it will require you to change the original source code of SAP implementation.The change will be quite exhaustive and it will also ... Read More
It’s a very basic operation that you do in database. You can try using DateAdd function available and use the date overload of the function. You need to pass one date as negative so in actual the difference is calculatedSELECT DATEADD(d, -[dateTwo], [dateOne]) AS 'Difference in Dates' FROM [TABLE]Here‘d’ refers ... Read More
Basically you need to exploit the beforeSend function of JQuery AJAX to sort out your requirement.Here is a basic code snippet:function AddToHeader(xhr) { var pwd = // get the password; xhr.setRequestHeader("Authorization", "Basic " + btoa(user + ":" + pwd)); } $.ajax({ type: ... Read More
Yes, it is possible to use a view in Business one client and you can use it too. Please find below a sample format that you should be using to query the view in business one environment:SELECT <Column Names> FROM [dbo].[<View Name>]I have done the same and it is working for ... Read More
There are lots of possibilities but a lot depends upon on your exact requirement and needs.One way is that you can go ahead and use Java Connector also known as JCo. JCo is a prevalent option to do similar requirements as of yours. It has a lot of support available ... Read More
You can try and create a URL in your code which you can read from config or XML.Here is a sample code snippet:String uri = // Can read from config or anywhere string odQuery = "?$format=json" var req = WebRequest.Create(uri+"/"+ odQuery); req.Method = "GET"; var streamreader = new StreamReader(stream: request.GetResponse().GetResponseStream()); ... Read More
Even after referencing the correct version of the dll, if you are still getting the error then it means that the runtime for the crystal reports is not properly installed.I think you would have used MSI installer over EXE for the installation of SAP Crystal Reports however it has a ... Read More
You are having one of the most common requirements in the case of the table. You can achieve the end result using formatter function exposed on the cells of a table.Here is a code snippet for your reference which you can alter as per your use case:cells: [ ... Read More
You are correct that in order for the changes done by BAPI to come into effect, you need to call the commit function.It will commit all the changes which are uncommitted not only the last transaction. You can refer below link to know more about BAPI_TRANSACTION_COMMIT and COMMIT WORK:BAPI_TRANSACTION_COMMIT Read More
You just need to use the noDataText property to sort out your requirement.You have two options, either you can change in controller or you can change in the XML.Option 1:Call the setNoDataText method in the init methodthis.byId(“<Your Id>”).setNoDataText(“<Your custom text>”)Option 2:Add the noDataText property in the XML<List noDataText="<Custom text>" /> ... Read More
There are different Function Module that you can use depending on BAdi type- classic or fast kernelYou can try using Function module SXO_IMPL_FOR_BADI_READ. To read the coding of class, try using “CL_ENH_BADI_RUNTIME_FUNCTIONS”You can use “GET_BADI_SHORTTEXT” method to know different BAdi’s types.There is a Function modules SEO* - which can be ... Read More
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more