Skip to Content
0
Former Member
Dec 18, 2008 at 04:39 PM

RFC 2 File Error in RFC sender: java.lang.ArrayIndexOutOfBoundsException

28 Views

Hello,

I'm sending data asynchronously from R3 to a file through XI, I've got the RFC destination (in R3) and sender RFC channel (in XI) configured and tested. Working fine.

Then in my report I've got the following code that sends 1 string and 4 internal tables 2 to XI:


  CALL FUNCTION 'Z_RFC_ENVIAR_DATOS_PSP'
    IN BACKGROUND TASK DESTINATION 'SAP_2_XI'
    EXPORTING
      RUTA                       = p_ruta
    TABLES
      IT_DEMANDA           = p_gt_demanda
      IT_STOCKS              = lt_stocks
      IT_CUARENTENAS   = lt_cuarent
      IT_COMPRAS           = lt_repartos.

  COMMIT WORK.

I've done that king of connection several times and allways worked but now I've got that error in the communication channel monitoring at RWB:

Error in processing caused by: java.lang.ArrayIndexOutOfBoundsException

And no message is created in XI. What can it be?

Thanks for your help