There is no requirement to possess a specific educational background to learn ABAP - anyone from any educational background will learn ABAP.
However, you'd perceive some ideas in ABAP simply if you have done your B.Tech/B.E in CS/IT - database languages, C, C++, OOPS ideas all are useful in understanding ABAP.
Most of the businesses I have seen do not place a restriction on the educational background of ABAP developers - mainly ABAP information, previous expertise, roles, and responsibilities count. In fact, there are many folks who begin their career in one module and in 10–15 years, they have learned multiple modules and have worked in different areas in SAP (eg. ABAP +SD + CRM + MM + WM + PP )