cancel
Showing results for 
Search instead for 
Did you mean: 

Declare global table in web dynpro

Former Member
0 Kudos

Hi,

How can I declare a global table in web dynpro?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If you want to declare an global internal table,

You can declare it in componentcontroller's 'ATTRIBUTES' Tab,

This internal table you can access in componentcontroller's method using 'wd_this' reference.

for example: "wd_this->itab".

If you want to access the same in any view's methods then you can do it using 'ig_componentcontroller' reference.

for example: "ig_componentcontroller->itab".

Answers (2)

Answers (2)

Former Member
0 Kudos

hi sapien.........

in web dynpro abap, a table is nothing but a node with atrribute/ attributes and having a cardinality of 0..n. each attribute refers a field. in order to make it global, you should create it in the context of the component controller and map it ot the context of the view to which it is needed. Christ bless you

---regards,

alex b justin

Former Member
0 Kudos

Hi SAPien,

You should create it in COMPONENT CONTROLLER context for it to be visible everywhere.

Regards

<i><b>Raja Sekhar</b></i>