PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

PDF Generated using REPORT DEFINITION App Package is Password Protected automatically. Need to Remov

edited Feb 22, 2017 12:06PM in PeopleTools and Lifecycle Management - PSFT (MOSC) 1 commentAnswered ✓

Hello Everyone,

I am trying to generate a PDF File using the below code. The code is located on the FIELD CHANGE OF a PUSH BUTTON. There is no app engine or any parameters it needs.

import PSXP_RPTDEFNMANAGER:*;

&LanguageCd = "ENG";

&AsOfDate = %Date;

&OutFormat = "PDF";

&MyReportName = "PC_0058";

&MyTemplate = "PC_0058";

&sDestinationPath = "\\FMS\Apps\PeopleSoft\Test\Accounting\TESTING";

/* Declare and Instantiate (construct) your Report Definition Object */

Local PSXP_RPTDEFNMANAGER:ReportDefn &oReportDefn = create PSXP_RPTDEFNMANAGER:ReportDefn(&MyReportName);

/* Get a handle on your Report Definition */

&oReportDefn.Get();

/* Since there is a prompt to the query used in this report, you need to */

/* provide the value for the prompt */

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center