Skip to Content
Mar 27, 2009 at 03:33 AM

How to Identify program is running in background or Foreground mode?


Hello Experts,

I have developed on Z report and from this report BDC for Transaction CO11 is runnning using CALL TRANSACTION statement.

On Selection screen there is a option for selecting the BDC mode either in Background or Forground or Error mode.

My question is:- how do I recognize this selected BDC mode in the function exit ZXMBCU02.

This exit triggers when transaction CO11 runs.

Because based on the selected BDC mode i have to apply some logic in this exit.

Please suggest.