Skip to Content
0
Former Member
May 13, 2008 at 02:12 PM

Seeking to fetch thcorrect sales text and comment for a material number

17 Views

Ladys and Gents,

Currently I have the problem to fetch correct sales text and comment text on the data base for a certain material.

For this purpose I’ll can use the CALL FUNCTION 'READ_TEXT' as bellow which works quite good. I just have to call it two time, once for the sales text and next time to fetch the comment text. But first I need to know for which languages a sales text is maintained before I call this function and give the language as an input like ‘E’. I would be very thankful for any comments.

/Kam

PS:

CALL FUNCTION 'READ_TEXT'

EXPORTING

ID = '0001'

LANGUAGE = 'E'

NAME = l_tdname “that contains mat.Number

OBJECT = 'MVKE'

TABLES

LINES = i_sales_text “contains the return text

EXCEPTIONS

ID = 1

LANGUAGE = 2

NAME = 3

NOT_FOUND = 4

OBJECT = 5

REFERENCE_CHECK = 6

WRONG_ACCESS_TO_ARCHIVE = 7

OTHERS = 8.