Customize AP Trial Balance XML Data Definition for adding Aging Buckets
Hi
I have to customize AP Trial Balance Report XML Data Definition Template for adding Aging Buckets & Supplier details in R12 , Could you let me know how i can modify XML file?
Thanks
Pravin
Hi,
My requirement is different from the one which is in below link.
I need to add Aging Buckets & Supplier details to AP Trial Balance report (R12) , here i need to modify the XML Data definition template.
Please help me, very urgent.
Thanks
Pravin
Similar Messages
-
Establishing Database connection for XML Data Definition?
I have a XML Data Definition which will query data from Oracle Database.
I did some research and tried few setting options in JDeveloper (11g), but had no luck on finding a way to connect to Database.
My goal is to use JDeveloper to run a XML Data Definition against Database and generate a XML File with data.
Can this be done?
Data Definition:
<?xml version="1.0" encoding="WINDOWS-1252"?>
<dataTemplate name="XX_ATT_VALIDATION" description="description"
dataSourceRef="MTS-AT"
version="1.0">
<properties>
<property name="include_parameters" value="false" />
<property name="include_null_Element" value="true" />
<property name="include_rowset_tag" value="false" />
</properties>
<parameters>
<parameter name="p_batch_id" dataType="character"/>
</parameters>
<dataQuery>
<sqlStatement name="Q_HEADER_VALUES">
<![CDATA[
select distinct
sci.bill_cycle,
to_char(sci.bill_date,'mm/dd/yyyy') bill_date,
to_char(sysdate,'mm/dd/yyyy') report_run_date
from st_cm_interface sci
where sci.record_type='05'
and sci.batch_id=:p_batch_id
]]>
</sqlStatement>
<dataStructure>
<group name="G_HEADER_VALUES" source="Q_HEADER_VALUES">
<element name="bill_cycle" value="bill_cycle"/>
<element name="bill_date" value="bill_date"/>
<element name="report_run_date" value="report_run_date"/>
</group>
</dataStructure>
</dataTemplate>Hi,
Consider there is 2 database, Oracle_1 and Oracle_2.
I want to fetch some table data in Oracle_2 from Oracle_1 database Stored procedure/functions through query staments and cursors. How to establish the Oracle_1 DB connection in Oracle_2 DB stored procedure/function. Is it possible?
It's not the same how you implement the programs in java or .Net to create DB connection. It's different over here. You have use the DataBase Links in order to make to connection with another DB and use that Link in the stored procedure or function where ever its necessary as per your requirement.
- Pavan Kumar N -
Customize AP Trial Balance Report in R12.1.3
Hi
I have to customize AP Trial Balance Report in R12 Version 12.1.3.
Can any one please provide some pointers how do we do it?
Here is some background for AP Trial Balance Report:
Its an XML Publisher Report with XDODTEXE Executable. XLAAPRPT.xml is the file uploaded to data definition(Code: APTBRPT) for Accounts Payable Trial Balance . XML template XDODTEXE calls oracle’ s seeded XML template “XLAAPRPT.xml ", this template further calls package XLA_TB_AP_REPORT_PVT for Trial balance.
Our customiztion has to populate trial balance data in to our custom table instead of global temp table . XLA_TB_AP_REPORT_PVT package has a private procedure populate_trial_balance_gt which populates trial balance data into xla_trial_balances_GT.
Please provide some ideas for customization of standard XML publisher reports in R12.1.3.
Any ideas are appreciated.
Thanks
Theja RHi Vamsi,
I've recreated the standard oracle Trial balance package & XML file . Now i'm able to populate the data into custom table as well as standard table . But the report out doesn't show data in it . it just shows report title, columns bUT NO DATA. the xml file itself doesnt contain data. The custom report completes in 2 mins. But standard report completes in 7 mins
Steps
1. Create custom package similar to oracle standard package & added new insert statement to populate trial balance data into custom table.
2. created new datadefinition with new datatemplate(refering custom package) similar to oracle standard datatemplate.
3. create template same as standard template.
4. copy of standard conc program with custom application
5. Ran the report ...able to populate data into custom table .....but unable to see data in the report.
Please let me know if i'm missing anythng. -
Error while passing date parameter to the XML data definition
Hi All,
I have developed a BI publisher report using XML data definition & RTF template.
This data definition contains a SQL query in it's CDATA section and runs as a concurrent program(without RDF) . We are looking to pass a date parameter to the SQL query and its not accepting the date parameter. However, when we hardcode SYSDATE in the SQL query in place of the parameter, the report runs fine. In the log file it shows that the parameter is being treated in American date style and we are using DD-MON-RRRR format. I have tried to convert the date format however still the error exists.
What we did ?
Created a XML data definition which contains the SQL query in its CDATA section & p_rundate (DATE) parameter.
Registerd the XML data definition as concurrent program with EXECUTABLE= XDODTEXE and Output format as XML with p_date as a date parameter.
Looking for any available solution for the same.
Thanks.Hi All,
I have developed a BI publisher report using XML data definition & RTF template.
This data definition contains a SQL query in it's CDATA section and runs as a concurrent program(without RDF) . We are looking to pass a date parameter to the SQL query and its not accepting the date parameter. However, when we hardcode SYSDATE in the SQL query in place of the parameter, the report runs fine. In the log file it shows that the parameter is being treated in American date style and we are using DD-MON-RRRR format. I have tried to convert the date format however still the error exists.
What we did ?
Created a XML data definition which contains the SQL query in its CDATA section & p_rundate (DATE) parameter.
Registerd the XML data definition as concurrent program with EXECUTABLE= XDODTEXE and Output format as XML with p_date as a date parameter.
Looking for any available solution for the same.
Thanks. -
What's wrong in this XML Data Definition
Can someone point out the mistake in this XML Data Definition??
<?xml version="1.0" encoding="UTF-8"?>
<datatemplate name="CASH_BREAKUP" description="cash_breakup" version="1.0" defaultpackage="">
<parameters>
<parameter name="p_date" datatype="date" />
<parameter name="p_date2" datatype="date" />
</parameters>
<dataQuery>
<sqlstatement name="query1">
select apc.CHECK_NUMBER, apc.CHECK_DATE, apc.VENDOR_NAME, apc.BANK_ACCOUNT_NUM,
apc.AMOUNT, case when xah.EVENT_TYPE_CODE = 'PAYMENT CANCELLED' then apc.AMOUNT*-1 else apc.AMOUNT end as Accounted,
xah.EVENT_TYPE_CODE
from XLA_AE_HEADERS xah,
XLA_AE_LINES xal,
XLA_EVENTS xae,
xla.xla_transaction_entities xte,
ap_checks_all apc
where xah.AE_HEADER_ID = xal.AE_HEADER_ID
and xae.EVENT_ID = xah.EVENT_ID
and xal.ACCOUNTING_CLASS_CODE = 'CASH'
and xte.ENTITY_ID = xae.ENTITY_ID
and xte.APPLICATION_ID = 200
and apc.ORG_ID = 81
and apc.check_id = xte.SOURCE_ID_INT_1
and xah.ACCOUNTING_DATE >= :p_date and xah.ACCOUNTING_DATE >=:p_date2
</sqlstatement>
</dataQuery>
<datastructure>
<group name="check" source="query1">
<element name="CHECK_NUMBER" value="Check Number"/>
<element name="CHECK_DATE" value="Check Date"/>
<element name="VENDOR_NAME" value="Payee"/>
<element name="BANK_ACCOUNT_NUM" value="Bank Account"/>
<element name="AMOUNT" value="Check Amount"/>
<element name="ACCOUNTED" value="Accounted"/>
<element name="EVENT_TYPE_CODE" value="Status"/>
</group>
</datastructure>
</datatemplate>
I registered this XML data definition in EBS using XML publisher but the concurrent program completes with errors...!!!The problem persists, So i have attached the XML Data Definition & Log file as you requested.
Many Thanks for the reply..!!
<?xml version="1.0" encoding="UTF-8"?>
<datatemplate name="CASH_BREAKUP" description="cash_breakup" version="1.0" defaultpackage="">
<parameters>
<parameter name="p_date" datatype="date" />
<parameter name="p_date2" datatype="date" />
</parameters>
<dataQuery>
<sqlstatement name="query1">
select apc.CHECK_NUMBER, apc.CHECK_DATE, apc.VENDOR_NAME, apc.BANK_ACCOUNT_NUM,
apc.AMOUNT, case when xah.EVENT_TYPE_CODE = 'PAYMENT CANCELLED' then apc.AMOUNT*-1 else apc.AMOUNT end as Accounted,
xah.EVENT_TYPE_CODE
from XLA_AE_HEADERS xah,
XLA_AE_LINES xal,
XLA_EVENTS xae,
xla.xla_transaction_entities xte,
ap_checks_all apc
where xah.AE_HEADER_ID = xal.AE_HEADER_ID
and xae.EVENT_ID = xah.EVENT_ID
and xal.ACCOUNTING_CLASS_CODE = 'CASH'
and xte.ENTITY_ID = xae.ENTITY_ID
and xte.APPLICATION_ID = 200
and apc.ORG_ID = 81
and apc.check_id = xte.SOURCE_ID_INT_1
and xah.ACCOUNTING_DATE >= :p_date and xah.ACCOUNTING_DATE <= :p_date2
</sqlstatement>
</dataQuery>
<datastructure>
<group name="check" source="query1">
<element name="CHECK_NUMBER" value="Check Number"/>
<element name="CHECK_DATE" value="Check Date"/>
<element name="VENDOR_NAME" value="Payee"/>
<element name="BANK_ACCOUNT_NUM" value="Bank Account"/>
<element name="AMOUNT" value="Check Amount"/>
<element name="ACCOUNTED" value="Accounted"/>
<element name="EVENT_TYPE_CODE" value="Status"/>
</group>
</datastructure>
</datatemplate>
Error Log File
XML Publisher: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
CASH_BREAKUP3 module: Cash Account Breakup
Current system time is 15-MAY-2013 09:34:28
XDO Data Engine Version No: 5.6.3
Resp: 20420
Org ID : 81
Request ID: 433616
All Parameters: p_date=01-FEB-13:p_date2=28-FEB-13
Data Template Code: CASH_BREAKUP3
Data Template Application Short Name: XDO
Debug Flag: N
{p_date=01-FEB-13, p_date2=28-FEB-13}
Calling XDO Data Engine...
[051513_093433589][][EXCEPTION] java.lang.NullPointerException
at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:334)
at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:266)
at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:140)
at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:231)
at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1801)
at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:331)
at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:334)
at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:294)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Output file size:
42
Finished executing request completion options.
Concurrent request completed
Current system time is 15-MAY-2013 09:34:33
--------------------------------------------------------------------------- -
XML data definitions in R12 Vision instance
In Oracle Vision instance, Oracle provides many reports with XML templates. But, some of the reports do not have any data definitions at all. So, when we run the report it raises error.
For example, Account Analysis report has template definition but there's no data definition file nor the preview file. Is the Vision instance expected to come with the data definitions for all the standard XML templates that are supplied by Oracle.
Select distinct A.TEMPLATE_NAME, A.DESCRIPTION, A.SOURCE_LANG, B.APPLICATION_SHORT_NAME, B.TEMPLATE_TYPE_CODE
FROM apps.XDO_TEMPLATES_TL A , apps.XDO_TEMPLATES_B B
WHERE A.TEMPLATE_CODE=B.TEMPLATE_CODE
and a.template_code='GLACTANL'
AND B.END_DATE IS NULL
--AND SOURCE_LANG =
ORDER BY A.SOURCE_LANG DESCFNDLOAD: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
how to fix this?Please make sure you are logged in as applmgr user and you have source the correct (application) env file.
Also, make sure that LD_ASSUME_KERNEL is not set for this user -- Issue "echo $LD_ASSUME_KERNEL" to verify.
Thanks,
Hussein -
How to use XML data stored in table column in XML Data Definition
Hi,
We are using BIP 5.6.3 (Oracle EBS R12).
We have a table which stores XML data in a column. Is there a way we can use this XML data through a SQL query in XML Data Definition of BI Publisher report instead or writing whole SQL query to fetch same data from Oracle EBS?
Can some please provide a sample SQL query that we should use in Data Definition?
Thanks!Mark,
Thanks. This is exactly what I was looking for.
After doing @Name in both places (SELECT and WHERE clause) it worked.
Now I have one more question.
There are multiple DIMENSION tags in my xml, and I want to see the NAME attribute values for all of those DIMENSIONs. The following query returns
ORA-19025: EXTRACTVALUE returns value of only one node.
Cause: Given XPath points to more than one node.
Action: Rewrite the query so that exactly one node is returned.
SELECT
extractValue(value(x), '/AW/@Name') as "AW",
extractValue(value(x), '/AW/Dimension/@Name') as "DIMENSIONS"
from
OLAP_AW_PRC,
table(xmlsequence(extract (xmltype(AW_XML_TMPL_VAL), '/AWXML/AWXML.content/Create/ActiveObject/AW'))) x
where
extractValue(value(x) , '/AW/@Name') = 'OMCR4' -
Can Discoverer be used as an XML Data source for XMLP ?
I am wondering if Discoverer can generate an XML Data Source for XMPL.
I have heard that Discoverer Viewer can have XML as an output. Is there a way of using this XML output with XMLP and, if yes, how to batch both steps ?Hi
My understanding is that Discoverer does not generate XML data as an ouput that XMLP can consume. The XML is does generate is actually an XML RDF for Oracle Reports.
XMLP is integrated thou, when you export your Disco report to PDF thats XMLP doing the conversion to PDF for you.
Regards, Tim -
Customize Data Definition for Payment Process Request Status Report
R12.1.1 Payables
I have to add some extra fields to "Payment Process Request Status Report" when processing payments.
What package do I have to customize?
Is this IBY_FD_EXTRACT_GEN_PVT? If so, where do I have to modify?
I have to add project and task information stored in ap_invoice_distributions_all table.
Thanks,
JoonSunil wrote:
Guys,
Can you please tell me what is the Data Definition name associated with Payment Process Request Status Report.
Looking forward to your replies.
Thanks.
-SunilLogin to (XML Publisher Administrator) responsibility and click on Templates, query "Payment Process Request Status Report" and click on Go and this should show the "Data Definition". You can also click on "Payment Process Request Status Report" link and get all the details (Template Files, File name, Localized/Translatable Template ..etc).
Thanks,
Hussein -
Error while running XML data definition
Hi,
Want to run report using XML Publisher, created one Data Definition using xml file,
<?xml version="1.0" encoding="WINDOWS-1252" ?>
<dataTemplate name="EmpDT" description="Employee Details" Version="1.0">
<parameters>
<parameter name="p_DeptNo" dataType="character"/>
</parameters>
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[ SELECT Empno, Ename,Job,Mgr,Hiredate,Deptno FROM Emp WHERE deptno = nvl(:p_DeptNo,deptno) ]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_EMP" source="Q1">
<element name="EMPLOYEE_NUMBER" value="Empno"/>
<element name="NAME" value="Ename"/>
<element name="JOB" value="Job"/>
<element name="MANAGER" value="Mgr"/>
<element name="HIREDATE" value="Hiredate"/>
<element name="DEPTNO" value="Deptno"/>
</group>
</dataStructure>
</dataTemplate>
Added concurrent program and trying to run request but it's getting completed with error, when i checked log file it was showing error like,
XDO Data Engine Version No: 5.6.3
Resp: 20420
Org ID : 204
Request ID: 5810677
All Parameters: p_Dept_No=20
Data Template Code: EMP_DET
Data Template Application Short Name: AMW
Debug Flag: N
{p_Dept_No=20}
Calling XDO Data Engine...
[042811_124713802][][EXCEPTION] java.lang.NullPointerException
at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:334)
at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:266)
at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:140)
at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:231)
at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1796)
at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:331)
at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:334)
at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:294)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
can any one help me to solve this error? it's urgent.....
reply awaited..
Regards,
Priyanka.HI,
We are facing some issue with CXML. I have posted a new thread [cXML with SAP PI;.
The content of that thread is pasted below: You can give your solution in the above mentioned thread so that I can grant points.
We need to use cXML for our project. Based on the thread ( [Error while uploading CXML data definition.; )
the following steps need to be done with the cXML DTD.
1.First Delete the Multiple Declaration of "Method .ANY"
2.replace all "ds:" character with 'ds_'
3.replace all "xades: " with 'xades_'
4.replace all "xmlns" with 'attr_'
5) After this use Altova to convert the DTD to XSD.
First of all, we could not carry out the 4th point, as in that case Altova says that it is invalid, and it fails to get imported in PI as well.
Without step 4 , if we import it as external definition, then there are certain attributes with type xml:lang coming in Red.
Can anybody tell us on how to fix this.
Thanks,
Himadri -
Recreating the data definition for a RTF template
All, I created a data definition (with the respective Concurrent Program code) then it was associated with the respective RTF template. I didn't like the template so I created another RFT file. For that reason I had to disable the first template by setting the end date to a past date and the old template is showing as no_active. But the thing is that at trying to create the new data definition it prompts an error like this:
"Error
You entered a duplicate data definition. Please change the Name, Code and/or Application and reapply "
How can I delete a data definition at all?
Thanks,
CCHI,
Can you please help me in finding XML output for Invoice Print BPA Child Program. I have tried changing the output format to XML but no luck. If you can send me any suggestion to my email address [email protected] would be very helpful.
Also, Did you try adding any conditional formatting (eg. <?if:column_name='value'?>) in RTF template? is it working?
Any help is appreciated.
Thanks
Deepak -
I am using web services to read an XML file that contains a schema. I am using the input as the data source for a grid. When the grid is populated it does not appear that the schema is interpreted. All the decimal values are presented as strings and are not sorted correctly. Is there something specific that I need to do to invoke the schema?
Worst forums ever! Nobody can help with the insertion of a
currencyvalidator in a datagrid itemeditor? -
Trial Balance and/or FSG for different period than calendar
Hi
We have a calendar which is from Jan 08 to Dec 08. We need to have a Trial balance from April to March.
How can this be done from General ledger
Thanks
NinadNinad,
The issue you are pointing out here is that your accounting year that is setup in oracle is between Jan to Dec but your desired reporting accounting year is between Apr to Mar. Meaning all the year end activity that happens in Dec ideally should happen in March. Is that correct?
One way is to mirror another set of books and have calendar setup between Apr to Mar. This is a pain to maintain two setup of books but works OK if you use consolidation feature to transfer all the balances as is. You can report trial balance or FSGs off of that SOB.
Or if you know what happens in year end closing in your system (apart from standard oracle processes for retained earnings account among others), you can change the reports to show that balances in the month of Mar or Apr rather than in Jan.
Thanks
Nagamohan -
All,
Is it possible to load master data using XML datasource. If yes how. We are already using XML load for the transactional data. When we try for the Master data the option "create BW datasource with SOAP connection" is greyed out.
Thanks.Hi,
Check out this Doc
How to Send XML Data to BW
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21d8aa90-0201-0010-5e83-a3798b9a5ee0
regards,
San! -
The Netscape/NDS AddUser implements inetOrgPerson, and some other objects/Attributes not implemented in Active Directory Object Attributes, and I receive errors about the Attributes. Could you tell me the correct Attribute definition for the default DS, to add a user?
Unsure what you mean. iDS 5 implements the inetOrgPerson as of the RFC. It is made of 4 objects top, person, organizationPerson and inetOrgPerson. The user object in MAD using many more MS specifi attributes in the top class. (53 extras)
Maybe you are looking for
-
Even when I copy the http://www.mozilla.com/en-US/products/download.html url directly to the Windows browser it still will not show the FireFox download links. Has anyone else run into this problem?
-
The devices that die right away are the network adapter and any USB memory stick plugged in, they still have their lights and all running but aren't recognized in "This PC" and the network adapter isn't found in "Control Panel\Network and Internet\Ne
-
Can't paste into iTunes lyrics
Up until recently, I have been able to copy lyrics from other sources and then paste them into the lyrics tab of any mp3 file in iTunes. Yesterday, I noticed that that particular functionality is missing. I hit CMD-V in the lyrics tab and nothing hap
-
Hey All, Newly testing and reading up on 10g. I am on information overload and would appreciate pro's advice on which to choose and why. Thanks, d.
-
How to run a report from UIX ?
Hi, I need to run my reports made in Oracle Reports Builder, in Web Style. All reports has parameters, then I buid a UIX page with some MessageChoice to select values for the parameters, and I need to invoke the report when a click the submit button.