Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to fetch text from EINE using READ_TEXT?

walkerist
Participant
0 Kudos
583

Hi, I was trying to fetch this text using READ_TEXT. Any tips? THanks

2 REPLIES 2

BaerbelWinkler
Active Contributor
327

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

BaerbelWinkler
Active Contributor
0 Kudos
327

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