Skip to Content
-3
Aug 21, 2017 at 02:46 AM

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

111 Views

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