You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Hi Friends.............

2 replies [Last post]
maheshkundu's picture
User offline. Last seen 10 years 14 weeks ago. Offline
Joined: 05/16/2008
Posts: 12

hi frnds,

i'm getting one problem about peoplesoft...

i'm running an sqr program through app engine...
for that i've written peoplecode in app engine program:

&RQST = CreateProcessRequest();

/* Set all the Required Properties */

&RQST.RunControlID = "40";
&RQST.ProcessType = "SQR Report";
&RQST.ProcessName = "SUMMARY";
REM &RQST.RunLocation = "PSNT";
&RQST.OutDestType = "WEB";
&RQST.OutDestFormat = "PDF";

/* Set any Optional Properties for this Process */

&RQST.RunDateTime = %Datetime;
/* Schedule the Process */

&RQST.Schedule();

................................................

now when i'm running app engine program..it's getting success & posted...with process instance......but i'm seeing that sqr output is not coming into the app engine file list(View log/trace of app engine program).sqr is generating with another process instance simultaneously......& also coming o/p....not coming into the app engine...for that what code i've write in app engine..................suggest me......

Lepa's picture
User offline. Last seen 2 years 1 week ago. Offline
Joined: 06/23/2008
Posts: 591
Re: Hi Friends.............

>> sqr is generating with another process instance simultaneously
Yes, you are creating a new process request that is starting your SQR. You will not see SQR logs along with the Application Engine logs. The two are considered seperate instances.

If the SQR is the last thing you want to do in your application engine, you can then create a seperate process definition for your SQR and your application engine and add both of them to a "Job" instance. This way all the logs are localized under on Job Definition.

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

HH's picture
HH
User offline. Last seen 9 years 48 weeks ago. Offline
Joined: 07/09/2008
Posts: 17
Re: Hi Friends.............

&RQST = CreateProcessRequest();

You are creating a separate and distinct process request with this.
Is your app engine program doing anything other than running the sqr ?

If it is only running the sqr, then maybe you should run the sqr directly. Of if your AE is generating the data that the sqr uses, do what Lepa has suggested.

Stuff the AE process and the sqr in a job the sqr process will wait for the ae job to complete and then run the job.