Skip to Content

AIF - Action with several functions

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jun 23, 2017 at 01:33 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 23, 2017 at 06:05 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 10, 2017 at 12:03 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded