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

Maintaining table ZOCRVATPREFIX

Former Member
0 Likes
464

Hi All,

I need to add an entry to the table ZOCRVATPREFIX where company code is primary key but 2 common mail addresses must be maintained.

Can any one you suggest me any idea for adding 2 entries with a single company code(primary key)?

Hi All,

I need to add an entry to the table ZOCRVATPREFIX where company code is primary key but 2 common mail addresses must be maintained.

Can any one you suggest me any idea for adding 2 entries with a single company code(primary key)?

3 REPLIES 3
Read only

peter_langner
Active Contributor
0 Likes
447

Hi,

this ist not possible. Each riow has to have a unique primary key. You hav two possible solutions:

1. if the email-adress is unique, then you can declare the field which contains the Email-adress as wwell as a orimary key, or

2. you add a running number as aprimary key to distinguish between n Email adresses.

I hope, that helps you.

Peter

Read only

0 Likes
447

Hi Peter,

Thanks for your reply..

Could you please expalin the second solution that you have provided?

Read only

0 Likes
447

Hi,

You can also add the two email ids to the same record in the table, by having two email fields. Each record will be like:

BUKRS; EMAIL1; EMAIL2

Regard,

Sai