Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3193

Re: Automatically get Account Data

$
0
0

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.

Capture.JPG

Then add Accountid parameter in the inport as ahown

Capture.JPG

 

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;

Capture.JPG

Capture.JPG

Select the condition row and configure operation as

 

Capture.JPG

Capture.JPG

 

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


Viewing all articles
Browse latest Browse all 3193

Trending Articles