In today's video I will show you how to use the SWITCH operator in ABAP. The SWITCH operator can be used to replace the CASE statement. It therefore offers the same logic with fewer lines of code.
If we use CASE, we have to assign the variable again and again in every branch. This is not the case with SWITCH
#sap #operator #abap #switch
▬▬ Literature 📚 ▬▬▬▬▬▬▬▬▬▬▬▬▬
▶ ABAP: An Introduction 2020 amzn.to/45CLTqk *
▶ Complete ABAP 2023 amzn.to/45D5UNM *
▶ ABAP to the Future 2022 amzn.to/42cgWGs *
▶ Clean ABAP 2022 amzn.to/3KAqmow *
▬▬ My Hardware 💻 ▬▬▬▬▬▬▬▬▬▬▬▬▬
▶ Microphone: amzn.to/3zj2UIz *
▶ Headphone: amzn.to/3GUBRFg *
▬▬ My Software (free) 💾 ▬▬▬▬▬▬▬▬▬▬▬
▶ Video Recorder: bit.ly/678fgh6
▶ Video Editor: bit.ly/38Rj9lb
▶ Thumbnail: bit.ly/CustAnd...
▶ Gamma AI: bit.ly/3nsdvgr
▬▬ Further Links 🔗 ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⭐Become my subscriber: bit.ly/CustAnd...
🎬All videos in English: bit.ly/CustAnd...
☕Buy me a Coffee 😀: bit.ly/3dih2cl
*The links are affiliate links. There are no additional costs.
📍Attribution:
KZitem Subscribe Animations: pixabay.com/vi...
Негізгі бет Using the SWITCH operator in SAP ABAP [7.40] [english]
Пікірлер: 2