2022 Dec 29 8:47 AM
Hi, I was trying to fetch this text using READ_TEXT. Any tips? THanks
2022 Dec 29 9:07 AM
Hi Wane,
what exactly is the problem? You seem to have all the relevant information to provide the needed values for READ_NEXT, namely TDNAME (Text Name), TDID (Text ID), TDOBJECT (Text object) and Language.
Based on what I see in our system TDNAME seems to be a concatenation of
Number of purchasing info record (INFNR)
Purchasing Organization (EKORG)
Purchasing info record category (ESOKZ)
Hope this helps!
Cheers
Bärbel
2022 Dec 29 10:27 AM
Hi Wane,
based on your follow-up question, I take it that you first need to build the full key for TDNAME?
Depending on what you actually need you might also want to check out FMs READ_MULTIPLE_TEXTS and READ_TEXT_TABLE which allow wild-card searches for long texts. There's more information in OSS-Note 2261311 - Function module for reading multiple SAPscript texts.
Using these relatively new function modules can help with bulk retrieval of long texts and is also more performant than using individual calls to READ_TEXT e.g. within a loop.
Hope this helps!
Cheers
Bärbel