Skip to Content
0

AIF - Action with several functions

Jun 18, 2017 at 07:49 PM

107

avatar image

Dear AIF experts,

I've created an action with two functions but I haven't managed to pass the results from the first one to the second one, is there any way of doing it?

Thanks in advances for your help.

Fortian

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

3 Answers

fortian . Jun 23, 2017 at 01:33 PM
0

Hello Archer,

I didn't manage to store my result into the SAP structure after the first funcion, I will try again.

Best regards,

Fortian

Share
10 |10000 characters needed characters left characters exceeded
Archer Zhang
Jun 23, 2017 at 06:05 AM
0

Hi Fortian,

If your results are one component of SAP structure. To change SAP structure data after you get the results in the first function, then you can directly obtain it in the second function.

If not, just save it to share memory.

BRs,
Archer

Share
10 |10000 characters needed characters left characters exceeded
David Rittinghaus Jul 10, 2017 at 12:03 PM
0

If you can live with restarting both actions in case one throws an error then you can place both action function modules into the same function group and store the data into a global variable.

Or you could create a static class and have it store and retrieve the data.

Just don't forget to initialize in the beginning of the first action function module.

Share
10 |10000 characters needed characters left characters exceeded