cancel
Showing results for 
Search instead for 
Did you mean: 

java code changes deletes when saving webdynpro project

former_member202443
Participant
0 Kudos

hi guys,

is it always necessary to create methods from wizards in the webdynpro view controller??? other wise if I am already in the code and create some new method which is not created by wizard, it is removed once I am going to save the changes in the java code.

Can any one tell me what should I do??

Regards,

Naeem

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member202443
Participant
0 Kudos

I have found and started the session for debugging.

thanks for your help.

Former Member
0 Kudos

Hi Naeem,

when ever you are going to create a new method (custom method) decalre that method globally and place that code at the end of the code and between begin and end.

//@@begin others

//custom code

//@@end

regards

Manohar

former_member202443
Participant
0 Kudos

hi guys,

I put my custom made methods in the ends. Now it saves. But let me first write all the code and execute the project. Then let you know. Thanks for your immediate response.

Regards,

Naeem

former_member202443
Participant
0 Kudos

hi guys,

I have successfully written some custom java code including methods. But it does not show me result. I want to debug the application. Can you guys tell me how do I do this???

Regards,

Naeem

junwu
Active Contributor
0 Kudos

hi,

you can try to print some message on the screen, if you dont know how to debug.

or you go with [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/849170e3-0601-0010-d59e-ddfce735fac5|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/849170e3-0601-0010-d59e-ddfce735fac5]

Best regards,

john

former_member202443
Participant
0 Kudos

hi John,

thanks for the reply.

But how do I start the debug session in CE 7.1??? the document is about Netweaver 04. If i debug the application shows me message that first open the debug session in SAP Management Console.

How do I this??

Regards,

Naeem

Former Member
0 Kudos

Hi Naeem

Are you sure that you are creating the methods between //begin and //end ?

tell me where exaclty you are creating methods?

thanks

Tulasi

Edited by: Tulasi Palnati on Aug 12, 2009 2:31 PM

Former Member
0 Kudos

HI,

Yes you have to declare methods in the wizard first.

then you can go to that particular method and write your code.

and the code must be writen between tags...

@@begin

@@end

Regards,

Satya.