11-16-2016 5:37 AM
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
11-16-2016 6:35 AM
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
11-16-2016 6:35 AM
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
11-21-2016 8:08 AM