Skip to Content
-3

How to pass data with a changeable type to a Update FM?

Aug 21, 2017 at 02:46 AM

59

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Horst Keller
Aug 21, 2017 at 06:39 AM
2

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?

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Looks like some internal ABAP training is needed at SAP. Just sayin'...

0