I have a requirement where I need to update the unloading point at the component level in tcode IW32. Since the text to be updated is more than the length of the unloading point (more than 25 characters) so it needs to be updated both at the unloading point field (truncated text) and as a long text at the component line item level. For this in the program I need to check if there is already a long text existing for the component line item. If there is no long text existing I have to create a new long text and if there is already a text then I have to append the new text.
For creating new as well as appending text I used SAVE_TEXT and did a commit work (FM 'COMMIT_TEXT') after calling the FM SAVE_TEXT with the savemode_direct = 'X' parameter checked. The text gets updated in table STXH but does not display in front end. So I tried using the BAPI 'BAPI_ALM_ORDER_MAINTAIN' but with no success. I went through some of the blogs. Some had mentioned updating LTXSP in RESB table with 'E' as well as updating LTEXT in AUFK with 'X' but it doesn't help.
Please let me know what I can do. This is a urgent production issue. Any help soon will be highly appreciated.