on 02-15-2018 2:42 PM
Hello Community,
I have a very strange case happening with activity long texts in PM notifications. Please find below the scenario:
99.9% of the time, the activity long text is saved correctly in the notification and the icon shows correctly in IW23. In 0.1% of cases the activity long text is saved and what happens here is very strange, the icon is not shown in IW23. I realise that the INDXT not being updated has already been looked at in the post https://archive.sap.com/discussions/thread/1933660, however, here the problem is different:
When checking STXH, it is possible to see that the user has created two or more records on STXH at exactly the same time (HH:MM:SS) as completely different notifications processed earlier during the users working time. We have checked with users regarding use of two or more parallel sessions and pressing save quickly, but this is not the case. Each time they have stated they are only inputting in one session.
Our current gut feeling is that the two or more previous texts are hanging and have not been committed to the database although all other attributes were saved at the correct time (or a couple of minutes earlier)
Has anyone else faced this? Does anyone have a potential solution?
Hello All.
We have finally managed to reproduce the issue using dynamic lock points in our live system and speaking with the end users. Please see below for your information should this happen to you.
Steps to recreate the IW42 issue from IW38
Save the data and go back in IW38.
When you check the tables and the dates, you see the missing indtx indicator and the date/time of creation of the 2 long texts is the same in table STXH.
I have the impression sap needs somewhere an additional free memory ID as is done in FM TEXT_MAINTENANCE_INITIALIZE (TEXT_MAINTENANCE_INITIALIZE)
FREE MEMORY ID 'SAPLSTXD'.
FREE MEMORY ID 'ITX1'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
I havent seen this particular error before.
Does it occur if you use IW42 without your custom built transaction?
Open an OSS Message to SAP to see what they recommend, although probably ask you how to reproduce the issue.
PeteA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Peter,
Ask your developers if its possible to trap the error programatically, then dump an anaysis file on to server for review.
PeteA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pete,
Thank you for replying. We have extreme difficulty in reproducing this, using IW42 or doing the call from our custom built. In fact, in 8 days of trying, we have managed to reproduce it once (with breakpoints everywhere imaginable).
Also, the custom built transaction does a call transaction to IW42 and populates just with the order number and simulates the enter so the operations are shown.
When saving the confirmations, there are various validations performed in user exits, however, we have not found that these have an impact at all. In short, no smoking gun.
The options that we have looked at are:
I have one case a day in Production and always at different times during the day.
An odd one indeed.
When we find the cause and the solution I will update the post.
Thanks
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
Thanks for replying. We already update the long text indicators ourselves, so this is what makes this a strange case.
Thanks
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are known issues upon the use of "SAVE_TEXT" FunctionModule, as this add the LongText, but does not Set the LT-indicator itself ...
(Our Custom Logic underwent a similar issue, but for us the Update LT-Indicator on Confirmation did not execute.)
See SAP-KBA 1982719 "Long texts cannot be displayed - Usage of function module SAVE_TEXT" : link
Extract :
"Long text indicators must be updated.
Every object is using its own field
Where possible you should use the corresponding application BAPIs instead of function SAVE_TEXT (for example BAPI_ALM_ORDER_MAINTAIN with import parameter IT_TEXT for order long texts). If there are no BAPIs available and you are using function SAVE_TEXT, you need to update the long text indicators by a program of your own."
So I would reference this SAP-KBA upon contacting SAP Support. As far as I know, SAP actually advised you to Update the LT-indicator yourself ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.