Skip to Content

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

to capture lengthy text in purchase order ?

Hi,

I am creating a purchase order ....i want to capture Header and

Item text in PO. For that iam using read_text...but the problem

is length of the text in FM : Read_text is of just 132 Characters....if my user enters more than this how to capture those text and print it in PO ?

Former Member
Former Member replied

Hi,

yes it will retrieve total data, Just now i have tested

see example

data:v_lines type standard table of TLINE.

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT = SY-MANDT

id = '0001'

language = sy-langu

name = '0000000172'

object = 'VBBK'

  • ARCHIVE_HANDLE = 0

  • LOCAL_CAT = ' '

  • IMPORTING

  • HEADER =

tables

lines = v_lines

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.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

V_lines contain more than one lines, if you have data particular text node.

Regards

jana

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question