Working with the Roadmap UI Element in Web Dynpro ABAP

Similar documents
Generating Self-Defined Functions for ALV in Web Dynpro for ABAP

How to Integrate Web Dynpro ABAP in Portal and Capture Portal Logon User Name

Using Drop Down By Index in Table UI Element in WebDynpro ABAP

ALV with Dynamic Structure in Web DynPro

Working with Tabstrip in Webdynpro for ABAP

Working with Dynamic Tables in Interactive Adobe Forms and WebDynpro ABAP

Table Popins and Business Graphics in Web Dynpro ABAP

Table Row Popup in Web Dynpro Component

Web Dynpro ABAP: Dynamic Table

WDA Tutorial II: Using Select Options in a WDA Application

SDN Community Contribution

Web Dynpro ABAP: Changing ALV Contents and Saving in Database

How to Create Top of List and End of List of the ALV Output in Web Dynpro for ABAP

Sales Order Creation using Web Dynpro ABAP

A Simple Web Dynpro Application to Locate Employee s Location into Google Map

Freely Programmed Help- Web Dynpro

POWL: Infoset Generation with Web Dynpro ABAP

Integration of Web Dynpro for ABAP Application in Microsoft Share Point Portal

Dialog Windows in WebDynpro ABAP Applications

How to pass data from ABAP to Web Dynpro ABAP - Part 1

Table Properties and Table Popin

Integrating POWL with WebDynpro ABAP

Using Radio Buttons in Web Template

Web Dynpro: Coloring Table Conditionally

Upload Image file from system in Web dynpro view

Dynamically Enable / Disable Fields in Table Maintenance Generator

Dynamic Context Menus in Web Dynpro ABAP.

SMT (Service Mapping Tool)

Displaying SAP Transaction as Internet Application in Portal

How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3

How to Create Business Graphics in Web Dynpro for ABAP

Material Master Archiving in Simple Method

DB Connect with Delta Mechanism

Easy Lookup in Process Integration 7.1

Linking Documents with Web Templates

Template Designer: Create Automatic PDF Documents for Attachment or Print Purpose

Internationalization in WebDynpro ABAP Applications

ALV Object Model Hierarchical Sequential List The Basics

Extracting Missing Fields of Data Source Which Are Present In Their Extract Structure

Replacement Path: Explained with an Illustrated Example

Value Help in Web Dynpro ABAP - Tutorial.

BAPI Execution in offline Adobe Form

How to Default Variant Created for Report Developed In Report Painter/Writer

Setting up Connection between BW and R/3 for Data Load

Open Text DocuLink Configuration - To Access Documents which are Archived using SAP

Creating Rules in Process Composer and using them in Process

Data Extraction & DS Enhancement in SAP BI Step by Step

Using Nested Exception Aggregation in BEx Reports- Scenario

Fetching User Details from the Portal and Displaying it in Web Dynpro with Authentication in the Portal

Displaying HR Organizational Tree Structure in Web Dynpro

How to Create View on Different Tables and Load Data through Generic Datasource based on that View

Graphical Mapping Technique in SAP NetWeaver Process Integration

Step by Step Procedure for DSO Creation

Maintaining Roles and Authorizations in BI7.0 - RSECADMIN

Add /Remove Links on ESS Home Page in Business Package 1.5

Download SAP Query Output to Local/ Network Folders in Background

ABAP HR: Standard Info Type Enhancement

ecatt Part 6 System Data Container

MDM Syndicator: Custom Items Tab

About ITAB Duplicate_Key (SAP lrsaods) Runtime Error

Triggering the Process Chains at Particular Date using Events

Routines in SAP BI 7.0 Transformations

ISU BOL Tree: Configuration and Enhancement

Reporting Duplicate Entries

Step by Step Guide for PI Server Start and Stop Procedure

How to Display Result Row in One Line While Reporting On Multiproviderer

This article explains the steps to create a Move-in letter using Print Workbench and SAPScripts.

Database Statistics During ODS Activation

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons

MDM Syndication and Importing Configurations and Automation

Developing Crystal Reports on SAP BW

Process Chain Log Deletion

MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3

How to Create and Execute Dynamic Operating System Scripts With XI

How to Work with F4 Input Help Effectively in BEX

Custom Password Reset Tool in SAP Enterprise Portal Using Web Dynpro for Java

Step By Step: the Process of Selective Deletion from a DSO

Purpose of Goods Receipt Message indicator in Purchase Orders

SDN Community Contribution

Recreating BIA Indexes to Address the Growth of Fact Index Table

All about Compression

Web Dynpro for ABAP: Tutorial 5 Component and Application Configuration

How to use Boolean Operations in the Formula as Subsidiary for IF Condition

A Step-by-Step Guide on IDoc-ALE between Two SAP Servers

BPM Multi Line Container in Integration Process

Creating, Configuring and Testing a Web Service Based on a Function Module

Open Hub Destination - Make use of Navigational Attributes

SUP: Personalization Keys and Synchronize Parameter

SDN Community Contribution

Step by Step Guide How to Use BI Queries in Visual Composer

Config Tool Activities

SDN Community Contribution

Exception Handling in Web Services exposed from an R/3 System

SAP BW Copy Existing DTP for Data Targets

Step By Step Procedure to Implement Soap to JDBC Scenario

Creation of Sets in SAP-ABAP, How to Read them INI SAP-ABAP Reports

Xcelsius Tricks Part 5 Create a Loading Bar in SAP Crystal Dashboard and Presentation Design (Xcelsius 2008)

Step by Step Method for File Archival in BW

Cut Over Activities Specific for LIS* Data Sources

Totals in Adobe forms

Transcription:

Working with the Roadmap UI Element in Web Dynpro ABAP Applies to: Web Dynpro ABAP Summary This tutorial shows the use of the Roadmap UI element in Web Dynpro ABAP applications. The tutorial shows navigation between views using roadmap steps. Author: Priyank Kumar Jain Company: Bristlecone Created on: 10 th September 2008 Author Bio Priyank Jain is a senior development consultant working for Bristlecone India. He has been involved in various projects as a technical consultant in ABAP and Web Dynpro. 2008 SAP AG 1

Table of Contents Objective Exercise...3 Prerequisites...3 Create Web Dynpro component...3 Create context attributes in component controller...4 Create Web Dynpro Views...6 Create MAIN view...6 Create context attributes in MAIN view...6 Define view layout...7 Create outbound plugs...8 Create Event handlers in MAIN view...9 Create the remaining views...9 Implement Event handlers and methods of the MAIN view...12 Event Handlers Implementation...13 Methods Implementation...16 Embed views in window...19 Map ALV interface controller node...19 Create and test the Web Dynpro application...20 Result...20 Dynamic Programming...21 Related Content...22 Disclaimer and Liability Notice...23 2008 SAP AG 2

Objective Exercise Create an application that uses a roadmap to navigate across four views. The first view will be a starting point for the application, the second one will accept the user input, the third will display the output as per the user s input and the fourth will be the last view to finish the process. Create an application with proper navigation using the Roadmap UI element in Web Dynpro ABAP. Prerequisites Basic knowledge of programming in ABAP and Web Dynpro for ABAP is required. Create Web Dynpro component To accomplish the objective of the exercise mentioned above, we will first create a new Web Dynpro component in SE80. Name it as ZROADMAP_SAMPLE. Create a usage for the standard Web Dynpro ALV component SALV_WD_TABLE in the component just created. Name this usage as ALV_SFLIGHT. 2008 SAP AG 3

Create context attributes in component controller Create a node in the context of the component controller. Name it as INPUT. Create two attributes CARRID and CONNID under this node. These are of the same type as the fields CARRID and CONNID of the SFLIGHT table. We will use these fields as the input to be taken from the user. Create another node named SFLIGHT_OUTPUT. This node is of the type dictionary structure SFLIGHT. Select the attributes to be added under this node from the table SFLIGHT. This node will serve as the output node and will be bound to the ALV to display the result. The component controller context should look like below. We will also create a method in the component controller. This method will fetch the data based on the inputs given by the user. Create a method named GET_DATA in the component controller and put the following code in it. METHOD get_data. DATA lo_nd_input TYPE REF TO if_wd_context_node. DATA : lo_el_input TYPE REF TO if_wd_context_element, ls_input TYPE wd_this->element_input, lv_carrid TYPE wd_this->element_input-carrid, lv_connid TYPE wd_this->element_input-connid, itab TYPE TABLE OF sflight, ls_where(72) TYPE c, lt_where TYPE TABLE OF string. 2008 SAP AG 4

DATA : lo_nd_sflight_output TYPE REF TO if_wd_context_node, lo_el_sflight_output TYPE REF TO if_wd_context_element, ls_sflight_output TYPE wd_this->element_sflight_output. lo_nd_input = wd_context->get_child_node( name = wd_this->wdctx_input ). * get element via lead selection lo_el_input = lo_nd_input->get_element( ). * get single attribute lo_el_input->get_attribute( name = `CARRID` IMPORTING value = lv_carrid ). lo_el_input->get_attribute( name = `CONNID` IMPORTING value = lv_connid ). **construct dynamic where clause IF lv_carrid IS NOT INITIAL. CONCATENATE 'CARRID = ' '''' lv_carrid '''' INTO ls_where. APPEND ls_where TO lt_where. ENDIF. IF lv_connid IS NOT INITIAL. CONCATENATE 'CONNID = ' '''' lv_connid '''' INTO ls_where. IF lt_where IS NOT INITIAL. CONCATENATE 'AND' ls_where INTO ls_where. ENDIF. APPEND ls_where TO lt_where. ENDIF. SELECT * FROM sflight INTO TABLE itab WHERE (lt_where). IF itab IS NOT INITIAL. * navigate from <CONTEXT> to <SFLIGHT_OUTPUT> via lead selection lo_nd_sflight_output = wd_context->get_child_node( name = wd_this->wdctx_sflight_output ). lo_nd_sflight_output->bind_table( itab ). ENDIF. ENDMETHOD. 2008 SAP AG 5

Create Web Dynpro Views We need to create views for our application. One view will contain the roadmap element with steps while others will be used for different steps in the application. Create MAIN view Create a view named MAIN. This view will contain a Roadmap element, Buttons for navigation and a container for the other views. Create context attributes in MAIN view Create the following attributes under the CONTEXT node in the context tab. Attribute name Type Purpose EN_START WDY_BOOLEAN Enable the START step EN_INPUT WDY_BOOLEAN Enable INPUT step EN_OUTPUT WDY_BOOLEAN Enable OUTPUT step EN_FINISH WDY_BOOLEAN Enable FINISH step EN_PREVIOUS WDY_BOOLEAN Enable PREVIOUS button EN_NEXT WDY_BOOLEAN Enable NEXT button SELECTED_STEP STRING Selected step of roadmap The context should look like below. 2008 SAP AG 6

Define view layout Place a Roadmap element on the MAIN view as shown below. Now add four steps to the Roadmap element. Addition of one step is shown as an example below. Add a roadmap step to the roadmap element. The following window appears. Supply the ID as START and the type as RoadMapStep. 2008 SAP AG 7

In the properties window, set the name of this step as 1, description as Start. Bind the Enabled property to the context attribute EN_START that was created above. Similarly, create three more steps for the roadmap. Name them as INPUT, OUTPUT and FINISH. Bind their enabled property to the respective context attributes. Place two buttons Next and Previous on the view for enabling navigation. Bind the enabled property of these buttons to the respective context attribute created above. Also place a viewcontaineruielement named CONTAINER. This container will embed the other views. The MAIN view should look like below. Create outbound plugs Create four outbound plugs, one for each roadmap step in the MAIN view. Name them as in the screenshot below. 2008 SAP AG 8

Create Event handlers in MAIN view We now need to create event handler methods for events of different elements of the MAIN view. For the Previous button, create an action for the onaction event. Name this action as PREVIOUS. Similarly, create an action NEXT for the onaction event of the NEXT button. For the Roadmap element, create an action named SELECT_STEP for the onselect Event. Add an importing parameter called STEP to its event handler method. We will come to the implementation of these event-handlers at a later stage in the tutorial. Create the remaining views Create four more views in the Web Dynpro component, one corresponding to each of the four roadmap steps. For our exercise, we will use the data in the table SFLIGHT. There will be a START view which will serve as the starting point for our application. The INPUT view will accept a couple of fields as input from the user. The OUTPUT view will display the data retrieved from SFLIGHT table in an ALV grid. The FINISH view will be the last view in the sequence to inform that the application has ended. 2008 SAP AG 9

The four views should look like below. 1) The START view. Create a view named START. This is just a starting view for our example and contains some static text. Create an inbound plug named FROMMAIN in this view. 2) The INPUT view Create a view named INPUT. This is the second view in the sequence and corresponds to the second step of the roadmap. In the context of this view, drag and drop the component controller node INPUT to the view controller context. This creates a node in the view controller context with mapping to the component controller node. In the layout of this view, create two input fields for CARRID and CONNID attributes. Bind their value property to the respective attributes of the INPUT node. The view should look like below. 2008 SAP AG 10

Also create an inbound plug named FROMMAIN in this view. 3) The OUTPUT view This view will correspond to the third step of the roadmap. This will only display an ALV grid for displaying the data. Add a viewcontaineruielement to the layout of this view. In the context, drag and drop the SFLIGHT_OUTPUT node from the component controller to the view controller. This will create the same node in the view controller with mapping to the component controller node. The view should look like below. 2008 SAP AG 11

As for the preceding views, create an inbound plug named FROMMAIN in this view as well. This will create an event handler method with the name HANDLEFROMMAIN. Place the following code in this method. This method will retrieve the data using the component controller method created earlier. METHOD handlefrommain. wd_comp_controller->get_data( ). ENDMETHOD. 4) The FINISH view This is the last view in the sequence. We will just put a text message in this view to inform the user that the application has finished executing. The view will just have some static text and will look like below. Create the inbound plug named FROMMAIN in this view too. Implement Event handlers and methods of the MAIN view Now we will write the code to implement the event handlers that we created in the MAIN view. We created the following event handlers earlier. ONACTIONNEXT ONACTIONPREVIOUS ONACTIONSELECT_STEP In addition to these, create the following methods in the MAIN view. ENABLE_FINISH_STEP has one importing parameter ENABLE of type WDY_BOOLEAN ENABLE_INPUT_STEP has one importing parameter ENABLE of type WDY_BOOLEAN ENABLE_NEXT_BUTTON has one importing parameter ENABLE of type WDY_BOOLEAN ENABLE_OUTPUT_STEP has one importing parameter ENABLE of type WDY_BOOLEAN ENABLE_PREV_BUTTON has one importing parameter ENABLE of type WDY_BOOLEAN ENABLE_START_STEP has one importing parameter ENABLE of type WDY_BOOLEAN SET_STEP has one importing parameter STEP of type STRING 2008 SAP AG 12

Following are the implementations of each of these methods and the event handlers. Event Handlers Implementation ONACTIONNEXT This handles the click of the Next button. METHOD onactionnext. DATA lo_el_context TYPE REF TO if_wd_context_element. DATA ls_context TYPE wd_this->element_context. DATA lv_selected_step TYPE wd_this->element_context-selected_step. * get element via lead selection lo_el_context = wd_context->get_element( ). * get single attribute lo_el_context->get_attribute( IMPORTING value = lv_selected_step ). CASE lv_selected_step. WHEN 'START'. value = 'INPUT' ). wd_this->set_step( step = 'INPUT' ). wd_this->enable_next_button( enable = 'X' ). wd_this->enable_prev_button( enable = 'X' ). wd_this->fire_toinput_plg( ). WHEN 'INPUT'. value = 'OUTPUT' ). wd_this->set_step( step = 'OUTPUT' ). wd_this->enable_next_button( enable = 'X' ). wd_this->enable_prev_button( enable = 'X' ). wd_this->fire_tooutput_plg( ). WHEN 'OUTPUT'. value = 'FINISH' ). wd_this->set_step( step = 'FINISH' ). wd_this->enable_next_button( enable = '' ). wd_this->enable_prev_button( enable = 'X' ). wd_this->fire_tofinish_plg( ). WHEN 'FINISH'. wd_this->set_step( step = 'FINISH' ). wd_this->enable_next_button( enable = '' ). wd_this->enable_prev_button( enable = 'X' ). ENDCASE. ENDMETHOD. 2008 SAP AG 13

ONACTIONPREVIOUS This handles the click of the Previous button. METHOD onactionprevious. DATA lo_el_context TYPE REF TO if_wd_context_element. DATA ls_context TYPE wd_this->element_context. DATA lv_selected_step TYPE wd_this->element_context-selected_step. * get element via lead selection lo_el_context = wd_context->get_element( ). * get single attribute lo_el_context->get_attribute( IMPORTING value = lv_selected_step ). CASE lv_selected_step. WHEN 'FINISH'. value = 'OUTPUT' ). wd_this->set_step( step = 'OUTPUT' ). wd_this->enable_next_button( enable = 'X' ). wd_this->enable_prev_button( enable = 'X' ). wd_this->fire_tooutput_plg( ). WHEN 'OUTPUT'. value = 'INPUT' ). wd_this->set_step( step = 'INPUT' ). wd_this->enable_next_button( enable = 'X' ). wd_this->enable_prev_button( enable = 'X' ). wd_this->fire_toinput_plg( ). WHEN 'INPUT'. value = 'START' ). wd_this->set_step( step = 'START' ). wd_this->enable_next_button( enable = 'X' ). wd_this->enable_prev_button( enable = '' ). wd_this->fire_tostart_plg( ). WHEN 'START'. value = 'START' ). wd_this->set_step( step = 'START' ). wd_this->enable_next_button( enable = 'X' ). wd_this->enable_prev_button( enable = '' ). wd_this->fire_tostart_plg( ). ENDCASE. ENDMETHOD. 2008 SAP AG 14

ONACTIONSELECT_STEP This handles the selection of a step on the Roadmap element. METHOD onactionselect_step. DATA lo_el_context TYPE REF TO if_wd_context_element. * get element via lead selection lo_el_context = wd_context->get_element( ). * @TODO handle not set lead selection CASE step. WHEN 'START'. lo_el_context->set_attribute( value = 'START' ). wd_this->enable_prev_button( enable = '' ). wd_this->enable_next_button( enable = 'X' ). wd_this->set_step( step = 'START' ). wd_this->fire_tostart_plg( ). WHEN 'INPUT'. lo_el_context->set_attribute( value = 'INPUT' ). wd_this->enable_prev_button( enable = 'X' ). wd_this->enable_next_button( enable = 'X' ). wd_this->set_step( step = 'INPUT' ). wd_this->fire_toinput_plg( ). WHEN 'OUTPUT'. lo_el_context->set_attribute( value = 'OUTPUT' ). wd_this->enable_prev_button( enable = 'X' ). wd_this->enable_next_button( enable = 'X' ). wd_this->set_step( step = 'OUTPUT' ). wd_this->fire_tooutput_plg( ). WHEN 'FINISH'. lo_el_context->set_attribute( value = 'FINISH' ). wd_this->enable_prev_button( enable = 'X' ). wd_this->enable_next_button( enable = '' ). wd_this->set_step( step = 'FINISH' ). wd_this->fire_tofinish_plg( ). ENDCASE. ENDMETHOD. 2008 SAP AG 15

Methods Implementation ENABLE_FINISH_STEP To enable/disable the Finish step method ENABLE_FINISH_STEP. DATA lo_el_context TYPE REF TO if_wd_context_element. * get element via lead selection lo_el_context = wd_context->get_element( ). name = `EN_FINISH` value = enable ). endmethod. ENABLE_INPUT_STEP To enable/disable the Input step Method ENABLE_INPUT_STEP. DATA lo_el_context TYPE REF TO if_wd_context_element. * get element via lead selection lo_el_context = wd_context->get_element( ). name = `EN_INPUT` value = enable ). endmethod. ENABLE_OUTPUT_STEP To enable/disable the Output step method ENABLE_OUTPUT_STEP. DATA lo_el_context TYPE REF TO if_wd_context_element. * get element via lead selection lo_el_context = wd_context->get_element( ). name = `EN_OUTPUT` value = enable ). endmethod. ENABLE_START_STEP To enable/disable the Start step method ENABLE_START_STEP. DATA lo_el_context TYPE REF TO if_wd_context_element. * get element via lead selection lo_el_context = wd_context->get_element( ). name = `EN_START` value = enable ). endmethod. ENABLE_NEXT_BUTTON To enable/disable the Next button method ENABLE_NEXT_BUTTON. DATA lo_el_context TYPE REF TO if_wd_context_element. 2008 SAP AG 16

DATA ls_context TYPE wd_this->element_context. DATA lv_en_next TYPE wd_this->element_context-en_next. * get element via lead selection lo_el_context = wd_context->get_element( ). name = `EN_NEXT` value = enable ). endmethod. ENABLE_PREV_BUTTON To enable/disable the Previous button method ENABLE_PREV_BUTTON. DATA lo_el_context TYPE REF TO if_wd_context_element. DATA ls_context TYPE wd_this->element_context. DATA lv_en_previous TYPE wd_this->element_context-en_previous. * get element via lead selection lo_el_context = wd_context->get_element( ). name = `EN_PREVIOUS` value = enable ). endmethod. SET_STEP Enable/disable other steps when a step is selected METHOD set_step. CASE step. WHEN 'START'. wd_this->enable_start_step( enable = 'X' ). wd_this->enable_input_step( enable = '' ). wd_this->enable_output_step( enable = '' ). wd_this->enable_finish_step( enable = '' ). WHEN 'INPUT'. wd_this->enable_start_step( enable = 'X' ). wd_this->enable_input_step( enable = 'X' ). wd_this->enable_output_step( enable = '' ). wd_this->enable_finish_step( enable = '' ). WHEN 'OUTPUT'. wd_this->enable_start_step( enable = 'X' ). wd_this->enable_input_step( enable = 'X' ). wd_this->enable_output_step( enable = 'X' ). wd_this->enable_finish_step( enable = '' ). WHEN 'FINISH'. wd_this->enable_start_step( enable = 'X' ). wd_this->enable_input_step( enable = 'X' ). wd_this->enable_output_step( enable = 'X' ). wd_this->enable_finish_step( enable = 'X' ). ENDCASE. ENDMETHOD. 2008 SAP AG 17

Write the following code in the wddomodifyview method of the MAIN View. WDDOMODIFYVIEW METHOD wddomodifyview. DATA lo_el_context TYPE REF TO if_wd_context_element. DATA ls_context TYPE wd_this->element_context. DATA lv_en_start TYPE wd_this->element_context-en_start. DATA lv_en_input TYPE wd_this->element_context-en_input. DATA lv_en_output TYPE wd_this->element_context-en_output. DATA lv_en_finish TYPE wd_this->element_context-en_finish. DATA lv_en_previous TYPE wd_this->element_context-en_previous. DATA lv_en_next TYPE wd_this->element_context-en_next. DATA lv_selected_step TYPE wd_this->element_context-selected_step. IF first_time = abap_true. * get element via lead selection lo_el_context = wd_context->get_element( ). wd_this->enable_start_step( enable = 'X' ). wd_this->enable_input_step( enable = '' ). wd_this->enable_output_step( enable = '' ). wd_this->enable_finish_step( enable = '' ). wd_this->enable_prev_button( enable = '' ). wd_this->enable_next_button( enable = 'X' ). **set selected step as START value = 'START' ). ENDIF. ENDMETHOD. 2008 SAP AG 18

Embed views in window The next step is to embed the views in the default window of the component. Embed the four views START, INPUT, OUTPUT and FINISH in the container of the MAIN view. Also, define the navigation link for the four outbound plugs of the MAIN view to the respective views. Remember, we created one inbound plug in each of the four views. The window will look like below. Map ALV interface controller node Go to Component usages->alv_sflight->interfacecontroller_usage. Click on the Create controller usage button. Here, drag the SFLIGHT_OUTPUT node of the component controller and drop it on the DATA node of the interface controller. A double-sided arrow will appear on the DATA node. 2008 SAP AG 19

Create and test the Web Dynpro application We are almost done. Create a Web Dynpro application and save it. Test the application and see the results of what you have done so far. Result The output of the application should look like the one below. You will observe that navigation to a preceding step is possible by either clicking on the steps of the roadmap directly or via the previous and next buttons. Navigation to a succeeding step is only possible via the NEXT button. While you are on the START or FINISH steps, the previous and next buttons remain disabled respectively. 2008 SAP AG 20

Dynamic Programming It is also possible to work with the Roadmap dynamically. This means that you can add or remove steps from the roadmap at the runtime. There are standard Web Dynpro classes that enable you to achieve this functionality. The reference of a roadmap itself can be got using the CL_WD_ROAD_MAP class. The ADD_STEP method can be used to add a new step while the REMOVE_STEP method can be used to remove an existing step. The class for the roadmap step is CL_WD_ROAD_MAP_STEP. There are methods that allow you to change the name and description of the roadmap step at runtime. You can explore these classes and methods if you want to achieve the functionality of the Roadmap element dynamically. 2008 SAP AG 21

Related Content Read more about the Roadmap element in the SAP library For more information, visit the User Interface Technology homepage. 2008 SAP AG 22

Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. 2008 SAP AG 23