I have created one personalized mail form of type 'export' . I have got the personalized mail form enhanced by creating a new scenario and got it iimplemented using the BADI provided.The requirement was like this :
From the business partner object we selected the first and the last name.
Then from the structure included using the scenario we are pulling the data of the BP with which the BP has the relationship ' Is Contact Person Of' i.e. the main BP is the contact person and from their it is picking the BP (Org BP) of which this is the contact person. The details being pulled from the Org BP are name , and address.
This mail form is working perfectly when I am seeing the print preview by providing a BP number of a contact person BP
This BP I assigned to one target group.
Now when I create and execute a campaign with communication channel defined for file export and assign this mail form for export , the file which it is creating in the attachment doesn't have the details of the company BP
This is SOS message.
will award points to all helpful answers,