Hierarchy
⤷
⤷
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 | 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 | Constant | Public | See coding | MDG Customer: Sample Data for unit test | 20120113 | ||||
| 2 | Constant | Public | See coding | MDG Supplier: Partner Function Categories | 20120203 | ||||
| 3 | Constant | Public | See coding | MDG Supplier: Sample Data for unit test | 20120125 | ||||
| 4 | Static Attribute | Public | See coding | BP Groupings | 20120126 | ||||
| 5 | Static Attribute | Public | See coding | CVI: BP to Customer | 20120126 | ||||
| 6 | Static Attribute | Public | See coding | CVI: BP to Vendor | 20120126 | ||||
| 7 | Static Attribute | Public | See coding | Customer Account Groups | 20120126 | ||||
| 8 | Static Attribute | Public | See coding | Supplier Account Groups | 20120126 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | 20111128 | ||
| 2 | Static method | Public | Method | Get a BP group for external to external No. | 20110603 | |
| 3 | Static method | Public | Method | Get a BP group for external to internal No. | 20120127 | |
| 4 | Static method | Public | Method | Get a BP group for external to external No. w/ same No. | 20110527 | |
| 5 | Static method | Public | Method | Get a BP group from CVI for the given account | 20120226 | |
| 6 | Static method | Public | Method | Get a BP group & account group w/ part. functions from CVI | 20120228 | |
| 7 | Static method | Public | Method | Get a BP group for internal to internal No. | 20110603 | |
| 8 | Static method | Public | Method | Get a BP group for internal to external No. | 20120126 | |
| 9 | Static method | Public | Method | Get a BP group for internal to external No. w/ same No. | 20120126 | |
| 10 | Static method | Public | Method | Get a valid customer account group w/ external No. | 20110531 | |
| 11 | Static method | Public | Method | Get a valid customer account group w/ internal No. | 20110531 | |
| 12 | Static method | Public | Method | Get a valid customer account group w/ partner functions | 20120220 | |
| 13 | Static method | Public | Method | Get a valid customer account group and pricing procedure | 20120116 | |
| 14 | Static method | Public | Method | Get a valid customer sales area from customizing | 20120113 | |
| 15 | Static method | Public | Method | Get any valid account group which is mapped bi-directional | 20110512 | |
| 16 | Static method | Public | Method | Get any valid account group which is mapped bi-directional | 20110512 | |
| 17 | Static method | Public | Method | Get a valid vendor account group w/ external No. | 20110603 | |
| 18 | Static method | Public | Method | Get a valid vendor account group w/ internal No. | 20110603 | |
| 19 | Static method | Public | Method | Get a valid vendor account group w/ partner functions | 20120203 | |
| 20 | Static method | Private | Method | 20110603 | ||
| 21 | Static method | Public | Method | 20110512 | ||
| 22 | Static method | Public | Method | 20110512 | ||
| 23 | Static method | Public | Method | 20111128 | ||
| 24 | 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 | EV_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | 20111128 | ||||
| 2 | IV_BUSINESS_SYSTEM_ID | Call by reference | Type reference (TYPE) | SLD_BSKEY | 20111128 | ||||
| 3 | IV_OTC | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | 20111128 | ||||
| 4 | IV_SEARCH_VALUE | Call by reference | Type reference (TYPE) | MDG_OBJECT_ID_BS | 20111128 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20111128 |
Method GET_BP_GROUP_EXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | 20110603 | ||||
| 2 | RV_BP_GROUP | Value transfer | Type reference (TYPE) | BU_GROUP | 20110603 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | Assignment Category | 20120127 | |||
| 2 | RV_BP_GROUP | Value transfer | Type reference (TYPE) | BU_GROUP | Business Partner Grouping | 20120127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | 20110603 | ||||
| 2 | RV_BP_GROUP | Value transfer | Type reference (TYPE) | BU_GROUP | 20110527 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_ACCOUNT_GROUP | Call by reference | Type reference (TYPE) | CHAR4 | Customer/Supplier Account Group | 20120226 | |||
| 2 | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | Assignment Category | 20120226 | |||
| 3 | RV_BP_GROUP | Value transfer | Type reference (TYPE) | BU_GROUP | Business Partner Grouping | 20120226 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EV_ACCOUNT_GROUP | Call by reference | Type reference (TYPE) | CHAR4 | Customer/Supplier Account Group | 20120228 | |||
| 2 | EV_ACCOUNT_GROUP_INT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Indicator for internal numbering | 20120228 | |||
| 3 | EV_BP_GROUP | Call by reference | Type reference (TYPE) | BU_GROUP | Business Partner Grouping | 20120228 | |||
| 4 | EV_BP_GROUP_INT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Indicator for internal numbering | 20120228 | |||
| 5 | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | Assignment Category | 20120228 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | 20110603 | ||||
| 2 | RV_BP_GROUP | Value transfer | Type reference (TYPE) | BU_GROUP | 20110603 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | Assignment Category | 20120126 | |||
| 2 | RV_BP_GROUP | Value transfer | Type reference (TYPE) | BU_GROUP | Business Partner Grouping | 20120126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_CATEGORY | Call by reference | Type reference (TYPE) | MDG_BP_ASSIGNMENT_CAT | Assignment Category | 20120126 | |||
| 2 | RV_BP_GROUP | Value transfer | Type reference (TYPE) | BU_GROUP | Business Partner Grouping | 20120126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | 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 | IV_EXCLUDED_ACCOUNT | Call by reference | Type reference (TYPE) | KTOKD | Customer account group | 20120220 | |||
| 2 | RV_CUSTOMER_ACCOUNT_GROUP | Value transfer | Type reference (TYPE) | KTOKD | Customer account group | 20120220 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | RS_PRICING | Value transfer | Type reference (TYPE) | STY_CUSTOMER_PRICING | Structure for customer pricing procedure | 20120116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | 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 | RV_CUSTOMER_ACCOUNT_GROUP | Value transfer | Type reference (TYPE) | KTOKD | Customer Account Group | 20110512 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110512 |
Method GET_VALID_CVI_VEND_ACCNT_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_VENDOR_ACCOUNT_GROUP | Value transfer | Type reference (TYPE) | KTOKK | Vendor account group | 20110512 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110512 |
Method GET_VEND_ACCNT_GROUP_EXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_VENDOR_ACCOUNT_GROUP | Value transfer | Type reference (TYPE) | KTOKK | Vendor account group | 20110603 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | RV_VENDOR_ACCOUNT_GROUP | Value transfer | Type reference (TYPE) | KTOKK | Vendor account group | 20110603 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_EXCLUDED_ACCOUNT | Call by reference | Type reference (TYPE) | KTOKK | Vendor account group | 20120220 | |||
| 2 | IV_PF_CATEGORY | Call by reference | Type reference (TYPE) | CHAR1 | 'E' | Indicator for Partner Function Category | 20120203 | ||
| 3 | RV_VENDOR_ACCOUNT_GROUP | Value transfer | Type reference (TYPE) | KTOKK | Vendor account group | 20120203 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_NUMBER_RANGE | Call by reference | Type reference (TYPE) | NRNR | 20110603 | ||||
| 2 | IV_OBJECT | Call by reference | Type reference (TYPE) | NROBJ | 20110603 | ||||
| 3 | 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 | IV_BO_TYPE | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | 20110512 | ||||
| 2 | RV_SETTINGS_OK | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110512 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110512 |
Method RETURN_TAB_HAS_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | 20110512 | ||||
| 2 | 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 | IT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | 20111128 | ||||
| 2 | IV_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | 20111128 | ||||
| 3 | IV_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | 20111128 | ||||
| 4 | IV_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 20111128 | ||||
| 5 | 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 |