Skip to Content
0
Former Member
Sep 05, 2012 at 02:53 PM

Z report doesn't fill the bdcmsgcoll table while CALL TRANSACTION

221 Views

Hi Gurus,

I am performing a CALL TRANSATION on a Z transaction (= which is Z report) and once succeded, the message table is empty (type standard table bdcmsgcoll .)

My question: How can I fill the internal table of type bdcmsgcoll in my Z report ? I've tried to debug of course and tried to look for a FM, but I am still without a clear answer. Everyone is mentioning how to fill internal table bdcdata to launch the CALL TRANSACTION, but no messages could be found to know how to populate (bdcmsgcoll table) it in Z reports while called for background call.

Any clue about this?

Thanks a lot,

Daniel

*** Code extract of the calling transaction which will performed my Z report

(...)

lstr_ctu_params-dismode = 'P'.
lstr_ctu_params-updmode = 'S'.

CALL TRANSACTION 'Z_MY_TRANSACTION'
USING lt_bdcdata
OPTIONS FROM lstr_ctu_params
MESSAGES INTO lt_messtab.

IF sy-subrc <> 0.

(...)