cancel
Showing results for 
Search instead for 
Did you mean: 

write private method

Former Member
0 Kudos

How to write private methods in webdynpro.

If i am declaring method in method tab it is by default public. and if i want to change it to private it is againg changed to public by webdynpro framework.

Please provide me the way.

Accepted Solutions (1)

Accepted Solutions (1)

former_member192434
Active Contributor
0 Kudos

Hi

write private method inside golobal declaration area..

see at the end of impl Tab. it starts with "begin others" and end with "End"

Thanks

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Directly u can write private methods like this,

//@@begin others

private void test()

{

}

//@@end

Regards,

Sunaina Reddy T

Former Member
0 Kudos

Hi Nitya,

if you want to add a private method you have to write it between

//@@begin others

//@@end

comment tags. and not through adding a method