SAP NetWeaver RFC SDK 7.50
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
_RFC_UNIT_ATTRIBUTES Struct Reference

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. More...

Public Attributes

short kernelTrace
 If != 0, the backend will write kernel traces, while executing this unit. More...
 
short satTrace
 If != 0, the backend will write statistic records, while executing this unit. More...
 
short unitHistory
 If != 0, the backend will keep a "history" for this unit. More...
 
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. More...
 
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. More...
 
SAP_UC user [12+1]
 Sender User (optional). Default is current operating system User. More...
 
SAP_UC client [3+1]
 Sender Client ("Mandant") (optional). Default is "000". More...
 
SAP_UC tCode [20+1]
 Sender Transaction Code (optional). Default is "". More...
 
SAP_UC program [40+1]
 Sender Program (optional). Default is current executable name. More...
 
SAP_UC hostname [40+1]
 Sender hostname. Used only when the external program is server. In the client case the nwrfclib fills this automatically. More...
 
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. More...
 
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. More...
 

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 RfcGetServerContext() to obtain the values that were sent by the backend.

Definition at line 277 of file sapnwrfc.h.

Member Data Documentation

SAP_UC _RFC_UNIT_ATTRIBUTES::client[3+1]

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

Definition at line 284 of file sapnwrfc.h.

SAP_UC _RFC_UNIT_ATTRIBUTES::hostname[40+1]

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

Definition at line 287 of file sapnwrfc.h.

short _RFC_UNIT_ATTRIBUTES::kernelTrace

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

Definition at line 278 of file sapnwrfc.h.

short _RFC_UNIT_ATTRIBUTES::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.

Definition at line 281 of file sapnwrfc.h.

short _RFC_UNIT_ATTRIBUTES::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.

Definition at line 282 of file sapnwrfc.h.

SAP_UC _RFC_UNIT_ATTRIBUTES::program[40+1]

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

Definition at line 286 of file sapnwrfc.h.

short _RFC_UNIT_ATTRIBUTES::satTrace

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

Definition at line 279 of file sapnwrfc.h.

RFC_DATE _RFC_UNIT_ATTRIBUTES::sendingDate

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 288 of file sapnwrfc.h.

RFC_TIME _RFC_UNIT_ATTRIBUTES::sendingTime

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 289 of file sapnwrfc.h.

SAP_UC _RFC_UNIT_ATTRIBUTES::tCode[20+1]

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

Definition at line 285 of file sapnwrfc.h.

short _RFC_UNIT_ATTRIBUTES::unitHistory

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

Definition at line 280 of file sapnwrfc.h.

SAP_UC _RFC_UNIT_ATTRIBUTES::user[12+1]

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

Definition at line 283 of file sapnwrfc.h.


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