cancel
Showing results for 
Search instead for 
Did you mean: 

life cycle of a web dynpro callable object

Former Member
0 Kudos

What is the life cycle of a web dynpro callable object.

Means when that Web dynpro callble object is used in a GP process which method of that component called first and what is the sequence of the method execution in that.

Can anyone please explain me.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

hey i didnt received any link for e-learning

Former Member
0 Kudos

Hi

Sorry i missed it.Now i have edited my previous message

Former Member
0 Kudos

Hi Sudhir,

I want to know whole life cycle means it involves init method of interface controller ,component controller,and view controller and also other method in that whole component.

not only this three method.

Which method is called first in a WDP callble object

Former Member
0 Kudos

Hi,

Follow this e learning session

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50b0f2aa-20d0-2a10-1685-d163d88a...

Edited by: Sudhir Gorantla on Aug 25, 2008 11:49 AM

Former Member
0 Kudos

Hi Ritu.

for webdynpro callable object with GP chk this :[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814]

[http://help.sap.com/saphelp_nw70/helpdata/en/43/e085d6421a4d9de10000000a155369/content.htm]

hope it'll hlp u..

Regards,

Khushboo

Former Member
0 Kudos

Hi,

Now the life cycle of a component takes two values that is manual or create on demand (automatically)

Now in both the cases the following method is called

(IF_WD_COMPONENT_USAGE~CREATE_COMPONENT).

but the time of callin the metod is different

for manual

IF_WD_RR_COMPONENT_USAGE=>CREATE_MANUAL:

The used component must be created by calling IF_WD_COMPONENT_USAGE~CREATE_COMPONENT before its interface controller can be accessed (standard behavior).

For automatic

IF_WD_RR_COMPONENT_USAGE=>CREATE_ON_DEMAND:

The used component is created by the Web Dynpro runtime as soon as its interface controller is accessed.

regards

Nikhil Tapkir

Former Member
0 Kudos

Hi,

When you implement the GPWebdynproCO,you will inherit two methods u201CgetTechnicalDescription()u201D and u201Cexecuteu201D.When you create a Webdynpro callable object from GP design time,you will choose the deployed wendynpro component from the list of available webdynpro components.At that time when you select a particular webdynpro component,u201DgetTechnicalDescription()u201D method of the component is called.Now after creating the callable object,while testing it when you click on execute button,execute() method will be called.When you execute the code mcontext.processingComplete(),the callable object execution terminates and output structure is displayed.

Edited by: Sudhir Gorantla on Aug 25, 2008 11:11 AM