‎2011 Mar 11 7:28 AM
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..
‎2011 Mar 11 8:24 AM
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
‎2011 Mar 11 8:24 AM
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
‎2011 Mar 11 8:37 AM
Hi,
Can't we use this BAPI for Functional Location Details - PM. The address details are not for Customers. basically for project Location Details
‎2011 Mar 12 4:25 AM
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.