Posts

Showing posts with the label switch

Switch statement in ABAP ( 7.4+)

Image
                 First Refer * -   Introduction to case and switch   Report      REPORT  zab_rp_switch .      PARAMETERS :  p_day  TYPE  i .      DATA ( lv_output )  =  SWITCH char40 (   p_day   WHEN   1   THEN   TEXT - 000                                         WHEN  2   THEN  TEXT - 001                                         WHEN  3   THEN  TEXT - 002         ...