2014 Jul 10 11:08 PM
Hi guys,
I need your help. Why this code below doesn't works?
The content of variable vg_charg must be only numbers and when it is 1300266, the SAP shows the message.
IF vg_charg IS INITIAL.
MESSAGE e000(ZMSG) WITH text-002.
ELSEIF vg_charg CN '0123456789'.
MESSAGE e000(ZMSG) WITH text-010.
ENDIF.
2014 Jul 10 11:17 PM
Resolved.
The variable vg_charg is lenght 10. So, i have to compare with '0123456789 ' not '0123456789'
2014 Jul 10 11:17 PM
Resolved.
The variable vg_charg is lenght 10. So, i have to compare with '0123456789 ' not '0123456789'