2011-01-07 7 views
1

行セットを作成し、レポートを作成するためにXML Publisherを呼び出すアプリケーションエンジンプログラムの良い例を知っている人はいますか?行セット付きXML Publisherを使用した良い例

PeopleTools 8.49

ありがとうございます。あなたのレポートDEFN、データソースとテンプレートのセットアップを持って提供

答えて

1

は、ここでそれを行うためのPeopleCodeです:

/* get report definition object */ 
&oRptDefn = create PSXP_RPTDEFNMANAGER:ReportDefn (&yourRptDefn); 
&oRptDefn.Get(); 

/* pass Rowset to the report definition */ 
&oRptDefn.SetRuntimeDataRowset(&yourRowset); 

/*generate report*/ 
&oRptDefn.ProcessReport (&yourTmpltID, &yourLangCd, &yourAsOfDate, &yourOutFormat); 

/*publish report */ 
&oRptDefn.PrintOutput(&yourDestinationPath); 
関連する問題