Passing Parameters via Web Dynpro Application

Similar documents
Moving BCM to different IP range

How to Use a Customer Specific UIBB in MDG Application 'Create Change Request' Author: Matthias Hubert Company: SAP Created on 5th July 2013

How the Standard Integration between SAP EM and SAP TM Can Be Tested with SE37

UI Changes for SAP Portfolio and Project Management Depending on NW Release

Disclosure Management. Default font on styles in Disclosure Management

Managing Substitutions in My Inbox 2.0 app

Disclosure Management US SEC. Preview

SAP Directory Content Migration Tool

CREATION AND CONFIGURATION OF WEB SERVICE FROM RFC AND DEPLOYMENT IN ANOTHER SYSTEM

BW Workspaces Data Cleansing during Flat File Upload

How To - Extend MDG-M content by new attributes for customer Z-fields in standard tables

Create and run apps on HANA Cloud in SAP River RDE

SAP Sybase Replication Server Change DATA Capture Configuration. Example Configuration

How to Setup Notifications in Fiori 2.0 Step-by-Step

Deploy a SAPUI5 Mobile App to Android Device

Introduction to BW Workspaces and its usage with SAP BusinessObjects BI Tools

SAP EM How to Display the Planned Route on the Geo-Map

A Sample PhoneGap Application Using SUP

Experience SAP HANA Cloud Portal. Use SAP HANA Cloud Portal to Create Engaging Websites in 5 Simple Steps

How To... MDG-M: Replace Enterprise Search with database base search or an alternative search provider

How To... MDG-M: Replace Enterprise Search with database base search or an alternative search provider. Applicable Releases: From MDG 6.

How-to Connect your HANA Cloud Platform Mobile Service Account to your On-Premise OData Service

SAP BusinessObjects Dashboard Design Component SDK Installation Guide

Disclosure Management Financial Consolidation. Troubleshooting Data Import Interface

NET311. Advanced Web Dynpro for ABAP COURSE OUTLINE. Course Version: 10 Course Duration: 4 Day(s)

SAP Business Communications Management (BCM) Release Notes 7.0 SP04 Patch 1 ( )

BC404. ABAP Programming in Eclipse COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

BC400 Introduction to the ABAP Workbench

How to Install SMP in a Cluster Environment Using ASE DB Without MBO Runtime SAP Mobile Platform (3.0 SP05)

BC410. Programming User Dialogs with Classical Screens (Dynpros) COURSE OUTLINE. Course Version: 10 Course Duration: 3 Day(s)

MII - Crystal Reports Configuration Guide

Implementation steps for Note

SAP ESP: Keyed Streams in CCL New feature in SP08

BC400. ABAP Workbench Foundations COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

How-to guide: OS Command Adapter

NET312. UI Development with Web Dynpro for ABAP COURSE OUTLINE. Course Version: 10 Course Duration: 4 Day(s)

BC100. Introduction to Programming with ABAP COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

How to Transport KPI Tile Application Step-by-Step Guide in S/4HANA On-Premise

How to Configure Fiori Launchpad and Web Dispatcher to Support SAML2 Using SAP Identity Provider Step-by-Step

How to... MDG-M: Best Practice for Maintenance Status. Applicable Releases: From EHP6 FOR SAP ERP 6.0 and from SAP S/4HANA 1511

Information Design Tool User Guide SAP BusinessObjects Business Intelligence platform 4.0 Support Package 4

BC405 Programming ABAP Reports

Defining Associations in Business Object Builder

Creating Application Definitions in Hana Cloud Platform Mobile Services

How to... Master Data Governance for Material: Use the Data Import Framework for Material. Applicable Releases: From EhP6

ADM950. Secure SAP System Management COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

Dashboards Batch Utility User Guide

BC430 ABAP Dictionary

SAP HA Installations on z/os and Windows Application Servers

BIT460. SAP Process Integration Message Mapping COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

BC490 ABAP Performance Tuning

BC480 PDF-Based Print Forms

EWM125. Labor Management in SAP EWM COURSE OUTLINE. Course Version: 16 Course Duration: 4 Hours

How to setup My Inbox 2.0 app

ADM960. SAP NetWeaver Application Server Security COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

ADM100 AS ABAP - Administration

AC507. Additional Functions of Product Cost Planning COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

ADM900 SAP System Security Fundamentals

ADM950. Secure SAP System Management COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

ADM920 SAP Identity Management

PLM210. Master Data Configuration in SAP Project System COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

SAP NetWeaver Identity Management Identity Center. Implementation guide. Version 7.2 Rev 4. - Optimizing dispatcher performance

SAP Discovery System V5 Users and Passwords

ADM960. SAP NetWeaver Application Server Security COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day

HA150 SQL Basics for SAP HANA

How to Find Suitable Enhancements in SAP Standard Applications

BOC310. SAP Crystal Reports: Fundamentals of Report Design COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

DS50. Managing Data Quality with SAP Information Steward COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

SMP541. SAP Mobile Platform 3.0 Native and Hybrid Application Development COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

MDG100 Master Data Governance

EDB358. System and Database Administration: Adaptive Server Enterprise COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

SAP White Paper SAP Sybase Adaptive Server Enterprise. New Features in SAP Sybase Adaptive Server Enterprise 15.7 ESD2

How to Integrate Microsoft Bing Maps into SAP EHS Management

Business Intelligence Launch Pad User Guide SAP BusinessObjects Business Intelligence Platform 4.0 Support Package 5

TBIT40 SAP NetWeaver Process Integration

AFA461 SAP Afaria 7.0 System Administration (SP03)

BOC320. SAP Crystal Reports - Business Reporting and Report Processing Strategies COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

GRC100. GRC Principles and Harmonization COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

Dashboards LiveCycle Data Services Gateway Installation Guide SAP BusinessObjects 4.0 Support Package 4

How to setup My Inbox 2.0

EDB367. Powering Up with SAP Adaptative Server Enterprise 15.7 COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

How to Integrate Google Maps into a Web Dynpro ABAP Application Using the Page Builder

Web Dynpro: Column Coloring in ALV

EDB785 SAP IQ Administration

BC401. ABAP Objects COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

SAP BusinessObjects Explorer API Guide SAP BusinessObjects Explorer XI 3.2 SP2

Configuring relay server in Sybase Control Center

BOCE20. SAP Crystal Reports for Enterprise: Advanced Report Design COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

TBW30 SAP BW Modeling & Implementation

SAP NetWeaver Cloud Security Tutorial Single Sign-On and Identity Federation with SAP NetWeaver Single Sign-On

DEV523 Customizing and Extending PowerDesigner

BW310. BW - Enterprise Data Warehousing COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

TBIT44 PI Mapping and ccbpm

EP200. SAP NetWeaver Portal: System Administration COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

SAP BusinessObjects Integration Option for Microsoft SharePoint Getting Started Guide

EP350. Innovated Content Management and Collaboration COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

How to reuse BRFplus Functions Similar to R/3 Function Modules using BRF+ Expression Type Function Call

How to setup My Inbox 2.0 app

SAP BusinessObjects Predictive Analysis 1.0 Supported Platforms

How to Access Images of SAP Netweaver Demo Model JAVA

Transcription:

Applies to: SAP ABAP Workbench that supports Web Dynpro development. For more information, visit the Web Dynpro ABAP homepage. Summary This article explains how to pass parameters via Web Dynpro Application. In general, data can be shared via context of different controller only in the same session (i.e. in the same web page) but data cannot be shared between two different sessions (i.e. two different web pages). So to pass the data between two different sessions, we pass data through the web Dynpro Application (URL). Author: Sankar Gelivi Company: Incture Technologies Created on: April 1 2013 Author Bio Sankar Gelivi is working with Incture Technologies as a Senior Net Weaver ABAP Consultant. He has over 3 years of experience in developing applications using ABAP, Web Dynpro ABAP, POWL and FPM.

TABLE OF CONTENTS SUMMARY... 1 AUTHOR BIO... 1 PRE-REQUISITES:... 3 REQUIREMENT:... 3 COMPONENT CREATION:... 3 OUTPUT1:..... 7 OUTPUT2:..... 7 RELATED CONTENT... 8 COPYRIGHT... ERROR! BOOKMARK NOT DEFINED. 2

PRE-REQUISITES: Basic knowledge in Web Dynpro ABAP concepts like context mapping and calling the web dynpro component using external window. BASIC INFORMATION: Generally, we use context mapping for sharing data between the views of same component or different components. Data can be passed via context only in a same session but data cannot be passed or accessed between different sessions via context mapping. For accessing the data between the different sessions, we have to pass parameters via Web Dynpro Application (URL). REQUIREMENT: Display the list of materials in the application 1 and then display the sales item details of the selected material in the new page (new session) COMPONENT CREATION: 1. Create a Component YSG_MATERIAL with a view and a window and embed view to the respective window. a. View 1 : V_Main Window 1 : W_Main 2. Create a node MATERIAL with cardinality 0-n and design layout with a table in the MAIN view. 3. Implement logic in WDDOINIT( ) to display list of materials in the table, when the application is called 4. Activate and execute the application 3

5. Create component YSG_SALES with a view and a window. a. View: V_MAIN Window: W_MAIN 6. Create node SALES in the component controller with the cardinality 1-1 7. Define context mapping with the node sales in V_MAIN and W_MAIN View Window 4

8. Design the view with a Form 9. Define parameters and business logic in the HANDLEDEFAULT( ) of a window W_MAIN 10. Save and active the component 5

11. On click of the material, sales item details should be displayed. 12. Implement the logic in the onaction event of the LINK_TO_ACTION UI element of the YSG_MATERIAL component 6

Output1: Output 2: Click on the M-16 material link 7

RELATED CONTENT http://scn.sap.com/community/web-dynpro-abap http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0b01544-4ecb-2e10-30aad8e1286c4022?quicklink=index&overridelayout=true&52355651383494 8

www.sap.com 2013 SAP AG. All rights reserved. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork, SAP HANA, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company. Sybase and Adaptive Server, ianywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase Inc. Sybase is an SAP company. Crossgate, m@gic EDDY, B2B 360, and B2B 360 Services are registered trademarks of Crossgate AG in Germany and other countries. Crossgate is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.