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: 

Email upload in vendor master change

Former Member
0 Kudos
476

Hi all,

I have to do emails upload in vendor master change but when i do through shdb recording i am not able to see the communication screen to enter the values. Can any one of you please guide me step by step.

Thanks & regards,

Kumar

1 ACCEPTED SOLUTION

mvoros
Active Contributor
0 Kudos
184

Hi,

you can use BAPI BAPI_ADDRESSORG_CHANGE. Check documentation for this BAPI. There is an example for customer, but you can easily modify it to vendor. Just change objtype from 'KNA1' to 'LFA1' and so on.

Cheers

6 REPLIES 6

mvoros
Active Contributor
0 Kudos
185

Hi,

you can use BAPI BAPI_ADDRESSORG_CHANGE. Check documentation for this BAPI. There is an example for customer, but you can easily modify it to vendor. Just change objtype from 'KNA1' to 'LFA1' and so on.

Cheers

Former Member
0 Kudos
184

Hi,

In the Function Module there is no field to update the notes field.

Thanks & Regards,

Anil Kumar

mvoros
Active Contributor
0 Kudos
184

What field of vendor master do you want to change?

Cheers

Former Member
0 Kudos
184

Hi,

I want to change to upload emails to the vendor master. In Communication screen in E-mail field click on arrow button right side there i need to enter email and notes.Screen field is ADSMTP-REMARK.

mvoros
Active Contributor
0 Kudos
184

Hi,

you have to use table BAPICOMREM. Just go to one testing customer and add email address with note to this customer. Then go to SE37 and call BAPI BAPI_ADDRESSORG_GETDETAIL. This BAPI has same structure as BAPI_ADDRESSORG_CHANGE. Hence you will see how you have to fill all structures to change email address and also note.

Cheers

Former Member
0 Kudos
184

Hi Martin,

Resolved the issue.Thanks a lot