SAP ABAP Class CL_IM_ERP_WEC_USER_REG_CO (Class for BAdI Impl.: ERP_WEC_USER_SCENARIO_REG_CO)
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

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_BADI_INTERFACE | Tag Interface for BAdIs | 20120515 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_ERP_WEC_USER_SCENARIO_REG | Interface for BAdI: ERP_WEC_USER_SCENARIO_REG | 20120515 |
Properties
Class | CL_IM_ERP_WEC_USER_REG_CO | |
Short Description | Class for BAdI Impl.: ERP_WEC_USER_SCENARIO_REG_CO | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | ERP_WEC_USER | WebChannel / User Management |
Created | 20120515 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_IM_ERP_WEC_USER_REG_CO has no forward declaration.
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_BADI_INTERFACE | Tag Interface for BAdIs | 20120515 | ||
2 | IF_ERP_WEC_USER_SCENARIO_REG | Interface for BAdI: ERP_WEC_USER_SCENARIO_REG | 20120515 |
Friends
Class CL_IM_ERP_WEC_USER_REG_CO has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | SWO_OBJTYP | 'BUS1006001' | 20120601 | ||
2 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR2 | '99' | 20120525 | ||
3 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR1 | '1' | 20120530 | ||
4 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR1 | '4' | 20120530 | ||
5 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR1 | '2' | 20120530 | ||
6 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR1 | '3' | 20120530 | ||
7 | ![]() |
Constant | Private | Type reference (TYPE) | BAPIRET2-TYPE | 'A' | 20120525 | ||
8 | ![]() |
Constant | Private | Type reference (TYPE) | BAPIRET2-TYPE | 'D' | 20120525 | ||
9 | ![]() |
Constant | Private | Type reference (TYPE) | BAPIRET2-TYPE | 'E' | 20120525 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Method | Add a Business Partner to the Business Partner return table | 20120608 |
2 | ![]() |
Instance method | Private | Method | add default error message 057 and debug message | 20120516 |
3 | ![]() |
Instance method | Private | Method | Map messages from flash api to bapiret2 structure | 20120525 |
4 | ![]() |
Instance method | Private | Method | Add bapi messages and change type to debug info | 20120525 |
5 | ![]() |
Instance method | Private | Method | 20120601 | |
6 | ![]() |
Instance method | Private | Method | check the relevant input data for user creation | 20120522 |
7 | ![]() |
Instance method | Private | Method | create a new contact | 20120522 |
8 | ![]() |
Instance method | Private | Method | 20120612 | |
9 | ![]() |
Instance method | Private | Method | 20120516 | |
10 | ![]() |
Instance method | Private | Method | Create a new user | 20120516 |
11 | ![]() |
Instance method | Private | Method | Checks if email address is unique | 20120530 |
12 | ![]() |
Instance method | Private | Method | check if email is assigned to the given contact | 20130419 |
13 | ![]() |
Instance method | Private | Method | 20120525 | |
14 | ![]() |
Instance method | Private | Method | map the contact address data to the flash structure | 20120522 |
15 | ![]() |
Instance method | Private | Method | map the contact address data to the flash structure | 20120522 |
16 | ![]() |
Instance method | Private | Method | MAp the communication data for customer creation | 20120516 |
17 | ![]() |
Instance method | Private | Method | MAp the communication data for customer creation | 20120516 |
Events
Class CL_IM_ERP_WEC_USER_REG_CO has no event.
Types
Class CL_IM_ERP_WEC_USER_REG_CO has no local type.
Method Signatures
Method ADD_BP_TO_RETURNTAB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_BUSINESSPARTNER | Call by reference | Type reference (TYPE) | ERPT_WEC_USER_REG_BP_RETURN_T | Table with involved Business Partners in registration | 20120608 | ||
2 | ![]() |
IV_BP_FUNCTION | Call by reference | Type reference (TYPE) | PARVW | Partner Function ('AG' = Sold-To party, ...) | 20120608 | ||
3 | ![]() |
IV_BP_TYPE | Call by reference | Type reference (TYPE) | ERPD_WEC_USER_BPARTNER_TYPE | Partner type 1=nat.Person 2=Organization | 20120608 | ||
4 | ![]() |
IV_BUSINESSPARTNER | Call by reference | Type reference (TYPE) | KUNNR | Business partner | 20120608 |
Method ADD_BP_TO_RETURNTAB on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method ADD_DEFAULT_ERROR_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | Error Messages | 20120516 | ||
2 | ![]() |
IV_MESSAGETEXT | Call by reference | Type reference (TYPE) | STRING | 20120516 |
Method ADD_DEFAULT_ERROR_MESSAGE on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method ADD_FLASH_MESSAGES_AS_DEBUG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | Error Messages | 20120525 | ||
2 | ![]() |
EV_RETURNCODE | Call by reference | Type reference (TYPE) | CHAR2 | Version Number Component | 20120525 | ||
3 | ![]() |
IT_FLASH_MESSAGES | Call by reference | Type reference (TYPE) | IF_ERP_CUSTOMER_PROCESS=>TT_MSG | 20120525 |
Method ADD_FLASH_MESSAGES_AS_DEBUG on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method ADD_MESSAGES_AS_DEBUG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | Error Messages | 20120525 | ||
2 | ![]() |
EV_RETURNCODE | Call by reference | Type reference (TYPE) | CHAR2 | Version Number Component | 20120525 | ||
3 | ![]() |
IT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | Error Messages | 20120525 |
Method ADD_MESSAGES_AS_DEBUG on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method CHECK_IF_CONTACT_HAS_USER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | Error Messages | 20120601 | ||
2 | ![]() |
EV_RETURNCODE | Call by reference | Type reference (TYPE) | CHAR2 | Version Number Component | 20120601 | ||
3 | ![]() |
IS_PERSON_ID | Call by reference | Type reference (TYPE) | AD_PERSNUM | Person number | 20120601 |
Method CHECK_IF_CONTACT_HAS_USER on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method CHECK_INPUT_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | Error Messages | 20120522 | ||
2 | ![]() |
EV_RETURNCODE | Call by reference | Type reference (TYPE) | CHAR2 | Version Number Component | 20120522 | ||
3 | ![]() |
IS_PERSON_DATA | Call by reference | Type reference (TYPE) | ERPS_WEC_ADDRESS_IND | Web Channel Ind Address | 20120522 | ||
4 | ![]() |
IS_USER_DATA | Call by reference | Type reference (TYPE) | ERPS_WEC_USER_DATA | User data structure for user creation | 20120522 | ||
5 | ![]() |
IT_COMPANY_DATA | Call by reference | Type reference (TYPE) | ERPT_WEC_ADDRESS_ORG | Organization address data | 20120522 | ||
6 | ![]() |
IT_COMPANY_IDS | Call by reference | Type reference (TYPE) | BU_PARTNER_T | Table Category for Category BU_PARTNER | 20120522 | ||
7 | ![]() |
IT_RELATIONSHIP_DATA | Call by reference | Type reference (TYPE) | ERPT_WEC_RELATIONSHIP_DATA | Relation between Person and/or Company in user creation | 20120522 | ||
8 | ![]() |
IV_IMMEDIATE_ACT | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20120522 | ||
9 | ![]() |
IV_PERSON_ID | Call by reference | Type reference (TYPE) | AD_PERSNUM | Person number | 20120522 | ||
10 | ![]() |
IV_REFERENCE_COMPANY | Call by reference | Type reference (TYPE) | BU_PARTNER | Business Partner Number | 20120522 | ||
11 | ![]() |
IV_SUPPRESS_COMMIT | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20120522 |
Method CHECK_INPUT_DATA on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method CREATE_CONTACT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | 20120522 | |||
2 | ![]() |
EV_CONTACT_NR | Call by reference | Type reference (TYPE) | KUNNR | Customer Number | 20120525 | ||
3 | ![]() |
EV_RETURN | Call by reference | Type reference (TYPE) | CHAR2 | 20120522 | |||
4 | ![]() |
IS_PERSON_DATA | Call by reference | Type reference (TYPE) | ERPS_WEC_ADDRESS_IND | 20120522 | |||
5 | ![]() |
IV_CUSTOMER_NR | Call by reference | Type reference (TYPE) | KUNNR | 20120522 |
Method CREATE_CONTACT on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method CREATE_CONTACT_FOR_CUSTOMER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | Error Messages | 20120612 | ||
2 | ![]() |
EV_CONTACT_NR_NEW | Call by reference | Type reference (TYPE) | KUNNR | Customer Number | 20120612 | ||
3 | ![]() |
EV_CUSTOMER_NR_NEW | Call by reference | Type reference (TYPE) | KUNNR | Customer Number | 20120612 | ||
4 | ![]() |
EV_RETURN | Call by reference | Type reference (TYPE) | CHAR2 | Version Number Component | 20120612 | ||
5 | ![]() |
IS_CUSTOMER_DATA | Call by reference | Type reference (TYPE) | ERPS_WEC_ADDRESS_ORG | Web Channel Org Address | 20120612 | ||
6 | ![]() |
IS_PERSON_DATA | Call by reference | Type reference (TYPE) | ERPS_WEC_ADDRESS_IND | Web Channel Ind Address | 20120612 | ||
7 | ![]() |
IV_CUSTOMER_ID | Call by reference | Type reference (TYPE) | BU_PARTNER | Business Partner Number | 20120612 | ||
8 | ![]() |
IV_REFERENCE_CUSTOMER | Call by reference | Type reference (TYPE) | BU_PARTNER | Business Partner Number | 20120612 |
Method CREATE_CONTACT_FOR_CUSTOMER on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method CREATE_CUSTOMER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | Error Messages | 20120522 | ||
2 | ![]() |
EV_RETURN | Call by reference | Type reference (TYPE) | CHAR2 | Version Number Component | 20120516 | ||
3 | ![]() |
IS_CUSTOMER_DATA | Call by reference | Type reference (TYPE) | ERPS_WEC_ADDRESS_ORG | Customer data | 20120516 | ||
4 | ![]() |
IV_NEW_CUSTOMER_ID | Call by reference | Type reference (TYPE) | KUNNR | Customer Number | 20120525 | ||
5 | ![]() |
IV_REFERENCE_CUSTOMER | Call by reference | Type reference (TYPE) | BU_PARTNER | Reference Customer | 20120516 |
Method CREATE_CUSTOMER on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method CREATE_USER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | Error Messages | 20120516 | ||
2 | ![]() |
EV_RETURN | Call by reference | Type reference (TYPE) | CHAR2 | Message type: S Success, E Error, W Warning, I Info, A Abort | 20120516 | ||
3 | ![]() |
IS_USER_DATA | Call by reference | Type reference (TYPE) | ERPS_WEC_USER_DATA | User data structure for user creation | 20120516 | ||
4 | ![]() |
IT_ROLES | Call by reference | Type reference (TYPE) | ERPT_WEC_UA_AGR | Table with Roles to be assigned | 20120614 | ||
5 | ![]() |
IV_FIRSTNAME | Call by reference | Type reference (TYPE) | AD_NAMEFIR | 20120622 | |||
6 | ![]() |
IV_IMMEDIATE_ACT | Call by reference | Type reference (TYPE) | BOOLEAN | ' ' | Boolean Variable (X=True, -=False, Space=Unknown) | 20120612 | |
7 | ![]() |
IV_LASTNAME | Call by reference | Type reference (TYPE) | AD_NAMELAS | Last name | 20120622 |
Method CREATE_USER on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method IS_EMAIL_ADDRESS_UNIQUE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_EMAIL_ADDRESS | Call by reference | Type reference (TYPE) | AD_SMTPADR | E-Mail Address | 20120530 | ||
2 | ![]() |
RV_UNIQUE | Value transfer | Type reference (TYPE) | BOOLEAN | Version Number Component | 20120530 |
Method IS_EMAIL_ADDRESS_UNIQUE on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method IS_EMAIL_ASSIGNED_TO_CONTACT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_EMAIL_ADDRESS | Call by reference | Type reference (TYPE) | AD_SMTPADR | E-Mail Address | 20130419 | ||
2 | ![]() |
IV_PERSON_ID | Call by reference | Type reference (TYPE) | AD_PERSNUM | Person number | 20130419 | ||
3 | ![]() |
RV_ASSIGNED | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20130419 |
Method IS_EMAIL_ASSIGNED_TO_CONTACT on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method LINK_USER_AND_CONTACT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | Error Messages | 20120525 | ||
2 | ![]() |
EV_RETURNCODE | Call by reference | Type reference (TYPE) | CHAR2 | Version Number Component | 20120525 | ||
3 | ![]() |
IV_CONTACT_ID | Call by reference | Type reference (TYPE) | KUNNR | Customer Number | 20120525 | ||
4 | ![]() |
IV_USER_ID | Call by reference | Type reference (TYPE) | BAPIBNAME-BAPIBNAME | Customer Number | 20120525 |
Method LINK_USER_AND_CONTACT on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method MAP_CONTACT_ADDR_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_ADDRESS | Call by reference | Type reference (TYPE) | IF_ERP_CUSTOMER_FLASH=>PERS_ADDRESS | 20120522 | |||
2 | ![]() |
IS_ADDRESS | Call by reference | Type reference (TYPE) | ERPS_WEC_ADDRESS_IND | Web Channel Ind Address | 20120522 |
Method MAP_CONTACT_ADDR_DATA on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method MAP_CONTACT_COMM_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_COMMUNICATION | Call by reference | Type reference (TYPE) | IF_ERP_CUSTOMER_FLASH=>PERS_COMMUNIC | 20120522 | |||
2 | ![]() |
IS_ADDRESS | Call by reference | Type reference (TYPE) | ERPS_WEC_ADDRESS_IND | Web Channel Ind Address | 20120522 |
Method MAP_CONTACT_COMM_DATA on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method MAP_CUSTOMER_ADDR_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_ADDRESS_DATA | Value transfer | Type reference (TYPE) | IF_ERP_CUSTOMER_FLASH=>CUSTOMER_ADDRESS | 20120516 | |||
2 | ![]() |
ET_CHANGE_ADDRESS | Value transfer | Type reference (TYPE) | IF_ERP_CUSTOMER_FIELDS=>TT_FIELD | 20120516 | |||
3 | ![]() |
IS_CUSTOMER_DATA | Call by reference | Type reference (TYPE) | ERPS_WEC_ADDRESS_ORG | Web Channel Org Address | 20120516 | ||
4 | ![]() |
IV_CUSTOMER_ID | Call by reference | Type reference (TYPE) | KUNNR | Customer Number | 20120516 |
Method MAP_CUSTOMER_ADDR_DATA on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
Method MAP_CUSTOMER_COMM_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_COMUNIC_DATA | Value transfer | Type reference (TYPE) | IF_ERP_CUSTOMER_FLASH=>COMMUNIC | 20120516 | |||
2 | ![]() |
ET_CHANGE_COMUNIC | Value transfer | Type reference (TYPE) | IF_ERP_CUSTOMER_FIELDS=>TT_FIELD | 20120516 | |||
3 | ![]() |
IS_CUSTOMER_DATA | Call by reference | Type reference (TYPE) | ERPS_WEC_ADDRESS_ORG | Web Channel Org Address | 20120516 | ||
4 | ![]() |
IV_CUSTOMER_ID | Call by reference | Type reference (TYPE) | KUNNR | Customer Number | 20120516 |
Method MAP_CUSTOMER_COMM_DATA on class CL_IM_ERP_WEC_USER_REG_CO has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 607 |