cancel
Showing results for 
Search instead for 
Did you mean: 

Custom controller

Former Member
0 Kudos

hi all,

how to use custom controller give some real example

thax

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi,

Generally in two cases we go for Custom Controller

1. To modularize the code .

2. Reusable code to be used among the different controllers with in the Component.

Thanks

sreeni

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

Check the below blogs it shows how to use custom controller with coding,

/people/perumal.kanthan/blog/2005/03/09/handling-structuretable-transactions-using-bapis-in-web-dynpro-part-i

/people/perumal.kanthan/blog/2005/03/09/handling-structuretable-transactions-using-bapis-in-web-dynpro-part-ii

http://help.sap.com/saphelp_nw70/helpdata/en/44/0dca942d9d1ca2e10000000a11466f/frameset.htm

Regards,

Suresh.T

Former Member
0 Kudos

Hi,

Find below example tutorial whcih use custom controllers

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/355b9c90-0201-0010-d2a8-89fece426526">Tutorial 1</a>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c">Tutorial 2</a>

former_member187990
Participant
0 Kudos

Hi Ram,

Custom Controllers are essentially the same as Component Controllers, but you can create them when needed.

Custom controllers have only programmatic part and no visual part .

Custom controllers have only DoInit and DoExit hook methods.It does not have

<b>wdDoPostProcessing(), wdDoBeforeNavigation(),wdDoApplicationStateChange()</b> hook methods as Component Controllers.Rest all are same as Component Controllers.

Satish Kumar SV

former_member199223
Participant
0 Kudos

hi ram,

see this link it is use full for u ..how t create and use.

<b>http://help.sap.com/saphelp_nw04/helpdata/en/c4/862594e85911459301aa71a2b7b6b4/frameset.htm</b>

Its for diff.b/w component contoller and custom controller.

Thanks

Former Member
0 Kudos

https://forums.sdn.sap.com/click.jspa?searchID=3293076&messageID=2024134

Suggest you to search in the forums itself on customController.

Regards,Anilkumar