Skip to Content

Passing variables between tasks using save_data and get_data function in HCI-DS or CPI-DS

Aug 09, 2017 at 01:03 PM


avatar image
Former Member


I wanted to pass the record count value of particular table from one task to another task. Hence I used save_data function first task. I couldn't choose any variable so I saved it using job_name() function.

save_data(job_name(), RECORD_COUNT)

This was the mapping done in one of the temp column in the transform.

When I tried to fetch the value in second task. It is not working and returning NULL value.

I thought save_data would create a persistent variable.

Please help. Also let me know if there are options from for above requirement.



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

1 Answer

avatar image
Former Member Aug 09, 2017 at 08:54 PM

Hello Anil,

Not sure, if you can use "save_data" in Flow 1 and use "get_data" in Flow 2.

Save data and Get Data can be used to save & retrieve data from previous run of the same job.

are you following any SAP Document ? does it use save data between 2 Task or 2 runs of same task.

with regards,


10 |10000 characters needed characters left characters exceeded