Ansicht
Dokumentation

SIMG_OLPR_CMOD_FLD3 - Create Customer-Specific Fields in a Std Project Definition

SIMG_OLPR_CMOD_FLD3 - Create Customer-Specific Fields in a Std Project Definition

PERFORM Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

The following SAP enhancement is available for standard project definitions in the Project System:

  • CNEX0003 Customer-specific fields in the standard project definition

You can use this enhancement to add new customer-specific fields for the standard project definition in table PROJS. To process these fields you can create your own screen, which the user can call up when maintaining standard project definitions.

The enhancement CNEX0003 contains the following enhancement components:

Menu entries:

SAPLCJSS+CUD

Function exits:

EXIT_SAPLCJSS_002 for transferring data to your own program
EXIT_SAPLCJSS_003 for transferring data from your program to the SAP system

Screen areas:

SAPLCJSS0205_CUSTSCR1_SAPLXCN10300
  1. Create the enhancement.
    To do this, either create a new project or use an existing one.
  2. Create structure CI_PROJS in ABAP/4-Dictionary (transaction SE11) in your own development class.
  3. Expand structure CI_PROJS 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 PROJS and CI PROJS - for SAP field and user-defined fields together). SAP reserves the right to add new fields to table PROJS; if the maximum number is reached, your user-defined fields could be excluded.

Activate the structure.
  1. Maintain the enhancement components:
  • Assign the function customer fields a name.

  • Add to the program code for the function exit EXIT_SAPLCJSS_002. 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 ZXCN1V13:
    move-corresponding sap_projs_imp to projs.

Now define the "projs" data structure as global variable. To do this, jump to the main program SAPLSCN1. 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 projs
.

  • Add to the program code for the function exit EXIT_SAPLCJSS_003. 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 ZXCN1U16:
    move-corresponding projs to cnci_projs_exp.

  • Create the screen area.
    Double-click SAPLCJSS0205_CUSTSCR1_SAPLXCN10300 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 PROJS and select the fields to appear on the screen.
    Generate the screen.

For detailed information, see OSS Note number 86050.
  1. Activate the project.
    Only once you have activated the project, will your enhancement take effect.

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.

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.






General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 4776 Date: 20240523 Time: 214819     sap01-206 ( 62 ms )