cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert e-mail into a customer master data

Former Member
0 Kudos

Hi all,

i need to insert e-mail into customer's master data, which bapi can i use? and, if that possible, how?

i explain the situation: we need to let some users change a customer data, what we want is create a transaction, let say ZXD02, that only let a user add or change emai for customer and update the Notes (see attachment). What user do, have to be replicated in Master Data in General Data-->Address-->E-Mail

Any suggestions?

Thnks a lot

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

This message was moderated.

moazzam_ali
Active Contributor
0 Kudos

Hi Cristina Martínez Eguiarte

We can implement field level authorization in SAP standard IMG settings. There is no need of any exit BAPI or screen/transaction variant for this. Please go through my doucument in which I have shared the process and settings. I did this for some other field and I hope you can do it for Email ID field as well.

Please test and update.

Thank$

Former Member
0 Kudos

HI,

i tried the way you mentioned, but it wont work for me. that is because those fields that is requiring protection must be assigned to field groups. This means when a field has not been assigned to any field group, it will not be protected. So i must assign all the fields except ADR6-SMTP_ADDR:email and ADRCT-REMARK and then assign to user in F_KNA1_AEN a different group.

moazzam_ali
Active Contributor
0 Kudos

Hi

Yes you have to assign all fields except those which are allowed to change for that user. I didn't understand why it won't work for you. You want field level restriction and this is the way how we do that for customer and vendor master.

Have you tried it? Share the steps you have followed and your findings. I will try to explain and guide you.

Thank$

former_member212707
Active Participant
0 Kudos

Why are you looking for a BAPI? It looks like you want to control the ability to change the email so that only select group of users can make the change?

If so, Please explore the t-code SHD0. You can create transaction variants using which you can control the exact data that you would like for a user group to be able to edit.

FYI you can look at the BAPI-

BAPI_CUSTOMER_EDIT if you want to use that to modify the email.


Hope this helps,


Ravin

Former Member
0 Kudos

I'll try SHD0,

Bapi_customer_edit doesn't work for what i need. it just do call to TRANSACTION 'XD02, or how can i use it?