SAP on Power

SAP on Power

IBM Power servers are purpose built for data-intensive applications such as SAP HANA and S/4HANA that require large amounts of in-memory computing but still let you maintain the high availability and flexibility required for your hybrid cloud. 


#Power
#TechXchangeConferenceLab
 View Only

watsonx.ai Integration with S/4HANA on PowerVS (6/6): Adding a SAP Fiori UI to the flight data application

By Stefan Diederichs posted yesterday

  

Adding a SAP Fiori UI to the flight data application

SAP Fioru for Web UI Kit

The SAP Fiori for Web UI Kit contains UI common components, patterns, and fundamental elements, such as colors and typography. It helps accelerate design and development processes and encourages consistency.

Discover the SAP Fiori for Web Design Guidelines to gain insights on designing beautiful products.

Prompt

Show me a clear text input field to ask a question about flight data.

Reasoning

I'll create a clean, focused text input interface for asking questions about flight data. This will be a simple frontend component using the existing shadcn UI components.

Figma desktop

figma generates SAP Fiori UI from text prompt.

Preview

SAP Fiori for Web UI showing text input field

Result

I've created a clean and focused text input interface for asking questions about flight data. The component features a centered card layout with a clear title, descriptive text, and a properly labeled input field with helpful placeholder text. The submit button is disabled until the user enters a question, and the form handles submission with basic validation.

The interface is designed to be intuitive and accessible, using shadcn UI components for consistency and proper styling. You can now type flight-related questions like "What flights are delayed from JFK today?" and submit them for processing.

Adding an Output field

Prompt

Please add an text output field.

Reasoning

'll add a text output field to display the responses from the flight data assistant. This will create a complete question-and-answer interface.
Perfect! I've added a text output field to the flight data assistant interface. The new features include:

  • Answer Display Area: A read-only textarea that shows the response to flight data questions

  • Loading State: Shows "Processing..." while simulating the API call, with the submit button disabled during processing

  • Mock Responses: Realistic flight data answers that simulate what a real flight data API might return

  • Dynamic Visibility: The answer field only appears after submitting a question

The interface now provides a complete question-and-answer experience where users can ask about flight delays, specific flights, airport traffic, and other flight-related queries, with realistic mock responses appearing in the output field.

Desktop with output field

Field for returning answer to the question

Preview

now the answer to the question can be displayed as well.

Result

Now we have a our SAP Fiori UI completed. We can ask a question and get an answer back.

0 comments
11 views

Permalink