• Long texts are not getting displayed in PM transactions
  • The icon to display the long text is deactivated


  • SAP ERP Plant Maintenance (PM)
  • SAP SAP ERP Customer Service (CS)
  • SAP R/3
  • SAP R/3 Enterprise
  • SAP ERP Central Component
  • SAP Enhancement package for SAP ERP
  • SAP Enhancement package for SAP ERP, version for SAP HANA
  • SAP S/4HANA, on-premise

Reproducing the Issue

  1. Create a long text with function module SAVE_TEXT for a PM object:
    • Orders/operations/components
    • Confirmations
    • Notifications
    • Maintenance plan
    • Technical objects (equipments, functional locations)
    • Task list
  1. Go to the corresponding transaction and try to display it
  2. The icon “Long text” is not active although the long text exists


SAP functions modules SAVE_TEXT/READ_TEXT only create/read long texts. These functions don’t update the long text indicator in PM transactions.


Long text indicators must be updated. Every object is using its own field

  • Orders : field AUFK-LTEXT
  • Operations : field AFVC-TXTSP = sy-langu
  • Confirmations : field AFRU-TXTSP
  • Notifications : field QMEL-INDTX
  • Notifications tasks : field QMFE-INDTX
  • Notifications activities: QMMA-INDTX
  • Maintenance plan: MPLA-LTKNZ
  • Maintenance item : MPOS-LTKNZ
  • Equipment : EQKT-KZLTX
  • Functional locations : IFLO-KZLTX
  • Task list : PLKO-TXTSP
  • Operation task lists : PLPO-TXTSP
  • Maintenance Order: RESB-LTXSP = sy-langu and RESB-POTX1 = first longtext line

Where possible you should use the corresponding application BAPIs instead of function SAVE_TEXT (for example BAPI_ALM_ORDER_MAINTAIN with import parameter IT_TEXT for order long texts).
If there are no BAPIs available and you are using function SAVE_TEXT, you need to update the long text indicators by a program of your own.