Signatures for RFC Communication
For SAP RFC integrations, the following are examples of CALL FUNCTION statements for each communication mode.
Example: LOFTWARE_PRINT_REQUEST
call function
'LOFTWARE_PRINT_REQUEST'
destination
'LOFTWARE'
exporting
LABEL= label_name
PRINTER= device_name
JOBNAME= job_name
QUANTITY= quantity
DUPLICATES= duplicates
importing
tables
LABEL_FIELDS= fields.
exceptions
COMMUNICATION_FAILURE= 1 message msg_text
SYSTEM_FAILURE= 2 message msg_text
OTHERS= 3
Example: LOFTWARE_PRINT_REQUEST_ACK
call function
'LOFTWARE_PRINT_REQUEST_ACK’
destination
'LOFTWARE'
exporting
LABEL= label_name
PRINTER= device_name
JOBNAME= job_name
QUANTITY= quantity
DUPLICATES= duplicates
importing
CONFIRMATION= confirmation_message
tables
LABEL_FIELDS= fields
exceptions
COMMUNICATION_FAILURE= 1 message msg_text
SYSTEM_FAILURE= 2 message msg_text
OTHERS= 3
Example: LOFTWARE_PRINT_REQUEST_CONFIRM
call function
'LOFTWARE_PRINT_REQUEST_CONFIRM'
destination
'LOFTWARE'
exporting
LABEL= label_name
PRINTER= device_name
JOBNAME= job_name
QUANTITY= quantity
DUPLICATES= duplicates
importing
CONFIRMATION= confirmation_message
tables
LABEL_FIELDS= fields
exceptions
COMMUNICATION_FAILURE= 1 message msg_text
SYSTEM_FAILURE= 2 message msg_text
OTHERS= 3