Workflow Webdynpro
Workflow Webdynpro
Workflow Webdynpro
application?
Yes, you can launch one webdynpro application from another webdynpro application.
First, you should get the URL of the web dynpro component that you want to launch and
second, call that URL in an external window.
To get the URL of any web Dynpro component, you use the FM
Hook methods are standard web dynpro methods which are called at
different scenarios in the web dynpro lifecycle
You can assign a supply function to a context node when you create a node. In simple
terms, supply function is used to populate data records in the context node. A supply
function is called when one or more elements of the node are accessed for the first time.
Answer : SALV_WD_TABLE
If one view is called 10 times in the lifespan of a webdynpro component , how many times
will the method WDDOINIT be called and how may times will WDDOMODIFYVIEW be
called ?
WDDOINIT will be called only once.
WDDOMODIFYVIEW will be called 10 times.
WDDOMODIFYVIEW has a parameter FIRST_TIME . If this is 'X' , then the view is getting called
first_time.
What are PRE POST and OVERWRITE exit methods in web dynpro?
Whenever a web dynpro component is enhanced , these 3 methods become available for all
methods in Webdynpro. Lets take an example of these methods for WDDOINIT.
We can write the business logic in the methods of the View, Window or even the Component
controller. But it is not a good practice to load all the business logic in the views or windows.
So SAP has provided an option of assistance class where you can write all your business
logic. By this way, you are still in the framework of your webdynpro and also avoid loading
too much logic in the components of webdynpro itself. Assistance class methods are much
better from a performance point of view than calls of Web Dynpro controller methods.
A web dynpro component will have only one assistance class and it is defined at the
component level as per the screenshot below. The assistance class is automatically
instantiated when a component is called. You can access the instance of this class with the
attribute wd_assist, which is created when you create the assistance class in web dynpro.
Wd_assist: This attribute is created when the assistance class is saved and activated for a
web dynpro component. All the methods of the assistance class can be accesses by using this
attribute.
Whatever comes after the ‘?’ and is followed by ‘&’ is an URL parameter. You can see sap-
language and sap-client as default parameters whenever you launch your web dynpro in
browser. The cool thing is you can add some custom variables
too. http://domainname.com:8000/sap/bc/webdynpro/sap/zdemo_webdynpro?sap-
language=EN&sap-client=100&var1=4500000001&var2=00010.
So var1 and var2 are custom webdynpro URL parameters and you can read them in
the HANDLEDEFAULT method of your main window:
While dealing with multiple WD components, you may come across a situation where you need to
reuse already developed parts of an existing Web dynpro component.
You declare component usage both at the Component and at the view levels:
Briefly explain how will you use implement Select Options in Web
Dynpro?
Question: What is the difference between Drop down by key and drop down by index ?
Question: How do you display error / success / warning messages in Web Dynpro ?
1. Possible Agents
2. 2. Responsible Agents
3. Actual Agents
4. Excluded Agents:
Q10) What are the workflows created by you? Worked upon by you?
Function Module that creates the workflow
SAP_WAPI_START_WORKFLOW:
SAP_WAPI_CREATE_EVENT
SAP_WAPI_WORKITEM_RECIPIENTS
SAP_WAPI_GET_WORKITEM_DETAIL