How to develop Xml report
Hello,
Any one can say a simple example for how to create xml report.
if you mean by reports builder and in 10g running from ias 10g then just creat your report as you normally do and put as destype=XML in the calling URL
Erwin
Similar Messages
-
How to start XML reports in Oracle Apps
Hi All,
As im new to develop XML reports in Oracle Apps. And Im used to develop oracle reports. But i have a new requirement came and i need to develop new XML reports.
I am using windows please let me know any software to be installed and how to register the XML reports.
1) how to create .rtf
2) How to make columns mapping in rtf file.
If any knows please let me know as it is bit urget for me.
Im leaving in Duabi, if any is intrested to teach me i will join or pls let me know any instute
Thanks,Assuming that you intend to create a layout template to use against an existing report, then you should start by changing the output type in the concurrent program definition to XML. You should then run the report and save the XML file output. This will form the start point for yout layout template.
In order to create the layout template, you need to download the BI Publisher desktop. This is the add-in for Word which is used to build the template.
When you have these tasks completed, you can open up Word and you will find you have some new menu options. Load the XML data you created in the first step, and you can build your template. You will also be able to preview the output from within Word.
When you have completed the template, you need to go into XML Publisher responsibility. You should create a data definition which has a code the same as the concurrent program short name. This is the link between the template and the concurrent program.
You then need to define a template for this data definition which will have the layout template uploaded.
Having done this, switch to systeem administration responsibility, select the concurrent program menu entry and query back the program you are workin on. Click on the 'update' icon. You then need to click on the 'Onsite setting' tab. This allows you to attach the template to the program.
Hope this helps. -
How to develop a report with current price & the last price in the pre.yrs
hi ,
guys,
my client want a report to list of material with respective vendor and to make a price comparison betn the current price & the last price in the privious year.
can any one help how to develop the report, shall go for generic extrc.
thanks in advace.
ramnathCR CR 2011 / "Crystal reports For Visual Studio 2010", you are correct.
Re. the database thinggy. You can connect to a database via ODBC, OLE DB or in some instances natively. Once a report is created you an change the datasource. A good sample app on how to do this is csharp_win_dbengine / vb_win_dbengine. A link to the samples is here:
Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
More info on connecting to dbs and changing them is in the developer help files:
SAP Crystal Reports .NET SDK Developer Guide
SAP Crystal Reports .NET API Guide
More info on CR APIs for .NET (applies to all versions of CR and VS):
Crystal Reports for Visual Studio 2005 Walkthro... | SCN
You can also use ADO .NET Datasets and in this way you handle the database connections in your app. A good sample is csharp_win_adodotnet (also available in VB) - same link as above.
More info on datasets:
Crystal Reports Guide To ADO.NET
Crystal Reports for Visual Studio .NET - Walkthrough - Reporting Off ADO.NET Datasets
For more complicated operations (e.g.; changing a report from ODBC to OLE DB, changing one table, etc., you will want to use the InProc RAS SDK that is also available in CRVS. Developer help files are here:
Report Application Server .NET SDK Developer Guide
Report Application Server .NET API Guide
Sample apps are here:
NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
and here:
Crystal Reports .NET In Process RAS (Unmanaged) SDK Sample Applications
More info on RAS SDK:
How to Use The RAS SDK .NET With In-Process RAS Server
Lastly, do use the search box in the top right corner. I find simple search strings such as 'crystal net parameter' return best results (KBAs, Blogs, docs, wikis, discussions and more).
- Ludek -
Hi,
How to Develope a report that displays a purchase requisition with details like MRP controller, release date and unit of measure.HI,
Just create an internal table with fields PR number, MRP controller, Release date and UNit of measure.
Now write a select statement as below.
Select BANFN DISPO FRGDT MEINS from EBAN into table ITAB
where.......
Regards,
Ram -
How to Develope a report.
Hi,
How to develop a report on inventory and goods movements.HI,
Use the table
1. MA07 for inventory details ; and
2. MAM_25_GOODSMOVEMENT_LIST for goods movement list
select the data as per your functional specs put into an internal table and display it in the output list.
How you display it and the selections you make in selection-screen is designed as per the tech specs.
please provide the tech specs,i will design the program for you.
regards,
pankaj -
How to develop a report for display unused materials
how to develop a report for display unused materials? where can i find them?
Hi Phani,
I didnt get what u acually mean by unsued material. These are some sample materail types which u can find in table 'Mara' field 'Mtart'.
ABF Waste
AEM Samples
BLG BLG Empties External
BLGA BLGAEmpties Fixed assets
CH00 CH Contract Handling
COMP Prod. alloc., purchased
CONT KANBAN Container
COUP Coupons
DIEN Service
DOCU documentary batch
ERSA Spare parts
FERT Finished product(fert)
FGTR Drinks
FHMI Prod. resources/tools
FOOD Foods (excl. perishables)
FRIP Perishables
GR01 material type 01
GR02 material type 02
HALB Semi-finished product
HAWA Trading goods
HERS Manufacturer parts
HIBE Operating supplies
IBAU Maintenance assembly
INTR Intra material
KMAT Configurable material
LEER Empties
LEIH Returnable packaging
LGUT Empties (retail)
MODE Apparel (seasonal)
NLAG Non-stock material
NOF1 Nonfoods
PIPE Pipeline material
PLAN Trading goods (planned)
etc.
ex:
select * from mara where mtart = 'ABF'.
Regards,
Kiran B -
How to develop this report/Query that selects records with MAX Value
Hi,
My requirment is to develop a report to show all emp whose policy is going to expire ith in the user selected date intreval...
Emp_ID--App_Date-Policy_Strt_Date--Policy_End_Date--App_Status
101.01.2007---BlankBlank--
NEW (New application for a Medical Insurance policy raised for employee)
101.01.2007---01.02.200730.05.2007--
COMPLETE (policy issued for emp with strt & end dates)
115.05.2007---01.02.200730.05.2007--
RENEWAL (a application is raised to renew emp policy)
115.05.2007---01.06.200731.12.2007--
COMPLETE (policy issued for emp with strt & end dates)
115.12.2007---01.06.200731.12.2007--
RENEWAL (a application is raised to renew emp policy)
115.12.2007---01.01.200831.05.2008--
COMPLETE (policy issued for emp with strt & end dates)
115.05.2008---01.01.200831.05.2008--
RENEWAL (a application is raised to renew emp policy)
115.05.2008---01.06.200831.05.2009--
COMPLETE (a application is raised to renew emp policy)
So EMP 1 got valid policy untill 31.05.2009.
When a user executes a query to show all employees whose policy expiry date intreval (01.05.2008 to 31.05.2008)
it shouldn't show Emp 1 as he got valid policy untill 31.05.2009 but currently it is showing Emp 1....
How can i achieve this
ThanksHi
Thanks for the update
I created variable on Plc End end
If user enter show all emps whose policy is expiring in MAY (01.05.2008---31.05.2008) it is displaying EMp 1 as well but emp 1 has a policy which expires in 2009
Thanks -
How to develop a report based on multiple data bases in BIP
Hi,
I have to develop a report based on multiple database(Sources). My queries is having multiple data base tables. How to achieve this in BIP
Regards,
MalliHi ,
After creating the dataset under datamodel save your data sets.
Click on Datamodel , on the right side window you will have the Main data set option , click on the drop down option and select Concatenated sql option.
Check the below links you will get a good idea.
http://www.rittmanmead.com/2008/04/bi-publisher-reports-with-multiple-data-sources/
http://docs.oracle.com/cd/E12096_01/books/PubUser/T421739T423025.htm
If the Post is useful to you award the points :)
Thanks,
Ananth v -
How to develop a report in Crystal with flexible database name?
Hello
I am a Project Manager of a project of developing reports in Crystal 11.
The idea is to develop reports on top of the content in MS SQL tables.
The initial testing and demonstration to the customer is done within the Crystal development environment.
In a later stage, we need to integrate the reports with C# WPF application, using Crystal control.
We currently use ODBC connections.
We want the flexibility to set the actual database dynamically, by using the "default database" of the ODBC connection (or any other way). In other words, we want not just the flexibility to change the database server, but work with different database names, like "ProductDB_TEST", "ProductDB_PROD" etc. - without changing the report.
Unfortunately, we got the answer from the developer that the database name should be pre-defined for a given report. Although the connection can be set to another server, the DB name cannot be set dynamically.
Looking into the "Database" -> "Show SQL Query" menu, we see the following piece inside the query:
INNER JOIN "DATABASE_NAME"."dbo"."IncidentTypeSnapshotData"
So it looks like the query itself contains the DB name.
Is it really a limitation of Crystal, or rather the developer working on the project doesn't know the trick?
Thanks for any hint
MaxCR CR 2011 / "Crystal reports For Visual Studio 2010", you are correct.
Re. the database thinggy. You can connect to a database via ODBC, OLE DB or in some instances natively. Once a report is created you an change the datasource. A good sample app on how to do this is csharp_win_dbengine / vb_win_dbengine. A link to the samples is here:
Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
More info on connecting to dbs and changing them is in the developer help files:
SAP Crystal Reports .NET SDK Developer Guide
SAP Crystal Reports .NET API Guide
More info on CR APIs for .NET (applies to all versions of CR and VS):
Crystal Reports for Visual Studio 2005 Walkthro... | SCN
You can also use ADO .NET Datasets and in this way you handle the database connections in your app. A good sample is csharp_win_adodotnet (also available in VB) - same link as above.
More info on datasets:
Crystal Reports Guide To ADO.NET
Crystal Reports for Visual Studio .NET - Walkthrough - Reporting Off ADO.NET Datasets
For more complicated operations (e.g.; changing a report from ODBC to OLE DB, changing one table, etc., you will want to use the InProc RAS SDK that is also available in CRVS. Developer help files are here:
Report Application Server .NET SDK Developer Guide
Report Application Server .NET API Guide
Sample apps are here:
NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
and here:
Crystal Reports .NET In Process RAS (Unmanaged) SDK Sample Applications
More info on RAS SDK:
How to Use The RAS SDK .NET With In-Process RAS Server
Lastly, do use the search box in the top right corner. I find simple search strings such as 'crystal net parameter' return best results (KBAs, Blogs, docs, wikis, discussions and more).
- Ludek -
How to develope a report to view the contact
Hi,
how develope the report to view the contract details of the customers in a pariticular sales area are displayed.
please send me the codingHi unnamed,
Suppose you have an id that identifies your record.
Go to Report definiton, tab report attirbutes.
Select the id of your record.
Create a link to the page you want to go to.
Hope this helps.
If not, I suggest you to create a from with report, and analyze the way the wizard has generated it.
Leo -
How to print XML report in French Language?
Hi,
I need to print XML report in French language, currently it display in English language.
I have used following steps:
1. I enabled French language on my oracle apps instance.
2. Created the concurrent program with output type as XML
3. Created Data Definition using XML Publisher Responsibility
4. Created template. At the time of creation of templete, enabled Translatable check box and click Apply
5. Once template is uploaded, you will find two buttons. Export Translation and Upload Translation.
6. Clickd on Export Translation. XLF file opened.
7. In XLF file - e. g. source-language="en-US" target-language="fr-FR".Source is English and fr is for French language and FR is territory.
8. Update the target fields in French language. In the below example source field is in English language and target is in French language. This indicates that wherever the Invoice Date is present in RTF template it will be
replaced by the target field in french language.
<source>Invoice Date:</source>
<target>Date de facture:</target>
9. Updated the same for all fields and finally import the updated translation file.
10. But When i run report , output display in English not in French.
Please any one can help, what should in do next to print in French Language.
Thanks,
Sunil Mane
Edited by: 973411 on Nov 30, 2012 6:56 AMAre you selecting the Template at the time of Program submission?
Check in the Options while submitting the Program -
How to read xml reports from external application
Hi All,
I want to generate reports from SIEBEL Database and access those reports from external application(like BlackBerry application). I have gone through by some blogs and found that we can access the generated reports from an external application using the URL.
When I use this URL on browser it gives me the xml file of the report. But I am unable to read this file from the Blackberry application.
Thanks in advanceHi Angha,
I want to invoke other portal application from my application.
Portal URL's also get changed from one system to Other. Prototype Portal->Development Portal -> Quality Portal->Production Portal>
All the above Portal URL will be different.
I want trigger another application dynamically.
Thx & Rgds
AW -
Why and How to develop XML forms?
Hi All,
I am creating a bulletin board . So I need to create XML forms . I m not clear as to why do I need to create it and also dont know to create the same . Is there any software installation required for its creation OR else I can do it without any software . Please tell me
1.its need
2.and how to create
and if u have any sample xml form please share the same.
Thanks in advance,
JasmineHi Jasmine,
XML forms are suited to document types that always have an identical or a similar structure. For example, a news item always has a title, author, creation date, and body text.
It is just like an application form. The text given by the authors are got using these forms, so that there is some format or pattern followed.
XML forms are like Templates, using which data are entered. The data entered can be resrticted to suit some conditions, for example, date format.
You can find the <b>How-To guide</b> <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/90b49c90-0201-0010-8296-bb22a60b2b76">here</a>. This also contains two sample forms.
Hope this helps,
Regards,
Shankar. -
How to migrate xml report from test to prod?
Hi,
We are using BIP 10.1.3.2 standalone. I've one simple question for migrating report from test enviornment to production.
Is there any standard method for migration?
Like in Discoverer we can simply export report and import it in prod environment.
Thanks...Thanks for your reply. That's one describes for EBS version of BIP. I'm looking for standalone version of BIP enterprise.
-
1)How to develop xml report without rdf?
Try this:
PROCEDURE write_out(PR_message IN VARCHAR2) IS
-- =====================================================================
-- P R O C E D U R E write_out
-- =====================================================================
-- Description : write to fnd_file.output file
-- =====================================================================
-- I N P U T
-- =====================================================================
-- Name Description
-- =====================================================================
-- PR_message message to be writen
-- =====================================================================
BEGIN
fnd_file.put_line(fnd_file.output,
PR_message);
END write_out;
PROCEDURE Generate_Xml_output(PR_return_code OUT NUMBER,
PR_return_message OUT VARCHAR2) IS
-- =====================================================================
-- P R O C E D U R E Generate_Xml_output
-- =====================================================================
-- Description : Generate XML and split it into multiple Varchar
-- of 32767 characters each maximum length.
-- =====================================================================
-- I N P U T
-- =====================================================================
-- Name Description
-- =====================================================================
-- PR_return_code Return code (0 if success)
-- PR_return_message Return message (null if success);
-- =====================================================================
l_doc CLOB;
l_len NUMBER;
l_xmlstr VARCHAR2(32767);
l_offset NUMBER := 25000;
l_retrieved NUMBER := 0;
l_endTag VARCHAR2(10);
l_exit BOOLEAN;
l_module VARCHAR2(50) := 'Generate_Xml_output';
BEGIN
BEGIN
SELECT dbms_xmlgen.getxml('SELECT * FROM XLA_AE_LINES WHERE ......')
INTO l_doc
FROM dual;
PR_return_code := 0;
EXCEPTION
WHEN OTHERS THEN
PR_return_code := 2;
PR_return_message := 'ERROR: DBMS Cannot generate xml - ' || SQLERRM;
END;
L_len := dbms_lob.getlength(L_doc);
write_log('L_len: ' || L_len,
l_module);
LOOP
EXIT WHEN L_len = L_retrieved;
IF (L_len - L_retrieved) < L_offset THEN
write_log('1.0 IF (L_len - L_retrieved) < L_offset ' || L_len, l_module);
SELECT SUBSTR(L_doc,
L_retrieved + 1)
INTO L_xmlstr
FROM dual;
L_retrieved := L_len;
write_out(L_xmlstr);
ELSE
write_log('1.1 IF (L_len - L_retrieved) > L_offset ' || L_len, l_module);
L_offset := 25000;
L_exit := FALSE;
LOOP
EXIT WHEN L_exit;
SELECT SUBSTR(L_doc,
L_retrieved + 1,
L_offset)
INTO L_xmlstr
FROM DUAL;
L_endTag := SUBSTR(L_xmlstr,
-2);
IF L_endTag != '/>' THEN
L_offset := L_offset + 1;
ELSE
L_exit := TRUE;
END IF;
END LOOP;
L_retrieved := L_retrieved + L_offset;
write_out(L_xmlstr);
END IF;
END LOOP;
PR_return_code := 0;
PR_return_message := NULL;
EXCEPTION
WHEN OTHERS THEN
PR_return_code := 0;
PR_return_message := 'Error in Generate_Xml_output: ' || SQLERRM;
END Generate_Xml_output;
Maybe you are looking for
-
Hello all, I am attempting to install Oracle12c GI on two virtual nodes (in Fusion VMware) and am getting the following error message (Both nodes are configured exactly the same): INFO: Start output from spawned process: INFO: -----------------------
-
5 months + and still waiting for a phone line
27/05/2013 Placed order for line and broadband. Paid for 1 year service in advance. This was to reconnect a line I had cancelled in in January as we started a major re-fit/renovation at our house and were out of it for 4 months. Transferred line to a
-
Hello, I had installed ore 1.3.1 windows server 2008 on top of Oracle DB 11.2.0.3 ,but when I connect the database,it didn't work. That is my code and error code. ore.connect(user = "rquser", sid = "db11g", host = "....", password = "....", all = TRU
-
Create external LDAP authentification to SAP via Web Dynpro
Hi Guys, I have a requirement where I have to create access to SAP via external LDAP authentification. It is similiar how the Enterprise Portal works, but I want to achieve it with out the portal. The user will enter his LDAP user and password and I
-
Shutdown takes forever for Retina MacBook Pro (rMBP)
I am running 10.8.1 anyone experiencing long shutdown? my startups are faster than my shutdown by 3 times also, are the battery issues resolved in retina macbook pro?