Tuesday, August 30, 2016

maximum size of requests for one LUW has been reached

Many architects and developers don't know that the tRFC supports only one call of a particular function module per LUW.

When a function module is called multiple times in a LUW, the call would not return an error, but the SM58 will show that the call has failed.

If it is nesseccary to call a function module multiple times within one LUW, the additon"AS SEPARATE UNIT" can be used to avoid failure.

call function '...'
  in background task
  destination iv_rfcdest
  as separate unit
  ...



No comments:

Post a Comment

SAP ABAP: Determine Timezone for Plant

    DATA:       lt_tzone TYPE STANDARD TABLE OF tznzone WITH DEFAULT KEY,       l_tzone  TYPE tznzone.     " get time zone for plant   ...