0% found this document useful (0 votes)
24 views

Report Registration - XML

The document provides instructions for registering different types of reports, programs, and forms in Oracle Applications. It describes registering reports created in Oracle Reports and XML Publisher, as well as PL/SQL programs, SQL scripts, and forms. The registration process involves developing the code, placing files on the server, creating an executable record, concurrent program, assigning responsibilities and submitting the program or form through the SRS window.

Uploaded by

Deva Rocks Deva
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Report Registration - XML

The document provides instructions for registering different types of reports, programs, and forms in Oracle Applications. It describes registering reports created in Oracle Reports and XML Publisher, as well as PL/SQL programs, SQL scripts, and forms. The registration process involves developing the code, placing files on the server, creating an executable record, concurrent program, assigning responsibilities and submitting the program or form through the SRS window.

Uploaded by

Deva Rocks Deva
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 10

Report registration

===========================
1. develop the report as per the client requirment using report builder

tranfer the .rdf from local mechine to server ( reports ,US folder)

2. go to system administrator responsibility

a. create excutable

1 .executable name
2. excutable shot name
3. application name
4. execution method
5. execution file name

b create concurrent program


1. program name
2. program shot name
3. application
4. executable shot name
5 (if there any parameters we have to define)

c. Goto request group and attach the program to request group

d. goto responsibility attach requet group to responsibility

e. attach the responsibility to user and submit the program though SRS window

Plsql Program registration


===========================
1. develop the package /procedure

If Develop the package (packagename.packagename)


if develop the procedure (procedure)

2. go to system administrator responsibility

a. create excutable

1 . executable name
2. excutable shot name
3. application name
4. execution method
5. execution file name

b create concurrent program


1. program name
2. program shot name
3. application
4. executable shot name
5 (if there any parameters we have to define)

c. Goto request group and attach the program to request group

d. goto responsibility attach requet group to responsibility

e. attach the responsibility to user and submit the program though SRS window

ex:

create or replace Package XX_PLSQL_PKG

IS

procedure TEST_PLSQL (errbuf out varchar2,


retcode out varchar2);

end XX_PLSQL_PKG;
/

create or replace Package body XX_PLSQL_PKG

IS

procedure TEST_PLSQL (errbuf out varchar2,


retcode out varchar2)

IS

cursor C1 is select * from emp where deptno=10;

i emp%rowtype;

begin

open c1;

fnd_file.put_line(fnd_file.output, 'ENAME' ||' '||'EMPNO'|| ' '|| 'SALARY' ||' '|| 'DEPTNO' );

fnd_file.put_line(fnd_file.LOG, 'ENAME' ||' '||'EMPNO'|| ' '|| 'SALARY' ||' '|| 'DEPTNO' );

loop

Fetch c1 into i;

exit When c1%notfound ;


fnd_file.put_line(fnd_file.log, i.ename ||' '||i.empno|| ' '|| i.sal ||' '|| i.DEPTNO );

fnd_file.put_line(fnd_file.output, i.ename ||' '||i.empno|| ' '|| i.sal ||' '|| i.DEPTNO );

End loop;
close c1;
End TEST_PLSQL;

end XX_PLSQL_PKG;

XML/BI Report registration report builder(.rdf)


================================================

1. Develop the report as per the client requirment using report builder

tranfer the .rdf from local mechine to server (reports /US folder

2. go to system administrator responsibility

a. create excutable

1 .executable name
2. excutable shot name
3. application name
4. execution method (oracle reports)
5. execution file name (.rdf file name)

b create concurrent program


1. program name
2. program shot name
3. application
4. executable shot name
5. ouput type as XML
5 (if there any parameters we have to define)
c. Goto request group and attach the program to request group

d. goto responsibility attach requet group to responsibility

e. attach the responsibility to user and submit the program though SRS window to Genarate the xml Tags

based on the xml tags develop the .RTF template

3. GO To XML PUBLISHERADMISTRATOR RESPONSIBILITY


a. go to data definition and create data definition and give concurrent program shot name as data definition
code

1. data definition name


2. code
3. application name
b. Goto tempalte and create template

1. Template name
2. code
3 .application name
4. data definition name
5 .template type
6. default output type
7. attache Rtf
8. language
9. territorgy

4. goto responsibility and submit the report though SRS window.

XML/BI Report registration using Data definition


====================================================

1. develop the data defintion(.xml file) as per client requirment

2. GO To XML PUBLISHERADMISTRATOR RESPONSIBILITY


a. go to data definition and create data definition and attach the .xml file
1. data definition name
2. code
3. application name
4. attach .xml file

3 Go to system admistrator responsibility


a. create concurrent program
1. program name
2. program shot name ( data definition Code)
3. application
4. executable shot name ( XDODTEXE)
5. ouput type as XML
5 (if there any parameters we have to define)

b Goto request group and attach the program to request group

c. goto responsibility attach requet group to responsibility

d. attach the responsibility to user and submit the program though SRS window to Genarate the xml Tags

based on the xml tags develop the .RTF template

3. GO To XML PUBLISHERADMISTRATOR RESPONSIBILITY

a. Goto tempalte and create template

1. Template name
2. code
3 .application name
4. data definition name
5 .template type
6. default output type
7. attache Rtf
8. language
9. territorgy

4. goto responsibility and submit the report though SRS window.

XML/BI Report registration using Pl/sql program


=================================================
1. Develop the package/procedure as per the client requirment.

2. go to system administrator responsibility

a. create excutable

1 .executable name
2. excutable shot name
3. application name
4. execution method (pl/sql stored procedure)
5. execution file name (package,procedure name or procedure name)

b create concurrent program


1. program name
2. program shot name
3. application
4. executable shot name
5. ouput type as XML
5 (if there any parameters we have to define)
c. Goto request group and attach the program to request group

d. goto responsibility attach requet group to responsibility

e. attach the responsibility to user and submit the program though SRS window to Genarate the xml Tags

based on the xml tags develop the .RTF template

3. GO To XML PUBLISHERADMISTRATOR RESPONSIBILITY


a. go to data definition and create data definition and give concurrent program shot name as data definition
code

1. data definition name


2. code
3. application name

b. Goto tempalte and create template

1. Template name
2. code
3 .application name
4. data definition name
5 .template type
6. default output type
7. attache Rtf
8. language
9. territorgy

4. goto responsibility and submit the report though SRS window.

SQL Registration (SQL * PLUS)


==============================

1. develop the .sql file as per the client requirement


2. Place the file local mechaine to sever ( sql folder)
go to system administrator responsibility
a. create excutable

1 . executable name
2. excutable shot name
3. application name
4. execution method (SQL * PLUS)
5. execution file name (.sql file name)

b create concurrent program


1. program name
2. program shot name
3. application
4. executable shot name
5 (if there any parameters we have to define)

c. Goto request group and attach the program to request group

d. goto responsibility attach requet group to responsibility

e. attach the responsibility to user and submit the program though SRS window

.CTL Registration (SQL * LOADER)


==============================

1. develop the .ctl file as per the requirement


2. Place the file local mechaine to sever ( bin folder)
go to system administrator responsibility
a. create excutable

1 . executable name
2. excutable shot name
3. application name
4. execution method (SQL * LOADER)
5. execution file name (.ctl file name)
b create concurrent program
1. program name
2. program shot name
3. application
4. executable shot name
5 (if there any parameters we have to define)

c. Goto request group and attach the program to request group

d. goto responsibility attach requet group to responsibility

e. attach the responsibility to user and submit the program though SRS window.

FORM Registration
==================

1. we will download the TEMPLATE.fmb and APPSTAND.fmb from AU_TOP resource folder from server
2.open the form builder delete exiting dat Block - blockname
Canvas - blockname
window - blockname
3. customize the following 2 trigggers
Pre_form - New window name insted of BLOCKNAME
when_new_form_instance - NEW FORM NAME
APP_CUSTOM package - new window name
4. develop the form as per client requirment

5. save the form will get .FMB file


6. compile the form will get .fmx file
7. Move the fmb file to AU_TOP resource folder
8. move fmx file into custom_top forms folder ( CUSTOM_TOP/FORMS/US)
9 goto application developer responsibility and create form
10. create function and attach the form to function
11. create menu and attach the function to Menu
12. create responsibility and attach the menu to responsibility
13. attach the responsibility to user and open the form

Defalt Types:
=============
1. constant:
============
If we want to pass constant values as default then we select defalt type constant

2.Current date:
================
IF we and pass sysstem date the we select default type Current date

3.Current time:
================
IF we and pass sysstem time the we select default type Current time
4.Profile
==========

By using the profile option we can pass user profile values default.

5 SQL Statement
==============
when we wqant pass select statement as a defalt values that time we select default type as SQL statement and
write the
select statement in default value feiled. select statement should retun single row.

6 segment:
=======
when we we ant pass privious parameter values as default to the next paramete then we will use segment ,select
default type segment
give the parameter name in default value feild.

Value sets
===========
1. NONE

2.INDEPENDENT

3.DEPENDENT

4.TABLE

5.TRANSLATBle INDEPENDENT

6.TRANSLATBle DEPENDENT

7.SPECIAL
8.PAIR

TABLE Registration
===================
AD_DD.REGISTER_TABLE
AD_DD.REGISTER_COLUMN
AD_DD.REGISTER_PRIMARY_KEY
AD_DD.REGISTER_PRIMARY_KEY_COLUMN

--Register Table
--=============
DECLARE
lc_appl_short_name CONSTANT VARCHAR2(40) DEFAULT 'FND';
lc_tab_name CONSTANT VARCHAR2(32) DEFAULT 'XX_EMP_DETAILS';
lc_tab_type CONSTANT VARCHAR2(50) DEFAULT 'T';
lc_next_extent CONSTANT NUMBER DEFAULT 512;
lc_pct_free CONSTANT NUMBER DEFAULT 10;
lc_pct_used CONSTANT NUMBER DEFAULT 70;

BEGIN
-- Start Register Custom Table
-- Get the table details in cursor
FOR table_detail IN (SELECT table_name,
tablespace_name,
pct_free,
pct_used,
ini_trans,
max_trans,
initial_extent,
next_extent
FROM dba_tables
WHERE table_name = lc_tab_name
)
LOOP
-- Call the API to register table
ad_dd.register_table
(p_appl_short_name => lc_appl_short_name,
p_tab_name => table_detail.table_name,
p_tab_type => lc_tab_type,
p_next_extent => NVL(table_detail.next_extent,lc_next_extent),
p_pct_free => NVL(table_detail.pct_free,lc_pct_free),
p_pct_used => NVL(table_detail.pct_used,lc_pct_used)
);
END LOOP; -- End Register Custom Table
COMMIT;
DBMS_OUTPUT.PUT_LINE ('SUCCESS');
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE (SQLERRM);
END;
/

You might also like