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: 

Add fields to proj cj20n

shmilo666
Explorer
0 Kudos

I'm trying to add fields to cj20n in the Cust Enhancement tab. I see these fields that I added to PROJ table but it isn't being saved..

I put the following code at enhancement CNEX0006, FM EXIT_SAPLCJWB_002: move-corresponding sap_proj_imp to proj. (PROJ isn't known so I declared tables: PROJ).

Any idea what should I do in order to get the user's selection saved in the PROJ table?

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

Basically for this kind of enhancement there are 4 tasks (read SMOD documentation)

  1. Append customer fields to main table (here using append CI_PROJ)
  2. Define some variable in the global data of the exit function group (navigate from the exit FM to include ZXCN1TOP) e.g. PROJ, CI_PROJ and flag SAP_DISPLAY_ONLY
  3. Create your subscreen dynpro which displays the customer fields (exchange values with the global data)
  4. Create the two includes that receive and send back those values to main program

0 Kudos

Great, it solves my issue.