Você está na página 1de 11

White Paper

Uploading Files from Client to


Server through Apps
White Paper
Document Control
Change Record
1
Date Author Version Change Reference
23-Dec-
!11-
"ar-!
Ariva#hagan
$%Sridhar Do&i
1' (o Previous Document
Reviewers
Name Position
Distribution
Copy
No.
Name Location
1 )i*rar+ "aster Pro,ect )i*rar+
2 Pro,ect "anager
3
-
Note to olders!
.f +ou receive an electronic cop+ of this document and print it out/ please
0rite +our name on the e1uivalent of the cover page/ for document
control purposes'
.f +ou receive a hard cop+ of this document/ please 0rite +our name on
the front cover/ for document control purposes'
File 2ef3 234532637'doc 8v' 1'9
Compan+ Con:dential - For internal use onl+
White Paper
Contents
Document Control''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ii
$opical ;ssa+''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 1
<asic <usiness (eeds''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''1
"odules''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 1
Scope'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 2
Assumptions''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''2
User Procedures''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''3
First Scenario'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''3
Second Scenario''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''!
$hird Scenario''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 5
=alue Set Creation for Speci:c 2e1uirement in >racle Applications
advantages''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 6
(ote to 2eaders'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 1
File 2ef3 234532637'doc 8v' 1'9
Compan+ Con:dential - For internal use onl+
White Paper
"opical #ssay
;rror3 2eference source not found e?plains a*out uploading a :le from the
local machine to the Apps server through the >racle Applications'
$asic $usiness Needs
;rror3 2eference source not found provides +ou 0ith the features +ou
need to satisf+ the follo0ing *asic *usiness needs' @ou 0ill *e a*le to
address the follo0ing3
$here is a re1uirement from the customer that the+ 0ant a menu in
a particular responsi*ilit+ in the oracle applications' $hrough that
menu it 0ill sho0 a screen 0here 0e can select t0o values' >ne is
the :le 0hich needs to uploaded and another one is the location of
the server 0here 0e have to cop+ the :le' $he+ 0ant to cop+ a :le
from local machine to a particulare location in the server' $his
document mentions ho0 to handle them in detailed manner'
%odules
;rror3 2eference source not found can *e placed under an+ of the
modules depending upon the re1uirement'
File 2ef3 234532637'doc 8v' 1'9
Compan+ Con:dential - For internal use onl+
White Paper
&cope
#rror! Reference source not found
$he scope of the document is3
a' $o e?plain the creation various Apps o*,ects and to ho0 to lin&
them
*' $o e?plain ho0 to code and the logic for diAerent scenarios'
c' $he logic given in this document is onl+ to give a *etter and
clear understanding of the features' $he usage of the same
should *e done onl+ after thorough testing on the appropriate
data*ase instances and altering 0herever necessar+ *ased the
customer re1uirements 8<usiness processes9'
Assumptions
$his design assumes that the follo0ing statements are true3
1' $he targeted audience is the $echnical Consultant 0ith <asic >racle Apps Bno0ledge'
File 2ef3 234532637'doc 8v' 1'9
Compan+ Con:dential - For internal use onl+
White Paper
'ser Procedures
Create a loo&up 0hich stores the diAerent path' $his has *een used as a list of
values to select the path 0here 0e need to cop+ our local :le' $his has Ce?i*ilit+' We
can add as man+ num*er of diAerent paths here'
Create a We* P)%SD)' Eere 0e have to mention the pac&age name 0e created do
this functionalit+'
Create a function and attach the a*ove We* P)%SD) to this function as 0eg E$")
call'
$hen 0e can determine on 0hich responsi*ilit+ 0e need to have this functionalit+'
$hen go to the corresponding "enu and attach the function'
$hen log in to the responsi*ilit+' We can see the (e0 menu no0' >n clic&ing this/ in
the ver+ :rst time it 0ill as& for the userid and pass0ord'
$hen it 0ill ta&e into a fresh screen8this is a ne0 page created using html9 0here 0e
have t0o entries' First is the :le 0hich needs to *e cop+ from the local machine'
(e?t :eld is the director+ 0here 0e have to cop+ the :le'
>n clic&ing the >B *utton/ it 0ill cop+ the :le to the respectivie director+ selected'
And a ne0 page 0ill *e sho0n mentioning that File upload completed successfull+
0ith *oth the :le name and the director+ path'
&et ups needed
Eere is the e?ample/ ho0 to create various necessar+ o*,ects'
(. Loo)up Creation!
$he First one needed is the creation of )oo&up' .n the loo&up the com*ination of
code and description is uni1ue' $he description sho0 the list of values 0here the
various location of the server machine is mentioned' $his is the location 0here 0e
have to place our :les'
For ;?''
AR%*+,L#*'PL-AD*PA"
2esponsi*ilit+ 3 Application Developer
(avigation 3 ApplicationFG)oo&ups H Common
;nter the Common loo&up information as follo0s
Field Value
{
Type
A2"IF.);IUP)>ADIPA$E
User Name(Meaning)
A2"IF.);IUP)>ADIPA$E
Application
>racle Jeneral )edger A2"
Description Path to 0hich the :le from clinet machine can upload
Access Level User
File 2ef3 234532637'doc 8v' 1'9
Compan+ Con:dential - For internal use onl+
White Paper
.nsert a record for each )oo&up Code
Field Value
{
Code(unique value)
K.(=A2"I$>P
Meaning(unique value)
K.(=A2"I$>P
Description
%d3%oracle%naerpladapplcust%invarm%import%
Tag
From Date 25-LU(-2!
To Date
na!led
Field Value
{
Code(unique value)
%$"P
Meaning(unique value)
%tmp
Description
%tmp
Tag
From Date 25-LU(-2!
To Date
na!led
.. /eb PL0&1L creation!
.n the S+stem Administrator 2esponsi*ilit+ H Securit+ H We* P)%SD) ' Add the
follo0ing line'
1' (ame 3 CS$A2"IF.);IUP)>AD
2' $+pe 3 Pac&age
3' ;na*led Chec& *o? to *e chec&ed'
And then save this entr+'
2. De3ne +unction!
De:ne a function as mentioned *elo03
Cost +ile 'pload
De3ne +orm +unction
Application 3 Application Developer
(avigation 3 ApplicationFGFunction
;nter the follo0ing information to de:ne function for the Form'
File 2ef3 234532637'doc 8v' 1'9
Compan+ Con:dential - For internal use onl+
White Paper
Field Value
{
Description
Function
CS$A2"IF.);IUP)>AD
User Function Name
Cost File Upload
Type
Description Uploading Cost File From Client to Server
Properties
Type SSWA pls1l function
Maintenance Mode "upport (one
Conte#t Dependence 2esponsi*ilit+
Form
Form
Application
$arameters
Web HTML
%TML Call cstarmI:leIupload'uploadImain
Application
$arameters
Region
&egion Application
Application >*,ect )i*rar+
4. Create %enu!
C&"*&'P#R'&#R*%A,N*%#N'*AR%
Add the +orm +unction to the %enu
&esponsi!ility ' Application Developer
Navigation ' Application()Menu
*uery t+e Menu in ,+ic+ to add t+e Form Function as Follo,s
Field Value
{
Menu
CS$ISUP;2US;2I"A.(I";(UIA2"
User Menu Name
CS$ISUP;2US;2I"A.(I";(UIA2"
Menu Type
Description Arvin"eritor Cost Superuser "ain "enu A2"
-nsert a record .or t+e Form Function
Field Value
{
"eq
15
Navigator $rompt
Cost File Upload
"u!menu
Function Cost File Upload
Descrption
/rants
5. Attaching to Responsibility!
File 2ef3 234532637'doc 8v' 1'9
Compan+ Con:dential - For internal use onl+
White Paper
.n this case the a*ove "enu is alread+ attached to Cost Competenc+ Center' Please
follo0 the regulare procedure of attaching a menu to a responsi*ilit+ depending upon
+our re1uirement
6. &ample Code!
$he sample pac&age code is em*edded here' $his can *e modi:ed as per +our
0or& environment'
CS$A2"IF.);IUP)>
AD'pls
CS$A2"IF.);IUP)>
AD'pl*
File 2ef3 234532637'doc 8v' 1'9
Compan+ Con:dential - For internal use onl+
White Paper
#rror! Reference source not found Advantages
$his &ind of re1uirements ma+ common to all the customers' $he technical
consulatant can refer this document and create as per the set ups and use this as
an read+ rec&oner
$he user ma+ not need to &no0 the comple? ftp commands to cop+ a :le from
client to server
$here is no need to create and provide and username and pass0ord for each and
ever+ user' For the ftp access' $he+ can use the Apps user id and pass0ord alone
is enough'
Eave Ce?i*ilit+ to upload the :le to 0hich location in the server *+ de:ning a loo&
up' <+ simpl+ adding values to the loo& up/ 0e can select from the drop do0n list
the location 0here the :le needs to *e copied'
$he menu access can *e controlled from s+stem administrator responsi*ilit+ itself'
So/ it is more users friendl+ to control the access to the users' .t is highl+ secure
File 2ef3 234532637'doc 8v' 1'9
Compan+ Con:dential - For internal use onl+
White Paper
Note to Readers
At present the a*ove functionalit+ is successfull+ implemented at a client in
automotive verticals'
.t is tested and 0or&ing :ne in >racle Applications =ersion 11'!'6'
File 2ef3 234532637'doc 8v' 1'9
Compan+ Con:dential - For internal use onl+

Você também pode gostar