SAP RFC SYSTEM FIELDS



Get Example source ABAP code based on a different SAP table
  



ABAP_RFC - System Fields
RFC initializes the system field sy-subrc is initialized in the calling program or sets it to the value specified in exception handling, as with every function module call. In addition, each time a function module is called remotely, the system fields for messages (sy-msgid , sy-msgno, sy-msgty, and sy-msgv1 through sy-msgv4) are initialized in the calling program. If the statement MESSAGE is used to send a message of the type A, E, or X when a remotely called function module is executed, the classic exception SYSTEM_FAILURE is usually raised in the calling program. When the exception is raised, the system fields for messages of both types of exception handling are filled with the properties of the message.