Hi,
I have a problem with my RFC Connection (probably a beginner thing).
When trying to send something from an abap report to the rfc, I get this error "Server repository could not create function template for 'Z_RFB_MATERIAL'" in the SM58.
What I did:
1. Wrote a report that calls an rfc destination.
...CALL FUNCTION 'Z_RFB_MATERIAL'
in BACKGROUND TASK
DESTINATION 'SYSTEMC_SENDER'
EXPORTING
MATNR = 'XI_BUCH'
MAKTX = MAKTX
ERSDA = ERSDA
ERNAM = ERNAM
MTART = MTART
MBRSH = MBRSH
MATKL = MATKL
MEINS = MEINS
BRGEW = BRGEW
GEWEI = GEWEI
.
Commit work.
...
2. Created the rfc destination "SYSTEMC_SENDER" in the SM59.
3. Created a Jco RFC Provider "SYSTEMC_SENDER" with the visual admin.
4. Created in XI an Communication Channel with "SYSTEMC_SENDER" as Programm Id.
What I didn't understand till now is, what is the job of the Jco RFC Providers in the Java Stack. When do I need an provider, and when not.
Thank you for your help!