Today I got an issue about a xml publisher report where I was to create different pdf file for different invoice id.
I acheived this by simply brusting the report with Invoice Id.
When we brust the report system creates sub directories in file path and place the files in the sub directories.
In our case, A third party system was to pick files from designated location so sub directories were causing a concern.
To overcome this issue we analyzed the trace and found that PSXP_RPTDEFNMANAGER:Repotdefn is the app package which does all this.
We simply blanked out the &sSubDir variable and Added &sBrustvalue to the output file name so that each brusted file is having a unique name.
I acheived this by simply brusting the report with Invoice Id.
When we brust the report system creates sub directories in file path and place the files in the sub directories.
In our case, A third party system was to pick files from designated location so sub directories were causing a concern.
To overcome this issue we analyzed the trace and found that PSXP_RPTDEFNMANAGER:Repotdefn is the app package which does all this.
We simply blanked out the &sSubDir variable and Added &sBrustvalue to the output file name so that each brusted file is having a unique name.
No comments:
Post a Comment