cancel
Showing results for 
Search instead for 
Did you mean: 

WD-ABAP

Former Member
0 Kudos

Dear Folks,

Recently i have been moved to WD-ABAP realm from core ABAP.I have good knowledge of ABAP ,But dont have knowledge of OO-ABAP.Now i have started reading book on WD4A and going through materials online.I was wondering how important OO concept of ABAP in WD-ABAP.Shall i have to learn all object based programming before starting WD4A or ABAP knowledge and minimum of OO concepts are required to develop applications? I was going throug tutorials and coding has been done in Methods and interfaces in WD4A.I still cant figure out in which method i have to do coding to implement the particular functionality.Shall anyone guide me?Thank you in advance.

Nirad.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi nirad,

Just do those sample tutorials present at WebDynpro ABAP page and that will get you a clear picture. From my personal experience, I have not learnt Object oriented ABAP as such but practice (those tutorials) made me to develop some reasonably good WDA programs and enabled to do more RnD's on it.

Knowing OO ABAP, well, ofcourse is an added advantage. I am planning to learn it from doing more applications in WDA :).

Rgds,

Anto.

Former Member
0 Kudos

Tnx Antony.Any Special tip..:)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

Welcome to ABAP Dynpro.Now you was asking about how much ABAP/OOPS one should know and topics one should know.

In my view you should be aware with fundamental of OOABAP like

class , methods , interfaces and static attribute.Being WD ABAP Dynpro guy you should be in position to use ABAP classes and methods in it.

Just take case if you want to access element from node in context ...such code by wizard Appears ....

********************************************************************

DATA:

zobj_bbp_ior_util TYPE REF TO zcl_bbp_ior_util,

node_ztiornode TYPE REF TO if_wd_context_node,

elem_ztiornode TYPE REF TO if_wd_context_element,

stru_ztiornode TYPE zsior.

  • navigate from <CONTEXT> to <ZTIORNODE> via lead selection

node_ztiornode = wd_context->get_child_node( name = if_request_ior=>wdctx_ztiornode ).

  • get element via lead selection

elem_ztiornode = node_ztiornode->get_element( 1 ).

********************************************************************

now you should be in position to understand and make use of classes like

' wd_context' etc. .You should know what it does then you will use it method

like get_child_no.

Hope I have cleared you doubt.

Cheers !!!

Parry

Former Member
0 Kudos

Hi Nirad,

Welcome to the interesting world of Web Dynpro ABAP !

First of all, you are right! You need to know basic knowledge of OOPs ABAP concepts. Actually as per my experience once you start doing examples you tend to face problems and then u understand how to implement the object oriented ABAP. Its different than conventional ABAP. You can click on red round button next to wizard on the se80 screen in any method. There you can actually check out the code.

For Web dynpro ABAP you will require SAP ECC 6.0 onwards and WAS 7.0

is a must. It has very good future propspects as this is best UI technology.

In web dynpro ABAP we follow MVC(Model View Controller) architecture.

In this object oriented ABAP is used to provide background functionality. Here, your ABAP skills can be utilized to the fullest. Programming in web dynpro ABAP is different than conventional ABAP programming. Here we strictly follow MVC architecture in terms of controller interface. Also there are many wizards available so that we can directly pick the code from wizards.

e.g We can call BAPI through a service call in web dynpro application. Thus automatically backgroud code for BAPI execution will be generated.

To start with Web dynpro ABAP you can try following tutorial:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e03...

You can start with tutorials and all. There are around six tutorials in SDN library.

Web Dynpro for ABAP

http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm

best tutorials in wbdynpro for ABAP to start with :

https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb... [original link is broken]

Have a look at the following SDN WDA Wiki . There you can find all relevant information.

https://wiki.sdn.sap.com/wiki/display/WDABAP/Main

First of all start doing SAP SDN tutorials .

Create some compenents with BAPI , Component usage and ALV .

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1c...

/people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap

Try to Download demo tutorials from SDN library & Try to search WebDynpro ABAP WebLogs .

Wait not just that SAP has provided you with ample demo example of WD ABAP already bundled with SAP . Just Try out Components starting with WDR . I can tell you few like WDR_TEST_EVENTS ( It shows how every UI elments to use )

See packages like SWDP_DEMO , SALV_WD_DEMO

there are many more .

/people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e03...

Also you can search weblogs on web dynpro ABAP.

Hope this will help you.

Cheers,

Darshna.