Skip to Content
0
Former Member
Jul 02, 2007 at 03:10 PM

Trouble with CALL TRANSACTION

12 Views

Hi,

I have a problem that seems more like a mystery...

I've created a function that calls a transaction and runs fine.

When I execute the function from a report, it runs fine.

When I execute the function from a method class it runs fine.

But when I execute the function from a BSP, it doesn't run fine at all.

The problem is that the messtab, when the function is executed anywhere, returns all the corresponding entries, but when it's executed from the BSP, it just returns one entry. I've debugged it all and when the CALL TRANSACTION ends, the messtab just contains one entry, so it's not because of the CALL FUNCTION. I copy the calling

CALL TRANSACTION 'ZM08' USING bdcdata

MODE 'N'

UPDATE 'S'

MESSAGES INTO messtab.

I appreciate any helpful input.

Thanks

Carles