cancel
Showing results for 
Search instead for 
Did you mean: 

Strange problem with NWDS - Custom code vanishes!

Former Member
0 Kudos

Hi all:

I am very much new to SAP NWDS world. I have got background in core Java coding and now trying to pick up the Java WebDynpro for which I am practising some examples in SAP NWDS.

I have got a Java WebDynpro application with 2 views. In the implementation tab of one view I am trying to put in some custom code for the function :

public void wdDoInit()

{

//@@begin wdDoInit()

//@@end

}

However after I hit the Save all metadata button, the custom code vanishes and the function wdDoInit() goes back to the initial form ( shown above ). As a result I cant save the custom code.

Any help with this issue?

Cheers!

Thanks

Anindya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

are u deleting the code

//@@begin

custom code is to be written here

//@@end

Please write ur code between these block

Former Member
0 Kudos

Thanks Feroz a lot for your answer ....you are spot on. However I found that out to be pretty strange! Anyway I am gradually getting used to the SAP NWDS

Answers (1)

Answers (1)

JPReyes
Active Contributor
0 Kudos

Moved to NWDI forum

Former Member
0 Kudos

Please move it to the Web Dynpro Java forum. It's not NWDI related.

Former Member
0 Kudos

Yes that's what I thought. But couldn't really find any forum on WebDynpro Java. So I put it in the NetWeaver Platform forum!

Thanks and regards,

Anindya