2013 Mar 18 8:28 AM
Hello all,
Can anyone help me how to get premise of business partner in sap crm. How exactly premise is link with business partner in crm.
If you know any tables/fms/classes related this please let me know.
Note :: i have only business partner id with me. Based on this i want premise.
Thanks in advance,
Nizam
2013 Mar 18 3:19 PM
Hi
Nizam,
I wouldn't recommend writing a custom function module. Instead use the existing BOL objects and relations to read this information. These BOL objects read the required information from SAP IS-U using existing function modules.
In order to get the premise from a business partner you could, for example, use the folling BOL objects and relations:
BuilHeader -> BuilBuAgRel -> BuAg
BuAg -> BuAgIsuContractRel ->IsuContract
IsuContract ->IsuContractInstallationRel ->IsuInstallation
IsuInstallation ->IsuInstallationPremiseRel ->IsuPremise
Best,
Christian
2013 Mar 18 10:36 AM
Hi,
You can use remote enabled Z FM for this.
Create FM to fetch Premise from Business Partner using tables fkkvkp, ever, eanl in ISU. Call this FM in CRm with destination address of RFC of ISU server.
may be this help you.
Regards,
Harshal
2013 Mar 18 3:19 PM
Hi
Nizam,
I wouldn't recommend writing a custom function module. Instead use the existing BOL objects and relations to read this information. These BOL objects read the required information from SAP IS-U using existing function modules.
In order to get the premise from a business partner you could, for example, use the folling BOL objects and relations:
BuilHeader -> BuilBuAgRel -> BuAg
BuAg -> BuAgIsuContractRel ->IsuContract
IsuContract ->IsuContractInstallationRel ->IsuInstallation
IsuInstallation ->IsuInstallationPremiseRel ->IsuPremise
Best,
Christian