Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

help for read_text

hi

i have a urgent requirement

iam using read_text FM in my report to print text in my sapscript but iam geting problem regarding TDNAME

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT = SY-MANDT

id = 'A01'

language = 'E'

name = TDNAME

object = 'EKPO'

tables

lines = linesx

EXCEPTIONS

ID = 1

LANGUAGE = 2

NAME = 3

NOT_FOUND = 4

OBJECT = 5

REFERENCE_CHECK = 6

WRONG_ACCESS_TO_ARCHIVE = 7

OTHERS = 8

.

IF sy-subrc <> 0.

ENDIF.

tdname is the combination of RFQ no and ITEM no EX 6000000501

+ 0010. iam using below code

concatenate ITAB-ebeln ITAB-ebelp into tdname.

but in my sapscript text is getting printed only for one line item i.e 6000000500010

and is repeating same for other line items i.e for 6000000500020 ,6000000500030.

so how to pass this different line items to TDNAME so that text for that prticular line item get printed.

thanks.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question