Application Development and Automation 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: 
Read only

Uploading Material Long Text (header)

Former Member
0 Likes
501

Hi,

We are planning to upload material long text data (header) using CREATE_TEXT. My question is, does it have a limitation in terms of number of lines or characters?

We plan to load at least 2000 characters. Please let me know if this is doable in the material long text. thank you.

Hi,

We are planning to upload material long text data (header) using CREATE_TEXT. My question is, does it have a limitation in terms of number of lines or characters?

We plan to load at least 2000 characters. Please let me know if this is doable in the material long text. thank you.

3 REPLIES 3
Read only

Former Member
0 Likes
464

hi,

I did that longtext uploading.. what i found is there is a limitation in characters per line i.e(72 per line) but there is no limitations in lines..

Pls do that and reply.. Let me know about that..

thank u,

Read only

Former Member
0 Likes
464

Hi denz,

Regards,

Vvieks

Read only

Former Member
0 Likes
464

Hi,

Use the function module 'READ_TEXT' as shown below.

call function 'READ_TEXT'

exporting

client = sy-mandt

id = p_id1

language = p_lang1

name = p_name

object = p_object1

  • ARCHIVE_HANDLE = 0

  • LOCAL_CAT = ' '

  • IMPORTING

  • HEADER =

tables

lines = p_line1

  • 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.

Thanks,

Khushboo.