Ansicht
Dokumentation

BADI_O2C_TELEPHONE_F - Configure Telephone Format

BADI_O2C_TELEPHONE_F - Configure Telephone Format

PERFORM Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

You can use the Business Add-In (BAdI) BADI_O2C_TELEPHONE_FORMAT to change the format used to display telephone, fax, and cell phone numbers in selected order processing applications.

The BAdI is called in the following function modules:

  • SD_CFS_GET_CONTACT_PERSON
For all applications that call this function module, the BAdI implementation affects the formatting of the telephone, fax, and cell phone numbers in the POWL query Contact Person. The query is displayed in the Customer Cockpit and in the customer fact sheet.
  • SD_CFS_GET_ADDRESS
For all applications that call this function module, the BAdI implementation affects the formatting of the customer master data for telephone, fax, and cell phone numbers in the Customer Cockpit and in the customer fact sheet.

The BAdI contains the method FORMAT_TELEPHONE_NUMBER.

  • You can use the following import parameters:
  • IV_COUNTRY: Country/region for telephone or fax number (AD_COMCTRY)

  • IV_NUMBER: Telephone, cell phone, or fax number (AD_TLNMBR)

  • IV_EXTENSION: Telephone number extension (AD_TLXTNS)

  • You can use the following export parameter:
  • CV_NUMBER_LONG: Formatted number for display (AD_TELNRLG).
    This could be the combination of area code, telephone number, and extension, for example.

The BAdI implementation must be called and active so that the method implementation is active.

This BAdI is designed for multiple use. The BAdI is not filter-dependent.

The BAdI example implementation BADI_IMP_TELEPHONE_FORMAT is inactive in the standard system.

It formats the specified number as follows (telephone, cell phone, or fax):
+Country/region code Telephone number - Extension: +49 06661245811 - 00021
This output example comprises the following input values:

  • Specified country/region: DE (Germany)
  • Specified telephone number: "0666/12 458 11" (the implementation removes part of the special characters)
  • Specified extension: 00021
  • Package: ERP_SALES_O2C_SLS
  • Name of enhancement implementation: EI_BADI_O2C_TELEPHONE_FORMAT
  • Name of BAdI implementation: BADI_IMP_TELEPHONE_FORMAT
  • Implementation class: CL_EXM_BADI_TELEPHONE_FORMAT





RFUMSV00 - Advance Return for Tax on Sales/Purchases   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2929 Date: 20240524 Time: 005210     sap01-206 ( 46 ms )