on 12-25-2008 9:32 AM
I am updating Sales Orders by 'BAPI_SALESORDER_CHANGE'.
BAPI works well, but if sale order have any errors, in my program appears window:
Such as when i symply save Sale Order:
Source Code:
ls_order_header_inx-updateflag = 'U'.
ls_order_header_inx-purch_no_c = 'X'.
ls_order_header_in-purch_no_c = l_mseries_n.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = l_vbeln
order_header_in = ls_order_header_in
order_header_inx = ls_order_header_inx
TABLES
return = lt_return
.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
ENDIF.
What can i do? Maybe running update program in background?
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.