Hierarchy
⤷ CRM (Application Component) Customer Relationship Management
⤷ CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷ FBAS (Package) Financial accounting 'Basis'
IMG Activity
ID | _BADIIDMFIACCCLERK | BAdI: Define Accounting Clerk |
Transaction Code | S_E4A_94000275 | (empty) |
Created on | 20080721 | |
Customizing Attributes | _BADIIDMFIACCCLERK | BAdI: Define Accounting Clerk |
Customizing Activity | _BADIIDMFIACCCLERK | BAdI: Define Accounting Clerk |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | _BADIIDMFIACCCLERK |
Use
This BAdI is relevant only if you use SAP NetWeaver Identity Management.
Identity Management enables you to create new employees in the system with the role of an accounting clerk by means of using Accounts Receivable and/or Accounts Payable. When this occurs, the standard implementation BADI_IDM_FI_ACCOUNTINGCLERK of the Business Add-In BADI_EXTEND_IDENTITY also assigns a clerk ID to each employee for the company code in which the employee works. The system uses this clerk ID to assign business partners (customers and vendors) to an accounting clerk and to list the address and communication data of the accounting clerk in letters addressed to those business partners.
The standard implementation of the BAdI uses the following import parameters:
- User name (IV_USERNAME)
- Company code (as the entry COMPANY_CODE_ID in table IT_ADDITIONAL_ATTRIBUTES)
- Full name of user (IS_ADDRESS-FULLNAME)
- First name of user (IS_ADDRESS-FIRSTNAME)
- Last name of user (IS_ADDRESS-LASTNAME)
The system checks whether an entry for the company code and user name already exists in the table of accounting clerks (T001S). If an entry exists, no new entry is created.
The system determines the information for the new table entries to be created as follows:
- Company code
The company code determined from the import parameters is used as a key.
- Accounting clerk
The system generates a key using the initials of the employee name. If the entry does not yet exist, the system checks and uses the following two-digit ID (with format XY). The search algorithm stops as soon as the ID can be used:
- Priority 1: X = initial letter of first name Y = initial letter of last name
- Priority 2: X = initial letter of last name Y = initial letter of first name
- Priority 3: X = initial letter of last name Y = second letter of last name
- Priority 4: X = initial letter of first name Y = second letter of first name
- Priority 5: X = a number between 1 and 9 Y = initial letter of last name
- Priority 6: X = a number between 1 and 9 Y = initial letter of first name
- Priority 7: a random combination of numerals or letters:
- a) X = numeral, Y = letter
- b) X = letter, Y = numeral
- c) X and Y = numerals
- d) X and Y = letters
- Name of clerk
The 30-character name of the clerk is populated using the following priorities:
- Priority 1: IS_ADDRESS-FULLNAME
- If this field is filled and does not exceed 30 characters
- Priority 2: IS_ADDRESS-FIRSTNAME IS_ADDRESS-LASTNAME
- If both of these fields together do not exceed 30 characters
- Priority 3: IS_ADDRESS-LASTNAME
- Name of SAPoffice user
The specified user name (IV_USERNAME) is used as the SAPoffice user.
Requirements
To create entries in table T001S, authorization is required for table maintenance for authorization object S_TABU_DIS with activity 02 and authorization group FC39.
Standard settings
Activities
Example
Business Attributes
ASAP Roadmap ID | 153 | Design enhancements |
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 | _BADIIDMFIACCCLERK | 0 | HLA0009204 O HLA0009203 |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20080731 |
SAP Release Created in | 604 |