Hierarchy
⤷ CA-MDG-APP-BP (Application Component) MDG Business Partner (Central Part)
⤷ MDG_BS_ECC_BP_UNIT_TEST (Package) Master Data Governance: Cross BP Automated Integration Test
Properties
Class | CL_TH_MDG_ECC_BP_UTILS | |
Short Description | MDG ECC test helper business partner utilities | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | MDG_BS_ECC_BP_UNIT_TEST | Master Data Governance: Cross BP Automated Integration Test |
Created | 20110512 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_TH_MDG_ECC_BP_UTILS has no interface implemented.
Friends
Class CL_TH_MDG_ECC_BP_UTILS has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GC_CU_SAMPLE_DATA | Constant | Public | See coding | MDG Customer: Sample Data for unit test | 20120113 | |||
2 | GC_SP_PF_CATEGORY | Constant | Public | See coding | MDG Supplier: Partner Function Categories | 20120203 | |||
3 | GC_SP_SAMPLE_DATA | Constant | Public | See coding | MDG Supplier: Sample Data for unit test | 20120125 | |||
4 | GT_BP_GROUPINGS | Static Attribute | Public | See coding | BP Groupings | 20120126 | |||
5 | GT_BP_TO_CUSTOMER | Static Attribute | Public | See coding | CVI: BP to Customer | 20120126 | |||
6 | GT_BP_TO_VENDOR | Static Attribute | Public | See coding | CVI: BP to Vendor | 20120126 | |||
7 | GT_CU_ACCOUNTS | Static Attribute | Public | See coding | Customer Account Groups | 20120126 | |||
8 | GT_SP_ACCOUNTS | Static Attribute | Public | See coding | Supplier Account Groups | 20120126 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | GET_ANY_VALID_CLIENT_OBJECT_ID | Static method | Public | Method | 20111128 | |
2 | GET_BP_GROUP_EXT | Static method | Public | Method | Get a BP group for external to external No. | 20110603 |
3 | GET_BP_GROUP_EXT_INT | Static method | Public | Method | Get a BP group for external to internal No. | 20120127 |
4 | GET_BP_GROUP_EXT_SAME_NO | Static method | Public | Method | Get a BP group for external to external No. w/ same No. | 20110527 |
5 | GET_BP_GROUP_FOR_ACCOUNT | Static method | Public | Method | Get a BP group from CVI for the given account | 20120226 |
6 | GET_BP_GROUP_FOR_PF | Static method | Public | Method | Get a BP group & account group w/ part. functions from CVI | 20120228 |
7 | GET_BP_GROUP_INT | Static method | Public | Method | Get a BP group for internal to internal No. | 20110603 |
8 | GET_BP_GROUP_INT_EXT | Static method | Public | Method | Get a BP group for internal to external No. | 20120126 |
9 | GET_BP_GROUP_INT_EXT_SAME_NO | Static method | Public | Method | Get a BP group for internal to external No. w/ same No. | 20120126 |
10 | GET_CUST_ACCNT_GROUP_EXT | Static method | Public | Method | Get a valid customer account group w/ external No. | 20110531 |
11 | GET_CUST_ACCNT_GROUP_INT | Static method | Public | Method | Get a valid customer account group w/ internal No. | 20110531 |
12 | GET_CUST_ACCNT_GROUP_PF | Static method | Public | Method | Get a valid customer account group w/ partner functions | 20120220 |
13 | GET_CUST_PRICING | Static method | Public | Method | Get a valid customer account group and pricing procedure | 20120116 |
14 | GET_CUST_SALES_AREA | Static method | Public | Method | Get a valid customer sales area from customizing | 20120113 |
15 | GET_VALID_CVI_CUST_ACCNT_GROUP | Static method | Public | Method | Get any valid account group which is mapped bi-directional | 20110512 |
16 | GET_VALID_CVI_VEND_ACCNT_GROUP | Static method | Public | Method | Get any valid account group which is mapped bi-directional | 20110512 |
17 | GET_VEND_ACCNT_GROUP_EXT | Static method | Public | Method | Get a valid vendor account group w/ external No. | 20110603 |
18 | GET_VEND_ACCNT_GROUP_INT | Static method | Public | Method | Get a valid vendor account group w/ internal No. | 20110603 |
19 | GET_VEND_ACCNT_GROUP_PF | Static method | Public | Method | Get a valid vendor account group w/ partner functions | 20120203 |
20 | HAS_INTERNAL_NUMBERS | Static method | Private | Method | 20110603 | |
21 | IS_MDG_CUSTOMIZED_FOR_BO | Static method | Public | Method | 20110512 | |
22 | RETURN_TAB_HAS_ERROR | Static method | Public | Method | 20110512 | |
23 | RETURN_TAB_HAS_MESSAGE | Static method | Public | Method | 20111128 | |
24 | SET_BUFFERS | Static method | Private | Method | 20110603 |
Events
Class CL_TH_MDG_ECC_BP_UTILS has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | STY_CUSTOMER_PRICING | Public | See coding | Structure for customer pricing procedure | 20120116 | BEGIN OF sty_customer_pricing,
account_group TYPE ktokd,
pricing TYPE kalks,
END OF sty_customer_pricing
|
Method Signatures
Method GET_ANY_VALID_CLIENT_OBJECT_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | 20111128 | |||
2 | Importing | IV_BUSINESS_SYSTEM_ID | Call by reference | Type reference (TYPE) | SLD_BSKEY | 20111128 | |||
3 | Importing | IV_OTC | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | 20111128 | |||
4 | Importing | IV_SEARCH_VALUE | Call by reference | Type reference (TYPE) | MDG_OBJECT_ID_BS | 20111128 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NOT_FOUND | 20111128 |
Method GET_BP_GROUP_EXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | 20110603 | |||
2 | Returning | RV_BP_GROUP | Value transfer | Type reference (TYPE) | BU_GROUP | 20110603 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_TH_MDG_BS_ECC_BP_UNIT_TEST | Exception Class for MDG BP Unit Tests in MDG_APPL | 20120127 |
Method GET_BP_GROUP_EXT_INT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | Assignment Category | 20120127 | ||
2 | Returning | RV_BP_GROUP | Value transfer | Type reference (TYPE) | BU_GROUP | Business Partner Grouping | 20120127 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_TH_MDG_BS_ECC_BP_UNIT_TEST | Exception Class for MDG BP Unit Tests in MDG_APPL | 20120202 |
Method GET_BP_GROUP_EXT_SAME_NO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | 20110603 | |||
2 | Returning | RV_BP_GROUP | Value transfer | Type reference (TYPE) | BU_GROUP | 20110527 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_TH_MDG_BS_ECC_BP_UNIT_TEST | Exception Class for MDG BP Unit Tests in MDG_APPL | 20120127 |
Method GET_BP_GROUP_FOR_ACCOUNT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_ACCOUNT_GROUP | Call by reference | Type reference (TYPE) | CHAR4 | Customer/Supplier Account Group | 20120226 | ||
2 | Importing | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | Assignment Category | 20120226 | ||
3 | Returning | RV_BP_GROUP | Value transfer | Type reference (TYPE) | BU_GROUP | Business Partner Grouping | 20120226 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MDG_BS_ECC_BP_OBJ_INTEGR | Exception Class for MDG BP Object Integration | 20120226 |
Method GET_BP_GROUP_FOR_PF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_ACCOUNT_GROUP | Call by reference | Type reference (TYPE) | CHAR4 | Customer/Supplier Account Group | 20120228 | ||
2 | Exporting | EV_ACCOUNT_GROUP_INT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Indicator for internal numbering | 20120228 | ||
3 | Exporting | EV_BP_GROUP | Call by reference | Type reference (TYPE) | BU_GROUP | Business Partner Grouping | 20120228 | ||
4 | Exporting | EV_BP_GROUP_INT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Indicator for internal numbering | 20120228 | ||
5 | Importing | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | Assignment Category | 20120228 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MDG_BS_ECC_BP_OBJ_INTEGR | Exception Class for MDG BP Object Integration | 20120228 |
Method GET_BP_GROUP_INT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | 20110603 | |||
2 | Returning | RV_BP_GROUP | Value transfer | Type reference (TYPE) | BU_GROUP | 20110603 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_TH_MDG_BS_ECC_BP_UNIT_TEST | Exception Class for MDG BP Unit Tests in MDG_APPL | 20120127 |
Method GET_BP_GROUP_INT_EXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | Assignment Category | 20120126 | ||
2 | Returning | RV_BP_GROUP | Value transfer | Type reference (TYPE) | BU_GROUP | Business Partner Grouping | 20120126 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_TH_MDG_BS_ECC_BP_UNIT_TEST | Exception Class for MDG BP Unit Tests in MDG_APPL | 20120127 |
Method GET_BP_GROUP_INT_EXT_SAME_NO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | Assignment Category | 20120126 | ||
2 | Returning | RV_BP_GROUP | Value transfer | Type reference (TYPE) | BU_GROUP | Business Partner Grouping | 20120126 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_TH_MDG_BS_ECC_BP_UNIT_TEST | Exception Class for MDG BP Unit Tests in MDG_APPL | 20120127 |
Method GET_CUST_ACCNT_GROUP_EXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_CUSTOMER_ACCOUNT_GROUP | Value transfer | Type reference (TYPE) | KTOKD | 20110531 |
Method GET_CUST_ACCNT_GROUP_EXT on class CL_TH_MDG_ECC_BP_UTILS has no exception.
Method GET_CUST_ACCNT_GROUP_INT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_CUSTOMER_ACCOUNT_GROUP | Value transfer | Type reference (TYPE) | KTOKD | 20110531 |
Method GET_CUST_ACCNT_GROUP_INT on class CL_TH_MDG_ECC_BP_UTILS has no exception.
Method GET_CUST_ACCNT_GROUP_PF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_EXCLUDED_ACCOUNT | Call by reference | Type reference (TYPE) | KTOKD | Customer account group | 20120220 | ||
2 | Returning | RV_CUSTOMER_ACCOUNT_GROUP | Value transfer | Type reference (TYPE) | KTOKD | Customer account group | 20120220 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_TH_MDG_BS_ECC_BP_UNIT_TEST | Exception Class for MDG BP Unit Tests in MDG_APPL | 20120220 |
Method GET_CUST_PRICING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RS_PRICING | Value transfer | Type reference (TYPE) | STY_CUSTOMER_PRICING | Structure for customer pricing procedure | 20120116 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_TH_MDG_BS_ECC_BP_UNIT_TEST | Exception Class for MDG BP Unit Tests in MDG_APPL | 20120116 |
Method GET_CUST_SALES_AREA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RS_SALES_AREA | Value transfer | Type reference (TYPE) | CMDS_EI_SALES_KEY | Ext. Interface: Sales Data / Key Fields | 20120113 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_TH_MDG_BS_ECC_BP_UNIT_TEST | Exception Class for MDG BP Unit Tests in MDG_APPL | 20120113 |
Method GET_VALID_CVI_CUST_ACCNT_GROUP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_CUSTOMER_ACCOUNT_GROUP | Value transfer | Type reference (TYPE) | KTOKD | Customer Account Group | 20110512 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_VALID_ACCOUNT_GROUP | 20110512 |
Method GET_VALID_CVI_VEND_ACCNT_GROUP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_VENDOR_ACCOUNT_GROUP | Value transfer | Type reference (TYPE) | KTOKK | Vendor account group | 20110512 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_VALID_ACCOUNT_GROUP | 20110512 |
Method GET_VEND_ACCNT_GROUP_EXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_VENDOR_ACCOUNT_GROUP | Value transfer | Type reference (TYPE) | KTOKK | Vendor account group | 20110603 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_TH_MDG_BS_ECC_BP_UNIT_TEST | Exception Class for MDG BP Unit Tests in MDG_APPL | 20120125 |
Method GET_VEND_ACCNT_GROUP_INT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_VENDOR_ACCOUNT_GROUP | Value transfer | Type reference (TYPE) | KTOKK | Vendor account group | 20110603 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_TH_MDG_BS_ECC_BP_UNIT_TEST | Exception Class for MDG BP Unit Tests in MDG_APPL | 20120203 |
Method GET_VEND_ACCNT_GROUP_PF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_EXCLUDED_ACCOUNT | Call by reference | Type reference (TYPE) | KTOKK | Vendor account group | 20120220 | ||
2 | Importing | IV_PF_CATEGORY | Call by reference | Type reference (TYPE) | CHAR1 | 'E' | Indicator for Partner Function Category | 20120203 | |
3 | Returning | RV_VENDOR_ACCOUNT_GROUP | Value transfer | Type reference (TYPE) | KTOKK | Vendor account group | 20120203 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_TH_MDG_BS_ECC_BP_UNIT_TEST | Exception Class for MDG BP Unit Tests in MDG_APPL | 20120203 |
Method HAS_INTERNAL_NUMBERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_NUMBER_RANGE | Call by reference | Type reference (TYPE) | NRNR | 20110603 | |||
2 | Importing | IV_OBJECT | Call by reference | Type reference (TYPE) | NROBJ | 20110603 | |||
3 | Returning | RV_IS_INTERNAL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110603 |
Method HAS_INTERNAL_NUMBERS on class CL_TH_MDG_ECC_BP_UTILS has no exception.
Method IS_MDG_CUSTOMIZED_FOR_BO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_BO_TYPE | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | 20110512 | |||
2 | Returning | RV_SETTINGS_OK | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110512 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INVALID_OBJECT_TYPE | 20110512 |
Method RETURN_TAB_HAS_ERROR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | 20110512 | |||
2 | Returning | RV_ERROR_OCCURED | Value transfer | Type reference (TYPE) | BOOLE_D | 20110512 |
Method RETURN_TAB_HAS_ERROR on class CL_TH_MDG_ECC_BP_UTILS has no exception.
Method RETURN_TAB_HAS_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | 20111128 | |||
2 | Importing | IV_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | 20111128 | |||
3 | Importing | IV_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | 20111128 | |||
4 | Importing | IV_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 20111128 | |||
5 | Returning | RV_MSG_FOUND | Value transfer | Type reference (TYPE) | BOOLE_D | 20111128 |
Method RETURN_TAB_HAS_MESSAGE on class CL_TH_MDG_ECC_BP_UTILS has no exception.
Method SET_BUFFERS Signature
Method SET_BUFFERS on class CL_TH_MDG_ECC_BP_UTILS has no parameter.
Method SET_BUFFERS on class CL_TH_MDG_ECC_BP_UTILS has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 606 |