09-22-2008 7:17 AM
Hi,
We are using BAPI_SALESORDER_CREATEFROMDATA2 and are used the IDOC version.
The problem is that for the online transaction the user want to have a popup, and we do not want it for the idoc processing.
Is there a way to test, if we are processing an idoc so we can skip the popup?
Regards Daniel.
09-22-2008 10:13 AM
if the Popup is Designed by you then you can use SY-BATCH and SY-BINPUT parameters and you can avoid the popup.
if sy-batch = 'X' or sy-binput = 'X'.
"Block popup...
else.
"Show poup here
endif.
09-22-2008 10:13 AM
if the Popup is Designed by you then you can use SY-BATCH and SY-BINPUT parameters and you can avoid the popup.
if sy-batch = 'X' or sy-binput = 'X'.
"Block popup...
else.
"Show poup here
endif.
09-22-2008 12:25 PM
Jeg solved the problem with
if SY-CALLD <> 'X'.
find screen.
endif.