PeopleSoft XML Publisher

Want to show logo in the invoice generation template based on the business unit.

I want to show logo in the report based on the business unit selected.
I want to know how this can be achieved.
Please help.

xml publisher

how to run the generate xmlreport after creating the report definition using application engine.i have writen this but its not generate the report.pls tel me what i missed the code


Local string &sRptDefn = " USAA";
Local string &sLangCd = "ENG";
Local date &AsOfDate = %Date;
Local string &sOutFormat = "PDF";
Local string &sPrcsServerName;
Local number &prcsInstId;

Local PSXP_RPTDEFNMANAGER:ReportDefn &oRptDefn;
&oRptDefn = create PSXP_RPTDEFNMANAGER:ReportDefn(&sRptDefn);
&oRptDefn.ProcessReport("myTemplate", "", %Date, "PDF");