SAP ABAP IMG Activity ERP_WEC_NAMES_FOR (BAdI: Format Names)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   WEC-APP-UM-ERP (Application Component) Web Channel UM ERP aspects
     ERP_WEC_USER (Package) WebChannel / User Management
IMG Activity
ID ERP_WEC_NAMES_FOR BAdI: Format Names  
Transaction Code S_EBS_44000505   (empty) 
Created on 20110810    
Customizing Attributes ERP_WEC_NAMES_FOR   BAdI: Format Names 
Customizing Activity ERP_WEC_NAMES_FOR   BAdI: Format Names 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name ERP_WEC_USER_FORMAT_NAMES_BADI    

Use

This Business Add-In (BAdI) is used in the User Management (WEC-APP-UM) component. The BAdI belongs to enhancement spot ERP_WEC_CUSTOMER.

You can use this BAdI to define name text formatting and address short text formatting in the context of SAP Web Channel Experience Management (Web Channel).

  • The name text is displayed in the Web Channel standard header (Logged on as Dr. Firstname Lastname) and is a concatenation of several name attributes.
  • The address short text is used in various places to display addresses when the individual address attributes are not listed, such as with order confirmation, in the collapsed view in checkout, or with checkout profile maintenance.

The BAdI has interface IF_ERP_WEC_USER_FORMAT_NAMES. This interface contains the following methods:

  • FORMAT_NAME_ORG

    You use this method to format the name of an organization. Note that, from a Sales and Distribution (SD) point of view, all sold-to parties used in Web Channel are organizations. Web Channel sold-to parties cannot be created as consumer account groups, even though, from a business point of view, these sold-to parties represent consumers.

  • FORMAT_SHORTADDRESS_ORG

    You use this method to format the short address of an organization within SD. It is called for formatting short addresses for sold-to parties, bill-to parties, and ship-to parties for Web Channel orders.

  • FORMAT_SHORTADDRESS_PERS

    You use this method to format the short address of a person within SD. It is called for formatting short addresses for sold-to parties, bill-to parties, and ship-to parties for Web Channel orders.

    In Web Channel, this situation occurs when sold-to parties of account group 0170 (consumers) are attached to sold-to parties as bill-to parties or ship-to parties.

Requirements

Standard settings

In the standard delivery, the BAdI implementation ERP_WEC_USER_FORMAT_NAMES_IMPL is active.

This implementation uses the SAP name format settings to format name texts and address short texts. For example, if an address is Japanese, a name format is probably active in which the last name precedes the first name, and this name format is taken into account for the name text and the address short text.

Note that, technically speaking, you cannot attach a name format directly to an organization. This applies to FORMAT_SHORTADDRESS_ORG and FORMAT_NAME_ORG. In this BAdI implementation, the default name format for a country (table T005) is used for name formatting, while the organization names are mapped to person names for name formatting.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

Activities

Information about the implementation of BAdIs in the context of the enhancement concept is available in the SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Example

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 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20110810 
SAP Release Created in