cancel
Showing results for 
Search instead for 
Did you mean: 

Userfield Character Lenght

former_member282774
Participant
0 Kudos

Hi,

We are trying to increase the character length of User field from 20 characters to 24 characters? Are there any User-exit to do so?

Accepted Solutions (0)

Answers (2)

Answers (2)

sunil_yadav2
Active Contributor
0 Kudos

Hi Srini,

SAP Has given user fields using field key in WBS and activity which is not recommended to change.

if you require any custom field with business defined length or type of field than you should go for custom enhancement which will create new Tab in detail screen.

CNEX0001 |PS: User fields |

| CNEX0003 |PS: Customer specific fields standard project definition |

| CNEX0004 |PS: Customer specific fields standard WBS element |

| CNEX0006 |PS customer specific fields project definition |

| CNEX0007 |PS customer specific fields WBS element

| CNEX0016 |PS customer-specific fields in the network headerf

check these as per your business requirement.

thanks

Sunil

former_member282774
Participant
0 Kudos

Hi Sunil,

1.We just need at Userfield level.Can we create a new custom field in Userfield tab rather than creating a new tab?

2.We need this enhancement at WBS element level? Which one is preferred?CNEX0001 |PS: User field?s | or | CNEX0007 |PS customer specific fields WBS element?

3.Can we do any Validations at customfield level to make sure that users are entering right values?

Any thoughts please.

Paulo_Vitoriano
Active Contributor
0 Kudos

Hi Srini,

1. You need a new Z-field, so that you can select the required data type and length based on your requirements.

2. Instead of trying a validation, the preferred option is to have a Z-check table for the values, so that user can select from the drop-down list only.

3. You will also need a Z-transaction to maintain values in that Z-table, you can assign access to this Z-transaction only to master data administrator role to have additional control.

Regards,

Paulo

former_member282774
Participant
0 Kudos

Thanks ,Paulo.

Is it possible to create a new Z-Field in UserDefined field TAB at WBS element level instead of creating another TAB at detail screen. or Do you recommed using user exit CNEX0001 & CNEX0007 ?

Regarding validations,We will get data from another SAP R3 System so I assume that we will receive a FLAT FILE and we EXPORT data into using Z-tcode and load the data in Z-table so User can take drop down at Z-filed level and SELECT the master data coming from another R3 System.

Please advise if I am misstating anything above.

sunil_yadav2
Active Contributor
0 Kudos

Hi Srini,

recommended is : CNEX0007 |PS customer specific fields WBS element?

you can also set validation for any value for that.

ask your Technical consultant and check for receiving flat file from another system and fill that data.

thanks

Sunil

former_member282774
Participant
0 Kudos

HI Sunil

THanks for the response.I just checked in my system.It looks like CNEX0007 has already been developed and I see there is a custom tab.Can we create a new filed using the same exit within the existing custom tab or would you recommend to create an another tab ? Thank you for your help

sunil_yadav2
Active Contributor
0 Kudos

Hi Srini,

you can edit  and embed new fields within same.

thanks

Sunil

sanjeevc
Active Contributor
0 Kudos

Hello Srini,

you said already you have enhanced one new z field then whether is the issue give same requirement to abap they will create new field as you desired.

CNEX*..... kind of lots of user exist recommended by standard sap so choose according to requirement.

Regards,

Sanjeev

former_member282774
Participant
0 Kudos

Hello All,

We are trying to set up validations in order to restrict users from entering wrong data.

Per Paulo suggestion,a Z table will be created for this custom field and using Z Tcode ,data will be loaded into Z table so User can take drop down and select the desired values.

Can someone throw light on F4 help for drop down please?

kenmelching
Active Contributor
0 Kudos

Your developer can easily restrict the field and make it a drop-down list with the F4 functionality.

Former Member
0 Kudos

Hi Srini,

Check user exit CNEX0001 / CNEX0007

Ideally it is not suggested to modify length of standard field. Instead you can go for custom development by going for new custom field.

Regards

Tushar