2008 Sep 22 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.
2008 Sep 22 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.
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.
2008 Sep 22 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.
2008 Sep 22 12:25 PM
Jeg solved the problem with
if SY-CALLD <> 'X'.
find screen.
endif.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |