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: 

IW23 - long text icon not appearing

Former Member
0 Kudos

Hi Experts,

I am using following to create tasks for notifications:

BAPI_ALM_NOTIF_DATA_ADD, BAPI_ALM_NOTIF_SAVE, BAPI_TRANSACTION_COMMIT.

I am then using read_text and save_text to append long text for these tasks. The text is getting appended and I see it in IW22(change mode), but the long text icon is not appearing in IW23(display mode).

I searched for it and tried commit_text, commit work, bapi_transaction_commit after save_text, but nothing worked.

Regards,

Abhinav

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor

There is a 'long text indicator' flag in the main table of many maintenance objects (orders, notification, etc.) a FM like SAVE_TEXT wont set this flag, so IW23, IW33 and similar transaction wont display the icon for long text. (ref. 1982719 - Long texts cannot be displayed - Usage of function module SAVE_TEXT)

If possible use the NOTFULLTXT table parameter of the BAPI to set your text. if, for some reason, you actually need the READ_TEXT/SAVE_TEXT option set initially some dummy text in the BAPI call so the flag will be set by the BAPI, as last solution update the flag yourself.

Regards,
Raymond

2 REPLIES 2

raymond_giuseppi
Active Contributor

There is a 'long text indicator' flag in the main table of many maintenance objects (orders, notification, etc.) a FM like SAVE_TEXT wont set this flag, so IW23, IW33 and similar transaction wont display the icon for long text. (ref. 1982719 - Long texts cannot be displayed - Usage of function module SAVE_TEXT)

If possible use the NOTFULLTXT table parameter of the BAPI to set your text. if, for some reason, you actually need the READ_TEXT/SAVE_TEXT option set initially some dummy text in the BAPI call so the flag will be set by the BAPI, as last solution update the flag yourself.

Regards,
Raymond

0 Kudos

Hi Raymond,

NOTFULLTXT solution worked. Thanks!

Regards,

Abhinav