Skip to Content
0
Former Member
Dec 19, 2006 at 04:00 AM

CALL TRANSACTION error during the initial run

27 Views

Hi,

I have a custom program that calls the transaction FOIO (Change Contract) inside. Here's my sample code:

...

CALL TRANSACTION 'FOIO'.

IF sy-subrc = 0.

ENDIF.

...

The problem is, after the CALL TRANSACTION, it no longer goes back to the custom program to perform the other lines of code. It stays on the last screen of FOIO. I am not sure why this is happening. Maybe the transaction has to be initialized first because the succeeding runs are ok. Does anyone have an idea on how to do this?