Create a service interface in SAP PI system.
Then go to SPROXY transaction in ECC,you can see all the PI ESR objects
Activate the required Service interface and in the method you can write the logic
Create a service interface in SAP PI system.
Then go to SPROXY transaction in ECC,you can see all the PI ESR objects
Activate the required Service interface and in the method you can write the logic