I have around 8 years work experience in the industry and the interviewers first set of questions were related to creating a Java file from mac terminal and printing my name. lol :D
I was then bombarded with all theory questions like difference between REST and HTTP, types of user authentication, DBMS query etc and REST API design for some scenario. End of my interview i was asked one coding question related to stack which i completed in 5 mins and spent the next 20 mins explaining the logic to the interviewer. At SAP i don't think they interview for one's DS/algo/system design skills as they need incompetent people like them. I was rejected the next week as i had already prayed to god that i don't want to work with such people.