on 2021 May 17 3:09 PM
Hello all,
Any help would be appreciated!
I am trying to suppress dialog/pop-up after updating SO# using BAPI_SALESORDER_CHANGE but it is displaying dialog message <attached>.
CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
SUPPRESS DIALOG.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = i_vbeln
ORDER_HEADER_IN = order_header
ORDER_HEADER_INX = order_headerx
TABLES
RETURN = t_return
ORDER_ITEM_IN = i_order_item_in
ORDER_ITEM_INX = i_order_item_inx
SCHEDULE_LINES = i_order_sch_in
SCHEDULE_LINESX = i_order_sch_inx
EXTENSIONIN = i_extension_in.
Request clarification before answering.
Hello,
I had set "sy-batch = 'X' and sy-binpt = 'X' ", now it is avoiding to display the pop-up which has attached earlier.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This solution of changing System Fields is not recommended by SAP.
Instead, as said by all other people in this thread, fix your custom development which is called by the BAPI, it should not display a dialog.
Check if the pop-up comes from
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check SAP-Notes on the BAPI, there are several Notes regarding code-corrections for Dialog / Popup related issues ...
Also there could be some Custom coding interfering (as mentioned by others), check through Debugging ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
21 | |
8 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.