Hi,
Could you explain whats the main purpose of your question? Why you need to approve/active disapprove/disactivate Bom headers and versions?
I got it solved in 2 steps with Excel-Addin. Should also work in Data management with the entities below.
What did work, is to deactivate the BOM header with the following entity.

This is how it looks in the application. The BOM is deactivated, but the BOM Version is still active and approved

Now you need to deactivate the BOM Version by using the following entity.

Now the BOM Version is also not appoved\active

Sidenote
The BOM Entity V3 doesnt work because it seems it is deleting and creating the BOMs itself. That cant work while BOM Versions exist. I guess its either badly implemented or it is meant to use it without any BOM Versions

If you still continue, the following errors occur.

Kind regards, Adis
If this helped, please mark it as "Verified" for others facing the same issue
Keep in mind that it is possible to mark more than one answer as verified