08-21-2017 3:46 AM
Hi experts,
My case is I need to execute some logic once COMMIT was involved. So I run my FM in UPDATE TASK. But the data structure is not a generic type, each run probably has a different data type, I can not directly pass it via the parameter of FM.
By now I solved it by EXPORT/IMPORT to DATA BUFFER, an XSTRING parameter pass to that FM. But it is Obsolete after NW 740 and I worry about the buffer size could be exceeded. So any other way I can achieve this?
Thanks.
Archer
08-21-2017 7:39 AM
In fact, I don't fully understand what you try to say, but can't you handle the event TRANSACTION_FINISHED of CL_SYSTEM_TRANSACTION_STATE instead of calling an update FM?
08-21-2017 7:39 AM
In fact, I don't fully understand what you try to say, but can't you handle the event TRANSACTION_FINISHED of CL_SYSTEM_TRANSACTION_STATE instead of calling an update FM?
08-21-2017 8:24 PM
Looks like some internal ABAP training is needed at SAP. Just sayin'...