5 - SAP ABAP New Syntax - SWITCH Statement As a Replacement of CASE Statement

Поделиться
HTML-код
  • Опубликовано: 10 дек 2024

Комментарии • 10

  • @amarendranath3519
    @amarendranath3519 7 месяцев назад +1

    your videos are very helpful sir,the way of sharing your knowledge is awsome sir.hats off for you

  • @Rajasekharabap
    @Rajasekharabap 4 месяца назад +1

    Excellent sir tq

  • @suryaprakashnellutla5278
    @suryaprakashnellutla5278 Месяц назад +1

    👌

  • @ChitranshGurjar-wc9cv
    @ChitranshGurjar-wc9cv 20 дней назад

    Hii rahul i have one doubt suppose if we declare LV_month as a variable with some type then what is the use of CHAR20 .is this CHAR20 and LV_MONTH related.

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  20 дней назад +1

      Hello Chitransh - just refer to the next video. You will get the answer of the same.

  • @mohammednabeel4381
    @mohammednabeel4381 6 месяцев назад +1

    How does cond and switch statement makes a difference ? Can we use switch similar to cond operator when it comes to multiple conditions in single condition?

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  6 месяцев назад

      Yes you can use, but if we have more conditions we need to prefer Switch rather than COND. The reason is same we need to prefer CASE rather than IF, if we have more conditions.

  • @sk16034
    @sk16034 7 месяцев назад

    Hi Sir, what if the case conditions are different? Like instead of passing a value into same variable, if the logic is different for each case. How to approach it?

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  7 месяцев назад

      We can take a field-symbol of generic data type(ANY) and assign the different results to one common field-symbol.