Hi Marc,
Firstly add AccountId as an alternative key in your Custom Business Object.
[AlternativeKey] element AccountID : BusinessPartnerInternalID;
add AccountId for Inport in the datamodel as shown in the below figure.
Then add Accountid parameter in the inport as ahown
For Inport set RequestFireOnInitialization as True in the properties Tab.
Create Event Handler for the inport to read the Account ID
The Event Handler definition is as shown below;
Select the condition row and configure operation as
Save and activate everything.
Do proper binding of inport Account ID and the standard Account screen's Account id.
By doing this you will get the Account Id.
Now whichever Standard Account fields you want, define that in your custom BO.
Add Action in your Custom BO And write the absl code for that as in assign whichever fields you want from standard Account to your Custom BO.
Regards,
Komal