Friday, August 2, 2013

How to export data to memory ID of a update task.

Export data to a memory ID works fine between programs but what if there is a requirement to export memory to update task?

Solution: Write a logic to export the data to memory inside a Function module and in the attributes select the radio button 'Update Module'. Then call this Function module with addition 'IN UPDATE TASK'  in the beginning of the program. When commit is triggered, this FM will be called first this will export data to memory of the update session. So the next update calls within the session can import data from that memory.

No comments:

Post a Comment