Hi,
Please follow the below step
- Import the BAPI from ECC to SAP PI
Go to Integration Repository. - Double click on SWCV must set to Import of RFC and IDOC Interfaces from SAP Systems permitted and Connection Data form Import from SAP System should point to ECC (System ex XXX, Client nnn and Message Server)
- In SWCV->Imported Objects right click RFCs import of SAP Objects.
- This will pop-up new window with list of RFC, IDOC and BAPI available in ECC system.
- Import the BAPI you want.
Create receiver RFC channel to invoke the BAPI.
regards,
Harish