TagERP

Debug Story – BAdI not implemented for appset …

It was started couple days ago. Two of my colleagues reporting issue regarding write back data on a BPC Environment Model. We’ve never have this problem before. The write back engine run smoothly on every model in every situation.

So I start to debug several spots to understand what’s going on.

The error caused by Exception cx_badi_not_implemented which generated by method,
Find BAdI implementation,
GET BADI lo_badi
FILTERS
appset_id = d_appset_id
application_id = d_appl_id
module_id = ds_wb_param-work_status-module_id.

So, my first attempt I try to by pass this procedure by change flag ds_wb_param-execute_badi into abap_false.
But, on the following step there is more validation for this exception.

My second attempt would be checking the the object of lo_badi which reference into BAdI badi_ujr_write_back. There are two implementations using this enhancement spot. I’m guessing since this implementation we need to input appset_id, application_id, & module_id so we get the right implementation.
But the write back we used comes from standard process, it doesn’t make any sense if the implementation doing something wrong with standard process. So I crossed this possibility and start to think another option.

Then I tried to debug deeper.
The next guess would be my third attempt.
I found the same exception showed on method CL_UJV_VALIDATION_MGR -> CHECK_VALIDATION.
Try to dig deeper, I found the table UJV_MODULES which for BPC Validations – Module On/Off Table.
And there is only one record for that model. *AHA

So i googled little bit then found out that TCode UJ_VALIDATION which generate the record for tables UJV_MODULES.

Then I ask permission one of my senior if he still using the validation or not. Then Turning off validation for that model. It works like a charm.
Problem Solved

for further information on how UJ_VALIDATION works or how to use it check:
UJ_VALIDATION

Multi Tenancy in Enterprise Resource Planning Trends

What is Multi Tenancy?

According to Gartner

Multitenancy is a reference to the mode of operation of software where multiple independent instances of one or multiple applications operate in a shared environment.

Single-Tenant vs Multi-Tenant?

> Single Tenant Model – Each customer gets a separate instance of the software which runs on a logically isolated hardware environment.
> Multi-Tenant Model – All the customers are served from the same common software instance and hardware infrastructure.

What’s the difference from today environment?

Quoting from Bill Harmer, Gooddata

In the old days, hosted systems were very common. IBM, CGI, and others allocated servers and provisioned software to run systems for customers–meaning one installation of the binary for each customer. Systems were accessed over dedicated connections, and the “server” industry boomed. Now, the public infrastructure (the Internet) is used to access those same systems. The software, in a lot of cases, is legacy on premise software that is being run in the vendor’s data centers and typically uses a VMWare, Xen or other system-level virtualization to manage the deployments. These 20-year-old hosted-style deployments are not only in use today, but are often slapped with the ubiquitous “cloud” moniker.

What does it do with ERP?

with the popularity of salesforce.com, cornerstone on demand, and other multi-tenants. Now we can see the use of multi-tenant everywhere. It’s not all about the trend, it’s the new era of software development where the old definition of ‘Write once and use it everywhere’ change into ‘Write once and use it for everyone’.
Everyone means multiple customer using the same instance of a software, this model would be advantage for the both sides. For Developer we only need to patch the software once for all customer. For customer we don’t need to setup the infrastructure,which means it would save hell of the money for IT implementation.

And for SAP?

You think that SAP are not prepare for this trend? i’ll give you a hint, they are well prepared.
for the last years SAP already acquiring some cloud multi-tenant across the world:
http://www.ariba.com/ -> SD & FI
http://www.successfactors.com/ -> HCM
http://www.workday.com/ -> HR & FI
https://www.concur.com/ -> Travel Expense
http://www.fieldglass.com/ -> Vendor Management Systems (SD)
https://www.hybris.com/en/ -> SD

Those company acquired in the range of 2011-2014.

More over, John Appleby, stated that SAP HANA will support a ‘True Cloud Multi-Tenancy’.

“The Public Cloud version will use database multi-tenancy, which is quasi-multitenant from a cloud perspective. ABAP Code-lines, configuration tables etc. will not be shared yet between customers on one SAP HANA container database. This is expected to come in time, as SAP HANA supports true cloud multi-tenancy.”

With a lot of technology acquired across module by SAP, I think they are pretty serious to join the era of multi-tenant. Although i don’t know how they’re going to integrate all of their ‘New Acquire Product’ into SAP in the future. Either they have a independent module for travel expense, maybe? or they took all of the engine inside and put it into SAP-ABAP-HANA style?
It’s a lot of possibilities what they could do with those technology.
But, according to the history of their acquisition, I strongly believe that they’re going to do the right thing.
For instance, the acquisition of company name Outlooksoft in 2007, which turned out to be SAP BPC nowadays, integrated so well with SAP ecosystem. Now with SAP BPC 10, they have a new look SAPUI5’s style, the program looks more ‘SAPed’. They even create specific BAdI to accommodate the BPC engine so they could integrate logic script – ABAP – package (excel EPM) so well.
You get the idea, right?


So, How strategic is S/4HANA to SAP?

To put this into context, Hasso Plattner, SAP Chairman of the Executive Board, was quoted as saying:

“If this doesn’t work, we’re dead. Dead in the water.”

© 2018 Rijdz

Theme by Anders NorenUp ↑