cancel
Showing results for 
Search instead for 
Did you mean: 

Odata service to trigger calculation in back-end

Former Member
0 Kudos

Hi all,

I have the following requirement. First I have to collect last years customer sales figures plus a calculated discount percentage from the ERP system (Odata GetEntity with key customer number). In the app the user can see the last years sales figures and can set sales estimates for the next year. Second I want to call another service (Function Module in ERP) with the changed sales figures as input. The FM calculates the discount percentage and sends it back. How can I build an Odata for this requirement? Should I use all sales figures as key fields? Is there an example available of such scenario?

Thanks in advance! 

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I think I have to use Function Import for this scenario. I didn't know that this was available. I found this solution in the other Gateway space on SCN: