Could someone give me an example of how you are calling the RFC used by the RFC adapter.....I've tried this but get an error:
CALL FUNCTION 'Z_XI_FILE_UPLOAD'
DESTINATION 'XIRFCCONNECTION'
IMPORTING
OUTPUT_FILE = FILE_DATA.
where XIRFCCONNECTION is my SM59 RFC TCP/IP connection which is on the same server as the RFC Z_XI_FILE_UPLOAD.
Thanks
Patrick
Hi,
here is an example, how to call the XI-RFC-Adapter from R/3 asynchronously:
CALL FUNCTION 'Z_SAMPLE'
IN BACKGROUND TASK
DESTINATION 'XIRFCCONNECTION'
EXPORTING
data = data.
Also you need an explicit commit work.
The RFC adapter reads the metadata during startup (XI 3.0: restart the j2ee service SAP XI ADAPTER: RFC)
Best practice:
- create a dummy-function "Z_SAMPLE" on your R/3
- import the rfc-function into I.-Repository
- complete your scenario (mapping, etc.)
- restart the rfc-adapter
regards,
Ralf
Add a comment