Hierarchy

⤷

⤷

IMG Activity
ID | BADI_O2C_TELEPHONE_F | Configure Telephone Format |
Transaction Code | S_E4A_94000234 | (empty) |
Created on | 20080616 | |
Customizing Attributes | BADI_O2C_TELEPHONE_F | Configure Telephone Format |
Customizing Activity | BADI_O2C_TELEPHONE_F | Configure Telephone Format |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | BADI_O2C_TELEPHONE_F |
Use
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 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.
Requirements
The BAdI implementation must be called and active so that the method implementation is active.
Standard settings
This BAdI is designed for multiple use. The BAdI is not filter-dependent.
Activities
Example
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 code Telephone number - Extension: +49 06661245811 - 00021
This output example comprises the following input values:
- Specified country: 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
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | BADI_O2C_TELEPHONE_F | 0 | HLA0009606 | Master Data |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20080701 |
SAP Release Created in | 604 |