cancel
Showing results for 
Search instead for 
Did you mean: 

sadr-adrnr

Former Member
0 Kudos

I created a sales organization. The address number is equal between

tables adrc and tvko but it is different in table sadr.

How can I do to have the same address number in table sadr ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You'll probably encounter this problem later.

New adress are now in ADRC.

If u want to retrieve it then you must change the code.

For example you can do something like this. It's light( if u don't want to break the actual logic ) :



Select .... From SADR
Where....

If sy-subrc ne 0.
    Select .... From ADRC
     Where...


endif.

Answers (3)

Answers (3)

Former Member
0 Kudos

I don't want to change my program because we have this problem in an customer environnment and not in ours.

Former Member
0 Kudos

Thanks.

But we want to print an invoice and in log we have an error message because the program doesn't find an entry in sadr which is in table tvko.

Former Member
0 Kudos

All new Customizing address, as I said previously are stored in ADRC ( Release > 4.0 ).

So if you created your sales org. recently. the address is in ADRC not in SADR !

You'll have to change your program logic in indicating it to retrieve the adress in ADRC.

Erwan

Former Member
0 Kudos

Hi Severine,

Since release 4.0, Customizing addresses are converted from table SADR to ADRC.

To be clear, all adress created on your previous system are keeped in SADR and new ones( created in your actual system) are store in ADRC.

Hope this helps,

Erwan