Intro
SAP has many systems. This article addresses connecting to data from the SAP ECC (ERP Central Component) tool. This connector consists of several modules, including utilities for marketing and sales, field service, product design and development, production and inventory control, human resources, finance and accounting. SAP ERP collects and combines data from the separate modules to provide the company or organization with enterprise resource planning.Primary Use Cases |
|
Primary Metrics |
|
Primary Company Roles |
|
Average Implementation Time | 80 hours |
Ease of Implementation (on a 1-to-10 scale with 1 being easiest) | 10 |
Architecture
The architecture of this connection can be summed up as follows:
- A Service-Oriented Architecture (SOA) is created in ECC and published for subscription (Publish & Subscribe).
- The service generates a Web Service Definition Language (WSDL) XML file which defines the flow of data.
- Domo then calls the service through the WSDL and requests data as defined by the WSDL.
- ECC then interrogates the call and sends data through the SOA packet.
- This is all controlled and defined in SAP ECC and Netweaver.
Connection Summary
To connect to SAP data in Domo, you must establish a DOMO-SAP data link. To do this, you will go through all of the following steps. If a step contains a hyperlink, you can click on that link to read about this step in more detail.-
Do all of the following in your development system:
- Establish an RFC user for DOMO
- Create the ZZDOMO Function Group
- Find your ICF server path
- Load your first DOMO function module
- Create an Enterprise Service
- Publish your new service using SAP SOA
-
Send an email to DOMO with:
- Server Path
- DOMO RFC username and password
- Test your first web service with a DOMO representative
- Load all additional web services
- Test all services in the Development Environment
- Transport all of the above to a Quality Assurance System and test thoroughly.
- Transport all of the above to a Production, or BI System.
Connection Steps
Step 1: Establish an RFC user for Domo
To enable communication between the SAP ERP back-end system and DOMO, you must create an RFC user in the SAP ERP system. To establish an RFC user for Domo,- Log onto the SAP ECC system.
-
Access the activity using one of the following navigation options:
- Call transaction code SU01.
- In the SAP ERP GUI, choose Tools > Administration > User Maintenance > Users.
- In the User field, enter ERP2DOMO.
- Select Create (F8).
-
On the Maintain User screen, enter information as shown here:
-
On the Address tab page, enter the following:
- Last Name: ERP2DOMO
- Function:
<Enter your function>
-
On the Logon Data tab page, enter the following:
- User Type: System
- Password:
<Enter your password>
-
On the Defaults tab page, enter the following:
- Logon Language: EN
-
On the Profiles tab page, enter the following:
- Profile: SAP_ALL and SAP_NEW
- Save your entries (Ctrl - S).
Note: The ERP2DOMO user has the profiles SAP_ALL and SAP_NEW assigned, which gives him full authorization rights. If this authorization is not applicable to your project, you can restrict the rights of this user according to SAP Note 0338537. -
On the Address tab page, enter the following:
Step 2: Create the ZZDomo Function Group
After establishing your RFC user in the SAP ERP system, you must next create the ZZDomo function group. To create the ZZDomo function group in the SAP ERP system,-
Run transaction SE80 (/nSE80).

- Select Repository Browser.
- Select Function Group in the menu.
-
Enter ZZDOMO in the empty field then hit Enter.

- Click Yes.
- In the Short text field, enter Domo Function Group, then hit Enter.
- Select your Business Intelligence package then click Save. (If you don’t have a B.I. package, use a package starting with “z”).
-
Enter or select your CTS request number for your Domo development, then click Save.

Step 3: Find Your ICF Server Path
To find your ICF server path,-
Run transaction SICF (/nSICF ).

-
Click the Execute icon.

- Navigate to path default_host > sap > bc > gui > sap > its > webgui > SE61-DISPTXT.
-
Right-click and select
Test Service.
If the webgui service does not contain the SE61-DISPTXT sub-element, right-click on the webgui service and select Test Service.

-
Copy the IE path and email it to Domo.

Step 4: Load Your First Domo Function Module
Use the following set of steps to load all Domo function modules. You can find specifications for all available function modules in Function Module Specifications.- In your development client, run transaction SE37 (/ nSE37 ).
-
Input the provided function module name, then click
Create.
In this example, the name is Z_DOMO_PP.

-
Enter
ZZDOMO in the Function Group field.

- In the Short text field, describe your function module.
- Click Save.
-
In the
Import tab, enter the input fields from your load sheet.
Make sure to check the boxes for Optional and Pass Value.

-
In the
Attributes tab, select Remote Enabled Module.

-
In the
Tables tab, enter your return tables from your load sheet.

- Copy the code section from your load sheet.
-
Paste the copied code into the
Source code tab.

-
Click the
Check icon.

-
Click the
Save icon.

-
Click the
Activate icon.

-
Click the green checkmark at the bottom of the screen.

Step 5: Create an Enterprise Service
To create an enterprise service,- Run transaction SE80 (/nSE80 ).
- Under Function Group, enter ZDOMO then click on the dropdown to open the list of function modules.
-
Right-click on your new function module and select
Create > Enterprise Service.

- Name the new service and give it a description, then click Continue.
- Click Continue again.
-
Select a security profile, then click
Continue.

- Select your Package and Transport Request, then click Continue.
- Click Complete.
- Click Activate.
- Click Continue.
Step 6: Publish Your New Service Using SAP SOA
To publish your new enterprise service,- Run transaction SOAMANAGER (/ nSOAMANAGER ). This launches the web-based SOA Manager.
- Click Log On.
-
Log in using your ECC credentials.

- Select Service Administration.
- Select Single Service Configuration.
-
In the
Search Pattern field, enter the name of the new enterprise service, then click Go.

-
Select your service, then click
Apply Selection.

- Open the Configuration tab.
-
Click
Create Endpoint.

-
In the
Service Information dialog, enter the following:
- The service name (match the name of the service)
- A description
-
A binding name

- Click Apply Settings.
-
Check the box for
User ID/Password.

- Scroll up and click Save.
- Open the Overview tab.
-
Click
Display selected Binding’s or Service’s WSDL URL.

- Copy the URL and email it to Domo.
Next Steps
Once you have completed all of the above steps, you have only a few tasks remaining. These tasks are as follows:-
-
Send an email to DOMO with:
- Server Path
- DOMO RFC username and password
- Test your first web service with a DOMO representative
- Load all additional web services
- Test all services in the Development Environment
-
Send an email to DOMO with:
- Transport all of the above to a Quality Assurance System and test thoroughly.
- Transport all of the above to a Production, or BI System.
Function Module Specifications
Use the following table to locate specification sheets in.docx format for each function module (as required in Step 4 above).Data Type | Function Module | Tables | Link to Spec Sheet |
|---|---|---|---|
Costs | Z_DOMO_COST | COBK, COEP | |
Cost Element Group | Z_DOMO_COST_KAH3 | KAH3 | NOT YET AVAILABLE |
General Ledger:Actual Line Items | Z_DOMO_FAGLFLEXA_SO | FAGLFLEXA, BKPF, SKA1 | |
Cost Center Master | Z_DOMO_CSKS | CSKS | NOT YET AVAILABLE |
General Ledger Totals | Z_DOMO_FAGLFLEXT | FAGLFLEXT | |
General Ledger Details | Z_DOMO_FAGLFLEXT_COST | CEPC, CEPCT, SKB1, SKAT, TFKBT | NOT YET AVAILABLE |
Financial Documents | Z_DOMO_FI_DOC | BKPF, BSAD, BSAK, BSID, BSIK, BSEG | |
Financial Documents GL Detail | Z_DOMO_FI_DOC_GL | BKPF, BSIS, BSAS | |
Account Master | Z_DOMO_GLT0 | GLT0 | |
Inventory | Z_DOMO_INVENTORY | MARD, MARC | |
Profitability Analysis | Z_DOMO_KE30 | CE31010 | NOT YET AVAILABLE |
Purchase Orders | Z_DOMO_PO | EKKO, EKPO | |
Sales Billing | Z_DOMO_SALES_BILLING | VBRK, VBRP, VBPA, MVKE | |
Sales Documents | Z_DOMO_SDOC | VBFA | |
Sales Orders | Z_DOMO_SO | VBAK, VBAP, VBEP, VBKD | |
Address Master | Z_DOMO_ADR | ADR6, ADRC | |
Cross Application Time Card | Z_DOMO_CATS | CATSDB | |
Customer Master | Z_DOMO_CM | KNA1, KNVP, KNB1, KNKK | |
Cost Center Master | Z_DOMO_COA | SKA1 | NOT YET AVAILABLE |
Cost Totals | Z_DOMO_COST_TOTAL | COSS, COSP | |
Delivery | Z_DOMO_DELIVERY | LIKP, LIPS | |
Expense Details | Z_DOMO_EXPENSE_COE | COVP | |
Expense by Vendor or Customer | Z_DOMO_EXPENSE_PCA | GLPCA | |
Expense PCT Details | Z_DOMO_EXPENSE_PCT | GLPCT | |
Materials Documents | Z_DOMO_MAT_DOC | MKPF, MSEG | |
Material Master | Z_DOMO_MM | MARA, MVKE, TVM5T, MARM, MBEW, T001W, MAKT | |
Product Hierarchy | Z_DOMO_PH | T179T | |
Purchase Order History | Z_DOMO_PO_HIST | EKBE | |
Pricing | Z_DOMO_PRICING | KONH, KONP, KONV | |
Reservations | Z_DOMO_RESB | RKPF, RESB | |
Messages | Z_DOMO_T001 | T001, T001S | |
Vendor Master | Z_DOMO_VM | LFA1, LFB1 | |
Account Master joined with Chart of Accounts | Z_DOMO_COA_GL | COA_GL | NOT YET AVAILABLE |
Relationships in GOS | Z_DOMO_SRGBTBREL | SRGBTBREL | NOT YET AVAILABLE |
Sales Status | Z_DOMO_SALES_STATUS | VBUK, VBUP | NOT YET AVAILABLE |
Troubleshooting
- Test the connection to the web service using SoapUI.
- Run the function module locally in the SAP environment.