Skip to Content

Update for Release 1302 – August 2013

In this blog, I want to share the information on my solution template “SAP Business Suite BO List”.

You can download the solution template (from the Business Center, see details below) and import it into a customer-specific solution. The template is for SAP Cloud for Customer (Customer OnDemand) 1302. In the template you will find functionality to read business document from a SAP Business Suite system through an SAP enterprise service and display them in a Embedded Component that you can use for example in the Account Thing Inspector.

In the following figure, you can see the Account Thing Inspector, extended with a new tab that shows a list of sales orders from an SAP ERP system.

Picture1.png

The concrete implementation is done for reading sales order from an SAP ERP system. You can easily replace the enterprise service for sales orders by an enterprise service for different BOs. (Please note that Customer OnDemand has already a standard functionality to read sales orders from an SAP ERP system. So this template is meant to show the capability of reading business document from a SAP Business Suite system through an SAP enterprise service, and extend this to other SAP Suite BOs.)

How to use the solution template?

Prerequisites:

  • Access to a SAP Cloud for Customer (Customer OnDemand) 1302 tenant that is enabled for customer-specific development
  • Partner development authorization (Partner Development work center)
  • SAP Solutions OnDemand Studio 1302 installed

To import the solution template into your solution:

  1. Go to the SME Business Center, Wiki, SAP Business ByDesign Studio, Best Practice for Implementation ( https://wiki.sme.sap.com/wiki/x/UIcqCw )
  2. Go to the the section “How-To Guides with Solution Templates” and download the zip file with title ” SAP Business Suite BO List ”  to your computer.
  3. Open the studio, logon to a COD tenant, create a solution with Type = “Customer-Specific Solution” and Deployment Unit = “Foundation”.
  4. In the studio, open the Implementation Manager (View -> Other Windows -> Implementation Manager).
  5. Click “Import Solution Template” and select the file that you downloaded to your computer. The system imports the template into your solution. During import, the system copies the artifacts into your solution (this means technically, it changes all namespaces in the artifacts to your new solution). After the import, you can change and adopt the artifacts.
  6. In the Solution Explorer, select the solution and select Activate from the context menu. The system generates the runtime artifacts.
  7. In the Solution Explorer, select the solution and select Update Authorizations and Access Rights from the context menu. The system updates the authorizations and access rights.

See also the documentation on solution templates. (To download the documentation, select https://help.sap.com/sdk , SAP Solutions OnDemand Studio 1302, Complete help: Print version. In the documentation, see section “Solution Templates Quick Guide for Customer-Specific Solutions”)

What are the details of the solution?

The solution contains an embedded component BusinessObjectList.EC.uicomponent (EC). This EC invokes a custom BO BusinessObjectList and triggers the GetResult action of the BO. The GetResult action calls a web service that reads a list of SAP business suite BOs. The list is displayed in the EC.

The following figure shows the architecture overview:

Picture1.png

If you want to test the solution, you have to create a communication system and communication arrangement in the system. For details, see the documentation on “External Web Service Integration”.

For my tests I have used the SAP ERP workplace (erp.esworkplace.sap.com). A service path, enter “sap/bc/srt/pm/sap/ecc_salesorder009qr/800/default_profile/2/binding_t_http_a_http_ecc_salesorder009qr_default_profile”.  You need a user on the SAP ERP workplace (see below). Unfortunately SAP has closed the test systems for the SAP ERP workplace as of 2013. So you need an individual ERP test system for testing.

Picture1.png

Having the communication arrangement created, you can test the result in the text UI that you can find in the solution (BusinessObjectListTest.QA.uicomponent). For example, you can enter AccountID = 1000 (the famous “Becker Berlin” account).

Finally, you can add the EC to the Account Thing Inspector:

  1. Open the UI designer
  2. Open the Configuration Explorer
  3. Open the Account Thing Inspector UI: /BYD_COD/SalesOnDemand/Account/UI/COD_Account_TI.TI.uicomponent (please make sure that you open the “UI” folder under Account!)
  4. Open the Extensibility Explorer
  5. Select the ViewSwitchNavigation anchor that has the name “Undefined”.
  6. Click the “Add View with Embedded Component” button.
  7. Enter the tab title “SALES ORDERS” and the Embedded Component YourProject/SRC/BusinessObjectList/BusinessObjectList.EC.uicomponent
  8. Maintain the binding: Select the outport PublicOutportECCustomerRoot and the inport InPort and bind the AccountID field from the outport to the AccountID field from the inport.
  9. Save and Activate.

Addition Remarks:

You can find all SAP enterprise services on the SAP Enterprise Services Workplace homepage http://esworkplace.sap.com. On this page you can register a user for the test landscape. As of 2013, this service has been closed.

You can also browser through the business objects from ERP, CRM, SCM and SRM and find the enterprise services. The services that can be used for creating a BO list have follow the naming convention “Query Business Object In”.

The services provide 2 types of WSDL file: “ESR” and “Endpoint”. In the “Endpoint” WSDL, you can find the service endpoint of the test landscape that you need to configure the communication arrangement.

You cannot import this solution template into a ByDesign system, but this is rather a technical problem. But you can build this use case also on ByDesign in the same way. A stable anchor that you can use to incorporate the EC is available in the Account OIF.

To report this post you need to login first.

7 Comments

You must be Logged on to comment or reply to a post.

  1. Gregory Root

    Hi Thomas,

    Again, another outstanding blog post AND solution template. I think I may be able to use this quite a bit!

    One question as I was beginning to investigate the solution…

    I was stepping through the process of importing the solution template into my Customer OnDemand 1208 tenant. I imported the solution template without any errors occuring. The end of Step 5 says:

    After the import, you can change and adopt the artifacts.

    I browsed through all the solution components and didn’t find any artifacts to adopt to the new solution name (or namespace). So, I continued on to Step 6 which states to Activate the solution. During the activation of the SAPBOQuery.wsid, the process errors out with:

    SERVER MESSAGES:

    Activation of solution YT2AY14UY_ started
    Activating Business Object …..
    1 objects activated
    Activating Solution …..
    3 objects activated
    Activating ui component …..
    2 objects activated
    Activating B2B Web Service Integration …..
    Unlocking the XREP path…
    XREP path unlocked successfully.
    You have no authorization to change Namespace
    Issue occured in application component:AP-RC-BDS-WS
    Error during activation in:B2B Web Service Integration
    Activation of solution YT2AY14UY_ failed

    Any ideas? If not, then I think I’ll need to submit a ticket.

    Best,

    Greg

    (0) 
    1. Thomas Schneider Post author

      Hi Gregory,

      we had this error message “You have no authorization to change Namespace” which came into the systems due to some re-factoring in the underlying NetWeaver layer. But I thought that this was fixed. So either the fix did not reach 1208 or this is a new error. So unfortunately I have to ask you to open a ticket so that the colleagues can have a look into the system.

      Best regards,

      Thomas

      .

      (0) 
    1. Thomas Schneider Post author

      Hi Greg,

      thanks for the post. I have seen this before (actually SAP sent a mail to all ES Workplace users to inform us that the old demsystems are closed).

      I did not dig into the details of the new offering.

      If anyone did some investigation here: can you please share with us the information about the easiest way to get a Suite ERP or (Suite CRM) test system with the standard SAP Enterprise Services running?

      Best regards,

      Thomas

      .

      (0) 
  2. Rufat Gadirov

    Hi Thomas,

    by trying to import the solution template into a customer specific solution in 1308 CoD tenant, I got the Server message: Release: SAP_LEAP 320 of solution is not compatible with system…How to proceed? Maybe an update of the solution template is necessary…

    Best regards,

    Rufat

    (0) 

Leave a Reply