on 2021 May 06 9:53 AM
Hi Experts,
I'm using the FM "EAM_TASK_LIST_CREATE" to create task lists, in the task list operations I have Long text so I'm using also "IT_TEXT" and "IT_TEXT_LINES" to add long text linked to the operation. Please could anyone explain to me how it works?
I tried to put the long text in "IT_TEXT_LINES-TDLINE" it works but the operation description is deleted and it's replaced by the first 40 CHAR of the long text but the long text it loaded,
Thank you in advance,
Regards,
Request clarification before answering.
The long-text line will cut off at the text line limit and automatically flow onto the next line.
Your program needs to determine how the text should be formatted. You can use the TDFORMAT values to help you with this formatting, but it wont help with words that span two lines.
Its a real pain to get right..
I've seen a few posts where people load the data in two stages, for example:
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So there's a way in MS Word to set the character length: https://www.myofficetricks.com/how-to-limit-the-characters-per-line-in-microsoft-word/#:~:text=A%20P....
You can use this to format your text, then upload the formatted text into SAP.
Otherwise you'll need to it programmatically.
Mika,
The limit for task list long-text line is 72 characters from memory..
You can also try using the TDFORMAT field to create a line-feed via the "/" or "blank" value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mika,
Try leaving the first line blank in IT_TEXT_LINES
If that doesnt work, then add the operation description as the firs line.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Peter,
I tried to keep the first line empty it does not work I think the only solution is to add the ops description,
Please I have another question, the field used for long text is limited when I have long text more than 92 CHAR I need to add another line to insert the rest of the text but how the program will do that? How can I check that the word is not cut ?
Thanks,
Regards,
User | Count |
---|---|
11 | |
2 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.