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: 

How to set long text indicator for Equipment

Former Member
0 Kudos

Hi,

I am trying to update long text for Equipments. So I am using LSMW and direct input program - /SAPDMC/SAP_LSMW_IMPORT_TEXTS

So it is saving data correctly.

But the problem is - it is not setting the Long text exists field (KZLTX) = X

So because of this when you are in display mode - IE03 you canu2019t find long text in display mode.

Can anyone tell me how to set this field value = X

I appreciate your response.

Thanks in advance.

8 REPLIES 8

Former Member
0 Kudos

Hi,

Please confirm whether long text for Description or internal note ?

Regards

Sudheer

0 Kudos

Hi Sudheer,

This is for long text description.

Not internal note.

Thanks.

Former Member
0 Kudos

SAP note: Note 138012 - LSMW: Long texts cannot be displayed

Summary

After the import of long texts, these cannot be read within the corresponding application. Via function module 'READ_TEXT', the texts are found, thus, they are stored correctly in the database.

Other terms

RS0ULTXT, /SAPDMC/SAP_LSMW_IMPORT_TEXTS, RSTXLITF

Reason and Prerequisites

Some applications have a field (for example TXTSP) in the master data which contains the language in which a long text exists or which contains a note telling you whether a long text exists.

This field is not filled by direct input (since this program applies to all applications, and at runtime it is not known which applications have text).

Solution

There are 2 possible solutions:

1. The flag is supplied by a user-defined report after the import.

2. In the field assignments / mapping an update is coded on the respective table; however, this means that the flag is set already during the conversion ==> if the text is not imported later, the flag is set, however, no long text is available.

Fields to be supplied: PRPS-TXTSP

PROJ-TXTSP

AFVC-TXTSP

RC29K-LTXKO (for object lists)

PLKO-TXTSP

COAS-LTEXT (for internal orders)

Material master fields do not contain this flag field.

0 Kudos

Hi,

Long text indicator for Equipment - exists in table - EQKT field - KZLTX.

I think it is only having entry in this table.

Any idea how I can update value to this table?

( SAP note: 138012 - LSMW: Long texts cannot be displayed ) -1. The flag is supplied by a user-defined report after the import.

That means can we update this table EQKT direclty with value X for the field KZLTX?

Pkease let me know if any ideas?

Thanks.

0 Kudos

Yes murali, After import you have to update the field KZLTX through Z-program for the respective equipments.

I tried its working fine.

Thanks.

Sudheer

0 Kudos

Hi Sudheer,

Yes that is correct, If we update to this filed it will work.

But my qyestion how to update to this field? You did direct table update?

and is that ok to do direct table update for this field ?

Thanks

0 Kudos

After Import long text throu lsmw:-

==> Develop one Z-report and take same file as input and

==> Extract equipment naumeber & language key in Z-program

==> then update the field direct into table

Do you want ABAP code?

Otherwiese you can post it to SAP OSS they will come back with SAP path.

Regards

Sudheer

Former Member
0 Kudos

HI,

check latest sap note also: Note 191669 - LSMW: Importing long texts using RSTXLITF

Regards

Sudheer