public interface JCoBackgroundUnitAttributes
Modifier and Type | Method and Description |
---|---|
String |
getClient()
Returns the SAP client associated with the unit.
|
String |
getHostName()
Returns the sending application server instance (host name).
|
String |
getProgramName()
Returns the program name associated with the unit.
|
String |
getSendingTime()
Returns the sendingTime the time when the associated unit is transmitted.
|
String |
getTransactionCode()
Returns the ABAP transaction associated with the unit.
|
String |
getUserID()
Returns the user ID associated with the unit.
|
boolean |
isCommitCheckOn()
Returns whether a commit check is done in the backend for the associated unit.
|
boolean |
isKernelTraceOn()
Returns whether the backend shall write kernel traces for this unit.
|
boolean |
isUnitHistoryOn()
Returns whether the backend shall keep a history of the associated unit.
|
boolean |
isUnitLocked()
Returns whether the associated unit will be locked.
|
void |
setClient(String client)
Allows setting the SAP client attribute.
|
void |
setCommitCheckOn(boolean checkOn)
Allows adjusting the commit check attribute.
|
void |
setKernelTrace(boolean traceOn)
Allows setting the kernel trace attribute.
|
void |
setLock(boolean lock)
Allows setting the lock attribute.
|
void |
setProgramName(String programName)
Allows setting the program name attribute.
|
void |
setTransactionCode(String transactionCode)
Allows setting the ABAP transaction code.
|
void |
setUnitHistory(boolean historyOn)
Allows setting the unit history attribute.
|
void |
setUser(String userID)
Allows setting the user attribute.
|
void setKernelTrace(boolean traceOn)
traceOn
- Turns on kernel trace if set to true, turns it off otherwiseboolean isKernelTraceOn()
void setUnitHistory(boolean historyOn)
historyOn
- Turns on the unit history if set to true, turns it off otherwiseboolean isUnitHistoryOn()
void setLock(boolean lock)
lock
- Locks the unit if set to true, otherwise nothing special happens.boolean isUnitLocked()
void setCommitCheckOn(boolean checkOn)
COMMIT WORK
.
In this case the unit is aborted with an error, because the transactional
integrity of this unit cannot be guaranteed.
By default, the commit check is turned off. Hence, the behavior mentioned above
is suppressed, meaning the unit will be executed anyway, even if one of its
function modules misbehaves and triggers a COMMIT WORK
.checkOn
- turns on commit if set to true, turns it off, if set to falseboolean isCommitCheckOn()
void setUser(String userID)
userID
- The user to associate with the unit.String getUserID()
void setClient(String client)
client
- The SAP client to associate with the unit.String getClient()
void setProgramName(String programName)
programName
- The program name to associate with the unit.String getProgramName()
void setTransactionCode(String transactionCode)
transactionCode
- the ABAP transaction code.String getTransactionCode()
String getSendingTime()
String getHostName()
Copyright © 2024 SAP. All rights reserved.