Sorry for the delay, @Jeremy Maxfield.
Attached is an example to get all characteristics and values for multiple classes, and then do an update.
The key is using the MODE on what it does.

It will handle all class types - just give it the object (material #, equpement #, customer #, etc) and then the table related to that object (like MARA for material, KNA1 for material, EQUI for equipment, etc) and the class(es) and type(s).
The doc is currently here (sept 2023): https://help.precisely.com/r/Automate-Function-Module/20.3/en-US/Automate-Function-Module/Admin-Guide/Automate-Function-Module-Admin-Guide/Specific-use-case-AFM-and-Wrapper-AFMs?tocId=qRREVZ4RSmmefrAI2O_K5A
Please note I created this against my 1909 S4 system in version 20.2.x. This was added in version 20.2, so you'll need to be on 20.2+ to use it.
Hope it's helpful!
Sigrid
------------------------------
Sigrid Kok
Precisely Software Inc.
------------------------------