Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> UserExit>CNEX0008



Graphics for Project System

Network data is stored in database tables which SAP has defined. You can use this enhancement to make your own (that is, customer-specific) enhancements to the table for network activities (Table AFVU).

In network processing, you can activate your own function to call up your own screen. On this screen, you can include your new fields in the table AFVU for maintenance or display.

The enhancement CNEX0008 contains the following components:

Menu entries:


Function exits:


Screen areas:


Create an enhancement project with the transaction CMOD and assign the enhancement CNEX0008 to this project.

Create your new fields in the structure CI_AFVU using the transaction SE11 (ABAP/4 Dictionary). Remember to use the naming conventions reserved for customers. Activate the structure. Please note that a table can have a maximum of 255 fields. SAP reserves the right to add new fields to the Table AFVU.

Use transaction CMOD to edit the components.

To do this, you must:

  • assign the function "customer fields" a unique name.
  • code the function exit EXIT_SAPLCONW_002 for transferring data from the SAP application to the screen area.
  • code the function exit EXIT_SAPLCONW_003 for transferring data in the screen area to the SAP application
  • 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.

  • SAPLCJGR+CU1: Activity customer fields
  • SAPLNWCU+CU1: User exit cust.flds
  • EXIT_SAPLCONW_002: PS Customer Exit: User Specific Fields in AFVG (Data SAP -> SUBSCREEN)
  • EXIT_SAPLCONW_003: PS Customer Exit: User Specific Fields in PLPO (Data SUBSCREEN -> SAP)
  • SAPLCONW2999_CUSTSCR1_SAPLXCN10800: Customer-specific fields for activity
  • SAPLCONW3999_CUSTSCR1_SAPLXCN10800: User-Specific fields for Activity (on Flex. Detail Screens)