extend bp sales area data
TRANSCRIPT
![Page 1: Extend BP Sales Area Data](https://reader034.vdocuments.net/reader034/viewer/2022052119/577cc6fa1a28aba7119fb495/html5/thumbnails/1.jpg)
8/12/2019 Extend BP Sales Area Data
http://slidepdf.com/reader/full/extend-bp-sales-area-data 1/10
How to extend BP Sales Area Data (CRM)
Applies to:SAP CRM
SummaryThis article provides the steps to be followed to extend BP Sales Area Data (Backend tables and BDOC structures) in CRM with new fields and
display them on the Web UI.
It is not supported to use AET/EEW to extend sales area data in SAP CRM 7.0 and previous versions.
Author(s):
Manish Sharma
Deloitte ConsultingCompany:
1/25/2012Created on:
Author(s) Bio
Working as SAP CRM Consultant with Deloitte Consulting LLP
Table of Contents
Applies to:SAP CRM
Summary
Author(s):
Introduction
Requirement
Issue/Challenge
Solution
Introduction
In this article we will discuss on how to enhance customer sales area data without availability of any standard tool like AET/EEW for that purpose
The application enhancement tool (AET) is an alternative to the easy enhancement workbench (EEW) and offers several new features compared
to the workbench. We can use AET / EEW to enhance customer master data general fields.
However, there is no standard tool that can be used to extend the sales area data with custom fields.
Hence, in order to enhance customer sales area data with custom fields, we need to follow a set of steps for defining the new fields, making them
visible on the Web UI, Including them in the BDOC for replication to ECC.
Requirement
There is requirement to enhance customer sales area data with new fields, display them on the Web UI and should be able to populate the same
in the BDOC for replication from CRM->ECC.
Technical Components: SAP CRM 7.0, SAP ECC 6.0
Issue/Challenge
It is not possible to extend BP Sales Area data using AET/EEW in CRM 7.0. Hence, manual steps needs to be followed to fulfill this requirement.
Also, there is no standard tool available to extend BP Sales Data.
Solution
![Page 2: Extend BP Sales Area Data](https://reader034.vdocuments.net/reader034/viewer/2022052119/577cc6fa1a28aba7119fb495/html5/thumbnails/2.jpg)
8/12/2019 Extend BP Sales Area Data
http://slidepdf.com/reader/full/extend-bp-sales-area-data 2/10
Step 1. Enhance the Backend Tables/StructuresIdentify the backend database table for Sales Data which is CRMM_BUT_SET0010 (Business
Partner: Sales Data) and check for standard append structure
Create an append structure to structures CRMT_BUS_SET0010 (new fields) and CRMT_BUS_SET0010X (update flags) and add all the required
Z fields.
![Page 3: Extend BP Sales Area Data](https://reader034.vdocuments.net/reader034/viewer/2022052119/577cc6fa1a28aba7119fb495/html5/thumbnails/3.jpg)
8/12/2019 Extend BP Sales Area Data
http://slidepdf.com/reader/full/extend-bp-sales-area-data 3/10
Create an append of structure BAPIBUS1006010_SALES and ZABAPIBUS1006010_SALESX and add the same set of new fields and update
flags respectively.
This is to add fields required for extending BAPI operations.
![Page 4: Extend BP Sales Area Data](https://reader034.vdocuments.net/reader034/viewer/2022052119/577cc6fa1a28aba7119fb495/html5/thumbnails/4.jpg)
8/12/2019 Extend BP Sales Area Data
http://slidepdf.com/reader/full/extend-bp-sales-area-data 4/10
![Page 5: Extend BP Sales Area Data](https://reader034.vdocuments.net/reader034/viewer/2022052119/577cc6fa1a28aba7119fb495/html5/thumbnails/5.jpg)
8/12/2019 Extend BP Sales Area Data
http://slidepdf.com/reader/full/extend-bp-sales-area-data 5/10
Now, BDOC BUPA_MAIN data structure BUS_EI_MAIN is also extended with the new f ields and corresponding update flags.
The above steps of creating append structure would enhance the Business Object BuilSalesTerms with the new fields. BuilSalesTerms is the
Dependent Object under Object BuilHeader-> BuilSalesArrangement
![Page 6: Extend BP Sales Area Data](https://reader034.vdocuments.net/reader034/viewer/2022052119/577cc6fa1a28aba7119fb495/html5/thumbnails/6.jpg)
8/12/2019 Extend BP Sales Area Data
http://slidepdf.com/reader/full/extend-bp-sales-area-data 6/10
Step 2. Enhance the WebClient UI to display the new fieldsAdd new fields in view BP_SALES/CorpAccountSalesEF configuration.
![Page 7: Extend BP Sales Area Data](https://reader034.vdocuments.net/reader034/viewer/2022052119/577cc6fa1a28aba7119fb495/html5/thumbnails/7.jpg)
8/12/2019 Extend BP Sales Area Data
http://slidepdf.com/reader/full/extend-bp-sales-area-data 7/10
Fields are displayed on the Web UI
Step 3. Enhance backend functions to read/write new field valuesFind out all the programs/classes/enhancements where structures
BAPIBUS1006010_SALES and CRMT_BUS_SET0010 are used
Field names are hard-coded in the standard program to pass values for read/write operations.
So to be able to pass the values in custom fields, create an implicit enhancement and extend all these programs likewise.Refer to the below
snapshot for example.
![Page 8: Extend BP Sales Area Data](https://reader034.vdocuments.net/reader034/viewer/2022052119/577cc6fa1a28aba7119fb495/html5/thumbnails/8.jpg)
8/12/2019 Extend BP Sales Area Data
http://slidepdf.com/reader/full/extend-bp-sales-area-data 8/10
Step 4. Test the enhancementCreate/change a customer and populate values in the new sales data fields.
Values should be updated in the backend table and in the outbound (CRM->ECC) BDOC.
![Page 9: Extend BP Sales Area Data](https://reader034.vdocuments.net/reader034/viewer/2022052119/577cc6fa1a28aba7119fb495/html5/thumbnails/9.jpg)
8/12/2019 Extend BP Sales Area Data
http://slidepdf.com/reader/full/extend-bp-sales-area-data 9/10
![Page 10: Extend BP Sales Area Data](https://reader034.vdocuments.net/reader034/viewer/2022052119/577cc6fa1a28aba7119fb495/html5/thumbnails/10.jpg)
8/12/2019 Extend BP Sales Area Data
http://slidepdf.com/reader/full/extend-bp-sales-area-data 10/10
: ECC inbound process need to be enhanced to read the custom field values in the BDOC and post in to the database tables. This will beNote
covered in another article.
Related Content
SAP Help: Sales Area Data
SAP CRM Web Client - Customizing and Development
Implicit Enhancement Options
Useful Information
Short quick summary to catch the reader's attention and of course the search engine