Two approaches to fill an UI field with dedicated logic implemented in Cloud Application Studio
Suppose the requirement is to display “Assigned Organization Unit ID” of current log on user in your custom UI, for example if I log on system with business user for Jerry, it is expected that my current organization unit ID TESTORG will be displayed in my custom UI. There are two approaches to achieve this in Cloud Application Studio.
Approach1: Implement AfterLoading event
Create a transient field in custom BO: Implement the AfterLoading event: Source code of AfterLoading Implementation: var uuid = JerryTestReuse.getCurrentEmployeeUUID(); this.AssignedOrgIDTransient = JerryTestReuse.getAssignedOrgID( uuid ); In the implementation, two functions defined in Reuse library JerryTestReuse are used: Source code for function getAssignedOrgID: import ABSL; import AP.Common.GDT; import AP.PC.IdentityManagement.Global; import AP.FO.BusinessPartner.Global; var result : DataType::LANGUAGEINDEPENDENT_ENCRYPTED_EXTENDED_Name; var queryByEmployeeBPUUID = Employee.QueryByIdentification; var queryByEmployeeBPUUIDParameter = queryByEmployeeBPUUID.CreateSelectionParams(); queryByEmployeeBPUUIDParameter.Add( queryByEmployeeBPUUID.UUID.content, “I”, “EQ”, ivUUID.content); var employeeQueryResult = queryByEmployeeBPUUID.Execute(queryByEmployeeBPUUIDParameter); var EmployeeQueryResultCurrent = employeeQueryResult.GetFirst(); var assignedOrg = EmployeeQueryResultCurrent.OrganisationalUnitAssignment.GetFirst(); var org = assignedOrg.ToRoot; result = org.ID; return result; Source code for function getCurrentEmployeeUUID: import ABSL; import AP.Common.GDT; import AP.PC.IdentityManagement.Global; import AP.FO.BusinessPartner.Global; var result : DataType::UUID; var queryByIdentityUUID = Identity.QueryByElements; var queryByIdentityUUIDParameter = queryByIdentityUUID.CreateSelectionParams(); var queryByEmployeeBPUUID = Employee.QueryByIdentification; var queryByEmployeeBPUUIDParameter = queryByEmployeeBPUUID.CreateSelectionParams(); var id = Context.GetCurrentIdentityUUID().content; queryByIdentityUUIDParameter.Add( queryByIdentityUUID.UUID.content, “I”, “EQ”, id.ToString() ); var queryResult = queryByIdentityUUID.Execute(queryByIdentityUUIDParameter); var first = queryResult.GetFirst(); // points to identity instance var person = first.Person; result = person.UUID; return result;
Approach2: Specify a transformation to a dedicated field
First create another function in Reuse Library: Source code: import ABSL; import AP.Common.GDT; var result : DataType::LANGUAGEINDEPENDENT_ENCRYPTED_EXTENDED_Name; var uuid = JerryTestReuse.getCurrentEmployeeUUID(); result = JerryTestReuse.getAssignedOrgID(uuid); return result; Create a new data field in UI Model, And create a new transformation and assigned to this field: When assigning the transformation to the Data field, you should see this popup dialog, Choose Yes to convert the Data field into a Dedicated Field. Once done, the assigned transformation will be displayed in Properties window. When you test both solution in UI, you could observe that the execution of AfterLoading and Transformation and done in the backend and calculation result is contained in HTTP response. This is different from the behavior introduced in blog How to change UI element visibility dynamically via Rule Editor – and how it works under the hood – in that case the visibility calculation is performed in frontend instead. http://bit.ly/2zjWoCy #SAP #SAPCloud #AI
Industry 4.0: How digitization makes the supply chain more efficient, agile, and customer-focused
#ICYDK: http://bit.ly/2hKyyG3
Bosch IoT Strategy Summit in Chicago
I had the opportunity to participate in the Bosch IoT Strategy Summit held at the Chicago Connectory on October 12th.
Covering nearly 20,000 square feet in Chicago’s historic Merchandise Mart, the Chicago Connectory is a co-creation space and IoT incubator boasting cutting-edge technology and security, expert programming, and mentorship from leading experts in IoT. More than a co-working space, the Chicago Connectory offers partners a co-creation model that fosters collaboration, networking, problem solving, and a new way of doing work in the age of connectivity. The Chicago Connectory is a partnership between Bosch and 1871. Together, 1871 and Bosch are empowering an ecosystem to drive the future of IoT.
As a global leader in manufacturing, Bosch has a rich history of innovation. It began in 1886 as a startup in a backyard garage when Robert Bosch developed the first automotive spark coil. Over the following 130 years, the company has grown into a leader in industrial manufacturing, admired worldwide for its quality products ranging from automotive components and power tools, to home appliances and sophisticated sensor technology. Now, as the digital era transforms our world and billions of devices are linked to the Internet, Bosch is developing its strengths in manufacturing to bring new capabilities to a connected world. Connectory is a wordplay on connecting and factory, two central elements of Bosch’s vision for IoT. It is a space where connections happen — among devices, people, and ecosystems — as the world prepares for the future and digital transformation.
The Bosch IoT Strategy Summit gathered thought leaders in the Internet of Things (IoT) space, who shared what it takes to bring IoT into organizations, how to master its complexity and why you can’t do IoT alone. Featuring thought leadership presentations, executive panels and an IoT live exhibition, the event was filled with learning, collaborating, networking, entertainment, and big ideas. Industry leaders and IoT professionals will discussed the progression and value potential of the IoT. The executive presenters and attendees took a deep look at IoT trends and implementations in Industrial, Automotive, Enterprise and Smart City verticals.
The detailed agenda is included here:
Opening Remarks: Harnessing the Power of IoT
Matthew Jennings, Regional President, Bosch Software Innovations
The IoT has tremendous potential in various industries and is a critical component of an overall digital transformation. The welcome address provided an overview of Bosch’s footprint in the IoT and presented successful IoT applications across key business sectors.
Keynote: Taking the pulse of enterprise IoT
Subu Narayanan, IoT Ventures Leader NA, McKinsey
McKinsey’s new survey suggests that the enterprise Internet of Things is poised for strong growth. This keynote presented key findings of McKinsey’s latest market analysis and the trends companies need to understand to drive tangible impact through IoT.
Executive Panel: Bringing IoT skills into your organization
Panelists discussed the impact of IoT on teams, required roles and how companies can attract and retain IoT talent.
Moderator: Matthew Jennings, Regional President, Bosch Software Innovations
Panelists: Henry Chang, VP, 3M Connect
Jim Treleaven, President & CEO, Via Strategy Group
Dennis Boecker, VP Information Technology, Robert Bosch LLC
Executive Panel: The challenges of delivering in IoT
Implementing an IoT connectivity strategy is a highly complex undertaking, particularly in larger organizations. Panelists spoke to challenges organizations need to overcome to realize the full potential of IoT implementations.
Moderator: Matthew Jennings, Regional President, Bosch Software Innovations
Panelists: Don DeLoach, Co-chair, Midwest IoT Council
Corey Plender, Regional CTO, Bosch Software Innovations
Driving ROI in the near- and long-term
Nate Anderson, Partner, Bain & Company
Driving attractive ROI is as important today as it’s ever been. But making tradeoffs is increasingly difficult in a digital world where you’re often forced to invest against an uncertain future.
The importance of the ecosystem
Glen Allmendinger, President, Harbor Research
As organizations seek to drive business in the digital world, building a balanced business ecosystem becomes even more crucial. How to define and re-evaluate an ecosystem plan.
Eliminating IoT complexity for sustainable results
Brenna Berman, Executive Director, City Digital
For many organizations that don’t address IoT complexity substantially lose momentum in their digital-transformation programs. Lessons learned from implementing large-scale IoT projects.
IoT Fireside Chat: Civic and commercial perspective on urban Mobility
The sustainability of our cities is one of the key challenges with Mobility being a critical factor. This discussion covered how social, economic, and technological trends will further disrupt the urban environment and how businesses and cities can work together to develop sustainable mobility solutions.
Moderator: Brenna Berman, Executive Director, City Digital
Panelist: Jessica Robinson, Director City Solutions, Ford Smart Mobility
The Role of Global Standards in the Rise of Smart Cities
Rouzbeh Farhoumand, Senior Director of Technical Standards, Huawei Technologies
According to the United Nations, more than half of the world’s population now lives in towns and cities, and by 2030 this number will swell to about 5 billion. This urbanization will require cities to transform themselves at an unprecedented pace. And technology will play a crucial role as cities attempt to reinvent themselves. A recent Wall Street Journal insert entitled, “The Rise of the Smart City”, started with this thought, “Cities have a way to go before they can be called geniuses. But they’re getting smart pretty fast.” And they need help from industry alliances and technology-driving consortia to produce solutions to become smarter and to overcome the challenges of housing, transport, health and safety for their citizens.
Edge Computing: An Emerging Defense Strategy
Kevin Duffy, VP of Business Development, Foghorn
Digitization is the call of the hour. Business are under tremendous pressure to embrace IOT, resulting in ubiquitous connectivity – be it assets, systems, or processes. Security is an afterthought. Edge Computing is becoming critical for protecting IOT deployments. With a special focus on Industrial sectors, the presenter talked about securing mission critical systems through an edge intelligence platform.
Improving IoT applications with blockchain
Corey Plender, Regional CTO, Bosch Software Innovations
Lexy Prodromos, Director of Operations, Chicago Blockchain Center
While the IoT market and number of connected devices expands significantly, there is an increasingly urgent need for network security. We learned about how blockchain can prevent IoT hacking and help manage IoT devices in various industries.
It was a very informative event and a great networking opportunity as we continue to build our participation in the Chicago Innovation Ecosystem and expand our SAP Next-Gen network. http://bit.ly/2zhiaqK #SAP #SAPCloud #AI
