cancel
Showing results for 
Search instead for 
Did you mean: 

Address details while saving the order

Former Member
0 Kudos

hello experts

i am having the requirement where i wanted to fetch the Ship-to Address details that is changed by the user while saving the order.

I tried using different FMs like BAPI_BUPA_ADDRESS_GETDETAIL but these fetch the address from master data. What i want is the new address entered by the user.

In CRM_ORDER_READ i am getting a new ADRNR for the newly entered address (itab_partner-addr_nr)but not able to find any FM to get the details out of it.

did anyone know how to get the same?

Thanks in advance.

regards

rajeev

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Pls use the FM BUPA_ADDRESS_READ_DETAIL. This will get the address from the Buffer.

Former Member
0 Kudos

Hi Chandra,

Thanks for your answer. I tried the same but it was giving error message ADDR number is not maintained for partner.

regards

rajeev

Former Member
0 Kudos

Can you check by just passing the partner or Partner GUID.

Former Member
0 Kudos

if we give only partner_no then it retrives one from the ADRC table and not from the buffer.

Answers (3)

Answers (3)

Former Member
0 Kudos

How did you solve this issue????

Former Member
0 Kudos

done

saumya_govil
Active Contributor
0 Kudos

Hi Rajeev,

Is there any problem that you face using FM CRM_ORDER_READ?

I think it should solve the purpose.

Regards,

Saumya

Former Member
0 Kudos

I am not facing any problem with CRM_ORDER_READ. I am getting the revised ADDR_NR in partner details but based on retreived address number i am trying to find out address details but not getting any FM to read that.

regards

rajeev

Former Member
0 Kudos

Hi,

I tried FM BUA_BUPA_ADRC_GET. This one returns address details from memory but doesn't have partner relation in it.

basically it populates partner's name into NAME1 field of ADRC.

regards

rajeev