Application Development and Automation 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: 
Read only

How to add Custom fields in /OPT/VIM_WP tcode

Former Member
0 Likes
8,793

How to add Custom fields in /OPT/VIM_WP tcode

1 REPLY 1
Read only

laessio_freire
Discoverer
0 Likes
7,814

Hi Ashita, how are you? so I just now saw your post.

If you or another person needs to know how to add new field in /OPT/VIM_WP follow the steps below.

1 - go to /N/OPT/SPRO -> Cross Component Configuration->VIM Workplace->Maintain Customizing Profiles

2 - Mark the profile that you are using or DEFAULT if you use the DEFAULT profile

3 - Choose Output Field List Settings and New Field, I recommend that you use as copy from another field alredy created.

4 - Make sure that the field have all settings as you like, for example if is a HiperLink, if is a Icon, Checkbox, if is just a data that you wanna show.

I this example we create a None Out Style.

and the settings was

5 - Create this Z Exit as copy from /OPT/C_PMC_EXIT_FLD_STAT_BULK if your field is a CUSTOM_FIELD0, or any other CUSTOM_FIELDX, if is a Z field, the lable will catch from Data Element

This z function is for create Lable.

6 - Now the field must be added in the structure /OPT/CPMC_OUTPUT_PROCESS_ST

Recommend to create a new Z structure with the Z field or Any field that do have in the structure and append in this /OPT/CPMC_OUTPUT_PROCESS_ST

7 - In this point the Field will be available in the INBOX tab in /OPT/VIM_WP, Now for retrive the value in this structure, there are one Point of an ENHANCEMENT ZVIM_EH_GET_DATA_WP

In the View /opt/cpmc_rg01_v, you just have to add this new Z Field or the field that dont have.

With this, the field will be filled in automaticaly from this View.

Tkxs.

LF.