Questions tagged [webdynpro]

Web Dynpro is a web application user interface developed by SAP AG and exists in both ABAP and Java versions.

WebDynpro is a client-independent programming model used for developing sophisticated user interfaces for web based business applications.Dynpro means Dynamic Program.

The naming conventions to be followed while developing Web Dynpro applications is :

Web Dynpro context names should use only the characters A..Z, a..z, 0..9, _ . Digits can be used only from 2nd position. The JAVA naming conventions can be followed but avoid using unicode characters to keep the names simple. However one should avoid using the prefixes wd, WD or IWD since these are the prefixes used during generation of internal coding entities.

Basic Concept :

1. View – is the central logical layout element in the Web Dynpro application.It is responsible for the presentation logic and for the browser layout.

Description of a visible screen area Contains and lays out controls (aka widgets) Defines actions (i.e. relevant input on controls by the user), which trigger event handling

2. Controller – active part of web dynpro application,handles the data flow between the model and the view in both directions

Performs event handling Each component has a component controller Each view has a view controller Custom controllers may be added for further structuring

3. Model – is the interface to the back end systm and is responsible for providing data to the entire application.

Represents the data in the backend

4. Component

Reusable UI program package Mostly contains views, often uses models Communicates with other components via component interfaces

5. Application

Something runnable (from client application, i.e. web browser) Identified by URL Running an application means starting a component, navigating” to an initial view in an initial window.

6. Windows

Single UI unit representing a component’s user Interface/View Composition needed for embedding purposes.

7. Context

A controller contains a context which holds the data. The data flow between the contexts is referred to as context mapping..

87 questions
1
vote
1 answer

iText Filling existing table PDF

I'm trying to fill an existing table in my PDF. I found some examples on iText but they always create a new table and then fills it. In my case I have already created a table and now I want to add rows to this. Is it possible to do this?
user2206834
  • 379
  • 1
  • 5
  • 13
1
vote
1 answer

UFT GetCellData function causes IE to crash on SAPTable object

I am using HP UFT 11.52 on the SAP Web interface (Web Dynpro) over Internet Explorer 8. I have a SAPTable object that I am trying to activate the 'GetCellData' function on it to get the value under the "ID Number" column of the first row but when…
cREcker
  • 2,323
  • 1
  • 16
  • 13
1
vote
1 answer

How can I generate and download a pdf file in WebDynpro for ABAP?

I've got a task to create a webdynpro that given some inputs, can generate a pdf file with questions and the user should be able to download it somewhere. My question is, how can i generate a PDF in WDs and how do i prompt the download?
tis.sandor
  • 171
  • 1
  • 4
  • 12
1
vote
1 answer

How to access a Web Dynpro page using NSURLRequest

I'm trying to access a SAP Web Dynpro page with in an App. I am using a simple NSURLRequest that works with many other pages. However SAP Web Dynpro is returning the following message This Browser is not Supported Same SAP Web Dynpro link works…
Alfonso
  • 95
  • 2
  • 4
1
vote
0 answers

Images (imageField) are not shown after iText PDF Merging

We are using iText for merging of some already dynamically created PDFs. The final PDF after merging does not show the pictures which were dynamically added while creating the original PDFs. Here is how it works: A SAP WebDynpro Java application…
1
vote
2 answers

Web Dynpro ALV conditionally editable cells

The problem is I want that some cell of checkbox column in my WD ALV will be editable some cell will be non editable depending on some property. I make next steps to achieve the required result: 1) Add attribute READONLY type WDY-BOOLEAN to the…
user2542456
  • 81
  • 2
  • 11
1
vote
1 answer

When are controller methods called in WD4A?

Can someone explain to me when methods are called in WD4A applications? Particularly methods that are defined in the application controller (and not the view (controllers)). I'm looking at some sample codes and there's this supply_unit method in the…
user393964
1
vote
1 answer

Web Dynpro for ABAP Explanation Text (Green Underline) not working for certain users

I have recently added Explanation text to certain fields on the SRM Contract screen (both standard and cusom fields). The user that I unit tested with worked fine, however most other users do not work. After investigation I've found that it is not…
Esti
  • 3,677
  • 8
  • 35
  • 57
1
vote
2 answers

webdynpro abap get cookies

I have a requirement where I need to embed an external application into webDynpro ABAP, which I am planning to embed using IFrame. I also need to read the cookie information from this external application into WebDynpro ABAP. Any ideas how this can…
zvv_sap
  • 33
  • 5
1
vote
3 answers

How do i get all ui elements of a view? (Web Dynpro ABAP)

I want to make the labels of an input field invisible when the input field is invisible. I cant bind it to the same context because they are build dynamically. Is there a way to get all view elements so i can loop over them and make the label…
vikdb
  • 11
  • 1
  • 1
  • 3
1
vote
1 answer

How to access an Universal Worklist with mobile Devices?

first some context for the problem: we are using SAP NetWeaver Developer Studio to create business processes. Creating User Interfaces with Web Dynpro Java. A process will be controlled by the universal worklist (UWL) which can be accessed by its…
Gian-Marco
  • 23
  • 7
1
vote
2 answers

Upload file in Webdynpro ABAP

I'm searching a Webdynpro way to uploaded xstring file into the BDS (Business Document Service), most of the files are in binary or ZIP format. I use the File upload function of Webdynpro. I've tried to insert the file with the BDS-function…
Enrico2012
  • 41
  • 1
  • 4
0
votes
0 answers

NWDS NetWeaver with Web Dynpro for IntelliJ

I am currently working with NWDS NetWeaver, which is built on Eclipse. And includes a Web Dynpro Plugin. I was wondering if there also exists a Plugin for Web Dynpro in IntelliJ?
0
votes
1 answer

Can the execution of ABAP code be triggered from an HTML page via Javascript?

To visualize it a bit better, assume this nonsense example: A simple, freestyle HTML/CSS/JS page is served via an HTTP service in ICF. The page was populated with data from SPFLI, i. e. an HTML table is displayed showing all the entries from the…
Brix
  • 1
0
votes
0 answers

Deactivate Scrollbar

I've implemented a custom Web-Dynpro ABAP Application, which is called in our portal. I've got the problem, that in different browsers Application is behaving differently. In this application we only display 8 radio buttons ( its more likely to have…
Sasku
  • 517
  • 7
  • 23