Class BapiException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- com.redwood.scheduler.api.connector.sap.rfc.scripting.RfcException
- 
- com.redwood.scheduler.api.connector.sap.rfc.scripting.BapiException
 
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class BapiException extends RfcException Exception that represents a BAPI error- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description BapiException(String functionName, BapiReturn newBapiReturn, String[] importParams)BapiException(String functionName, BapiReturn newBapiReturn, String[] importParams, Throwable cause)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BapiReturngetBapiReturn()StringgetField()StringgetFunctionModuleName()Get the function module nameStringgetId()StringgetKey()StringgetNumber()String[]getParameters()Get import parameters of the function moduleintgetRow()StringgetSystem()StringgetText()StringgetType()StringgetV1()Get V1StringgetV2()Get V2StringgetV3()Get V3StringgetV4()Get V4String[]getVariables()Get message variables as array- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
BapiExceptionpublic BapiException(String functionName, BapiReturn newBapiReturn, String[] importParams, Throwable cause) - Parameters:
- functionName- Name of the function module that caused this BAPI exception
- newBapiReturn- List of message from SAP table
- importParams- array of import parameters of the function module call. Never null.
- cause- the root cause of this exception
 
 - 
BapiExceptionpublic BapiException(String functionName, BapiReturn newBapiReturn, String[] importParams) - Parameters:
- functionName- Name of the function module that caused this BAPI exception
- newBapiReturn- List of message from SAP table
- importParams- array of import parameters of the function module call. Never null.
 
 
- 
 - 
Method Detail- 
getFunctionModuleNamepublic String getFunctionModuleName() Get the function module name- Returns:
- name of the function module
 
 - 
getIdpublic String getId() 
 - 
getNumberpublic String getNumber() 
 - 
getTextpublic String getText() 
 - 
getTypepublic String getType() 
 - 
getParameterspublic String[] getParameters() Get import parameters of the function module- Returns:
- array with the import parameters of the function module
 
 - 
getV1public String getV1() Get V1- Returns:
- value of the first variable in first message
 
 - 
getV2public String getV2() Get V2- Returns:
- value of the second variable in first message
 
 - 
getV3public String getV3() Get V3- Returns:
- value of the third variable in first message
 
 - 
getV4public String getV4() Get V4- Returns:
- value of the fourth variable in first message
 
 - 
getFieldpublic String getField() 
 - 
getRowpublic int getRow() 
 - 
getSystempublic String getSystem() 
 - 
getVariablespublic String[] getVariables() Get message variables as array- Returns:
- array with message variables in first message
 
 - 
getKeypublic String getKey() 
 - 
getBapiReturnpublic BapiReturn getBapiReturn() 
 
- 
 
-