‎2010 Jan 29 6:30 PM
Hi Firends
I have created text for Equipment using 'CREATE_TEXT' Function Module. It creates fine but with the following issues.
1. When I go and Edit Equipment in IE02 the Icon (Pad with Pencil on right end of Short text) should change showing lines on the PAD but it dosent unless I Save (IE02) to get.
2. When I go and check in IE05 for group of equipments and select 'Long text Exists' in Layout and it is never checked unless i go to the equipment in 'IE02' and Save it.
3. Long text not visible in IE03 but visible in IE02.
Kindly help me to create the long text using 'CREATE_TEXT' FM with 'Long text Exits' checked without going to IE02 and Saving it.
Thanks and Regards
Edited by: Senthil Ram Kumar Palanisamy Ganapathi on Jan 29, 2010 1:30 PM
Edited by: Senthil Ram Kumar Palanisamy Ganapathi on Jan 29, 2010 1:41 PM
‎2010 Jan 29 8:30 PM
Hi senthil,
Have you used the Commit..This might work.Just give a trail!!
‎2010 Jan 29 9:07 PM
Hi
I tried and didn't work. I have mentioned that I was able to see the long text in 'IE02' and which shows the record is being commited but not in IE03.
Thanks.
Edited by: Senthil Ram Kumar Palanisamy Ganapathi on Jan 29, 2010 4:08 PM
‎2010 Jan 29 9:19 PM
OK - but did you execute FM COMMIT_TEXT ? Please see its documentation.
Rob
‎2010 Jan 29 9:38 PM
Rob
I have executed 'COMMIT_TEXT' FM soon after the 'CREATE_TEXT' and it never worked.
call function 'CREATE_TEXT'
exporting
fid = 'LTXT'
flanguage = sy-langu
fname = '000000001000067910'
fobject = 'EQUI'
SAVE_DIRECT = 'X'
FFORMAT = '*'
tables
flines = fline
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3
.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function 'COMMIT_TEXT'
EXPORTING
OBJECT = 'EQUI'
NAME = '000000001000067910'
ID = 'LTXT'
LANGUAGE = SY-LANGU
SAVEMODE_DIRECT = 'X'
KEEP = 'X'
LOCAL_CAT = ' '
IMPORTING
COMMIT_COUNT =
TABLES
T_OBJECT =
T_NAME =
T_ID =
T_LANGUAGE =
.
Thanks
Edited by: Senthil Ram Kumar Palanisamy Ganapathi on Jan 29, 2010 4:42 PM
‎2010 Jan 29 9:48 PM
What do you mean 'it never worked?' Did it give an error message, return code, something else?
Rob
‎2010 Jan 29 9:57 PM
Rob
It did not gave any return or error code and executed fine but still I am seeing the same 3 issues which i mentioned at the begining.
Thanks
Edited by: Senthil Ram Kumar Palanisamy Ganapathi on Jan 29, 2010 4:59 PM
‎2010 Jan 29 10:30 PM
‎2010 Jan 29 9:35 PM
I think you need a long text indicator turned on in the db row. I've seen this before and don't recall my fix, but I think it had to do with populating the short text that sometimes appears on screen, and pressing the long text button. Within your update tool, do you have the ability to flip that switch on and/or populate the short text element also?
‎2010 Jan 29 9:47 PM
‎2011 Jul 25 2:21 PM
NO NEED FOR COMMIT_TEXT AS THIS FM IS CALLED FROM THE CREATE_TEXT FM ITSELF.
‎2013 Sep 20 10:02 AM
Dear Experts
Did any one actually manage to solve this we are facing the same issue while we work with create notification long text i.e iw21 . Notification text gets saved in the database tables STXL and STXH before saving it and we can view the same from READ_TEXT i.e the value for the default text and thus we can say it is transferred correctly while creating the notification .
I am pasting steps tp reproduce the issue :
Step 1 : Creating a notification : IW21
Step 2 : Fill all the details
Step 3 : If the user clicks on the long text Display notification marked in yellow it comes as blank :
ORKAROUND : However if user enters a space / enter or some entry in the small window like below
Step 6 : And then click on Display next to long notification : It would display the long text .