Skip to Content

Extension field of type phone number

Dear Experts,

We have the requirement to create an extension field where user should be able to entire only Number(basically they want to put phone no. only). In standard Phone no. field we can enter the alphanumeric value. So how should I create an extension field that can only take number without even putting decimal/comma.

How can I do this? request you to help.

Regards,

Saurabh Sharma

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Aug 24, 2017 at 05:18 AM

    Hi,

    You can declare a field from PDI od type "DecimalValue" which only allows numbers to save. In case if you add a Alphanumeric digit then it throw an error.

    element Z1 : DecimalValue;

    For KUT as Gustavo suggested pls post it in Idea Forum.

    Thanks

    Saurabh

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 23, 2017 at 07:42 PM

    Hello Saurabh,

    With the KUT fields that specific scenario cannot be achieved - I would recommend you to post this idea in our Idea's Forum: https://ideas.sap.com/ - I also think this could be a good addition to the system - note that the PM team check the Idea forums as well and also other customers (even us from support).

    Additionally I would like to point that this type of field I think it can be achieved via a PDI (add-on).

    Best Regards,

    Gustavo Muñoz

    Add comment
    10|10000 characters needed characters exceeded