Skip to Content
author's profile photo Former Member
Former Member

Web Dynpro Java code changes

Hi,

I need to put some validations in web dynpro java page which is "employee address page". I checked the BADI's but no badi exists which serve my purpsoe.

Now I want to make the code change in web dynpro java. Pls answer the followng questions.

1- I have installed NWDS on my local machine. Do i need to install NWDI also?

2- How to import and export the required page and from where?

3- How to modify the standard code, I mean in ECC we have enhancement and modification concept.

Thanks,

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Sep 06, 2011 at 05:46 PM

    are you doing for validation for address? This can be done in the backend using the badi or here in the code

    HRPAD00INFTYUI and HRPAD00INFTYBL

    CL_HRPA_INFOTYPE_0006_US Infotype 0006: Addresses for us

    there is method for postal code check

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Siddharth Rajora

      One small confusion; NWDI Vs NWDS

      The advantages what I have read for NWDI is that multiple developers can work at the same time as it's saved on server. While NWDS the project is saved on local machine? Is this the only difference. If there is only one develoer - can we just use NWDS?

      Thanks,

  • author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2011 at 04:50 PM

    If you want to make a field read-only then you can achieve it from the personalization.

    For accessing the source code you would need the NWDI.

    NWDS is the front end tool/IDE though which you make the changes in the code(you will download the code from NWDI, you will checkout and will make the changes and will checkin back the changes, so that it can be transported). Without NWDI you will not get access to the source code.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Ok got it. So NWDI is required in order to get the source code of WDJ ...

      Personalization would not work as I have to make the field as read only dynamically, i mean based on some conditions. So personalization would work i think.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2011 at 04:59 PM

    If condition is dynamic then you have to make the code change.

    If you make the code change then I think you know the implications while SP upgrades etc

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 09, 2011 at 08:07 PM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.