Ansicht
Dokumentation

ERP_WEC_NAMES_FOR - BAdI: Format Names

ERP_WEC_NAMES_FOR - BAdI: Format Names

ROGBILLS - Synchronize billing plans   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

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.

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).

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.






BAL_S_LOG - Application Log: Log header data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3970 Date: 20240523 Time: 201847     sap01-206 ( 128 ms )