ComponentFrameworkUtility


Packaged class

Namespace: overcast

The ComponentFrameworkUtility class provides general utility methods for the Overcast Component Framework.

 

Methods

 

throwAuraHandledException(message)

Throw a new AuraHandledException that reports its message in debug logs too.

Signature

static void throwAuraHandledException(String message)

Parameters

message

Type: String

The exception message.

 

bapiReturnHasError(bapiReturn)

Check for errors from BAPIRETURN, BAPIRETURN1, BAPIRET1, BAPIRET2, and BAPIRET2_FIX in the SAP structure.

Signature

static Boolean bapiReturnHasError(List<Object> bapiReturn) {

Parameters

bapiReturn

Type: List<Object>

SAP BAPI RETURN data in real-time scenarios

 

Custom Exceptions