Online Tutorials & Training Materials | STechies.com
Register Login

SAP CRM quotation integration with SAP Price and Margin Management by Vendavo

|| || 0

SAP CRM quotation integration with SAP Price and Margin Management by Vendavo
Stechies

This SAP Note includes the instructions to install the SAP CRM quotation integration with SAP Price and Margin Management by Vendavo.

1. Install SAP CRM 7.0 enhancement package 1 SP01
2. Perform the attached pre-installation manual steps
3. Install the attached correction instruction using SNOTE
4. Perform the attached post-installation manual steps

For more information about the prerequisites for installing the correction to the CRM quotation part of SAP CRM 7.0 enhancement package SP02, see SAP Note 1484794.

------------------------------------------------------------------------
|Manual Pre-Implement.                                                 |
------------------------------------------------------------------------
|VALID FOR                                                             |
|Software Component   BBPCRM                        BBP / CRM         |
| Release 701          Until SAPKU70101                                |
------------------------------------------------------------------------

Create packages
1. Run transaction SE80
2. Open package CRM_QUOTATION
3. Switch to edit mode and select maintain in original language
4. Under Subpackages tab, click the Add button

Package: CRM_QUOTATION_PMM
Short Description: Integration of SAP Price and Margin Management with SAP CRM
Application Component: CRM-BTX-SLO-QUT
Software Component
Transl. Relevance: Development Tools - Translation into EN, DE
Superpackage:                  CRM_QUOTATION
Package Type: Not a main package

5. Under Use Accesses tab add the following package interfaces:
/SAPCND/COND_TECHNIQUE_DB
_ABA_DEFAULT
_ABA_VIRTUAL_DEFAULT
_AP-CFG_GIF
AP-PRC_DEFAULT
_AKB_INITIAL
_BASIS_VIRTUAL_DEFAULT
CRM_GENERIC_REUSE_TOOLS_STD
SAI_TOOLS
SAI_TOOLS_BASIS

6. save

1. Open package CRM_QUOTATION_PMM
2. Switch to edit mode and select maintain in original language
3. Under Subpackages tab, click the Add button

Package: CRM_QUOTATION_PMM_APP
Short Description: Integration of SAP Price and Margin Management with SAP CRM
Application Component: CRM-BTX-SLO-QUT
Software Component
Transl. Relevance: Development Tools - Translation into EN, DE
Superpackage:                  CRM_QUOTATION_PMM
Package Type: Not a main package

4. Under Use Accesses tab add the following package interfaces:
_ABA_DEFAULT
_ABA_VIRTUAL_DEFAULT
_AP-CFG_GIF
_BASIS_VIRTUAL_DEFAULT

5. Save

1. Open package CRM_QUOTATION_PMM
2. Switch to edit mode and select maintain in original language
3. Under Subpackages tab, click the Add button
Package: CRM_QUOTATION_PMM_BOL
Short Description: Integration of SAP Price and Margin Management with SAP CRM
Application Component: CRM-BTX-SLO-QUT
Software Component
Transl. Relevance: Development Tools - Translation into EN, DE
Superpackage:                  CRM_QUOTATION_PMM
Package Type: Not a main package

4. Under Use Accesses tab add the following package interfaces:
_ABA_DEFAULT
_ABA_VIRTUAL_DEFAULT
_AKB_INITIAL
_BASIS_VIRTUAL_DEFAULT

5. Save

1. Open package CRM_QUOTATION_PMM
2. Switch to edit mode and select maintain in original language
3. Under Subpackages tab, click the Add button
Package: CRM_QUOTATION_PMM_COMMON
Short Description: Integration of SAP Price and Margin Management with SAP CRM
Application Component: CRM-BTX-SLO-QUT
Software Component
Transl. Relevance: Development Tools - Translation into EN, DE
Superpackage:                  CRM_QUOTATION_PMM
Package Type: Not a main package

5. Save

1. Open package CRM_QUOTATION_PMM
2. Switch to edit mode and select maintain in original language
3. Under Subpackages tab, click the Add button
Package: CRM_QUOTATION_PMM_CUST
Short Description: Integration of SAP Price and Margin Management with SAP CRM
Application Component: CRM-BTX-SLO-QUT
Software Component
Transl. Relevance: Development Tools - Translation into EN, DE
Superpackage:                  CRM_QUOTATION_PMM
Package Type: Not a main package

4. Under Use Accesses tab add the following package interfaces:
/SAPCND/COND_TECHNIQUE_DB
_ABA_VIRTUAL_DEFAULT
AP-PRC_DEFAULT
_BASIS_VIRTUAL_DEFAULT
CRM_GENERIC_REUSE_TOOLS_STD

5. Save

1. Open package CRM_QUOTATION_PMM
2. Switch to edit mode and select maintain in original language
3. Under Subpackages tab, click the Add button
Package: CRM_QUOTATION_PMM_PROXY
Short Description: Integration of SAP Price and Margin Management with SAP CRM
Application Component: CRM-BTX-SLO-QUT
Software Component
Transl. Relevance: Development Tools - Translation into EN, DE
Superpackage:                  CRM_QUOTATION_PMM
Package Type: Not a main package

4. Under Use Accesses tab add the following package interfaces:
SAI_TOOLS
SAI_TOOLS_BASIS
5. Save

1. Open package CRM_QUOTATION_PMM
2. Switch to edit mode and select maintain in original language
3. Under Subpackages tab, click the Add button
Package: CRM_QUOTATION_PMM_SRV_IMPL
Short Description: Integration of SAP Price and Margin Management with SAP CRM
Application Component: CRM-BTX-SLO-QUT
Software Component
Transl. Relevance: Development Tools - Translation into EN, DE
Superpackage:                  CRM_QUOTATION_PMM
Package Type: Not a main package

4. Under Use Accesses tab add the following package interfaces:
_ABA_VIRTUAL_DEFAULT
5. save

1. Open package CRM_QUOTATION_PMM
2. Wwitch to edit mode and select maintain in original language
3. Under Subpackages tab, click the Add button
Package: CRM_QUOTATION_PMM_UI
Short Description: Integration of SAP Price and Margin Management with SAP CRM
Application Component: CRM-BTX-SLO-QUT
Software Component
Transl. Relevance: Development Tools - Translation into EN, DE
Superpackage:                  CRM_QUOTATION_PMM
Package Type: Not a main package

4. Save


Create Domains
1. Run transaction SE11
2. Select radio button Domain

CRMT_PMM_NEGOT_PRICE_ID
Package: CRM_QUOTATION_PMM_CUST
Short Description: PMM negotiable amount Identifier
Data Type: Char 30, Output length: 2

CRMT_PMM_NEGOT_PRICE_NAME
Package: CRM_QUOTATION_PMM_CUST
Short Description: PMM negotiable amount Identifier
Data Type: Char 40, Output length: 40

CRM_PMM_BTX_ACTION
Package: CRM_QUOTATION_PMM_CUST
Short Description: Action type for PMM synchronization
Data Type: Char 1, Output length: 1

Create Data Elements
CRMT_PMM_RELEVANT
Pacakge: CRM_QUOTATION_PMM_CUST
Short Description: Enable Deal Management
Domain: CRM_BOOLEAN
Length  Field Label
Short             10      PMM Check
Medium            20      PMM Check
Long              29      Enable Deal Managmnt
Heading           20      PMM Check

CRMT_PMM_NEGOT_PRICE_ID
Pacakge: CRM_QUOTATION_PMM_CUST
Short Description: Negotiable Discount ID
Domain:CRMT_PMM_NEGOT_PRICE_ID
Length  Field Label

Short            10      DiscountID
Medium            20      Negotiable Disc. ID
Long              29      Negotiable Discount ID
Heading           20      Negotiable Disc. ID

CRMT_PMM_NEGOT_PRICE_NAME
Pacakge: CRM_QUOTATION_PMM_CUST
Short Description: Negotiable Discount ID
Domain:CRMT_PMM_NEGOT_PRICE_NAME
Length  Field Label

Short             10      Discount
Medium            20      Negotiable Discount
Long              29      Negotiable Discount Name
Heading           20      Negotiable Discount

CRM_PMM_BTX_ACTION
Package: CRM_QUOTATION_PMM_APP
Short Description: Action flag for replication to PMM
Domain:CRM_PMM_BTX_ACTION
Length  Field Label

Short             10      Action
Medium            20      Action
Long              29      Action
Heading           20      Action

CRM_PMM_BTX_APPROVAL_MAP_REQ
Package: CRM_QUOTATION_PMM_APP
Short Description: PMM Approval Map Requested Indicator
Domain:BOOLEAN
Length  Field Label
Short             10      Map Requ.
Medium            20      Map Requested
Long              29      Approval Map Requested
Heading           20      Map Requested

CRM_PMM_BTX_CUST_REQ_DISCOUNT
Package: CRM_QUOTATION_PMM_APP
Short Description: PMM Customer Requested Discount
Predefined type:DEC, Length: 8, Decimal: 2
Length  Field Label
Short             10      Discount
Medium            20      Cust. Req. Discount
Long              29      Customer Requested Discount
Heading          20      Customer Requested Discount

CRM_PMM_BTX_CUST_REQ_PRICE
Package: CRM_QUOTATION_PMM_APP
Short Description:PMM Customer Requested Price
Domain:WERTV8
Length  Field Label
Short             10      Price
Medium            20      Cust. Req. Price
Long              29      Customer Requested Price
Heading          20      Customer Requested Price

CRM_PMM_BTX_DEAL_SCORE
Package: CRM_QUOTATION_PMM_APP
Short Description:PMM Deal Score
Predefined type:DEC, Length: 8, Decimal: 2
Length  Field Label
Short            10      Deal Score
Medium            20      Deal Score
Long              29      Deal Score
Heading           20      Deal Score

CRM_PMM_BTX_INDICATOR
Package: CRM_QUOTATION_PMM_APP
Short Description:PMM Indicator
Domain: CHAR5

CRM_PMM_BTX_INVOICE_PRICE
Package: CRM_QUOTATION_PMM_APP
Short Description:PMM Invoice Price
Domain:WERTV8
Length  Field Label
Short             10      Price
Medium            20      Invoice Price
Long              29      Invoice Price
Heading           20      Invoice Price

CRM_PMM_BTX_ITEM_SCORE
Package: CRM_QUOTATION_PMM_APP
Short Description:PMM Item Score
Predefined type:DEC, Length: 8, Decimal: 2
Length  Field Label
Short            10      Item Score
Medium            20      Item Score
Long              29      Item Score
Heading           20      Item Score

CRM_PMM_BTX_POCKET_MARGIN
Package: CRM_QUOTATION_PMM_APP
Short Description:PMM Pocket Margin
Predefined type:DEC, Length: 8, Decimal: 2
Length  Field Label
Short             10      Margin
Medium            20      Pocket Margin
Long              29      Pocket Margin
Heading           20      Pocket Margin

CRM_PMM_BTX_POCKET_PRICE
Package: CRM_QUOTATION_PMM_APP
Short Description:PMM Pocket Price
Domain: WERTV8
Length  Field Label
Short             10      Price
Medium            20      Pocket Price
Long              29      Pocket Price
Heading           20      Pocket Price

CRM_PMM_BTX_TARGET_PRICE
Package: CRM_QUOTATION_PMM_APP
Short Description:PMM Target Price
Domain: WERTV8
Length  Field Label
Short             10      Price
Medium            20      Target Price
Long              29      Target Price
Heading           20      Target Price

CRM_PMM_BTX_APPROVERS
Package: CRM_QUOTATION_PMM_APP
Short Description:PMM Target Price
Predifined type: STRING
Length  Field Label
Short             10      Approver
Medium            20      Approver
Long              29      Approver
Heading           20      Approver

Create a Switch
1. Run transaction SFW1
2. Enter switch name CRM_PMM_1
3. Click create button
Package: CRM_SFW_EHP1
Description: CRM_PMM_1
Package: CRM_QUOTATION_PMM_APP
Long text: Integration of SAP Price Margin Management by Vendavo with SAP CRM
4. Save

Create Table
1. Run transaction SE11
Table name: CRMC_PMM_PRC_CON
Package: CRM_QUOTATION_PMM_CUST
Short Description: PMM Map Pricing Elements to Conditions
Delivery class: C
Fields:
Field            key  InitialValue Data Element
CLIENT X X    MANDT
NEGOTIABLE_PRICE     X X    CRMT_PMM_NEGOT_PRICE_NAME
KALSM X X    PRCT_PRIC_PROC
KSCHL X X    PRCT_COND_TYPE

Field FKey  Check table
KALSM X      PRCC_COND_PPD-KALSM, KAPPL='CRM', MANDT
KSCHL X /SAPCND/T685-KSCHL, KAPPL='CRM', KVEWE='PR', MANDT

Technical settings:
Data class: APPL2
Size category: 0
Buffered switch on: checked
Fully buffered: checked
Log data changes: checked

Enhancement category: Cannot be enhanced
2. Save and activate

Create Structures
1. Run transaction SE11
2. Select data type radio button

Structure name: CRMS_PMM_BTX_CUST_REQ_DISCOUNT
Package: CRM_QUOTATION_PMM_APP
Short Description: PMM - Customer requested discount
Fields:
Field                        Component type
NEGO_PRICE_NAME CRMT_PMM_NEGOT_PRICE_NAME
PERCENT_SELECTED_INDICATOR CRM_PMM_BTX_INDICATOR
PERCENT CRM_PMM_BTX_CUST_REQ_DISCOUNT
DISCOUNT_AMOUNT CRM_PMM_BTX_CUST_REQ_PRICE
DISCOUNT_CURRENCY CRMT_CURRENCY

Enhancement category: Can be enhanced deep
save and activate

Structure name: CRMS_PMM_BTX_ELMNTQRY
Package:CRM_QUOTATION_PMM_SRV_IMPL
Short Description: PMM Query by Element
Fields:
Field                        Component type
HEADER_GUID CRMT_OBJECT_GUID
HEADER_ID CRMT_OBJECT_ID
APPROVAL_MAP_REQ CRM_PMM_BTX_APPROVAL_MAP_REQ

Enhancement category: Can be enhanced deep
save and activate

Structure name: INCL_EEW_PMM_QUT_H_EXT
Package:CRM_QUOTATION_PMM_APP
Short Description: Price Margin Management Quotation Header extension
Fields:
Field                        Component type
CRM_PMM_QUT_HEADER DUMMY

Enhancement category: Can be enhanced deep
save and activate

Structure name: INCL_EEW_PMM_QUT_I_EXT
Package:CRM_QUOTATION_PMM_APP
Short Description: Price Margin Management Quotation Item extension
Fields:
Field                        Component type
CRM_PMM_QUT_ITEM          DUMMY

Enhancement category: Can be enhanced deep
save and activate

Structure name: CRMS_PMM_BTX_H_PRICE_APPR
Package:CRM_QUOTATION_PMM_APP
Short Description: PMM - Pricing and approval attributes
Fields:
Field                        Component type
HEADER_GUID CRMT_OBJECT_GUID
OBJECT_ID CRMT_OBJECT_ID
DEAL_SCORE CRM_PMM_BTX_DEAL_SCORE
TOTAL_POCKET_PRICE CRM_PMM_BTX_POCKET_PRICE
TOTAL_POCKET_MARGIN_PERC CRM_PMM_BTX_POCKET_MARGIN
CURRENCY CRMT_CURRENCY
.INCLUDE INCL_EEW_PMM_QUT_H_EXT

Enhancement category: Can be enhanced deep
save and activate

Structure name: CRMS_PMM_BTX_H_PRICE_APPR_BOL
Package:CRM_QUOTATION_PMM_BOL
Short Description: PMM - Pricing and approval attributes - BOL Attributes
Fields:
Field                        Component type
.INCLUDE CRMS_PMM_BTX_H_PRICE_APPR

Enhancement category: Can be enhanced deep
save and activate

Structure name: CRMS_PMM_BTX_H_PRICE_APPR_REQ
Package:CRM_QUOTATION_PMM_APP
Short Description: PMM - Price approval request attributes for header Attributes
Fields:
Field                        Component type
HEADER_GUID CRMT_OBJECT_GUID
HEADER_ID CRMT_OBJECT_ID
DESCRIPTION CRMT_PROCESS_DESCRIPTION
BUYER_PARTY_ID CRMT_PARTNER_NO
RESPONSIBLE_USER_ACCOUNT SYUNAME
SHIPTO_PARTY_ID CRMT_PARTNER_NO
SALES_ORG_ID CRMT_SALES_ORG
DISTRIBUTION_CHANNEL CRMT_DISTRIBUTION_CHANNEL
DEVISION_CODE CRMT_DIVISION
SALES_GROUP_ID CRMT_SALES_GROUP
PRICING_DATE      CRMT_PRICE_DATE
VALIDFROM_DATE CRMT_VALID_FROM
VALIDTO_DATE      CRMT_VALID_TO
CURRENCY CRMT_CURRENCY
NET_AMOUNT CRMT_NET_VALUE
NET_AMOUNT_CURRENCY CRMT_CURRENCY
PAYMENT_TERM CRMT_PMNTTRMS
FREIGHT_METHOD CRMT_INCOTERMS1
ITM_LIST_COMPLETE_INDICATOR CRM_PMM_BTX_INDICATOR
CREATED_AT COMT_CREATED_AT_USR
CREATED_BY CRMT_CREATED_BY
CHANGED_AT COMT_CHANGED_AT_USR
CHANGED_BY CRMT_CHANGED_BY
REFERENCE_ID CRMT_OBJECT_ID
CONTACT_PERSON_ID SYUNAME
SENDER_SYSTEM_ID SYSID
APPROVAL_MAP_REQUIRED CRM_PMM_BTX_INDICATOR

Enhancement category: Can be enhanced deep
save and activate

Structure name: CRMS_PMM_BTX_ITM_PROD_CONFIG
Package:CRM_QUOTATION_PMM_APP
Short Description: PMM - Item product configuration
Fields:
Field                        Component type
CONFIG_DATA_TYPE COMT_CFGD_CHTYPE
CONFIG_DATA CRMT_CUVAL_COM
VISIBLE_INDICATOR CRM_PMM_BTX_INDICATOR

Enhancement category: Can be enhanced deep
save and activate

Structure name: CRMS_PMM_BTX_I_PRICE_APPR
Package:CRM_QUOTATION_PMM_APP
Short Description: PMM - Pricing and approval attributes for items
Fields:
Field                        Component type
HEADER_GUID CRMT_OBJECT_GUID
ITEM_GUID CRMT_OBJECT_GUID
ITEM_ID CRMT_OBJECT_ID
ORDERED_PROD CRMT_ORDERED_PROD_DB
ORDER_QTY CRMT_QTY_ORDER
PROCESS_QTY_UNIT CRMT_PROCESS_QTY_UNIT
CUST_REQUEST_PRICE CRM_PMM_BTX_CUST_REQ_PRICE
CUST_REQUEST_DISCOUNT CRM_PMM_BTX_CUST_REQ_DISCOUNT
ITEM_SCORE CRM_PMM_BTX_ITEM_SCORE
TARGET_PRICE CRM_PMM_BTX_TARGET_PRICE
POCKET_PRICE CRM_PMM_BTX_POCKET_PRICE
INVOICE_PRICE CRM_PMM_BTX_INVOICE_PRICE
CURRENCY CRMT_CURRENCY
APPROVAL_REQUIRED CRMT_BOOLEAN
.INCLUDE INCL_EEW_PMM_QUT_I_EXT
APPROVERS CRM_PMM_BTX_APPROVERS

Primary key:
Select Key components
Select Unique
Key component: ITEM_GUID

Secondary key:
Further Secondary key: Not Specified
Secondary Key HEADER_GUID
Access Type sorted
Key Definition Key Components

Enhancement category: Can be enhanced deep
save and activate


Structure name: CRMS_PMM_BTX_I_PRICE_APPR_BOL
Package:CRM_QUOTATION_PMM_BOL
Short Description: PMM - Pricing and approval BOL attributes for items
Fields:
Field                        Component type
.INCLUDE CRMS_PMM_BTX_I_PRICE_APPR
APPROVALSTATUS CRMT_DESCRIPTION

Enhancement category: Can be enhanced deep
save and activate

Create Table types
1. Run transaction SE11
2. Select data type radio button

Table type name: CRMT_PMM_BTX_CUST_REQ_DISCOUNT
Package: CRM_QUOTATION_PMM_APP
Short Description: PMM - Customer requested discount
Line type: CRMS_PMM_BTX_CUST_REQ_DISCOUNT
save and activate

Table type name: CRMT_PMM_BTX_I_PRICE_APPR
Package: CRM_QUOTATION_PMM_APP
Short Description: PMM - Price and approval attributes for items
Line type: CRMS_PMM_BTX_I_PRICE_APPR
save and activate

Create Structures
1. Run transaction SE11
2. Select data type radio button

Structure name: CRMS_PMM_BTX_I_PRICE_APPR_REQ
Package:CRM_QUOTATION_PMM_APP
Short Description: PMM - Pricing and approval BOL attributes for items
Fields:
Field                        Component type
ITEM_ID CRMT_OBJECT_ID
RESPONSIBLE_USER_ACCOUNT SYUNAME
SHIPTO_PARTY_ID CRMT_PARTNER_NO
ORDERED_PRODUCT          CRMT_ORDERED_PROD_DB
ORDER_QTY CRMT_QTY_ORDER
PROCESS_QTY_UNIT CRMT_PROCESS_QTY_UNIT
CONFIGURATION DUMMY
VALIDFROM_DATE CRMT_VALID_FROM
VALIDTO_DATE CRMT_VALID_TO
NET_AMOUNT CRMT_NET_VALUE
NET_AMOUNT_CURRENCY CRMT_CURRENCY
CUST_REQUEST_PRICE_AMOUNT CRM_PMM_BTX_CUST_REQ_PRICE
CUST_REQUEST_PRICE_CURRENCY CRMT_CURRENCY
CUST_REQUEST_DISCOUNT CRMT_PMM_BTX_CUST_REQ_DISCOUNT
PAYMENT_TERM CRMT_PMNTTRMS
FREIGHT_METHOD CRMT_INCOTERMS1
APPROVAL_MAP_REQUIRED CRMT_BOOLEAN

Enhancement category: Can be enhanced deep
save and activate

Structure name: CRMS_PMM_BTX_PRICE_APPR
Package:CRM_QUOTATION_PMM_APP
Short Description: PMM - Pricing and approval attributes
Fields:
Field                        Component type
.INCLUDE CRMS_PMM_BTX_H_PRICE_APPR
ITEMS CRMT_PMM_BTX_I_PRICE_APPR

Enhancement category: Can be enhanced deep
save and activate

Structure name: CRMS_PMM_BTX_PRICE_APPR_REQ
Package:CRM_QUOTATION_PMM_APP
Short Description: PMM - Pricing and approval attributes
Fields:
Field                        Component type
.INCLUDE CRMS_PMM_BTX_H_PRICE_APPR_REQ
ITEMS      CRMT_PMM_BTX_I_PRICE_APPR_REQ

Enhancement category: Can be enhanced deep
save and activate

Structure name: CRMS_PMM_BTX_REGISTER_H
Package:CRM_QUOTATION_PMM_APP
Short Description: Register quote for PMM replication
Fields:
Field                        Component type
GUID CRMT_OBJECT_GUID
ACTION CRM_PMM_BTX_ACTION

Enhancement category: Can be enhanced deep
save and activate

Structure name: CRMS_PMM_BTX_REGISTER_I
Package:CRM_QUOTATION_PMM_APP
Short Description: Register quote for PMM replication
Fields:
Field                        Component type
GUID   CRMT_OBJECT_GUID
HEADER_GUID   CRMT_OBJECT_GUID
ACTION   CRM_PMM_BTX_ACTION

Enhancement category: Can be enhanced deep
save and activate

Structure name: CRMS_PMM_PRC_CON
Package:CRM_QUOTATION_PMM_APP
Short Description: PMM map pricing elements to conditions
Fields:
Field                        Component type
NEGOTIABLE_PRICE CRMT_PMM_NEGOT_PRICE_NAME
KALSM      PRCT_PRIC_PROC
KSCHL PRCT_COND_TYPE

Enhancement category: Can be enhanced deep
save and activate

Create Table types
1. Run transaction SE11
2. Select data type radio button

Table type name: CRMT_PMM_BTX_CUST_REQ_DISCOUNT
Package: CRM_QUOTATION_PMM_APP
Short Description: PMM - Customer requested discount
Line type: CRMS_PMM_BTX_CUST_REQ_DISCOUNT
save and activate

Table type name: CRMT_PMM_BTX_H_PRICE_APPR
Package: CRM_QUOTATION_PMM_APP
Short Description: PMM - Price and approval attributes for header
Line type: CRMS_PMM_BTX_H_PRICE_APPR
save and activate

Table type name: CRMT_PMM_BTX_ITM_PROD_CONFIG
Package: CRM_QUOTATION_PMM_APP
Short Description: PMM - Item product configuration
Line type: CRMS_PMM_BTX_ITM_PROD_CONFIG
save and activate

Table type name: CRMT_PMM_BTX_I_PRICE_APPR_REQ
Package: CRM_QUOTATION_PMM_APP
Short Description: PMM - Price approal request attributes for items
Line type: CRMS_PMM_BTX_I_PRICE_APPR_REQ
save and activate

Table type name: CRMT_PMM_BTX_REGISTER_H
Package: CRM_QUOTATION_PMM_APP
Short Description: Register quotation for PMM replication
Line type: CRMS_PMM_BTX_REGISTER_H
save and activate

Table type name: CRMT_PMM_BTX_REGISTER_I
Package: CRM_QUOTATION_PMM_APP
Short Description: Register quotation for PMM replication
Line type: CRMS_PMM_BTX_REGISTER_I
save and activate

Table type name: CRMT_PMM_PRC_CON
Package: CRM_QUOTATION_PMM_CUST
Short Description: PMM map pricing elements to conditions
Line type: CRMS_PMM_PRC_CON
save and activate

Create Views
1. Run transaction SE11
2. Select View radio button

View name: CRMV_PMM_PRC_CON
Type: Maintenance View
Package: CRM_QUOTATION_PMM_CUST
Short Description: Map Negotiable Discounts to Condition Types
Tables:
CRMC_PMM_PRC_CON
PRCC_COND_PPD
PRCC_COND_PPDT
/SAPCND/T685
/SAPCND/T685T

Joins Conditions:
PRCC_COND_PPD MANDT = CRMC_PMM_PRC_CON CLIENT
PRCC_COND_PPD KALSM = CRMC_PMM_PRC_CON KALSM
PRCC_COND_PPD MANDT = PRCC_COND_PPDT MANDT
PRCC_COND_PPD KAPPL = PRCC_COND_PPDT KAPPL
PRCC_COND_PPD KALSM = PRCC_COND_PPDT KALSM
/SAPCND/T685 MANDT = CRMC_PMM_PRC_CON CLIENT
/SAPCND/T685 KSCHL = CRMC_PMM_PRC_CON KSCHL
/SAPCND/T685 MANDT = /SAPCND/T685T MANDT
/SAPCND/T685 KAPPL = /SAPCND/T685T KAPPL
/SAPCND/T685 KVEWE = /SAPCND/T685T KVEWE
/SAPCND/T685 KSCHL = /SAPCND/T685T KSCHL

View field:
View field          Table                  Field  P
CLIENT             CRMC_PMM_PRC_CON       H
NEGOTIABLE_PRICE CRMC_PMM_PRC_CON
KALSM CRMC_PMM_PRC_CON KALSM
KSCHL CRMC_PMM_PRC_CON KSCHL
VTEXT_KALSM PRCC_COND_PPDT   VTEXT   R
VTEXT_KSCHL /SAPCND/T685T   VTEXT   R

Selection Condition:
/SAPCND/T685 KVEWE EQ 'PR' AND
/SAPCND/T685 KAPPL EQ 'CRM' AND
PRCC_COND_PPD KAPPL EQ 'CRM' AND

Main status:
Delivery class: C

save and activate

Generate view maintance for CRMV_PMM_PRC_CON
1. Run transaction SE11
2. Open view CRMV_PMM_PRC_CON
3. Go to Utilities->Table Maintenance Generator
Authorization Group  CRMC
Authorization Object S_TABU_DIS
Function group       CRM_PMM_BTX_CUST
Package              CRM_QUOTATION_PMM_CUST

Maintenance type
Maint. Screen No.    Overview screen      1
                      Single screen        0

Recording routine
Compare Flag          Automatically Adjustable

4. Create

Change existing View
1.  Run transaction SE11
2.  Select View radio button
3.  Enter View name: CRMV_SALES_HEAD
3.  Click Change button
4.  Add new field
     View Field: PMM_RELEVANCE
     Table: CRMC_SALES_HEAD
     Data elem.: CRMT_PMM_RELEVANT
5.  Save and activate
6.  From text menu: Utilities -> Table Maintenance Generator
7.  Click edit (pen) icon
8.  In the Reason for change Pop-up, checked:
     New Field/sec. table in structure
9.  Click green cross button
10. In 'Change Generation Elements: Detail' window checked:
     Overview screen, Single screen, Normal field
11. Click green cross button
12. Maintenance screen 001/002 will be deleted and recreated: click green cross button

Create message class and messages
1. Run transaction SE91
2. Enter Message class name: CRM_PMM_BTX
3. Click create button
Package: CRM_QUOTATION_PMM_COMMON
Short text: CRM Price Margin Management One Order integration
4. Add following self-explanatory messages:
   002 Cannot copy the selected item to a sales order; release the item first
   003 Check all mandatory fields
   004 Cannot derive a negotiable price or a negotiable discount
   007 PMM application error:&1
   030 Price analysis may not be correct; check document condition types
   031 Cannot perform price and margin analysis; check document condition types
5. Save


Long text message 007
----------------------------------------------------------------
Short Text
PMM application error:&1

Diagnosis
The SAP Price and Margin Management application by Vendavo (PMM) has generated an error message. Alternatively, the error message may be caused by incorrect configuration settings for the integration between SAP CRM and PMM.


System Response
SAP Customer Relationship Management (SAP CRM) displays the error message that has been generated by PMM within the space provided. Since the length of each error message generated from PMM is unknown, the complete message may not be displayed in SAP CRM.

Procedure
Contact your system administrator.

Procedure for System Administration
Check the Process Integration (PI) queue to view complete error message.
----------------------------------------------------------------

Long text message 030
----------------------------------------------------------------
Short Text
Price analysis may not be correct; check document condition types

Diagnosis
The values retrieved from the SAP Price and Margin Management application by Vendavo (PMM) may be incorrect.

The system compares the pricing procedures and the condition types defined in the Customizing activity Map Negotiable Discounts to Condition Types to those found in the document. If the values defined in Customizing are not found in the document, then the price and margin analysis may not be correct.


Procedure
Contact your system administrator.

Procedure for System Administration
Check the relevant pricing procedures and condition types defined in the Customizing activity Map Negotiable Discounts to Condition Types. Ensure that you have defined them in your document.
----------------------------------------------------------------

Long text message 031
----------------------------------------------------------------
Short Text
Check condition types in document and in Customizing; no match found

Diagnosis
The system cannot determine the price and margin information for the items since none of the condition types in the document match those defined in the Customizing activity Map Negotiable Discounts to Condition Types.


Procedure
Contact your system administrator.

Procedure for System Administration
Compare the relevant pricing procedures and condition types defined in the Customizing activity Map Negotiable Discounts to Condition Types to those defined in the document. Ensure that you have defined all of the relevant condition types in your document.
----------------------------------------------------------------


Extensibility

Configure extensibility for header

1. Run transaction AXTREG
2. Go into Edit mode
3. Create New Entry for Extensible BO
Enhanced BO: PMM_QUT_HEADER
BO Reference: Extend reference object
Reference BO: SALES_QUOTATION
Description: Price Margin Management Quotation Header

4. Go under BO Parts and create New Entry
Enhanced BO: PMM_QUT_HEADER
Part of a BO: PMM_QUT_HEADER
Field Enhancement Place: INCL_EEW_PMM_QUT_H_EXT
Allow New Field Enhancements: Inherited value/ Allowed
Allow New Table Enhancements: Inherited value/ Allowed
Field Enh. Switch: CRM_PMM_1

5. Go under UI Assignment and create New Entry
ID: 1
Component: BT115QH_SLSQ
View: Details
Context node: BTADMINH


Create extensibility for item

1. Run transaction AXTREG
2. Go into Edit mode
3. Create New Entry for Extensible BO
Enhanced BO: PMM_QUT_ITEM
BO Reference: Extend reference object
Reference BO: SALES_QUOTATION
Description: Price Margin Management Quotation Item

4. Go under BO Parts and create New Entry
Enhanced BO: PMM_QUT_ITEM
Part of a BO: PMM_QUT_ITEM
Field Enhancement Place: INCL_EEW_PMM_QUT_I_EXT
Allow New Field Enhancements: Inherited value/ Allowed
Allow New Table Enhancements: Inherited value/ Allowed
Field Enh. Switch: CRM_PMM_1

5. Go under UI Assignment and create New Entry
ID: 1
Component: CRM_PMM_PR_APPR
View: PriceApprovalAB
Context node: BTADMINI

6. Go under UI Assignment and create New Entry
ID: 2
Component: BT131QI_SLSQ
View: Details
Context node: BTADMINI

Create extensibility application group

1. Run transaction AXTREG
2. Go under Application Group and create New Entry
Application Group: PMM
Group type: Application Group
Description: Price Margin Management

Configure enhancement places for header

1. Run transaction AXTREG
2. Go under Places and create New Entry
Enhancement Place: INCL_EEW_PMM_QUT_H_EXT
Extension Include: INCL_EEW_PMM_QUT_H_EXT
Max fields: 150
Max bytes: 600
Percentage customer: 80
Percentage partner: 20
Application Group: PMM

3. Go under BOL Objects and create New Entry
BOL Object: BTAdminH
BOL Path: BTHeaderPMMExt

4. Create another entry
BOL Object: BTPriceApprovalH


Configure enhancement places for item

1. Run transaction AXTREG
2. Go under Places and create New Entry
Enhancement Place: INCL_EEW_PMM_QUT_I_EXT
Extension Include: INCL_EEW_PMM_QUT_I_EXT
Max fields: 150
Max bytes: 600
Percentage customer: 80
Percentage partner: 20
Application Group: PMM

3. Go under BOL Objects and create New Entry
BOL Object: BTAdminI
BOL Path: BTItemPMMExt

4. Create another entry
BOL Object: BTPriceApprovalI


Status Management

Create new Statuses
All statuses shall be created under package CRM_QUOTATION_PMM_APP

1. Run Transaction BS22

Create new Business transactions
All business transaction shall be created under package CRM_QUOTATION_PMM_APP

1. Run transaction BS32
I8980  SPAR Approval Requested
FINI  Complete : forbidd
SA03  Item approved/rejected : forbidd
SAAP  Approve Price Request : Allowed
SAPA  Partially Approve Price : Allowed
SARA  Request Price Approval : forbidd
SARP  Reject Price Request : Allowed
SAWR  Withdraw Approval Request : Allowed
I8981  SPRA Approved
SA01  Header release check : Allowed
SA02  Item release check : Allowed
SA03  Item approved/rejected : Allowed
SAAP  Approve Price Request : forbidd
SAPA  Partially Approve Price : forbidd
SARA  Request Price Approval : forbidd
SARP  Reject Price Request : forbidd
I8982  SPRR Denied
SA02  Item release check : Allowed
SA03  Item approved/rejected : Warning
SAAP  Approve Price Request : forbidd
SAPA  Partially Approve Price : forbidd
SARA  Request Price Approval : forbidd
SARP  Reject Price Request : forbidd
I8983  SPPA Partially Approved
SA01  Header release check : Allowed
SAAP  Approve Price Request : forbidd
SAPA  Partially Approve Price : forbidd
SARA  Request Price Approval : forbidd
SARP  Reject Price Request : forbidd
I8984  SADI To be distributed
CHNG  Change document : forbidd
SAAP  Approve Price Request : forbidd
SAPA  Partially Approve Price : forbidd
SARA  Request Price Approval : forbidd
SARD  Remove To Be Distributed : Allowed
SARP  Reject Price Request : forbidd
I8985  SATR Transferred
SART  Remove Transfered : Allowed
I8986  SARE Replicated
no influence
I8987  SANC No Change Allowed
CHNG  Change document : forbidd

Business transaction          Text      JV StA UsrSt Check
SA01 Header release check                    X
  Object type: COH: CRM Order Header
SA02 Item release check                      X
  Object type: COI: CRM Order Item
SA03 Item approved/rejected   Appr/Rejt      X    X
  Object type: COI: CRM Order Item
SAAP Approve Price Request                  X    X
  Object type: COH: CRM Order Header
  Object type: COI: CRM Order Item
Set
I8981  SPRA Approved
Delete
I8980  SPAR Approval Requested
I8982  SPRR Denied
I8983  SPPA Partially Approved
SADE Delete Approval Status                  X    X
  Object type: COH: CRM Order Header
  Object type: COI: CRM Order Item
Delete
I8981  SPRA Approved
I8980  SPAR Approval Requested
I8982  SPRR Denied
I8983  SPPA Partially Approved
SADI To be distributed                       X
  Object type: COH: CRM Order Header
  Object type: COI: CRM Order Item
Set
I8984  SADI To be distributed
SANC No Change Allowed                      X    X
  Object type: COH: CRM Order Header
  Object type: COI: CRM Order Item
Set
I8987  SANC No Change Allowed
SAPA Partially Approve Price                 X    X
  Object type: COH: CRM Order Header
Set
I8983  SPPA Partially Approved
Delete
I8980  SPAR Approval Requested
I8981  SPRA Approved
I8982  SPRR Denied
SARA Request Price Approv                    X    X
  Object type: COH: CRM Order Header
  Object type: COI: CRM Order Item
Set
I8981  SPRA Approved
Delete
I8980  SPAR Approval Requested
I8982  SPRR Denied
I8983  SPPA Partially Approved
SARD Remove To Be Distributed                X    X
  Object type: COH: CRM Order Header
  Object type: COI: CRM Order Item
Delete
I8984  SADI To be distributed
SARP Reject Price Request                    X    X
  Object type: COH: CRM Order Header
  Object type: COI: CRM Order Item
Set
I8982  SPRR Denied
Delete
I8981  SPRA Approved
I8980  SPAR Approval Requested
I8983  SPPA Partially Approved
SART Remove Transfered                      X    X
  Object type: COH: CRM Order Header
  Object type: COI: CRM Order Item
Delete
I8985  SATR Transferred
SATR Transfer                                X    X
  Object type: COH: CRM Order Header
  Object type: COI: CRM Order Item
Set
I8985  SATR Transferred
I8986  SARE Replicated
Delete
I8984  SADI To be distributed
SAWR Withdraw Approval Request               X    X
  Object type: COH: CRM Order Header
  Object type: COI: CRM Order Item
Delete
I8980  SPAR Approval Requested


Change the following system statuses
1. Run transaction BS22

I1002 OPEN Open
Forbidd.
   SA03, SANC
I1003 PROC In Process
     Allowed
       SWAR, SAAP, SADE, SADI, SANC, SAPA, SARA, SARD, SARP,
       SATR, SAWR
I1005 CMPD Completed
     Allowed
       SADI, SANC
I8980 SPAR Approval Requested
     Allowed
       SWAR, SAAP, SAPA, SARP, SAWR
     Forbidd.
       SA03, SARA
I8981 SPRA Approved
     Allowed
       SA01, SA02, SA03
     Forbidd.
       SAAP, SAPA, SARA, SARP
I8982 SPRR Denied
     Allowed
       SA02
     Warning
       SA03
     Forbidd.
       SAAP, SAPA, SARA, SARP
I8983 SPPA Partially Approved
     Allowed
       SA01
Forbidd.
       SAAP, SAPA, SARA, SARP
I8984 SADI To be distributed
Forbidd.
       SAAP, SAPA, SARA, SARD, SARP
I8985 SATR Transferred
     Allowed
       SART

Add Changeable System Status in CRM Document
1. Run transaction SE16, CRMV_STATUS_PROC
2. Click Create Entries (F5) button
3. Switch to edit mode
4. Click New Entries button

SystemST Set Transac  Status
I8980     X  SARA     Approval Requested
I8981     X  SAAP     Approved
I8982     X  SARP     Denied
I8983     X  SAPA     Partially Approved

Create UI component
1. Run ransaction BSP_WD_CMPWB.
2. Create component CRM_PMM_PR_APPR
package: CRM_QUOTATION_PMM_UI
   window name is MainWindow

Create BSP object type
1. Run transaction SE16, BSPDLCV_OBJ_TYPE
2. Click Create Entries (F5) button
3. Switch to edit mode
4. Click New Entries button

Object Type:     CRM_QUT_PMM
Description:     CRM Quotation - Price & Margin Management

Check if function group is created CRM_PMM_BTX_CUST
1. Run transaction SE80
2. Open package CRM_QUOTATION_PMM_CUST
3. If function group CRM_PMM_BTX_CUST does not exist, create it.
4. Right click on package name, select Create->Function Group
Function group CRM_PMM_BTX_CUST
Short text              Extended Table Maintenance (Generated)
5. Save and activate

 
------------------------------------------------------------------------
|Manual Post-Implement.                                                |
------------------------------------------------------------------------
|VALID FOR                                                             |
|Software Component   BBPCRM                        BBP / CRM         |
| Release 701          Until SAPKU70101                                |
------------------------------------------------------------------------

Delete the following methods
CL_CRM_PMM_BTX_APP CONSTRUCTOR
CL_CRM_PMM_BTX_APP FILTER_PRICE_RELEVANT_ITEMS
CL_CRM_PMM_BTX_APP ON_TRANSACTION_FINISHED
CL_CRM_PMM_BTX_APP SET_SAVE_GUID


Create Event handler object function
1. Run transaction SE16, CRMV_OBJ_FUNC
2. Click Create Entries (F5) button
3. Switch to edit mode
4. Click New Entries button

Add the following Object function:
CRM_PMM_QUT

Create Subobjects of CRM Document
1. Run transaction SE16, CRMV_OBJECTS
2. Click Create Entries (F5) button
3. Switch to edit mode
4. Click New Entries button

Object Name PMM_COM
Description     Price Margin Management Integration
Object Type           Header extension
Object Type
Condition access      Not relevant
Change doc rel        Not relevant
Persistent
Uses Extension2

Object Name PMM_QUT_COM
Description PMM integrtion in Quotation
Object Type           Header extension
Object Type
Condition access      Not relevant
Change doc rel        Not relevant
Persistent
Uses Extension2

Assignment: Application area - Sub-Object
1. Run transaction SE16, CRMV_OBJECT_ASSI
2. Click Create Entries (F5) button
3. Switch to edit mode
4. Click New Entries button

Appl. area: BUS2000115
Desc.: Appl. area: Sales
Object: PMM_QUT_COM

Assignment: Application area - Sub-Object
1. Run transaction SE16, CRMV_OBJ_ASSI_I
2. Click Create Entries (F5) button
3. Switch to edit mode
4. Click New Entries button

ObjectTy: BUS2000131
Object: PMM_QUT_COM
Description: PMM integrtion in Quotation


Assignment Object to Functions
1. Run transaction SE16, CRMV_OBJECT_FUNC
2. Rlick Create Entries (F5) button
3. Switch to edit mode
4. Click New Entries button

Add the following Object function:
Object Name                  Object Function
APPOINTMENT                  CRM_PMM_QUT
ORDER                        CRM_PMM_COM

Assign Event Handler Modules for Object Function
1. Run transaction SE16, CRMV_FUNC_ASSIGN
2. Click Create Entries (F5) button
3. Switch to edit mode
4. Click New Entries button

Add the following assignements:
Function module                  Object
CRM_PMM_BTX_APPROVAL_CHECK_EC    CRM_QUOTATION
CRM_PMM_BTX_PMM_QUT_CHANGE_EC    CRM_PMM_QUT
CRM_PMM_BTX_PRICE_APPROVAL_EC    CRM_QUOTATION
CRM_PMM_BTX_QUT_APPOINTMEN_EC    CRM_PMM_QUT
CRM_PMM_BTX_QUT_APPROVAL_EC CRM_QUOTATION
CRM_PMM_BTX_QUT_APPR_REQ_EC CRM_QUOTATION
CRM_PMM_BTX_QUT_BEF_COMPL_EC CRM_QUOTATION
CRM_PMM_BTX_QUT_BEF_RELE_EC CRM_QUOTATION
CRM_PMM_BTX_QUT_CASCADE_EC CRM_PMM_QUT
CRM_PMM_BTX_QUT_INIT_EC CRM_QUOTATION
CRM_PMM_BTX_QUT_PARTNER_EC CRM_PMM_QUT
CRM_PMM_BTX_QUT_PRICING_EC CRM_PMM_QUT
CRM_PMM_BTX_QUT_PRICING_H_EC CRM_PMM_QUT
CRM_PMM_BTX_QUT_PRIDOC_EC        CRM_PMM_QUT
CRM_PMM_BTX_QUT_PROC_REJ_H_EC    CRM_PMM_QUT
CRM_PMM_BTX_QUT_PRODUCT_I_EC CRM_PMM_QUT
CRM_PMM_BTX_QUT_REJECT_H_EC CRM_PMM_QUT
CRM_PMM_BTX_QUT_REJECT_I_EC CRM_PMM_QUT
CRM_PMM_BTX_QUT_RROC_REJ_I_EC    CRM_PMM_QUT
CRM_PMM_BTX_QUT_SAVE_CANCEL_EC CRM_PMM_QUT
CRM_PMM_BTX_QUT_SAVE_EC CRM_PMM_QUT
CRM_PMM_BTX_QUT_SCHEDLIN_I_EC    CRM_PMM_QUT
CRM_PMM_BTX_QUT_SHIPING_EC CRM_PMM_QUT
CRM_PMM_BTX_QUT_STATUS_H_EC CRM_PMM_QUT
CRM_PMM_BTX_QUT_STAT_FILTER_EC CRM_QUOTATION
CRM_PMM_BTX_QUT_TEST_EC CRM_PMM_QUT
CRM_PMM_BTX_TRANSFER_EC CRM_QUOTATION

Create event for One Order Framework (system setting)
1. Run transaction SE16, table name: CRMV_EVC_ALL
2. Click Create Entries (F5) button
3. Switch to edit mode
4. Click New Entries button

Trans. Category BUS2000115   Sales
Execution Time  50    End of Document Processing
Priority        1
Object Name     PMM_QUT_COM
Event           AFTER_CHANGE
Attribute       <*>
Function CRM_PMM_BTX_PMM_QUT_CHANGE_EC

Perform Function for Doc. Header = checked
Perform Function for Document item = checked
Call callback: Call Just Once Per Transaction

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  78    Before Saving
Priority        50
Object Name     ORDER
Event           BEFORE_SAVE
Attribute       <*>
Function CRM_PMM_BTX_PRICE_APPROVAL_EC

Perform Function for Doc. Header = checked
Call callback: Call to header/item with Object, Event, Attr. W/Out Old/New

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        10
Object Name     APPOINTMENT
Event           AFTER_CHANGE
Attribute       <*>
Function CRM_PMM_BTX_QUT_APPOINTMEN_EC

Perform Function for Doc. Header = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        10
Object Name     APPOINTMENT
Event           AFTER_CREATE
Attribute       <*>
Function CRM_PMM_BTX_QUT_APPOINTMEN_EC

Perform Function for Doc. Header = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        10
Object Name     APPOINTMENT
Event           AFTER_DELETE
Attribute       <*>
Function CRM_PMM_BTX_QUT_APPOINTMEN_EC

Perform Function for Doc. Header = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New


Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        50
Object Name     STATUS
Event           AFTER_CHANGE
Attribute       I8980
Function CRM_PMM_BTX_QUT_APPR_REQ_EC

Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        1
Object Name     STATUS
Event           AFTER_CHANGE
Attribute       I8981
Function CRM_PMM_BTX_QUT_APPROVAL_EC

Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        1
Object Name     STATUS
Event           AFTER_CHANGE
Attribute       I8982
Function CRM_PMM_BTX_QUT_APPROVAL_EC

Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        9
Object Name     STATUS
Event           BEFORE_CHANGE
Attribute            QTAC
Function CRM_PMM_BTX_QUT_BEF_COMPL_EC

Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        10
Object Name     STATUS
Event           BEFORE_CHANGE
Attribute       I1004
Function CRM_PMM_BTX_QUT_BEF_RELE_EC

Perform Function for Doc. Header = checked
Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  88    Initialize Document
Priority        50
Object Name     ORDER
Event           INIT
Attribute       <*>
Function CRM_PMM_BTX_QUT_INIT_EC

Perform Function for Doc. Header = checked
Call callback: [A] Call to header/item with Object, Event, Attr.,  W/Out Old/New

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        10
Object Name     PARTNER
Event           AFTER_CHANGE
Attribute       <*>
Function CRM_PMM_BTX_QUT_PARTNER_EC

Perform Function for Doc. Header = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        10
Object Name     PARTNER
Event           AFTER_CREATE
Attribute       <*>
Function CRM_PMM_BTX_QUT_PARTNER_EC

Perform Function for Doc. Header = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        10
Object Name     PARTNER
Event           AFTER_DELETE
Attribute       <*>
Function CRM_PMM_BTX_QUT_PARTNER_EC

Perform Function for Doc. Header = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        50
Object Name     PRICING_I
Event           AFTER_CHANGE
Attribute       <*>
Function CRM_PMM_BTX_QUT_PRICING_EC

Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        55
Object Name     PRICING_I
Event           AFTER_CREATE
Attribute       <*>
Function CRM_PMM_BTX_QUT_PRICING_EC

Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        55
Object Name     PRICING_I
Event           AFTER_DELETE
Attribute       <*>
Function CRM_PMM_BTX_QUT_PRICING_EC

Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        110
Object Name     PRICING
Event           AFTER_CHANGE
Attribute       <*>
Function CRM_PMM_BTX_QUT_PRICING_H_EC

Perform Function for Doc. Header = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        110
Object Name     PRICING
Event           AFTER_DELETE
Attribute       <*>
Function CRM_PMM_BTX_QUT_PRICING_H_EC

Perform Function for Doc. Header = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        10
Object Name     PRIDOC
Event           AFTER_CHANGE
Attribute       <*>
Function CRM_PMM_BTX_QUT_PRIDOC_EC

Perform Function for Doc. Header = checked
Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        80
Object Name     STATUS
Event           AFTER_CHANGE
Attribute       I1032
Function CRM_PMM_BTX_QUT_PROC_REJ_H_EC

Perform Function for Doc. Header = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        75
Object Name     PRODUCT_I
Event           AFTER_CHANGE
Attribute       <*>
Function CRM_PMM_BTX_QUT_PRODUCT_I_EC

Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        75
Object Name     PRODUCT_I
Event           AFTER_DELETE
Attribute       <*>
Function CRM_PMM_BTX_QUT_PRODUCT_I_EC

Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  50    End of Document Processing
Priority        120
Object Name     STATUS
Event           AFTER_CHANGE
Attribute       I1032
Function CRM_PMM_BTX_QUT_REJECT_H_EC

Perform Function for Doc. header = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  10    End of Item Processing
Priority        75
Object Name     STATUS
Event           AFTER_CHANGE
Attribute       I1032
Function CRM_PMM_BTX_QUT_REJECT_I_EC

Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        79
Object Name     STATUS
Event           AFTER_CHANGE
Attribute       I1032
Function CRM_PMM_BTX_QUT_RROC_REJ_I_EC

Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  80    Save Document
Priority        90
Object Name     ORDERADM_H
Event           SAVE
Attribute       <*>
Function CRM_PMM_BTX_QUT_SAVE_EC

Perform Function for Doc. header = checked
Call callback: Call just once per transaction

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        10
Object Name     SCHEDLIN_I
Event           AFTER_CHANGE
Attribute       <*>
Function CRM_PMM_BTX_QUT_SCHEDLIN_I_EC

Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data


Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        10
Object Name     SHIPPING
Event           AFTER_CHANGE
Attribute       <*>
Function CRM_PMM_BTX_QUT_SHIPING_EC

Perform Function for Doc. header = checked
Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data

Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        10
Object Name     SHIPPING
Event           AFTER_CREATE
Attribute       <*>
Function CRM_PMM_BTX_QUT_SHIPING_EC

Perform Function for Doc. header = checked
Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data


Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        10
Object Name     SHIPPING
Event           AFTER_DELETE
Attribute       <*>
Function CRM_PMM_BTX_QUT_SHIPING_EC

Perform Function for Doc. header = checked
Perform Function for Document item = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data


Click New Entries button
Trans. Category BUS2000115   Sales
Execution Time  1     Immediately
Priority        10
Object Name     STATUS
Event           AFTER_CHANGE
Attribute       I1003
Function CRM_PMM_BTX_QUT_STATUS_H_EC

Perform Function for Doc. header = checked
Call callback: Call to header/item with Object, Event, Attr.,  Old/New data


BOL and Interaction Layer customzing [system setting]

Create External Object
1. Run transaction SE16, CRMV_OBJ_BTIL
2. Click Create Entries (F5) button
3. Switch to edit mode
4. Click New Entries button

Make the follwoing entries:

Ext.Object Name: BTPriceApprovalH
Object Name          <_>
Description
Object Type          [c] Dependent object
Structure            CRMS_PMM_BTX_H_PRICE_APPR_BOL
Structure            CRMT_OBJECT_GUID
Result Object Name
Structure
Log. Variable        true
Switch               CRM_PMM_1
Reaction to Switch   display

Ext.Object Name: BTPriceApprovalI
Object Name          <_>
Description
Object Type          [c] Dependent object
Structure            CRMS_PMM_BTX_I_PRICE_APPR_BOL
Structure            CRMT_OBJECT_GUID
Result Object Name
Structure
Log. Variable        true
Switch               CRM_PMM_1
Reaction to Switch   display

Create External Object
1. Run transaction SE16, CRMV_METHOD_BTIL
2. Click Create Entries (F5) button
3. Switch to edit mode
4. Click New Entries button

Ext.Object Name: BTPriceApprovalH
Bus. Obj.Method: submitApprovalRequest

Structure          CRMST_GUID_BTIL
Ext.Object Name
Switch ID          CRM_PMM_1
Reaction           D


Create Design layer

Design layer for header view
1. Run transaction BSP_WD_CMPWB
2. Display component BT115QH_SLSQ
3. Select Views > BT115QH_SLSQ/Details
4. Go to Context Node BTADMINH
5. For the attribute DEAL_SCORE, do the following:
    A. Right-click the attribute, click 'Assignment to Design Layer'
    B. Add Assignment
    C. Expand 'Reference Design Objects' > BT
    D. Select BTPRICEAPPROVALH
    E. Select Object Type 'DEFAULT'
    F. Click Save

Design layer for items view
1. Run transaction BSP_WD_CMPWB
2. Display component BT131QI_SLSQ
3. Select Views > BT131QI_SLSQ/Details
4. Go to Context Node BTADMINI
5. For each of the attributes listed below, do the following:
    A. Right-click the attribute, click 'Assignment to Design Layer'
    B. Add Assignment
    C. Expand 'Reference Design Objects' > BT
    D. Select BTPRICEAPPROVALI
    E. Select Object Type 'DEFAULT' for the attributes with an asterisk, and CRM_QUT_PMM for the others
        I.    ITEM_SCORE*
        II.   INVOICE_PRICE*
        III.  TARGET_PRICE*
        IV.   APPROVAL_REQUIRED*
        V.    APPROVAL_REQUIRED
        VI.   POCKET_PRICE
        VII.  CUST_REQUEST_DISCOUNT
        VIII. CUST_REQUEST_PRICE
    F. Click Save

Design layer for price approval AB
1. Run transaction BSP_WD_CMPWB
2. Display component CRM_PMM_PR_APPR
3. Select Views > CRM_PMM_PR_APPR/PriceApprovalAB
4. Go to Context Node BTADMINI
5. For each of the attributes listed below, do the following:
    A. Right-click the attribute, click 'Assignment to Design Layer'
    B. Add Assignment
    C. Expand 'Reference Design Objects' > BT
    D. Select BTPRICEAPPROVALI
    E. Select Object Type 'DEFAULT' for the attributes with an asterisk, and CRM_QUT_PMM for the others
        I.   CUST_REQUEST_DISCOUNT
        II.  CUST_REQUEST_PRICE
        III. QUANTITY_UNIT*
        IV.  QUANTITY*
    F. Click Save


Add the following text object to OTR (Object Text Repository)
1. Run transaction BSP_WD_CMPWB
2. Create the below text object

Language             English
Package              CRM_UIU_BT
Alias                CRM_UIU_BT/PRICEAPPROVAL
Object Type          WAPP

  Lngth  27
  Text   Request Price Approval

 


Related Articles

0.015 seconds.