No! Both are completely different worlds. There is no coding on the basis. The basis is like installing windows in your pc. Upgrade to new versions and stopping and starting it. Patching it and maintaining it. ABAP is like working in a C editor on your PC. You don't need any prior knowledge to learn a basis. Prior knowledge in other programming languages can b helpful to learn ABAP.