出错
在sql*plus中执行
declare
I_request_id number;
p_message varchar2(255);
begin
I_request_id:=apps.fnd_request.submit_request('AR','RACUST','','',FALSE,chr(0),'','','','','','','','','', '','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','');
commit;
if (I_request_id>0)
then
p_message:='Request ID:'||to_char(I_request_id);
dbms_output.put_line('I_request_id:'||I_request_id||',');
dbms_output.put_line('p_message:'||p_message);
commit;
else
p_message:=apps.fnd_message.get;
dbms_output.put_line('I_request_id:'||I_request_id||',');
dbms_output.put_line('p_message:'||p_message);
rollback;
end if;
end;
结果:
I_request_id:0,
p_message:ORACLE error -2289 in SUBMIT: others
Cause: SUBMIT: others failed
due to ORA-02289: 序列(号)不存在.
The SQL statement being executed at the
time of the error was: &SQLSTMT and was executed from the file &ERRFILE.
PL/SQL 过程已成功完成。
|