Home » Applications » Oracle Fusion Apps & E-Business Suite » How to update LOG into Concurrent Request (Apps 11.5.10.2)
How to update LOG into Concurrent Request [message #449543] Tue, 30 March 2010 06:38 Go to next message
sanjujob99
Messages: 4
Registered: February 2009
Junior Member
Hi All,

To Import data, we are using base (seeded) concurrent program (WIP Mass Load) in stored PL/SQL procedure with the help of
FND_REQUEST.SUBMIT_REQUEST . The concurrent request import
records successfully.

Now I want to replace the LOG file ( "View Log" option) with
custom message/errors instead of seeded messages/codes for debug
purpose.

Following is the extracts of my stored procedure.

CREATE OR REPLACE PROCEDURE <PROC-NAME>
BEGIN
<EXECUTABLE STATEMENTS>
BEGIN
FND_GLOBAL.APPS_INITIALIZE (P_USER_ID, 50488, 706);
fnd_file.put_line(FND_FILE.LOG,'Concurrent Request Testing ');
V_CONC_REQ_ID := FND_REQUEST.SUBMIT_REQUEST
( 'WIP' ,'WICMLP','WIP Mass Load',
SYSDATE, FALSE, 1, 0, 2 );
COMMIT;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('Error while inserting interface :
'||SQLERRM );
END;
END;

Now, anyone can help me that how i update log with custom messages ?

regards
Sanjay Sad
Re: How to update LOG into Concurrent Request [message #452189 is a reply to message #449543] Tue, 20 April 2010 09:44 Go to previous messageGo to next message
Corbon262
Messages: 6
Registered: February 2007
Location: Leeds
Junior Member
I use

Fnd_File.put_line(Fnd_File.LOG, '<text>');
Re: How to update LOG into Concurrent Request [message #453145 is a reply to message #449543] Tue, 27 April 2010 06:18 Go to previous message
umar79
Messages: 3
Registered: June 2008
Location: Dubai
Junior Member
Change your code with below one

CREATE OR REPLACE PROCEDURE <PROC-NAME>
BEGIN
<EXECUTABLE STATEMENTS>
BEGIN
FND_GLOBAL.APPS_INITIALIZE (P_USER_ID, 50488, 706);
fnd_file.put_line(FND_FILE.LOG,'Concurrent Request Testing ');
V_CONC_REQ_ID := FND_REQUEST.SUBMIT_REQUEST
( 'WIP' ,'WICMLP','WIP Mass Load',
SYSDATE, FALSE, 1, 0, 2 );
COMMIT;
EXCEPTION
WHEN OTHERS THEN
fnd_file.put_line(FND_FILE.LOG,'Error while inserting interface :
'||SQLERRM );
END;
END;
Previous Topic: R12 Mass Allocation Formular Problem
Next Topic: How to mark dummy payments as reconciled in CE?
Goto Forum:
  


Current Time: Thu May 09 22:32:20 CDT 2024