Hi Matt,
Would agree with Jan. Given the characteristic name, which is actually the language specific description of the characteristic, I would use a BAPI. It leverages the characteristic field name.
The BAPI Jan mentioned would work. If you're on a newer version of the Winshuttle Function Module, 20+, you can also use a new remote-enabled function module that is part of it: /WINSHTLQ/TRN_MT_CLASIFICATION
Overall characteristic options were covered in this Wuginar:
https://www.winshuttle.com/assets/webinar-how-to-automate-class-characteristics-in-studio/ to both extract and load characteristics, and it included the new Function Module. /WINSHTLQ/TRN_MT_CLASIFICATION
Best Regards,
Sigrid
------------------------------
Sigrid Kok
PSE | Winshuttle NA
------------------------------
Original Message:
Sent: 11-17-2021 16:14
From: Matt Dunlap
Subject: Extending materials to populate classification and characteristics/descriptions
Hello,
I am trying to create a script to upload class and characteristics into existing materials. I am running into an issue where I search for the characteristic and there are multiple search results besides the one I need. For example, I need the characteristic "TYPE" but we also have a characteristic called "MOUNT TYPE" that is returned from the search in SAP. I know we can use the IF FIRST function but that will only work if the desired result is first on the list. Does anyone know of a work around for this?
Much appreciated.
Matt
------------------------------
Matt Dunlap | Data Steward
Dairy Farmers of America, Inc. | 8168636217
------------------------------