IDoc for Creating Vendor and its address
MY scenario, i'll be getting vendor details from a third party system (ESP), via PI.
ESP will send an SOAP Message and SAP PI will convert it into IDoc for SAP R/3 System.
The ESP system will send Vendor Details along with its address, i know CREMAS is for Vendor and ADRMAS is for address, but this is split in PI, when the sending system is sending an IDoc CREMDM, correct me if i am wrong.
So my question is there any Idoc which will help me create Vendor along with its Address detail, or do i have create a custom Idoc for this.
Second Question, I need to send a mail if the Idoc fails in the system and if successfully updated, a mail triggered saying vendor created. any help would be appreciated