Sei sulla pagina 1di 15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf
1

More NextBlog

pandeydeepak12345@gmail.com Dashboard SignOut

oracle concepts for you


FRIDAY,27JULY2012

ABOUTME

XMLPublisherreportfromrdf

ElangovanRagavan

XMLPublisherConcurrentprogramXMLP:
InthisblogpostIwilldetailthestepbystepprocessofdevelopingaXMLpublisher
reportusinganRDFtypereportconcurrentprograminoracleapps.

TheXMLpublisherwindowsdesktoppatchhastobeappliedinyouPCbeforedeveloping

!
Viewmycompleteprofile

theXMLtemplate
ORACLEGRC
Overview

XMLPublisherisatemplatebasedpublishingsolutionbyOraclewhichallowsus
tocreatevisuallyrichdocumentswithnumerousformattingoptions.(Available
inver.11.5.10)
XMLPublishermakesuseofthedataretrievedfromReports6i.
Thetemplate,designedbythedeveloperisusedasthelayoutforthereport.

OracleAdvancedControls11g
ApplicationsCertified
ImplementationSpecialist

Thetemplatewillcontainthelayoutwithtagsthataremappedtothedatamodel
ofthereport.
Atruntimethedatafromreportsismergedontothedesignedtemplateto

FOLLOWERS
Followers(103)Next

producethefinalreport.

Hereitgoes:
Beforeweseethestepbystepprocess,Iwillbriefthemainpoints:

CreateareportandregisteritasConcurrentProgramoftypeXML
BuildaDataDefinition&XMLTemplateusingXMLPublisher
CreatearelationbetweentheXMLTemplate&ConcurrentProgram
Follow

DevelopaRDFReportconcurrentprograminoracleapps:

LIVEVIEWERS

1.DevelopaRDFreportandregisteritinoracleapps
DeveloptheReport(ReportName:SampleXMLReport)Datamodel
DeveloptheReportLayoutmodel

http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

1/15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf
DefinetheRDFexecutable

Definetheconcurrentprogram

LiveTrafficFeed
AvisitorfromFremont,
Californiaviewed"oracle
conceptsforyou:XML
AvisitorfromIndiaviewed
Publisherreportfromrdf"58
"oracleconceptsforyou:Bom
secsago
ExplosionQuery"2minsago
AvisitorfromGurgaon,Haryana
viewed"oracleconceptsforyou:
GeneralLedgerUsefulSQL
ScriptsOracleApplications
AvisitorfromRussian
11i"2minsago
Federationviewed"oracle
conceptsforyou"3minsago
AvisitorfromIndiaviewed
"oracleconceptsforyou:XML
Publisherreportfromrdf"5mins
AvisitorfromDoha,AdDawhah
ago
viewed"oracleconceptsforyou:
InventoryConsistsinOracle
Apps"9minsago
AvisitorfromUnitedArab
Emiratesviewed"oracleconcepts
foryou:MoveOrderApproval
ProcessinOracleapps"10mins
AvisitorfromLeedsviewed
ago
"oracleconceptsforyou:Query
togettheMenu,Submenuand
functiondetailsForOracle
AvisitorfromMohali,Punjab
Menus"12minsago
viewed"oracleconceptsforyou:
Querytofindreceiptsagainsta
POshipmentline"13minsago
AvisitorfromIndiaviewed

Assignthisconcurrentprogramtoaresponsibility

"oracleconceptsforyou:reprte
NLS_NUMERIC_CHARACTERS
error"17minsago
RealtimeviewGetFeedjit

TheRDFreportconcurrentprogramiscomplete,nowwehavetogettheXMLdatafile
fromtheconcurrentprogramandcreatethe.xmlfile:
2.Runthereportfromaresponsibilityafterchangingtheoutput

TOTALPAGEVIEWS

1 0 2 5 1 6 2

formatoftheconcurrentprogramtoXML.
LABELS

Gototheconcurrentprogramdefinitionandchangetheoutputformatofthe
concurrentprogram

.lstfile(1)
AboutPageinOAF(2)
ADF(2)
AdvancedCollections(1)
AdvancedPL/SQL(18)
AIGS(10)
AIMDocument(3)
Alert(7)
AME(17)
AOL(6)
APFunctionalAccounting(13)
APPayments(4)
AP_Module(83)
APEX(70)
API'S/INTREFACES(71)
ApplicationShortName(2)
approvedsupplierlist(1)
APPS(11)
AR_Query(64)

http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

2/15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf
Runtheconcurrentprogram

BacktoBackOrderCycle(2)
BankQuery(32)
BOM(2)
CashManagement(7)
concurrentprogram(45)
Contorlfilectl(7)
ContorlfileSQL*Loader(4)
CurrentLoginUsers(1)
custom.pll(6)
Customer(12)

TheXMLdataoutputoftheconcurrentprogramwilllooklikethispic

DataExtraction(57)

below

DataModel(2)
DateFormat(7)
DBA(107)
DELETE_QUERY(1)
DFF(4)
Documents(1)
DROPSHIPOrderFlow(1)
EAM(14)
elango(6)
ERROR(26)
Executable(21)
FA(16)

Ifyoumaptheoraclereportdatamodelandthexmldatafile.Itwilllooklike
this

FlexFields(6)
FNDLOG(1)
FND_LOAD(9)
formpersonalization(50)
Forms(23)
FUNCTIONAL(117)
gl(73)
GLAccounting(8)
GLFlow(1)
Global(1)
GRC(30)
GRCGertification(1)
GRCScreen(12)
GRCTech(20)
HRMS(83)
Hyperion(7)
HZTOORG(1)
ICXOracleSelfServiceWeb
Applications(2)
iExpenses(8)
IF(1)
Inventory_Details(64)
iprocurement(4)

SavethisXMLdatafileasfilename.xmlsayFNDWRR.xml
Createthe.rtffile.Beforeyoudothis,checkwhetherXMLpublisherdesktoppatchis
appliedinyourlocalmachine.checktheblogpostforinstallingtheXMLpublisher
desktoppatch:
http://oracleapps4u.blogspot.com/2011/04/installingoraclebipublisherxml.html

ITEM_TEMPLATE(1)
java(8)
Legalentity(1)
Lexical&Bind(2)
LINKSINALLTABLES(5)
Lookupvalue(1)

http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

3/15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf
3.LoadtheXMLdatafiletoMSWordandsaveitas.rtffile

MaterializedView(2)
MO:SecurityProfile(2)
MultiOrg(20)

LoadtheXMLfile(FNDWRR.xml)intoMSWord

MyFavoritedLinks(2)
MYFAVOURITES(2)
O2CCYCLE(25)
OBIEE(73)
ODI(1)
OM(16)
OMSetup(2)
Oracle(2)
ORACLEOrbitalRelational
AnalyticalComputingLogical
Equation(5)
OracleCertification(1)
OracleDiscoverer(4)
OracleInterviewQuestions(45)
OraclePricing(9)
OracleSetupSteps(1)
OracleStandardReports(26)
org(4)
OUMMethodology(1)
Outlook(1)
OutputtypeinOracle(1)
P2PCycle(14)
PasswordinEBS(3)
Payroll(2)
PersonalizeOAFPages(16)
PL/SQL(53)
PO(80)
PrinterAssignprocess(1)
profile(9)
Projects(39)
PureSilenceforLife...:)(1)
QUERY(3)
R12(3)
RDFreport(5)
Receipt(1)
ReconciledPayments(2)
REPORT(13)

Usingtablewizard,formthetemplatelayout

REPORTNAMES(1)
REPORT_QUERY(10)
requestgroup(2)
RequestSet(3)
Resetthepo(2)
Responsibility(23)
RICE(1)
Rowcount(1)
ShellScript(6)
ShortcutKey(1)
SLA(13)
SOB(3)

http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

4/15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf

SQL(69)
SRW.user_exit(2)
SUB_QUERY(1)
Supplier(27)
sysadmin(17)
Tables(71)
TAX(17)
TCAR12(7)
technical(4)
TimeFormets(2)
TOAD(2)
Trace(3)
UPDATEQUERY(20)
UserHooks(1)
USER_RES_MENU(11)
Valueset(17)
Videos(6)
VPDinOracle(1)
WebADIinOracle(4)
WindowsXP(1)
WIP(2)
Workflow(5)
XLA_SUB_LEDGER(20)
xml(87)

BLOGARCHIVE

2016(24)
2015(254)
2014(714)
2013(556)
2012(301)
December(7)
November(4)
October(19)
September(25)
August(8)
July(67)
OracleHRMSAPIs
ImportentWebLinksIn
OracleApps
11i_AR_Recipet_dataand
invoicedata
TypesofInvoicesinOracle
AccountPayables
Printersetupinoracle
InterviewQuestionsFor
TechnicalConsultant
FORMSCUSTOMIZATION
XMLPublisherreportfromrdf
EnablingDescriptive
FlexfieldinOracleApps
http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

5/15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf

CreatingChartofAccounts
inOracleR12Apps
CreatingPriceList
CreatinganIteminInventory
WorkingonCUSTOM.pllwith
anexample
custom.pllconditions
Custom.pllDFFreadonly
UPDATEREPORTQUERY
ARAPILIST
listofapi's
Governance,Risk,and
ComplianceControlsOn
Deman...
grcdocument
InstallingPreventive
ControlsGovernor
PreventiveControls
GovernorGRC
OracleConfiguration
ControlsGovernor
Installatio...
PreventiveControls
GovernorGRC
Dateformat

Ifyoumapthexmldatafiletothewordtemplate.Itwilllooklikethis

APItoupdateandassign
ProjectRolesinan
Oracl...
duplicatevaluereportquery
AddingResponsibilityto
UserusingscriptOracl...
Reset/UpdateOracleApps
UsersPasswords
SQLscripttofindScheduled
ConcurrentPrograms
MonitoringFailedConcurrent
ProgramsOracleApp...
ReadingFile,WritingFile
throughUTL_FILE
PL/S...
FindingOracleApplications
URLfromthedatabase
OracleApplications
Release12
DocumentationLibrar...

Wecandevelopthetemplatelayoutwithoutthetablewizard,bymarkingupthe
textformfieldswiththecorrespondingtags.
1.InsertaTextFormFieldfromtheFormstoolbar(ViewToolbarsForms)
2.PlacetheTextFormfieldinapositionwhereyoudesire.
3. DoubleclickontheformfieldClickontheAddHelpTextbutton.

4.GototheStatusBarTabandtypeyourtaginthetextfieldavailable.
Itwilllooklikethis

http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

ScripttoupdateEmailStyle
forallEmployeesO...
ScripttoopenInventory
AccoutingPeriods
Oracl...
CodetosendEmailfrom
PL/SQLbyreadingthe
fil...
R12HowtolinkGLdatato
thesubledgerdataor...
R12APSupplierscreated
inlastndays
6/15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf

DevelopingXMLPublisher
ReportUsingData
Templ...
QuerytofindallOracle
Discoverer
Reports/Workbo...
R12Differencebetween
Draft,Final,etcinCrea...
OracleDiscovererEUL
Tables&Description
Querytofindall
Responsibilitiesaddedto
aUser...
QuerytofindtheRequest
GroupofaConcurrent
Pr...
Savethefilein.rtfextension,sayXXSMPRTF.rtf

R12FundamentalsofMulti
Org
GenericLoader(FNDLOAD)
ScripttochecktheRelease
Version,SystemNameo...
CreateUserAPI/Scriptin
OracleApplications
Howtovieworgspecific
datainaMultiOrgenvir...
HowtomakeVIEWONLY
userinOracleDiscoverer
PO,ReceivingandXLA
Queries
Addaconcurrentprogramto
arequestgroup

ABitofXMLpublisher
1.GotoXMLPublisherAdministratorResponsibilityanddefinetheXMLData
Definition&XMLTemplate.AlsocreatearelationbetweentheXMLTemplate
andtheconcurrentprogram.

R12/11iCurrentLogin
UsersList
ListofallResponsibilites
andtheirassociatedM...
ScripttofindConcurrent
ProgramsofaRequest
Se...
R12POtoPaymentQuery
DevelopingXMLPublisher
ReportusingData
Sourc...
R12:TABLE
QuerytofindValuesofa
lookup
HowtokillaOracle
databasesession
Settingaprofileoptionfrom
backendExample
Howtodelete/cancelAR
Invoice/Transaction
cancelledinvoicesinAP
itemlotnumberquery
Open/CloseGeneral
CallingStoredprocedure
throughForms
Personaliza...
June(15)

http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

7/15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf
Createthedatadefinition
Definethevaluesasbelow:
Name:SampleXMLPReportXMLOutput(AnyUniquenameinthe
Application)
Application:Receivables(AnyApplication)
Code:XXSMPRPT(ThisshouldbesameastheConcurrentprogramshort
name)
StartDate:Leavedefault(sysdate)

May(22)
April(60)
March(36)
February(4)
January(34)
2011(239)

Createthetemplate
Definethevaluesasbelow:
Name:SampleXMPLReportTemplate(AnyUniquenameinthe
application)
Application:Receivables(AnyApplication)
DataDefinition:SampleXMLPReportXMLOutput(Thisshouldbe
sameastheXMLPDataDefinitionName)
Code:XXSMPTMP(AnyUniquename)
StartDate:LeaveDefault(sysdate)
Type:RTF
DefaultOutputType:PDF(Asyourwish)

CreaterelationshipbetweentheXMLTemplateandtheconcurrentprogram
IntheXMLDataDefinitiontheDataDefinitioncodeshouldbesameasthe
concurrentprogramshortname.AstheXMLTemplatehastheXMLData
Definitionname,thisactuallycreatesarelationshipbetweentheXML
Templateandtheconcurrentprogram.
Concurrentprogram
Code:XXSMPRPT

XMLDataDefinition

XMLTemplate

Code:XXSMPRPT
Name:SampleXMLPReport

Name:SampleXMLPReport

XMLOutput

XMLOutput

http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

8/15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf

Nowruntheconcurrentprogram.Theprogramoutputwillbedisplayedas
PDFfile.

XMLPUBLISHERCONCURRENTPROGRAMXMLP

InthisarticleIhavelistedastepbystepdemoofXMLPublisherasaConcurrentProgramin
OracleApps.
IthinkitisveryimportantthatyougetafeelofXMLPublisher,asthiswillbecomethe
reportingtoolinFusion[assumingXMLPcanbecomeaspowerfulasOracleReportinthe
giventime].
BeforeIexplainthestepsindetailswithscreenshots,letmebriefthem:
a.CreateareportandregisteritasConcurrentProgramoftypeXML
b.BuildaDataDefinition&XMLTemplateusingXMLPublisher.
c.CreatearelationbetweenXMLTemplate&ConcurrentProgram.
Soundssimple,itisindeed,butdevilliesindetail.Hencereadthebelowcarefully.
Ihaveprovidedthesourcecodewithinstallationinstructionsforyoutotrythis.Pleasenoteto
trythisyouneed11.5.10environment.
Nowletsgetintothedetails.StepbyStep..
1.Createatablexx_emp_demoandinserttworecordsintoit.
createtablexx_managers(manager_nointeger,manager_namevarchar2(200))
insertintoxx_managers(manager_no,manager_name)values(1000,'AnilPassi')
insertintoxx_managers(manager_no,manager_name)values(1001,'Martin')
commit
2.NextyouneedaconcurrentprogramthatspitoutanXMLfiletotheoutputofthe
concurrentprogram.SuchconcurrentprogramcanbeoftypeSQLorPL/SQLorOracle
Reportoranyothersupportabletype,provideditcanproduceaXMLoutput.
Henceinthiscase,wewilldevelopaReportthathasallthecolumnsfromtablexx_managers
CreateaplaindefaultOracleReportusingwizardinOracleReports6i.
ThiscanbedoneusingwizardwithSQLselect*fromxx_managers

http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

9/15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf

AbovepictureshowsthereportoutputinReports6ipreview
DonotchangeanythinginDESFORMAT,asConcurrentManagerwilltakecareofpassing
XMLtothis.HenceXMLPublisherwillbefedanXMLoutputbytheconcurrentmanager
itself.
3.AddthreeuserparametersP_CONC_REQUEST_ID,P_RESPONSIBILITY_ID,
P_USER_ID

Theseparameterswillmakeitpossibletorunareportasconcurrentprogram.
SavetheaboveRDFasXX_MANAGERS.rdf
4.FTPXX_MANAGERS.rdfto$AR_TOP/reports/US
Sillyitis,butfordemoIwillusestandardApplication[forgiveme,butIammakingiteasierfor
youtorunthesourcecode].
5.CreateConcurrentprogramexecutableforXMLPreport,asifitisanormalreport

6.Createaconcurrentprogramfortheexecutable.NotethatIhavekepttheshortnameand
theprogramnamebothasXX_MANAGERS.
IMPORTANT:NotethatformatisXML

http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

10/15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf

7.RegisterthisprogramwithReceivablesrequestgroup.
DECLARE
BEGIN
FND_PROGRAM.add_to_group
(
PROGRAM_SHORT_NAME=>'XX_MANAGERS'
,PROGRAM_APPLICATION=>'AR'
,REQUEST_GROUP=>'ReceivablesAll'
,GROUP_APPLICATION=>'AR'
)
commit
exception
whenothersthen
dbms_output.put_line('Objectalreadyexists')
END
/
8.Runthereportandyouwillseeanxmloutputappearing.Savetheoutputas
XX_MANAGERS_241106.xmlonyourcomputer.Youwillneedtousemenu/Tool/Copyto
openthisXMLoutputinbrowser,andthensaveitasXX_MANAGERS_241106.xmlonyour
PC.

NOWTHETIMETODOXMLPUBLISHERBIT
http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

11/15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf

9.InstallthisXMLPublisherDesktopsoftwareonyourpc,ensuringthatyouhaveMSWord
installed(forthisdemo)
TheXMLBuilderDesktopPatchforWordisPatchNumber:4561835
Thissoftwarecanbedownloadedfrom
http://updates.oracle.com/download/4561835.html
ThisisatoolgivenbyOracle[DesktopXMLPublisher]thatwillreadanyXMLfile,willcreate
thefieldsautomatically.

10.OpenMSWordafterinstallingasperstep9,andyouwillnowseesomethingsimilarto
belowinMicrosoftWord
NowinMSWord,clickonLoadXMLDataandselectfileXX_MANAGERS_241106.xmlthat
wascreatedinStep8.

11.Now,clickonInsert/TableForm
AndthendraganddropListGManagerNowithinthetemplatesectionandclickonOK.

Effectivelybydoingthesesteps,youhavejustcreatedaLayoutforthereportinXML
Publisher.Thelayoutwilllooklikethis[asbelow].

SavethisMSWordfileasMANAGER_XML_TEMPLATE.rtf
ByclickingonPreview,youwillseetheoutputasbelow

http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

12/15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf

12.Now,letsdotherealbitinattachingtheConcurrentProgramdefinitiontoXML
Publisher.LogontoresponsibilityXMLPublisherAdministrator.

ClickonDataDefinitionmenuasabovesothatwecancreatetheXMLssourcedata
Definition.EffectivelywearesayingthatoutputoftheConcurrentprogrambecomesthedata
definitionforXMLP.
Letsdefinethevalueinbelowfields
Name:XX_MANAGERS
Application:Receivables
Code:XX_MANAGERS[Note:ThisistheshortnameoftheConcurrentprogram]
StartDate:LeaveittodefaultSysdate
ClickonApply

13.NowletsdefineatemplateasbelowforXMLPublisher.
Fordoingso,clickonTemplatesTab.WeneedtocreateaTemplateforthedatadefinitionof
previousstep.

Name:XX_MANAGERS[thisisthenameofthetemplate]
Code:XX_MANAGERS[shortnameofconcprogram]
Application:Receivables
DataDefinition:XX_MANAGERS[theonethatwecreatedinpriorstep12]
StartDate::Leavethisdefault.
Type:RTF
ClickonbrowseandselecttheRTFfile[MANAGER_XML_TEMPLATE.rtf]thatyouhad
savedinStep11.
http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

13/15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf

xmlp_A_14

ClickonApply,andyouwillgetthebelowrecord.

14.NavigatetoReceivablesManagerandsubmitreportXX_MANAGERS.
ClickonOutputbuttontoseethereportaspastedbelow.

PostedbyElangovanRagavanat16:04
+1 Recommend this on Google

Labels:xml

4comments:
RoopeshRanchod 17June2014at15:30
Hi
HowdoIletthisreportrunindraftandthenfinal.Oncefinalupdateacustomtablewith
thedatainthereport?
Thanks
Reply

HarleyWatts 19July2014at09:27
customsoftwaredevelopment
Reply

SrideviKoduru 22August2016at19:44
Regards
SrideviKoduru(SeniorOracleAppsTrainerOracleappstechnical.com)
LinkedInprofilehttps://in.linkedin.com/in/sridevikoduru9b876a8b
Please Contact for One to One Online Training on Oracle Apps Technical, Financials,
SCM, Oracle Manufacturing, BI Publisher, OAF, ADF, SQL, PL/SQL, D2K at
sridevikoduru@oracleappstechnical.com|+919581017828.
Reply

SinghNileshKumar 31August2016at14:04
good
Reply
http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

14/15

9/20/2016

oracleconceptsforyou:XMLPublisherreportfromrdf

Enteryourcomment...

Commentas:

Publish

DeepakPandey(Google)

Signout

Notifyme

Preview

NewerPost

Home

OlderPost

Subscribeto:PostComments(Atom)
Therewasanerrorinthisgadget
PictureWindowtemplate.TemplateimagesbyJacobH.PoweredbyBlogger.

http://appselangovan.blogspot.com/2012/07/xmlpublisherreportfromrdf.html

15/15

Potrebbero piacerti anche