Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Read only

Specification delete from EHS

former_member375795
Participant
0 Likes
866

Hi ,

I want to delete specification please help me out from this problem .

I try Function module  BAPI_BUS1077_DELETE and class CL_EHCSM_SPC_ACCESS

1 REPLY 1
Read only

Former Member
0 Likes
650

Hi Alok,

BAPI_BUS1077_DELETE should delete the specification. In EH&S, when you delete the specification manually in CG02 or using the above BAPI in ABAP program, the specification is just marked for deletion (ESTRH-DELFLG).


Hope you are using BAPI_TRANSACTION_COMMIT after BAPI_BUS1077_DELETE. Otherwise, the deletion will not work. If you are still getting error, please check RETURN table parameter of BAPI_BUS1077_DELETE. It will list down if there is any error while deleting the specification.


Regards,


Kannan Veerapandian.