Need to hide a concurrent Program even if it submitted
Hi All,
I am submitting a custom program ABC (plsql exe type), which would submit an other program XYZ (here it is for email sending).
when I submit that ABC program even if XYZ is submitted it should not show up in SRS window.
Is there a way for this.
Please let me know
You have a couple of options
1) Customize or personalize the SRS window and add a where clause to the find screen that says
"and user_concurrent_program_name not in ('XYZ')
2) In the ABC custom program, setup the context to a generic user (say sysadmin) by using fnd_client_info.setup_client_info(appl_id, resp_id, user_id).
This way, the XYZ concurrent program will be submitted under SYSADMIN.
This way, when the user queries the SRS window, he/she won't see SYSADMIN's requests.
Hope this helps
Sandeep Gandhi
Independent Consultant
Similar Messages
-
Need to run 2 concurrent programs after completing child concurrent program
Hi,
Could you suggest me on below:
R12/ 11g
I have main concurrent program MAIN_CONC_PG.
In this concurrent program there is a child concurrent program CHLD_CONC_PG.
This child concurrent program will run for parameters 1,2,3,4,5.
CHLD_CONC_PG program will run simultaneously 5 times:
CHLD_CONC_PG ==> 1
CHLD_CONC_PG ==> 2
CHLD_CONC_PG ==> 3
CHLD_CONC_PG ==> 4
CHLD_CONC_PG ==> 5
Now, after completion of above 5 Child Concurrent programs i have to start 2 more concurrent programs using fnd_request.submit_request:
1) Item Attributes
2) Vendor populate
Thanks.931832 wrote:
yes, both the Conc Programs are part of Main Conc Prog.
1) Item Attributes
2) Vendor populate
I should be using FND_CONCURRENT.WAIT_FOR_REQUEST.
any sample code that uses FND_CONCURRENT.WAIT_FOR_REQUEST ??
IN my Main Conc Prog, i have below child conc prog. after completing below program i have to run 1) Item Attributes 2) Vendor populate conc progms.
FOR i IN 1..v_count
LOOP
v_request_id := fnd_request.submit_request(application => 'XXDH',
program => 'XXPTN_ITEM_ORDR_E',
description => NULL,
start_time => NULL,
sub_request => FALSE,
argument1 => i);
END LOOP;Hi,
You can also try something like this.
declare
l_reqid_tab is table of number index by pls_integer;
l_reqid_tbl l_reqid_tab;
function program_successful ( p_conc_req_id number ) return boolean
is
l_finished boolean;
l_phase varchar2 (100);
l_status varchar2 (100);
l_dev_phase varchar2 (100);
l_dev_status varchar2 (100);
l_message varchar2 (100);
begin
if p_conc_req_id > 0 then
l_finished := fnd_concurrent.wait_for_request ( request_id => p_conc_req_id
,interval => 5
,max_wait => 0
,phase => l_phase
,status => l_status
,dev_phase => l_dev_phase
,dev_status => l_dev_status
,message => l_message );
commit;
if upper(l_dev_status) in ('WARNING', 'ERROR') and upper(l_dev_phase) in ('COMPLETE') then
return false;
elsif upper(l_dev_status) in ('NORMAL') and upper(l_dev_phase) in ('COMPLETE') then
return true;
else
return false;
end if;
else
return false;
end if;
end program_successful;
begin
for i in 1..v_count loop
l_reqid_tbl(i) := fnd_request.submit_request....
end loop;
for i in 1..l_reqid_tbl.count loop
if program_successful(l_reqid_tbl(i)i) then
null;
end if;
end loop;
-- code to submit your other program here.Hope this helps.
Regards,
Allen
Edited by: Allen Sandiego on Jun 18, 2012 9:47 AM
Made some modifications since number of spawned child requests is variable. -
FNDLOAD CONCURRENT PROGRAM INCOMPATABILITY NOT DELETED
Hi ALL
We have tight control on migrating object changes from one environment to another. We have to use FNDLOAD for migrating the Concurrent Program changes using FNDLOAD. We have concurrent program with 3+ incompatible programs, due to business requirement, we need to update the concurrent program definition to just have one incompatibility. We update the change in Development environment with just one incompatible program in it definition and trying to migrate to other environment. The FNDLOAD is not deleting the incompatible list even after using the CUSTOM_MODE=FORCE.
Command used
FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct $XXPRUGL_TOP/data/PFI/extract/RECONTRCASHBI1.ldt - WARNINGS=TRUE CUSTOM_MODE=FORCE
afcpprog.lct
$Header: afcpprog.lct 115.42 2008/09/26 21:19:14 tebarnes ship $
This happen even after bouncing the concurrent manager. Please advice
Thanks in advanceWe have concurrent program with 3+ incompatible programs, due to business requirement, we need to update the concurrent program definition to just have one incompatibility.Do you mean it is already defined in the target instance and you want to update the definition of this concurrent program using FNDLOAD? If yes, have you tried to use "UPLOAD_MODE=REPLACE" option?
If this still does not help, then I believe you have to do it manually from the application by deleting the other two incompatibilities.
Thanks,
Hussein -
How to Spawn a concurrent program from another Concurrent Program
Hi,
I need to write a concurrent program with PL/sql procedure. Inside this procedure, for a cursor data, for each record I need to spawn another concurrent program. How can I do this. Should I call a concurrent program using fnd_request.submit_request?
Any suggestions?
Thanks,
HCCorrect - you will need to use FND_REQUEST. Pl use the search feature of these forums to find old threads that discuss this topic
https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_REQUEST+AND+SUBMIT_REQUEST&objID=c3&dateRange=all&userID=&numResults=15
How To Submit A Concurrent Request Set Using Fnd_Request.Submit_Request [Document 382791.1]
Most Commonly Used FND APIs in APPS Customizations [Document 221549.1]
HTH
Srini -
How to call a concurrent program from a Custom JSP page.
Hi,
I have a custom JSP page which i have deployed by creating a form function with the path of the JSP Page
and added the JSP Page to the OA_HTML top.
Now, i need to call a concurrent program from the JSP Page, i have all the parameters in my page and i am using the standard class as below:
ConcurrentRequest cr= new ConcurrentRequest(con);
int requestId= cr.submitRequest("XXINV",programName,null,null,false,vec);
I have verified my connection object and it is OK but i am getting the exception that user is not set to run the program.
I tried the below code in my JSP page and getting -1 for all test variables :-
int userId = wctx.getUserId();
int respApplId = wctx.getRespApplId();
int respId = wctx.getRespId();
I think i need to set the context in JSP page to run the program..
Pls help ....
Regards
Saurabh JaiswalHi,
Thanks for the reply,,,
This is a possible solution but this will allow to run the program anyhow.
But the procedure which i call thru callable statement will start with
fnd_global.apps_initialize (3825, 50603, 704);
fnd_request.submit_request API call.
Now, the values of user and Responsibilty is required in the program and it changes.
With this approach we have to hardcode the user and resp.
The same JSP page is attached to other responsibilities and there the concurrent program would get fired as if fired from the resp Id hardcoded as above.
Need to capture user Id and RespId.
How can i set the apps Context in JSP page???
Regards
Saurabh Jaiswal -
Issue while submitting concurrent program from OAPage
Hi Team,
In OApage in One LOV field is der. From that LOV we need to select one concurrent program and click next button. while clicking on the next button i am getting error like below
The data that defines the flexfield on this field may be inconsistent.
Inform your system administrator that the segment referred to by the flexfield bind variable
:$FLEX$.PFCPA_JOB_NUMBER.ID:NULL could not be found.
Make sure this variable references the segment or value set name of a prior segment
in the flexfield structure. This flexfield bind variable is in either a WHERE clause in a table-validated value set,
or in a default value for one of the segments of this flexfield.
Please help me in this issue.
Thanks,
RajashekarHi Team,
In OApage in One LOV field is der. From that LOV we need to select one concurrent program and click next button. while clicking on the next button i am getting error like below
The data that defines the flexfield on this field may be inconsistent.
Inform your system administrator that the segment referred to by the flexfield bind variable
:$FLEX$.PFCPA_JOB_NUMBER.ID:NULL could not be found.
Make sure this variable references the segment or value set name of a prior segment
in the flexfield structure. This flexfield bind variable is in either a WHERE clause in a table-validated value set,
or in a default value for one of the segments of this flexfield.
Please help me in this issue.
Thanks,
Rajashekar -
How to send concurrent program output file as an attachment in the notification mail
Hi All,
We are on Oracle apps version - 11.5.10.2
We have a requirement wherein we need to send the concurrent program output file as an attachment while sending the notification mail to the user.
Currently we have tried the approach wherein we are specifying the user id in the OPTIONS tab (Notifying the following people) while submitting the concurrent program.
But using this approach, the user gets only the URL of the output file in the notification mail and not the output file as an attachment.
Kindly let us know if anyone has incorporated the logic to send the output file as attachment in the notification mail.
Please Note - We do not want any custom code to be written to send the attachment.
Any pointers to this will be helpful.
Regards,
ShrutiHi All,
We are on Oracle apps version - 11.5.10.2
We have a requirement wherein we need to send the concurrent program output file as an attachment while sending the notification mail to the user.
Currently we have tried the approach wherein we are specifying the user id in the OPTIONS tab (Notifying the following people) while submitting the concurrent program.
But using this approach, the user gets only the URL of the output file in the notification mail and not the output file as an attachment.
Kindly let us know if anyone has incorporated the logic to send the output file as attachment in the notification mail.
Please Note - We do not want any custom code to be written to send the attachment.
Any pointers to this will be helpful.
Regards,
Shruti -
How to run a pl/sql stored procedure as a concurrent program
Hi All,
I created a package PURGE_DEAL_REQUESTS. It contains a procedure QPR_DELETE_CANCELLED_REQUESTS. I want to run this stored procedure as concurrent program in ebs suite....
Can anyone tell me how to run this procedure as a concurrent program(in ebs suite).....?
Thanks
Swathi.You need to add the concurrent program to the group of the responsibility that will run the report. For more details, please refer to:
Note: 73492.1 - Creating a PL/SQL Concurrent Program in Oracle Applications
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=73492.1
Note: 133991.1 - How to Register a Custom Report
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=133991.1 -
ADF: Calling concurrent program in Oracle Apps from ADF
Hi All,
I am using Jdev 11G...
I have a requirement to call a concurrent program which is in Oracle E-Business from ADF page.
i will have ADF page with one button, On click of that ADF button we need to call the concurrent program and show the output generated by the concurrent program from ADF.
Plz help me to get out of this.
Any answers will be really useful.
Thanks.Hi Frank,
Thanks for ur quick response.
That is a Report and the output of the report is generated by running concurrent program.
The output of the report is in pdf format.
So we need to call the report from ADF and show the pdf output.
Thanks..... -
Migration of multiple concurrent programs
Hi
I am able to migrate single concurrent program from the test instances to prod instance using FNDLOAD
i need to migrate 10 concurrent program from test instances to prod instance using FNDLOAD, can you suggest me how to do it.
Regards
YramFNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_name.ldt PROGRAM APPLICATION_SHORT_NAME="FND" CONCURRENT_PROGRAM_NAME="% "
you can use % in concurrent_program_name but limititation would be find common string for those 10 concurrent program otherwise 10 FNDLOAD download statements.
Regards
Prashant Pathak -
How to create a Concurrent Program around a java class
Can anyone give me the steps I need to register a concurrent program based on a java class?
I have a java class that basically opens a jdbc connection, reads values from a table, decompresses one column, and sends all info to XML Gateway. I just need to know how to deploy this thing.
Thanks.
-JasonCheck Metalink Note:305710.1
-
FNDLOAD: Downloading multiple concurrent programs at once
Hi,
Does anyone has the FNDLOAD syntax for downloading multiple concurrent programs at once into a single file in 11.5.10 tech stack.
For e.g say I have programs p1 and pr2. I want to download p1 and pr2 into a single file say test.ldt which has both concurrent programs.
Thanks in advance.Hi,
I do not think this can be done in one step as you need to run the command twice (assuming you need to download two concurrent programs), then merge the ldt files before uploading it again (in a single file). If all the concurrent programs you want to download under the same application, you may try the following:
FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_name.ldt PROGRAM APPLICATION_SHORT_NAME="<application_short_name>"
Regards,
Hussein -
How to Email Concurrent Program Output to Email using Shell Script
Hi All,
Have a Nice Day,
I have a tricky requirement and i was not able to achieve, let me explain my requirement
I have created a PLSQL Concurrent Program named "Approval Update". This will do update and it display the number of rows updated.
Now i need to take this concurrent program output and it needs to be send it to the person who submits this program as an email using shell scripts.
I have referred meta link note as well as some OTN posts but I was not able to achieve this.
Please help me to complete this As soon as possible, Thanks in advance for your help.
Let me know if you need more clarifications.
Regards,
CSKI don't have much idea in shell scripts all i want is, in my shell script i need to get the parent concurrent program output and that needs to be emailed to the intended person.
Please help to to get the shell script commands for this.I do not have any shell script to share, sorry! If you want the query to get the parent request_id so you can get the log/out file name/location from then please refer to:
REQUESTS.sql Script for Parent/Child Request IDs and Trace File IDs [ID 280295.1]
http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_CONC_REQ_SUMMARY_V&c_owner=APPS&c_type=VIEW
http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_CONCURRENT_REQUESTS&c_owner=APPLSYS&c_type=TABLE -- LOGFILE_NAME & OUTFILE_NAME
Thanks,
Hussein -
Hi ,
I need to FTP the concurrent program Pdf output to a server. Please let me know if this can be done.
Thanks
GeethaI have just finished with something similar and used the following code just for the FTP, I created an executable of type host that used this file and it sends the FTP:
>
# +====================================================================+
# | $Revision: 1.0 $ |
# +====================================================================+
# | Customization Code: CUST466 |
# | name : XXFTP |
# | create by : Hilton Meyer |
# | Creation Date : 17/02/2011 |
# +====================================================================+
# | Process : put a file with FTP |
# | Retrun Status : 1 - failed building process |
# | : 0 - Success |
# | Depend On : |
# +====================================================================+
# | to register please do : |
# | ln -s $FND_TOP/bin/fndcpesr XXFTP |
# +====================================================================+
# | Parameters |
# | P_SERVER - IP Address |
# | P_USER - User |
# | P_PASSWORD - Password |
# | P_FOLDER - Folder |
# | P_FILENAME - File Name |
# +====================================================================+
# | Change History : |
# | |
# | Vers Author Date Description |
# | 1.0 Hilton Meyer 17/02/2011 initial Build |
# +====================================================================+
export P_SERVER=$7
export P_USER=$8
export P_PASSWORD=$9
export P_FOLDER=$10
export P_FILENAME=$11
echo "+===========================================================+"
echo "| Date Of Running : "`date +%B-%d`" |"
echo "+===========================================================+"
echo "|Parameters "
echo "|P_SERVER : $P_SERVER "
echo "|P_USER : $P_USER "
echo "|P_PASSWORD : $P_PASSWORD "
echo "|P_FOLDER : $P_FOLDER "
echo "|P_FILENAME : $P_FILENAME "
echo "+===========================================================+"
echo "Copy file"
echo "============================================================="
cd /share/folder
ftp -i -n $P_SERVER << EOF
user $P_USER $P_PASSWORD
pwd
put $P_FILENAME
ls -l
bye
EOF
echo "*** End ***" -
Need to derive at a list of concurrent programs
Hi,
Need a query to check the list of concurrent programs in Oracle 11i. The output should display the following:
Concurrent Program Name
Report Set Name
Parameters
Targeted Start Time
Targeted End Time
Frequency
Interval
Can anyone please help me with the above query.
Regards,
Radhika.928719 wrote:
Hi,
Need a query to check the list of concurrent programs in Oracle 11i. The output should display the following:
Concurrent Program Name
Report Set Name
Parameters
Targeted Start Time
Targeted End Time
Frequency
Interval
Can anyone please help me with the above query.https://forums.oracle.com/forums/search.jspa?threadID=&q=fnd_concurrent_requests+AND+actual_start_date&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein
Maybe you are looking for
-
Adobe Acrobat 9 Pro Extended - Signature Issue after upgrade
I have updated to Adobe Acrobat 9 Pro Extended from Acrobat 7 Standard. I have several pdf files that I have signed and secured. These files have been set to not allow clients to remove or alter various pages. I did not save a copy without the signat
-
TS3504 i can't connect my phone to my mac wit do i do?
I tried plugin in my samsung galaxy and it wont open in a window
-
My screen is in gamma display, how do i turn it back to normal colors?
My screen has changed to gamma mode. How do i change it back to display colors normlly?
-
Roles regarding E-Recruitment are not there in role maintainence
roles regarding E-Recruitment are not there in role maintainence . could anyone tell me why ?
-
Product Costing: Actual Cost by Component
Hi SAP Gurus, Products are manufactured in plant X, and have all the standard cost components (MP, DL, FOH, etc.) that one would expect of internally-manufactured skus. Traditionally, these products were shipped from Plant X to Plant Y and then to Pl