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

Function Modul to read sales oder communication data from customer master

techy
Explorer
0 Likes
1,380

Hello,

i get the communication data (e-mail) from a customer of the table adr6 with the addrnumber. Now the mail adress is changed manuel in customer master of a sales order. How can I acces this manuel maintained email adress? Is there a specific FM?

1 ACCEPTED SOLUTION
Read only

Flavio
Active Contributor
0 Likes
1,258

Hi ,

You can try with the FM

BAPISDORDER_GETDETAILEDLIST

the result (new address) should be in the ORDER_PARTNERS_OUT structure.

Read the new address in ADR6 again, then.

I do hope it will help....

Thanks and regards,

Flavio

4 REPLIES 4
Read only

Lakshmipathi
SAP Champion
SAP Champion
0 Likes
1,258

Once the mail id is changed, it would be saved with a new address number

Read only

0 Likes
1,258

It is saved unfortunatley with the same address number of the debitor.

Read only

Flavio
Active Contributor
0 Likes
1,259

Hi ,

You can try with the FM

BAPISDORDER_GETDETAILEDLIST

the result (new address) should be in the ORDER_PARTNERS_OUT structure.

Read the new address in ADR6 again, then.

I do hope it will help....

Thanks and regards,

Flavio

Read only

Flavio
Active Contributor
0 Likes
1,258

Hi again,

just to integrate my previous post, here a quick test made in my sandbox system.

I've just taken a sales order, and changed the email address of the sold-to party

Here, the FM test (SE37), where the Partners view is selected (and the sales document, of course):

Here, the result, where the ORDER_PARTNERS_OUT structure is seen as filled:

Here, the details of ORDER_PARTNERS_OUT content, with the new address:

Here, the new address details, from ADR6:

I do hope it will work for you too.

Thanks and regards,,

Flavio