Hi Knavis
In newer versions of Studio, you can map those fields and more likely than not do a lookup

I filtered on object type Material - GRUN is correct.
Note that this method will require you break up the text in up to 72 character lines. So there will be line numbers, as well.
If you have the WFM installed (Winshuttle Function Module), you use that as a way to upload and download long text in one chunk:
https://docs.winshuttle.com/studio-en-12-1-x-online-help-studio-w-connect/12/Record-long-text.htmHope this helps,
Sigrid
------------------------------
Sigrid Kok
PSE | Winshuttle NA
------------------------------
Original Message:
Sent: 02-04-2022 12:55
From: Knavis McGowan
Subject: BAPI for MM02 Add Long Texts - Basic Data Text
Hello,
I have created a BAPI to add Basic Data text in MM02 but I cannot seem to get the value for the MATERIALLONGTEXT - TEXT_NAME field correct. I think I have all other fields correct after researching throughout today. I am attaching my script, please let me know if anyone has any suggestions - I am hoping I am just missing a slight tweak to correct it.
Thanks,
Knavis
------------------------------
Knavis McGowan | Master Data Specialist
ABBOTT RAPID DX INTERNATIONAL LIMITED | 3212771499
------------------------------