cancel
Showing results for 
Search instead for 
Did you mean: 

Modify the standard SAP ESS Leave DC

Former Member
0 Kudos

Hi Guys,

We are working on EP 7.0, and we know for ess leave iview , the back end java Web dynpro DC is sap.com/ess~lea, we have imported this DC into NWDS.

Current our portal is shared by 2 types of user, and the 2 ESS Leave Request should looks different.e.g: for type A user, he wanna the input field changed to drop down, B wanna add radio button, which results in 2 different DCs, we may need to rename the DCs into "AAA.com/esslea" , or "sap.com/essleaBBBBB", etc, just to create 2 different iviews for leave request.

anyone knows how to do it? Keep the original DC unchanged, while create extra copies to add customized code.

Thanks with highest Rewarding points.

Regards,

Guo Feng

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member197348
Active Contributor
0 Kudos

Hi Guo Feng,

First create the project for sap.com/ess~lea. Copy this DC using following procedure.

in the following thread is copy the project.

For DC

In step 1: Go to <Inst.Drive>:\Documents and Settings\<user>\.dtc\<track>\DCs\sap.com\<DC>\_comp

Create two different copies for A,B and then modify according to your requirements.

Then build and deploy them. And create new iViews for them and replace the original iViews with these according to their roles.

Remember, you need to transport these DCs as well as new iViews

Regards,

Siva

Former Member
0 Kudos

Feng,

you need to remembr one thing.

you cannot do this "Keep the original DC unchanged, while create extra copies to add customized code".

you have to change the original DC.

There is no need of creating two DCs for your requirement.You will be creating two iviews one for AAAA and another for BBBB but you will be calling the same code and how you differentiates is with the Application Parameter Property of the iview.for example in AAAA iview you will give something like input=yes and in BBB you will give input=NO and in java code you can retreive those parameters(i dont remember the code) and based on that you can write your logic

Thanks

Bala Duvvuri

Former Member
0 Kudos

Hi Duvvuri ,

Our requirement needs the leave request logic to be changed, and screen to be changed also, which cannot be easily done in coding way, for this point, we need extra copies of the DC with different name, and we can change web dynpro layout directly.

I feel this requirement should be common if the different types of users are using same portal. Any one has experience before?

Regards,

Guo Feng