Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Module to handle Special Character

Former Member
0 Likes
3,467

Hi all,

While creating Sales Order i have to check requisition no. If it is 14 char i have to check that no special character will be there.

Is there any function module that will give the special characters.

Thank & Regards

-


Somen Das

6 REPLIES 6
Read only

GauthamV
Active Contributor
0 Likes
1,571

Use these FM.

SCP_REPLACE_STRANGE_CHARS

SF_SPECIALCHAR_DELETE

Read only

Former Member
0 Likes
1,571

Hi Somen

Try the FM CHECK_STRING_SPEC_CHARACTERS.

Thanks

Pushpraj

Read only

0 Likes
1,571

Hi,

SCP_REPLACE_STRANGE_CHARS

SF_SPECIALCHAR_DELETE

Read only

Clemenss
Active Contributor
0 Likes
1,571

Hi Das Sap,

use FIND REGEX for this

Regards,

Clemens

Read only

eduardo_hinojosa
Active Contributor
0 Likes
1,571

Hi,

In Spain to manage this special characters there is a module function to handle them, but you must define the special character that you are looking for. You can check the module function with SE37 ES_REMOVE_SPECIAL_CHARACTER as a model and create your own module function.

I hope this helps you

Regards,

Eduardo

Edited by: Eduardo Hinojosa on Nov 19, 2009 11:21 AM

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,571

find REGEX '[[:punct:]]' in text1.
if sy-subrc = 0.
write 'Found'.
endif.