Show TOC
Create
customer-specific fields in a standard WBS
The following SAP enhancement is available for
standard WBS elements in the Project System:
- CNEX0004 Customer-specific fields in the
standard WBS element
You can use this enhancement to add new
customer-specific fields for the standard project definition in table PRPSS.
To process these fields you can create your own screen, which the user can
call up when maintaining standard project definitions.
The enhancement CNEX0004 contains the following
enhancement components:
Menu entries:
SAPLCJSS+CUE
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_SAPLXCN10400
Activities
1. Create the
enhancement.
To do this, either create a new project or use an existing one.
2. Create
structure CI_PRPSS in ABAP/4-Dictionary (transaction SE11) in your own
development class.
3. Expand
structure CI_PRPSS 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 PRPSS and CI PRPPS - for SAP field and user-defined fields
together). SAP reserves the right to add new fields to table PRPSS; 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.
- Add to the program code for the function exit
EXIT_SAPLCJSS_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 ZXCN1U17:
move-corresponding sap_prpss_imp to prpss.
Now define the
"prpss" 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 prpss.
- Add to the program code for the function exit
EXIT_SAPLCJSS_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 ZXCN1U18:
move-corresponding prpss to cnci_prpss_exp.
- Create the screen area.
Double-click SAPLCJSS0215_CUSTSCR1_SAPLXCN10400 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 PRPSS 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.
6. For your
customer-specific fields to be evaluation in the project information system
(PIS), you must generate the structures in the PIS again. Do this by running
program RCNCT001.
Note for
Batch-Input
If you later want to fill your
customer-specific fields using batch-input you must take the screen
SAPLCJSS 0215 into consideration.
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.