Skip to Content
avatar image
Former Member

Convert full telephone No. into country code, phone, extension format...

Is there way of converting a full telephone number down into a country codedialling codenumber+extension. For example, a number like +4478631234678 is shown in Account/contact screens in CRM in this very format, but when I extract the telephone number using the FM 'CRM_BUPA_CONTACT_ADDRESS' I get the telpehone number in the format of 4478631234678 instead of country codedialling codenumberextensionn format.

When I update the Contact details using FM 'BAPI_BUPA_ADDRESS_CHANGE' I ideally need to update multiple fields rather than one number field.

It would therefore be handy to find some routine which converts a number like 4478631234678 into country codedialling codenumberextension format.

Jason

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Sep 21, 2010 at 09:44 PM

    Hi Jason,

    Go to SE80 -> Function Group and choose function Groups as PHOC.

    I think FM: CANONICAL_NO_BUILD should help. Just read the documentation in code. You can massage the data before passing to this FM. There are other FM's in this function group you might look for help.

    Hope it helps.

    Regards

    Apoorva

    Add comment
    10|10000 characters needed characters exceeded