‎2016 Sep 08 10:43 AM
Hi all, I have a issue when I make a new notification through IW51.
This happens with any type of notification.
So first I add the shortext and longtext in the notification. Then I open multilingual texts through: Goto -> Multilingual texts.
Change nothing, go back & save when popup asks.
Then I'll add the attachement with the GOS.
Here is when things go wrong.
When the attachment is selected and added, the program performs a commit.
Because of this commit, other 'perform on commit' will be executed.
Such as the save for the shorttext/longtext.
It will save these texts with a temporary id %0000001. This shouldn't happen.
I've searched for notes and other info onhere but couldn't find a thing.
If any of you could help me, I would appreciate!
Thanks in advance.
‎2016 Sep 08 8:56 PM
Move the code out from "perform on Commit" and then use Standard Task using standard events "<BUSINESSOBJECT>.CHANGED" or CREATED to execute your code.
Document Attachment invoke <BUSINESSOBJECT>.ASSIGNED event, so leave that out of your qualified trigger events.
‎2016 Sep 09 6:51 AM
If this is standard process, why do you post to the ABAP forum? (post to the ERP forum, or contact SAP support). Or maybe you created some custom enhancement?
‎2016 Sep 09 7:26 AM
Commit at attaching to GOS is something known, so if you use standard functions only and you have problem then you should contact SAP support as Sandra mentioned already. If the problem of commit exists because of your own code then you should re-design it to not use performs on commit.