Hi Mohamed
Zero insult on my side You never mentioned an interest in security so it would be pointless for me to attempt to provide guidance and direct you down that path. It is a risk in this space - members passionate about their area of expertise will recommend it to beginners. It's why I encourage those asking for assistance to provide as much context as possible.
That pesky "grass is always greener" and crystal ball of what will the future hold is a challenge for all of us. I have am constantly trying to improve and diversify my skill to remain current as well as challenges. I too want to have a job that I enjoy in years to come.
From your comments it's obvious system administration (basis) is not for you. It seems clear that you want to look at development. Again, I can't recommend a language. What I do recommend is that you search through SCN to see the different programming languages and development spaces (it appears Java background is useful now). You might actually find a challenging area for development within SAP that you could train and transition to (career win as well as personal fulfilment)
What you could look at doing to help you make your decision is search for MOOC (massive open online courses) and try some development courses to see what it's like. If you enjoy it the you could research a career path. For example, SAP has open.sap.com where you can sign up to some courses. Quite a few universities have them as well and programming might be a subject on offer.
Another way I look at work: if you cannot find the career that fulfills you (that you are passionate about and ticks all the boxes) then find a job that pays enough so finance a hobby. In the short term you could remain in basis and study development on the side. If you are creative, you could look at building your own apps, etc (you can even take Basis challenges and write your own code to solve them). Alternatively, choose a language completely unrelated to SAP (search job sites in your country to see what skill employers look for). Just a another pathway you could consider.
Good luck in finding your way
Regards
Colleen