Skip to Content

Can we use PAL in Abap

Hello all,

My question is in the title. I have done some research but I didn't find an answer. So, hope if someone have one :)

If it is not possible to do predictive analisys in Abap, I would like to know if it is mandatory to copy data from Abap schema to an Hana schema to do analysis?

Or, how can we do or use PAL on data in ABAP schema ?

Kind regards,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 21, 2019 at 06:57 AM

    Hi Joseph, PAL is a framework in SAP HANA, so the data needs to be in HANA to use PAL. But the PAL algorithms can be called through SQL, hence it should be possible for ABAP to interact with them
    There is also a new Python wrapper for PAL which is very easy to use. Not sure if this fits into your project, but it could be an option to test out PAL algorithms quickly through Python before implementing through ABAP / SQL.
    Many Greetings, Andreas

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Joseph, the geeky stuff is typically the fun stuff!
      If the orders are placed regularly, ie weekly, a time series forecast could help. Then for each product you would have only around 100 values for the two years. This could be passed on the fly to PAL to create a forecast for the next week's order amount. The PAL documentation has a whole section on time series, ie ARIMA is very common.
      Another approach, if the orders not very regular, could be a regression estimate. You could use the number of days that passed from the last order as predictor and the order quantity as target. Then when the next order is placed, the model predicts the quantity depending on how long ago the last order was placed.
      This could be further extended, ie by taking into account the quantities that are left in stock, or information on known future consumption.... Sounds like plenty of fun :-)

      Many Greetings, Andreas

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.