Hi Sheen,
You can get the marketing campaign (external ID) and Product ID from table CRMD_MKTPL_PROD and COMM_PRODUCT Tables.
You can refer the below tables for more details:
CGPL_PROJECT : Attribute Table for Project Headers
CGPL_HIERARCHY : Activities and Projects Hierarchy Table (Campaign and Campaign Elements)
CRM_MKTPL_ATTR : Marketing plan/campaign attributes
CRMD_MKTPL_PROD : Assignment of Product in Marketing Planning
Reagrds,
Sourav Biswas