How to call rtf template in report trigger based on parameter
My requirement isto display the report based on customer language.
I defined a different layouts for different languages.
I need to run it dynamically based on the customer language.
I tried with addlayout api option in before report and after report trigger of my RDF. but it is not working.
I have registered the report using RDF for data and RTF template for layout thru a concurrent program.
Kindly suggest me an work around for this.
My query in After report trigger-
if :P_BILL_TO_CUST='Sweden' then
v_set_layout_option := fnd_request.add_layout('XXMI','XXMI_AR_INVOICE_PRINT','en','GB','PDF');