Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

enhancement CNEX0006

Former Member
0 Kudos

Hi all.

can anybody help me out ,how to use the enhancement CNEX0006.

Thanks in advance,

Regards,

Venkat.M

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You can use this enhancement to add new customer-specific fields to project definitions in table PROJ. To process these fields you can create your own screen, which the user can call up when maintaining project definitions or from the project planning board.

CNEX0007 and CNEX0006 to add fields to the PRPS and PROJ tables respectively in the PS Module. As probably the case with most of these exits, have fun trying to figure out how to protect the fields in display mode. We lived with the fact that the save was disabled so it could not save the changes anyway. A test of the transaction code would not be complete. Use transaction SMOD to do SAP enhancements/field exits. In SMOD, you can get list of SAP enhancements that exist by Utilities - SAP Enhancements. Trying to figure out what they can be used for and how to accomplish the desired results is a major challeng.

Check this <a href="http://help.sap.com/saphelp_40b/helpdata/es/80/e32c7dd435d1118b3f0060b03ca329/content.htm">SAP Help</a>

<i>Hope This Info Helps YOU.</i>

Regards,

Lakshmi

3 REPLIES 3

Former Member
0 Kudos

Hi,

You can use this enhancement to add new customer-specific fields to project definitions in table PROJ. To process these fields you can create your own screen, which the user can call up when maintaining project definitions or from the project planning board.

CNEX0007 and CNEX0006 to add fields to the PRPS and PROJ tables respectively in the PS Module. As probably the case with most of these exits, have fun trying to figure out how to protect the fields in display mode. We lived with the fact that the save was disabled so it could not save the changes anyway. A test of the transaction code would not be complete. Use transaction SMOD to do SAP enhancements/field exits. In SMOD, you can get list of SAP enhancements that exist by Utilities - SAP Enhancements. Trying to figure out what they can be used for and how to accomplish the desired results is a major challeng.

Check this <a href="http://help.sap.com/saphelp_40b/helpdata/es/80/e32c7dd435d1118b3f0060b03ca329/content.htm">SAP Help</a>

<i>Hope This Info Helps YOU.</i>

Regards,

Lakshmi

former_member181962
Active Contributor
0 Kudos

HI Venkat,

Go to smod and check the documentaion given there.

In case you do not have it, here it is..

<i><b>Overview

The data of the project definitions are saved in database tables that

have been defined by SAP. You can use this enhancement to make your own

customer specific enhancements to the project definition table (table

PROJ).

You can activate our own function for processing WBS with which you can

call up a customer-specific screen. Here you can display or edit the new

fields that you have included in the PROJS table.

The CNEX0006 enhancement has the following components:

Menu options:

o SAPLCJGR +CUD

o SAPLCJWB +CUD

Function exits:

o EXIT_SAPLCJWB_002

o EXIT_SAPLCJWB_003

Screen areas:

o SAPLCJSS 0205 CUSTSCR1 SAPLXCN1 0600

ocedure

Use transaction CMOD to create an enhancment project and assign it

enhancement CNEX0006.

Using transaction SE11 (ABAP Dictionary) add your field to the CI_PROJ

structure. Pay attention to the name range for customer fields. Activate

the structure. Note that a table can contain a maximum of 255 fields.

SAP reserves the right to add new fields to the PROJ table.

Edit the components using transaction CMOD.

You must :

o Assign the "Customer fields" function its own name

o Program the function exit EXIT_SAPLCJWB_002 for transferring data

from the SAP application to the screen area

o Program the function exit EXIT_SAPLCJWB_003 for transferring data in

the screen area to the SAP application.

o Create the screen area.

The function exits are filled when you create the include contained in

them. Double-click on the include to edit it.

Activate your project. </b></i>

Regards,

Ravi

Former Member
0 Kudos

HI

GOOD

GO THROUGH THIS LINKS

CNEX0006

Graphics for Project System

Overview

The data of the project definitions are saved in database tables that have been defined by SAP. You can use this enhancement to make your own customer specific enhancements to the project definition table (table PROJ).

You can activate our own function for processing WBS with which you can call up a customer-specific screen. Here you can display or edit the new fields that you have included in the PROJS table.

The CNEX0006 enhancement has the following components:

Menu options:

SAPLCJGR +CUD

SAPLCJWB +CUD

Function exits:

EXIT_SAPLCJWB_002

EXIT_SAPLCJWB_003

Screen areas:

SAPLCJSS 0205 CUSTSCR1 SAPLXCN1 0600

Procedure

Use transaction CMOD to create an enhancment project and assign it enhancement CNEX0006.

Using transaction SE11 (ABAP Dictionary) add your field to the CI_PROJ structure. Pay attention to the name range for customer fields. Activate the structure. Note that a table can contain a maximum of 255 fields. SAP reserves the right to add new fields to the PROJ table.

Edit the components using transaction CMOD.

You must :

Assign the "Customer fields" function its own name

Program the function exit EXIT_SAPLCJWB_002 for transferring data from the SAP application to the screen area

Program the function exit EXIT_SAPLCJWB_003 for transferring data in the screen area to the SAP application.

Function/Program:

SAPLCJGR+CUD: Project definition customer fields

SAPLCJWB+CUD: Project definition customer fields

EXIT_SAPLCJWB_002: PS Customer Exit: User Specific Fields PROJ (Data SAP -> SUBSCREEN)

EXIT_SAPLCJWB_003: PS Customer Exit: User Specific Fields PROJ (Data SUBSCREEN -> SAP)

SAPLCJWB0205_CUSTSCR1_SAPLXCN10600: Project definition, customer enhancement

SAPLCJWB1216_CUSTSCR1_SAPLXCN10600: Subscreen - Customer Enhancement Project Definition

LINK->

http://sapass.metro.client.jp/UserExit/CNEX0006.htm

http://easymarketplace.de/userexit.php?Printer=1

THANKS

MRUTYUN