Tuesday 19 March 2013

How To Delete A Concurrent Program And Executable From Back End In Oracle Apps


Script to delete the concurrent program and executable from Oracle Apps:


Begin
fnd_program.delete_program('program short name','schema');
fnd_program.delete_executable('program short name','schema');
commit;
End; 

Example: If you have a concurrent Progam called "Employee Details Report" with the short name EMPDTLSREP and an Executable EMPDTLSEXE is associated with the concurrentprogram Employee Details Report in apps schema then use the script below to delete both the concurrent program and executable.

Begin
fnd_program.delete_program('EMPDTLSREP', 'apps' );
fnd_program.delete_executable('EMPDTLSEXE', 'apps' );
commit;
End; 

Note: The same concurrent program can be disable through from end if a user decides not to use it.

Script for deleting the datadefinition
------------------------------------------------>
BEGIN
XDO_DS_DEFINITIONS_PKG.DELETE_ROW('INV','NRGINTR');
END;
--------------------------------------------------------
--------------------------------------------------------
script for deleting the template 
------------------------------------------------------>
BEGIN
XDO_TEMPLATES_PKG.DELETE_ROW('INV','NRGINTR');
END;

2 comments:

  1. while running this am getting ora-06501 how to get rectify it please let me know. thanks in advance

    ReplyDelete
  2. The parameters given in the above example are wrong.
    The Concurrent name parameter is correct. It should be the concurrent program short name however the second parameter for the delete_program call should be the application name, not the name of the schema.

    ReplyDelete

CREATING A SUPPLIER IN R12 (Functional and SUPPLIERS IN TCA)

Who is a Supplier? Let us now understand who is a Supplier with the help of a simple example: We consider us as a business, who sell...