Show TOC
Create
Customer-Specific Fields in a WBS
The following SAP enhancement is available for
WBS elements in the Project System:
- CNEX0007 Customer-specific fields in WBS
elements
You can use this enhancement to add new
customer-specific fields for the standard project definition in table PRPS To
process these fields you can create your own screen, which the user can call
up when maintaining standard project definitions.
The enhancement CNEX0007 contains the following
enhancement components:
Menu entries:
SAPLCJGR+CUE Project
planning board
SAPLCJWB+CUE Master
data maintenance (CJ01, CJ02, CJ03)
Function exits:
EXIT_SAPLCJSS_004
for transferring data to your own program
EXIT_SAPLCJSS_005 for transferring data from your program to R/3
Screen areas:
SAPLCJSS0215_CUSTSCR1_SAPLXCN10700
Activities
1. Create the
enhancement.
To do this, either create a new project or use an existing one.
2. Create
structure CI_PRPS in ABAP/4-Dictionary (transaction SE11) in your own
development class.
3. Expand
structure CI_PRPS to include your own fields.
Note the following:
- You must use the name ranges reserved for
customers.
- The maximum number of fields in database
tables is 255 (in PRPS and CI PRPS - for SAP field and user-defined fields
together). SAP reserves the right to add new fields to table PRPS; if the
maximum number is reached, your user-defined fields could be
excluded.
Activate the
structure.
4. Maintain the
enhancement components:
- Assign the function customer
fields a name. To do this, double-cliedk the menu entries
SAPLCJWB+CUE or SAPLCJGR+CUE and enter the name you want to have appear in the
menu.
- Add to the program code for the function exit
EXIT_SAPLCJWB_004. This function exit transfers SAP data to your part of the
program.
To do this, call up the function module and double-click the include line.
Create the include module.
In order to transfer the variables, you must insert a Move-corresponding
statement in Include ZXCN1U21:
move-corresponding sap_prps_imp to prps.
Now define the
"prps" data structure as global variable. To do this, jump to the main program
SAPLXCN1. First, double click include LXCN1TOP and then include ZXCN1TOP.
Create the object if required.
Include the following tables statement in the source text for include
ZXCN1TOP.
* tables
tables prps.
- Add to the program code for the function exit
EXIT_SAPLCJWB_005. This function exit takes the data from your part of the
program and transfers it to the SAP standard program. Create your own
corresponding include module.
In order to transfer the variables, you must insert a Move-corresponding
statement in Include ZXCN1U22:
move-corresponding prps to cnci_prps_exp.
- Create the screen area.
Double-click SAPLCJSS0215_CUSTSCR1_SAPLXCN10700 and then choose
Fullscreen . The screen has been preconfigured by SAP. You can delete
these fields and add new ones:
Choose Goto -> Dict./Program fields
Maintain the table/field name PRPS and select the
fields to appear on the screen.
Generate the screen.
For detailed
information, see OSS Note number 86050.
5. Activate the
project.
Only once you have activated the project, will your enhancement take
effect.
Note for
Batch-Input
If you want to fill your customer-specific
fields later using batch-input you must take the screen SAPLCJSS 0205
into consideration.
For your customer-specific fields to be
evaluated in the project information system, the structures in the project
information system must be regenerated. To do this, start program
RCNCT001.
Further
Notes
Unlike modifications, enhancements are not
influenced by a release upgrade because they are not part of the original SAP
programs, rather, they exist in an area reserved for customers.
You can also find documentation for this
enhancement in the enhancement transaction.