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: 

Long Text Field in Production Order

Former Member
0 Kudos

Hi

Can Any One Tel about the field name of long text in Production Order

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi.

You call read/write this field with FM REAd_TEXT of WRITE_TEXT, check this example:ù

ztdline TYPE tline OCCURS 0 WITH HEADER LINE,

CALL FUNCTION 'READ_TEXT'

EXPORTING

client = sy-mandt

id = 'F01'

language = 'I'

name = ekko-ebeln

object = 'EKKO'

TABLES

lines = ztdline

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.

the table ztdline have the long text.

1 REPLY 1

Former Member
0 Kudos

Hi.

You call read/write this field with FM REAd_TEXT of WRITE_TEXT, check this example:ù

ztdline TYPE tline OCCURS 0 WITH HEADER LINE,

CALL FUNCTION 'READ_TEXT'

EXPORTING

client = sy-mandt

id = 'F01'

language = 'I'

name = ekko-ebeln

object = 'EKKO'

TABLES

lines = ztdline

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.

the table ztdline have the long text.