Wednesday, 2 October 2019

VOFM Copy Routine being ignored!?

I found that using the Modification Assistant meant that the VOFM changes were not registered, but switching it off got the object activated and RV45C601 inserted into the main RV45CNNN program.
Prior to that, I'd been running RV80HGEN and all that jazz, RV45C601 had been created, and had code in it, but because it hadn't been listed / registered / recorded in RV45CNN, it didn't have access to any of the variables and was not called.

Wednesday, 10 July 2019

Android "App Not Installed" using Cordova

Okay, so there's a billion reasons why this might occur...

In my case, I managed to fix it by:

Checking the version of the phone [Settings->About Phone->Android Version] - mine was 5.1.1 i.e. Android Lollipop

Googling which SDKs were valid:

Codename
VersionAPI level/NDK release
Marshmallow6.0API level 23
Lollipop5.1API level 22
Lollipop5.0API level 21
KitKat4.4 - 4.4.4API level 19

So I'm shooting for API 22... 

Changing the app\config.xml


Also updated the version: 



Monday, 28 January 2019

Eclipse Grinding... Part 2

Okay, I've calmed down now...

If you ever actually manage to load the thing : Preferences->General->Startup/ShutDown you can choose which plugins get invoked. I switched ALL these off, and even though this included some SAP related Plugins, I was still able to do everything I needed to. This sped it all up!

Tuesday, 15 January 2019

Eclipse is grinding my gears. Random Rant post, no useful information! :)

It sucks. I try and find merit where I can, try and see the bright side, and this makes for a good life on the whole. However, I'm getting increasingly frustrated with SAP washing their hands of responsibility of maintaining a decent development environment.

Having followed various blogs on the web explaining how to allocate more memory to Eclipse, and switch off all the plugins, I'm still only successfully launching the application about half the time, and then frequently hanging when trying to do mundane tasks like opening a CDS view, or interrogating a package.

I just wish there was an alternative. The way they've Eclipse hooking into the GUI Logon pad to pick up server details for logons was a really neat trick. As a way of developing UI5 applications and then loading on to BSP works nicely...

It's just it'll be working okay for a bit then for some reason I can't quite discern, it'll not load, or load and not work. AAAARRRHRHHGHHHGHGH!!

Wednesday, 5 December 2018

Cloud WebIDE - Grunt


So I merrily built an application in WebIDE, and could test using the Application-Test function... but when trying to deploy, I get “Unable to find local grunt” and “npm ERR! code EINTERGITY” errors.

So the whole point of Grunt is to “minify” the code, which makes it more efficient for the computer / phone to use, simultaneously making the code horrific to read and maintain.

Reversing the “Add Grunt” steps (WebIDE was doing these automatically) in


by removing the Gruntfile.js and package.json files from the app 




means that deployment is done without minification, and deploys in like 2 seconds.

Thursday, 22 November 2018

Cloud... really?

So I go to log on WebIDE this morning and get the following : 

Seriously, what am I meant to do about this? With on-prem, you've got a BASIS team that you can go and bother, a manager to bother if they're getting slow, and your PM / SDM can go and bang some heads together to get things done...

Now, I'm at the mercy of some behemoth organisation, who may or may not have my back in prioritising fixing this. 

One of the selling points of Cloud was that the infrastructure is handled by someone else, but it's hard to swallow that, when I get the above!

Which leads me to another thing... your business doesn't get a say in downtime. I guess with fail-overs etc, your cloud provider can do a good job of maintenance on one box, whilst you're being served by another, so you'd never have any downtime. In the case where this is unavoidable, the BASIS guys would talk to the Business and find an agreeable time to do it. With Cloud, the Business has no say? Doesn't sound that great!

Anyway, fortunately I've got some backend oData services to build, so I can wait for Cloud to be ready, but otherwise, I'm in the position of saying "Sorry Business, I can't work on it today" and there's nothing we can do about it!?

Tuesday, 6 November 2018

FIORI Security gotcha : Protocol cannot be switched to HTTPS: HTTPS is not configured / active

Working on a FIORI development recently, I got flummoxed by the following error, observed when running the Gateway transaction /UI2/FLP to access the launchpad : 


This was aiming for URL :



However, other users were aiming for the following, which worked:


http://<gateway box>:8000/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?sap-client=001&sap-language=EN#Shell-home

Without much explanation... but this is your workaround!