on 04-28-2022 10:24 AM
i used BAPI_HU_DELETE
V51F_DELETE_HU
V51S_HU_UPDATE_DB
BAPI_HU_CHANGE_HEADER
BAPI_HU_DELETE_FROM_DEL
But I did not find a solution
Hi
The following code should work. Make sure you do commit after deleting. If still error kindly post the return parameter of the fm.
CALL FUNCTION 'BAPI_HU_DELETE'
EXPORTING
hukey = wa_hukey
TABLES
return = it_return. " BAPI_HU_DELETE
IF SY-SUBRC EQ 0.
do commit. <====== important
ENDIF.
Regards,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.