2013 Oct 31 8:06 AM
hi experts I have report
I want help in the following two points :
2013 Oct 31 8:39 AM
Try this ;
DATA: lv_mailTYPE string
START-OF-SELECTION.
lv_mail = mail address as per input / stored in DB.
IF lv_mail CS '@gmail.com'.
Apply the processing logic.
ENDIF.
Cheers!
Abhinab.
Try this ;
DATA: lv_mailTYPE string
START-OF-SELECTION.
lv_mail = mail address as per input / stored in DB.
IF lv_mail CS '@gmail.com'.
Apply the processing logic.
ENDIF.
Cheers!
Abhinab.
2013 Oct 31 8:20 AM
Hi-
You can use string operator SPLIT to check string '@gmail.com'.
like:
DATA: string TYPE string,
lv_str1 TYPE string,
lv_str2 TYPE string.
string = '[email protected]'.
SPLIT string AT '@' INTO lv_str1 lv_str2.
CONDENSE: lv_str2.
TRANSLATE lv_str2 TO LOWER CASE.
IF lv_str2 = 'gmail.com'.
"<Add your logic>
ENDIF.
Thanks,
Venkat
2013 Oct 31 8:39 AM
Try this ;
DATA: lv_mailTYPE string
START-OF-SELECTION.
lv_mail = mail address as per input / stored in DB.
IF lv_mail CS '@gmail.com'.
Apply the processing logic.
ENDIF.
Cheers!
Abhinab.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |