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

Display/Maintain Address using BAPI_ADDRESSORG_SAVEREPLICA

tharu
Contributor
0 Likes
1,158

Dear All Gurus,

I need to post/display the Address(Location) Details in IL01 (PM module - Functional Location Creation). I'm using the BAPI_ADDRESSORG_SAVEREPLICA to create address, after that i call BAPI_FUNCLOC_CREATE.

(When i manually upload to IL01, adress details are saved in ADRC with adress gruop 'PM01' & an adress number is created.)

BAPI_ADDRESSORG_SAVEREPLICA; i need to pass obj_type and adress group to create adress number and i pass this number to BAPI_FUNCLOC_CREATE .

(This is my Process. Correct me if I'm wrong.)

But in BAPI_ADDRESSORG_SAVEREPLICA I'm unabel to pass obj_type cos address group 'PM01' in TSADRV objtype is BUS2007. This is not maintained in TSADOBJ table. please tell me how to do this..

Correct me if I have missplaced anything..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
986

Hi jam,

'BAPI_ADDRESSORG_SAVEREPLICA' - This BAPI can be used for address change of customer.

Also this BAPI can be used to transfer extra address fields of the customer master.

In this sample code we are trying to update some of the extra fields like, telephone number, fax details, mobile number and email address for a customer master.

For sample code, you can visit this page:

[Sample Code On 'BAPI_ADDRESSORG_SAVEREPLICA' |http://www.abapmadeeasy.com/2011/02/sap-abap-bapi-bapiaddressorgsavereplica.html]

<points begging removed by moderator>

Regards,

Uttam Agrawal

Edited by: Thomas Zloch on Mar 11, 2011 11:55 PM

3 REPLIES 3
Read only

Former Member
0 Likes
987

Hi jam,

'BAPI_ADDRESSORG_SAVEREPLICA' - This BAPI can be used for address change of customer.

Also this BAPI can be used to transfer extra address fields of the customer master.

In this sample code we are trying to update some of the extra fields like, telephone number, fax details, mobile number and email address for a customer master.

For sample code, you can visit this page:

[Sample Code On 'BAPI_ADDRESSORG_SAVEREPLICA' |http://www.abapmadeeasy.com/2011/02/sap-abap-bapi-bapiaddressorgsavereplica.html]

<points begging removed by moderator>

Regards,

Uttam Agrawal

Edited by: Thomas Zloch on Mar 11, 2011 11:55 PM

Read only

0 Likes
986

Hi,

Can't we use this BAPI for Functional Location Details - PM. The address details are not for Customers. basically for project Location Details

Read only

0 Likes
986

Hi Jam,

You can. Just check whether ant standard available or not else go and create a Zbapi to full fill your requirement.Post reply if need more help in this.

Regards,

Madhu.