Skip to Content
avatar image
Former Member

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

Hi,

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.

Thanks,

Anil

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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,

    Nazeer

    Add comment
    10|10000 characters needed characters exceeded