_RFC_UNIT_ATTRIBUTES Struct Reference
[Background Communication (bgRFC) API]

List of all members.


Detailed Description

If the external program is the sender of the bgRFC unit, this structure is used to set a bunch of special attributes that determine, how a bgRFC Unit will be processed in the backend.

The fields user, client, tCode and program are optional. If left empty, the NW RFC lib will fill them with default values. The fields hostname, sendingDate and sendingTime should not be filled, the lib fills them, when the unit is submitted.

If the external program is the receiver of the bgRFC unit, you can use RfcGetUnitAttributes() to obtain the values that were sent by the backend.

Definition at line 273 of file sapnwrfc.h.


Public Attributes

short kernelTrace
 If != 0, the backend will write kernel traces, while executing this unit.
short satTrace
 If != 0, the backend will write statistic records, while executing this unit.
short unitHistory
 If != 0, the backend will keep a "history" for this unit.
short lock
 Used only for type Q: If != 0, the unit will be written to the queue, but not processed. The unit can then be started manually in the ABAP debugger.
short noCommitCheck
 Per default the backend will check during execution of a unit, whether one of the unit's function modules triggers an explicit or implicit COMMIT WORK. In this case the unit is aborted with an error, because the transactional integrity of this unit cannot be guaranteed. By setting "noCommitCheck" to true (!=0), this behavior can be suppressed, meaning the unit will be executed anyway, even if one of it's function modules "misbehaves" and triggers a COMMIT WORK.
SAP_UC user [12+1]
 Sender User (optional). Default is current operating system User.
SAP_UC client [3+1]
 Sender Client ("Mandant") (optional). Default is "000".
SAP_UC tCode [20+1]
 Sender Transaction Code (optional). Default is "".
SAP_UC program [40+1]
 Sender Program (optional). Default is current executable name.
SAP_UC hostname [40+1]
 Sender hostname. Used only when the external program is server. In the client case the nwrfclib fills this automatically.
RFC_DATE sendingDate
 Sending date in UTC (GMT-0). Used only when the external program is server. In the client case the nwrfclib fills this automatically.
RFC_TIME sendingTime
 Sending time in UTC (GMT-0). Used only when the external program is server. In the client case the nwrfclib fills this automatically.

Member Data Documentation

If != 0, the backend will write kernel traces, while executing this unit.

Definition at line 274 of file sapnwrfc.h.

If != 0, the backend will write statistic records, while executing this unit.

Definition at line 275 of file sapnwrfc.h.

If != 0, the backend will keep a "history" for this unit.

Definition at line 276 of file sapnwrfc.h.

Used only for type Q: If != 0, the unit will be written to the queue, but not processed. The unit can then be started manually in the ABAP debugger.

Definition at line 277 of file sapnwrfc.h.

Per default the backend will check during execution of a unit, whether one of the unit's function modules triggers an explicit or implicit COMMIT WORK. In this case the unit is aborted with an error, because the transactional integrity of this unit cannot be guaranteed. By setting "noCommitCheck" to true (!=0), this behavior can be suppressed, meaning the unit will be executed anyway, even if one of it's function modules "misbehaves" and triggers a COMMIT WORK.

Definition at line 278 of file sapnwrfc.h.

Sender User (optional). Default is current operating system User.

Definition at line 279 of file sapnwrfc.h.

Sender Client ("Mandant") (optional). Default is "000".

Definition at line 280 of file sapnwrfc.h.

Sender Transaction Code (optional). Default is "".

Definition at line 281 of file sapnwrfc.h.

Sender Program (optional). Default is current executable name.

Definition at line 282 of file sapnwrfc.h.

Sender hostname. Used only when the external program is server. In the client case the nwrfclib fills this automatically.

Definition at line 283 of file sapnwrfc.h.

Sending date in UTC (GMT-0). Used only when the external program is server. In the client case the nwrfclib fills this automatically.

Definition at line 284 of file sapnwrfc.h.

Sending time in UTC (GMT-0). Used only when the external program is server. In the client case the nwrfclib fills this automatically.

Definition at line 285 of file sapnwrfc.h.


The documentation for this struct was generated from the following file:

Generated on Tue Feb 22 13:18:17 2011 for SAP by  doxygen 1.5.5