Skip to Content
0
Former Member
Dec 12, 2013 at 07:17 PM

Odata service to trigger calculation in back-end

31 Views

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!