BAPIs might populate the commodity code - I haven't tried the ones Ed mentioned. But Fiori can do the same another way.
So it boils down to choice on approach, availability of the field(s) you want to populate, as well as SAP permissions to use the options. Fiori access (permissions) is not the same as Transaction access or Direct access.
*Precisely Software Inc.
Original Message:
Sent: 06-05-2025 22:17
From: Nart Paksamut
Subject: Update Classifications
Hi Sigrid,
Ed mentioned that he's using Direct '/SAPSLL/API_COMCO_CLS_DISTR and /SAPSLL/API_COMCO_MD_DISTR'. Will this work for updating Commodity Codes and Custom Tariff Numbers in Fiori?
------------------------------
Best Regards,
Nart
Original Message:
Sent: 06-05-2025 10:17
From: Sigrid Kok
Subject: Update Classifications
Hi Nart,
That would be the Fiori automation. You would use the screen you have to search for a material to classify or reclassify, open it and assign/reassign a classification that relates to import/export. I haven't tried Tariffs, but I imagine it would be similar.
It's a super simple recording to create. If you have a Developer Pro license, please give it a try.
Best Regards,
Sigrid
------------------------------
Sigrid Kok
*Precisely Software Inc.
Original Message:
Sent: 06-05-2025 06:27
From: Nart Paksamut
Subject: Update Classifications
Hi Ed,
Are both for updating the Commodity Codes and Custom Tariffs Numbers directly to Fiori?
If yes, do you have an example script/data file?


Example screen

------------------------------
Best Regards,
Nart
Original Message:
Sent: 06-05-2025 06:05
From: Ed Meiners
Subject: Update Classifications
hi Sigrid, I am using basically 2 FM's with Direct.
/SAPSLL/API_COMCO_CLS_DISTR and /SAPSLL/API_COMCO_MD_DISTR
(for the latter we made a Z-version due to text fields if I remember well)
They are working Ok but need a lot of love and tenderness to get it working. Specifically due to date settings...
I am using it for single Create of comm codes, assignment of a comm code to a new material and doing mass (re-)assignments.
I guess with Fiori recording this would be much easier.
------------------------------
Ed Meiners
Lead Consultant MDIM
Wessanen Nederland Holding BV
Amsterdam
Original Message:
Sent: 06-04-2025 10:28
From: Sigrid Kok
Subject: Update Classifications
Hi Nart
I'm confused. You started off asking about class characteristics. Then you asked about commodity code. Now you're asking about approaches to automation in S/4Hana?
Since I'm not really sure what you need, I will answer in general terms.
- Automations in S/4Hana can be done via Transaction, Direct, Fiori or GUI for HTML - they're all different approaches that are available in Studio.
- Commodity code assignments/reassignments are only available in Fiori - that was an SAP decision, presumably to force people to setup Fiori (not that there aren't benefits to Fiori). That field was removed from the Transaction, and likely isn't available via Direct (although I haven't checked.
- Not all functionality in the GUI is available in Fiori apps, and may require either GUI or GUI for HTML automation.
Hope that helps a little. If you can share some specifics of what it is you are after, it may help us help you.
Best Regards,
Sigrid
------------------------------
Sigrid Kok
*Precisely Software Inc.
Original Message:
Sent: 06-04-2025 04:35
From: Nart Paksamut
Subject: Update Classifications
Hi Sigrid,
So, there is no correlation between Fiori, BAPI, and S4 at all?
------------------------------
Best Regards,
Nart
Original Message:
Sent: 06-02-2025 10:11
From: Sigrid Kok
Subject: Update Classifications
Hi Nart,
That is, indeed, different from setting class characteristics, which was pictured in your first post..
Classify product in S/4Hana is only available in Fiori. You should be able to create an automation for Fiori apps using the Fiori option, which is available with a Developer Pro license.

Best Regards,
Sigrid
------------------------------
Sigrid Kok
*Precisely Software Inc.
Original Message:
Sent: 06-02-2025 04:09
From: Nart Paksamut
Subject: Update Classifications
Hi Sigrid,
It's in the Fiori side as per below tiles. I don't think it's linked to Material Master.


Example screen

------------------------------
Best Regards,
Nart
Original Message:
Sent: 04-02-2025 09:28
From: Sigrid Kok
Subject: Update Classifications
Hi Nart
Thanks Ron. This highlights that you can search the community on a topic, as it's likely we've discussed it and posted some options.
There is also an educational webinar in the Precisely University: https://preciselyu.precisely.com/how-to-master-class-characteristics-in-studio
If this doesn't help, we'll need to know what "doesn't work" means, and also what you're trying - scripts/templates (cleanse data as needed before sharing).
Best Regards,
Sigrid
------------------------------
Sigrid Kok
*Precisely Software Inc.
Original Message:
Sent: 04-01-2025 02:50
From: Nart Paksamut
Subject: Update Classifications
Hi,
I want to update Classifications based on Class Type and Attribute per below.

I have tried all 3 types of recording via MM02 but it doesn't work.
------------------------------
Best Regards,
Nart
------------------------------