Skip to main content

SAP

SAP: Best practice for SAP message output in non-SAP-GUI contexts

Submitted by Stefan Barsuhn on

Imagine you see an error message in WebUI or in some other interface. You manage to identify the message class and number, go to SE91, do a Where-used and find - nothing. The reason is that either Where-used was not updated correctly or (most likely) somebody did not both to use the message command to output the message but just hardcoded the message ID, number and type.

Tags

SAP: Refresh BAPI Buffers with BAPI_TRANSACTION_COMMIT

Submitted by Stefan Barsuhn on

When you're communicating with an external SAP system, you should use the released BAPIs if you can.

I don't use RFCs and BAPIs that often, so one thing that struck me today was that BAPIs don't refresh their buffer when you call them.

My expectation was: BAPIs are for external calls, so they should make sure you always get the most-up-to-date data and handle the buffer themselves.

I was wrong.

BAPIs will default to accessing the buffer, which makes sense performance-wise.

Tags

C4C: Reusing COD_SALESORDER_EC.EC.uicomponent (Customer's Related Sales Orders)

Submitted by Stefan Barsuhn on

In case you were looking to include a new tab in a business object that displays related sales orders for a customer, you might have stumbled across the standard screen /BYD_COD/SalesOnDemand/SalesOrder/UI/COD_SALESORDER_EC.EC.uicomponent.

The problem with this screen was that the "RequestFireOnInitialization" flag was set to false - the standard would fire the inport from the customer screen, so didn't need this setting.

I've raised an incident regarding this and with the latest C4C hotfix (1911.03) SAP have set the above mentioned flag to true.

Tags

C4C: Re-Enable HTML5 client

Submitted by Stefan Barsuhn on

Most C4C users are certainly aware that SAP has switched off HTML5 with the 1911 release and that it is - according to SAP - "technically impossible" to re-enable HTML5 from 1911 onwards.

I did have some doubts if a) that is really true (it's "only" a frontend) or if that was just to encourage customers to switch to Fiori (which they should - takes some getting used to, but I've come to like it better) and b) if it is a good idea to make it technically impossible to switch back as they will have certainly forgotten some features.

Tags