How to Create Mapllet in Informatica PowerCenter Designer 9.01
Hi All,
I don't know this is right Platform to ask this question.
I wrote a SQL Query and i want to create Mapplet for this query. I don't understand in Mapplet which Tools i should use to apply SQL WHERE conditions, I need some guidelines. If i know only one SQL WHERE Condition i can do it for rest. can any one tell me steps to follow?
I really need you HELP.
Regards
SQL QUERY
select
papf.BUSINESS_GROUP_ID,pap.PAYROLL_ID,pap.PAYROLL_NAME,
papf.PERSON_ID,paaf.ASSIGNMENT_ID,paa.ASSIGNMENT_ACTION_ID,
petf.ELEMENT_TYPE_ID,petf.ELEMENT_NAME,petf.PROCESSING_TYPE,pivf.NAME input_name,
prrv.RESULT_VALUE,prr.ELEMENT_ENTRY_ID,prr.ENTRY_TYPE
from pay_payroll_actions ppa,
pay_assignment_actions paa,
per_time_periods ptp,
pay_all_payrolls_f pap,
pay_run_results prr,
pay_run_result_values prrv,
pay_element_types_f petf,
pay_input_values_f pivf,
pay_element_classifications pec,
per_all_assignments_f paaf,
per_all_people_f papf
where ppa.PAYROLL_ACTION_ID = paa.PAYROLL_ACTION_ID
and ppa.TIME_PERIOD_ID = ptp.TIME_PERIOD_ID
and ppa.PAYROLL_ID = pap.PAYROLL_ID
and paa.ASSIGNMENT_ACTION_ID = prr.ASSIGNMENT_ACTION_ID
and ppa.ACTION_TYPE in ('R','Q')
and ppa.ACTION_STATUS = 'C'
and prr.RUN_RESULT_ID = prrv.RUN_RESULT_ID
and prr.ELEMENT_TYPE_ID = petf.ELEMENT_TYPE_ID
and prrv.INPUT_VALUE_ID = pivf.INPUT_VALUE_ID
and petf.CLASSIFICATION_ID = pec.CLASSIFICATION_ID
and paa.ASSIGNMENT_ID = paaf.ASSIGNMENT_ID
and paaf.PERSON_ID = papf.PERSON_ID
and ppa.EFFECTIVE_DATE between pap.EFFECTIVE_START_DATE and pap.EFFECTIVE_END_DATE
and ppa.EFFECTIVE_DATE between petf.EFFECTIVE_START_DATE and petf.EFFECTIVE_END_DATE
and ppa.EFFECTIVE_DATE between pivf.EFFECTIVE_START_DATE and pivf.EFFECTIVE_END_DATE
and ppa.EFFECTIVE_DATE between paaf.EFFECTIVE_START_DATE and paaf.EFFECTIVE_END_DATE
and ppa.EFFECTIVE_DATE between papf.EFFECTIVE_START_DATE and papf.EFFECTIVE_END_DATE
Hi,
Yes, you need to write all the join conditions with in the source qualifier and you can write IN conditions as well. Once you are done with the sql query, first execute it manually at sql prompt and if it works perfectly then it will work in the informatica as well.
Ex:
Select a.ename,b.deptname from emp a, dept b
where a.deptno=b.deptno
and a.deptno in (20,30,40);
In your case you need to write all the 9 tables join conditions and in the select list write all the columns you need in order to populate them in target table.
Thanks,
Navin Kumar Bolla
Similar Messages
-
How to create a form with the Designer Peopletools
Help friends of the forum:
Any page of examples of how to create forms with the tool in PeopleSoft Application Designerhttp://www.oracle.com/technology/documentation/psftent.html
Down Peopletools 8.xx PeopleBooks and look at the PeopleSoft Application Designer
It walks you through the whole Process -
How to create two structures in query designer?
Hi experts,
I got the requirement to create 2 structures in query designer , as far as i concern i got to know that there will be chance to create on one for char and other for key figure,
is their any chance to create 2 structures on key figures.
If possible please help me in that.
Thanks in Advance
vasHi,
in Query at a time only 2 structures can be used, even thought there are many structures created on that infoprovider.
[http://help.sap.com/erp2005_ehp_03/helpdata/EN/4d/e2bebb41da1d42917100471b364efa/content.htm] -
How to create a type table in designer 9i
Hi
In our company we use designer 9i. I want to create a type table using designer. Is it possible? I have a requirement where i need to create a type table and use in creating a view through designer.
Create or replace type varchar2_ntt as table of varchar2(4000);
[\pre]
Please suggest.Hi
Here I am giving the step by step process.
1. select the container in which container you are going to create the type.
2.Go to tools then design editor and expand the container. There you will find oracle collection types. there we have to create a new one by clicking the + button on the left side.
3. Give the name of the new collection type.
4. And in the collection of tab, let it be scalar, give the scalar data type,and the size and click finish.
5. then right click on that object and give generate. there you select theDDL files only and the give the path where the scripts have to go.
This the process.
Thanks,
raju -
each side of the page has to be equal so the prints can be cut.
2 x 3.5 cards
also if you guys have any options for printing my first business cards and cutting them myself i would be very grateful
i am very good with photoshop and generally all computer programs. if you need more details feel free to ask.
thank you.You can print with multiup, but the pages generally are scaled a bit and that is probably not what you want. A lot depends on how you created the business card. The classic way is to use something like WORD an create multiple copies on the screen. Avery has templates for use with their card stock. Doing this with Acrobat is not a typical workflow, but might be able to be done if you play around with the multiup printing or such, but I would not depend on it.
-
How to create a webi tree pattern design?
Hi all
I need to create a report in Web Intelligence with the information shown like in the Windows Explorer (tree design) and with the ratios shown in the right side. Like this
product
sale 20
production 30
price 87
company
........ 34
......... 21
..... 32
How can i do this ?
Thanks to allHi david
is the product and company you specify is coming from same column in webi?
can you elaborate your question briefly?
Edited by: sree9986 on Apr 28, 2010 12:44 PM -
How to create Tab button in LC designer Form
Hi,
I'm new to Livecycle Desgin product. I'm trying to design a form, which access to different design/data by clicking several tab button on the form. I can't find any Tab button option on the Object Library of Livecycle Designer ES8.2. Can you advise me on how to find or create a Tab button and use within my form.
Many thanks,You won't have a tab button available in LC.
But you can achieve the similar thing by placing buttons on the form and on click of those buttons hide/ display the Subforms based on the need.
You can play with the button border and fill color to have a similar look to your tabs.
Thanks
Srini -
Informatica powercenter designer plugin installation Error.
Dear All,
i have installed informatica 9.0.1 and i'm trying to add Hyperion performance scorecard DIM to the designer ?
i have followed the steps suggested by http://download.oracle.com/docs/cd/E17236_01/epm.1112/dim_11111_install.pdf
but i'm getting the error : "Failed to load dll HPSClient.dll... module not found " can anyone please help ?
thanks
Edited by: user9065224 on Feb 19, 2012 1:10 AMHello,
Thanks for the reply. I tried with JRE 1.5 but it still gives me the same problem.
For your reference, I am pasting the recent error code I got.
Cannot Create Domain
"STDERR: java.lang.NoClassDefFoundError: com/informatica/pcsf/infacmd/InfaSetupMain
Exception in thread "main"
EXITCODE: 1"
I put my firewall off either but it didn't help me!!
any other suggestions?
thanks -
How to create YTD reports in Query Designer (year over year comparison)
Dear BW Reporting gurus,
I am trying to create a dynamic YTD report.
The cube contains data from 2010, 2011, 2012.
Let's say today's date is Feb 12, 2012. When the user runs the report, the report should contain:
A column of cumulative sales quantity from Jan 1, 2010 - Feb 12, 2010.
A second column of cumulative sales quantity from Jan 1, 2011 - Feb 12, 2011.
A third column of cumulative sales quantity from Jan 1, 2010 - Feb 12, 2012.
I am trying to solve this by creating a Restricted Key Figure:
For 2010:
SALES QUANTITY restricted by:
Current Calendar year offset by -2.
0CALMONTH2 with less than or equal to (SAP Exit Variable) Current Calendar Month.
But, I am confused as to how to restrict the day so it dynamically restricts less than or equal to the current day.
Please help.
Edited by: sauravg80 on Feb 13, 2012 3:15 AMHi Sourabh
As far as my understanding is concerned one data is fixed, that is first date of any year.
0DAT on 0CALDAY can give you current calender day. Now you can offset that with - 365
Only problem I see is if the year is leap year. Then it should be - 366
To check the leap year thing you need to go for a customer exit variable.
Customer Exit would be easy one
Regards
Anindya -
How to create an exception in query designer?
Hi,
I am new to BW. I created an exception and set the from and to limits with an alert level of green for an amount column. When I run this query in the web, it does not change the color to green for the condition in the amount column. What is the validity area of exception? Do I need to enter anything there? I am in BW 3.5Hi,
You need to change the default option Result only to all the cells in the second tab(cell defining) of Exceptions in query designer.
http://help.sap.com/saphelp_nw04s/helpdata/en/68/253239bd1fa74ee10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/1a/615f64816311d38b170000e8284689/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/68/253239bd1fa74ee10000000a114084/frameset.htm
Hope this helps............
Rgs,
Ravikanth. -
How to create dynamic bucket in Query Designer
Hi ,
Can anyone suggest me how to fill the data dynamically in bucket calculation in query without using program.?
Eg:
No age
1 5
2 7
Bucket:
0-5 6-10 11-15
5 7
In future if i get data more than 7 in age(like 10 in age column) it should dynamically create bucket with range 5 and fill it over(11-15 nbucket)
No age
1 5
2 7
3 10
0-5 6-10 11-15
5 7
Regards,
MohammeDHi,
As per my knowledge can you try by using of offset to get this requirement.
Regards
sivaraju -
How to create CopyBooks through Informatica power centre?
Hi Folks,I have a requirement is my source is the DB and I need to load the data into Copy Books through Informatica Power Centre.I have seen many blogs how to extract source from CopyBooks or COBOL. But I didnt find any blog regarding my requirement.
Can anyone help me on this guys. Thanks in Advance KrishnaI'm trying to connect source as Mongo db to Informatica 9.1 power center using Simba ODBC driver for Mongo db but I'm getting this error.DLL name entry missing from c:\informatica\9.0.1\clients\PowerCenterClien\client\bin\powrmart.ini section = ODBCDLL Entry = TEXTThanks
-
How to create horizontal swiping on mobile design?
Diving into my first Muse project, I'm trying to impliment a horizontal swipe feature similar to what's seen in the Netflix app. Is this feature possible in Muse CC?
Had Oracle provided us with support for 'create assertion', this could have been dealt with as follows:
SQL>create assertion MILESTONE_ORDERS as
2 check(not exists
3 (select 'an out-of-order milestone'
4 from task_milestone tm1
5 ,milestone m1
6 where tm1.ms_num = m1.ms_num
7 and exists (select 'the other one'
8 from task_milestone tm2
9 ,milestone m2
10 where tm2.ms_num = m2.ms_num
11 and tm2.task_num = tm1.task_num
12 and m2.ms_num != m1.ms_num
13 and t1.ms_order < t2.ms_order
14 and tm1.tm_date > tm2.tm_date)
15 )
16 )
17 /
Assertion created.
SQL> Unfortunately we are still awaiting support for assertions... -
How to create a report using XML data source from Crystal Report Designer
Hi,
Iu2019m having Crystal Report Designer XI R2 SP4. Iu2019m trying to create a report using XML data source stored on disk. This is a customer order report and the xml is structured in such a way that it has an order details header part (master) and then it has several order lines (detail). One order line can have several order line characteristics (detail-detail). So what I need to know is now I can design this layout from the designer. If this was done using views I can do it with sub-reports but using xml data this seems to be different. Can you help me to design this layout? I have included the xml and xsd as well.
Thank you in advance.
Regards,
Chanaka
XML
<?xml version="1.0" encoding="UTF-8"?>
<CUSTOMER_ORDER_CONF_REP_REQUEST xmlns:xsi="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep">
<CUSTOMER_ORDER_CONF_REP>
<ORDER_NO>D555809</ORDER_NO>
<PRINTED_DATE>2009-03-26T08:52:54</PRINTED_DATE>
<AUTHORIZE_NAME>Chanaka</AUTHORIZE_NAME>
<CUSTOMER_NO>CU-1473-INV</CUSTOMER_NO>
<CUST_NAME>Mr.Johan Matts</CUST_NAME>
<SHIP_ADDR_1>93,Main Street</SHIP_ADDR_1>
<SHIP_ADDR_2>Negambo Road</SHIP_ADDR_2>
<SHIP_ADDR_3>Watthala</SHIP_ADDR_3>
<SHIP_ADDR_4>SRI LANKA</SHIP_ADDR_4>
<BILL_ADDR_1>93,Main Street</BILL_ADDR_1>
<BILL_ADDR_2>Negambo Road</BILL_ADDR_2>
<BILL_ADDR_3>Watthala</BILL_ADDR_3>
<BILL_ADDR_4>SRI LANKA</BILL_ADDR_4>
<CUSTOMER_PO_NO>112984638</CUSTOMER_PO_NO>
<CUSTOMER_FAX>112984639</CUSTOMER_FAX>
<CUSTOMER_EMAIL>abcbababab</CUSTOMER_EMAIL>
<ORDER_LINES>
<ORDER_LINE>
<LINE_NO>1</LINE_NO>
<CUSTOMER_PART_NO>NW-IP11</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>iPod</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>1200</SALE_UNIT_PRICE>
<PRICE_TOTAL>1200</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>1</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID xsi:nil="1"/>
<CHARACTERISTIC_VALUE xsi:nil="1"/>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>2</LINE_NO>
<CUSTOMER_PART_NO>NW-IP24</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>XGA Projector</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>500</SALE_UNIT_PRICE>
<PRICE_TOTAL>1500</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>3</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free Instalation</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>3</LINE_NO>
<CUSTOMER_PART_NO>NW-IP02</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>Sony DVD Player</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>1000</SALE_UNIT_PRICE>
<PRICE_TOTAL>1000</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>1</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free 5 DVDs</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>4</LINE_NO>
<CUSTOMER_PART_NO>NW-IP99</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>Flatscreen TV</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>1500</SALE_UNIT_PRICE>
<PRICE_TOTAL>1350</PRICE_TOTAL>
<DISCOUNT>10</DISCOUNT>
<PRICE_QTY>1</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free Delivery</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>1 year additional warranty</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>5</LINE_NO>
<CUSTOMER_PART_NO>NW-IP56</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>Sony MP3 Player</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>200</SALE_UNIT_PRICE>
<PRICE_TOTAL>400</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>2</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free carry belt</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free promotional 4GB memory bar</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>3</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>No warranty on memory bar</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
</ORDER_LINES>
</CUSTOMER_ORDER_CONF_REP>
</CUSTOMER_ORDER_CONF_REP_REQUEST>
XSD
<?xml version="1.0" encoding="UTF-8"?>
<?report module="ORDER" package="CUSTOMER_ORDER_CONF_REP" ?>
<xs:schema targetNamespace="urn:ifsworld-com:customer_order_conf_rep" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="CUSTOMER_ORDER_CONF_REP_REQUEST">
<xs:complexType>
<xs:all minOccurs="1" maxOccurs="1">
<xs:element name="CUSTOMER_ORDER_CONF_REP">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="50">
<xs:element name="ORDER_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PRINTED_DATE" type="xs:dateTime" nillable="true" minOccurs="0"/>
<xs:element name="AUTHORIZE_NAME" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_PO_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUST_NAME" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_1" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_2" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_3" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_4" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_1" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_2" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_3" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_4" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_FAX" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_EMAIL" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ORDER_LINES" nillable="true" minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="ORDER_LINE">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="39">
<xs:element name="LINE_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SALE_UNIT_PRICE" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="PRICE_TOTAL" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="DISCOUNT" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="PRICE_QTY" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="CUSTOMER_PART_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_PART_DESC" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ORDER_LINE_CHARACTERSTICS" nillable="true" minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="CHARACTERISTIC_ITEM">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="6">
<xs:element name="CHARACTERISTIC_ID" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CHARACTERISTIC_VALUE" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
</xs:schema>Hi Sourashree,
Thank you for the response and ideas you have given me so far. I can get the fetch the data from the data source without any problem. That is I do the following,
1. New Report
2. From Create New Connection-> XML
3. Provide the u201CLocal XML Fileu201D and have u201CSpecify Schema Fileu201D checked -> Next
4. Provide the u201CLocal Schema Fileu201D -> Finish
Then I can see the following under XML
+ CUSTOMER_ORDER_CONF_REP_REQUEST
CUSTOMER_ORDER_CONF_REP_REQUEST
CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
And from here if I add the following three I can get all the fields I need to the report
CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
Then I come to the Linking section. Here I canu2019t link anything. There is a common field called u201CInternal_IDu201D but I canu2019t link using it. So I get a message when I click Next. From here I add all the fields.
For this point onwards only I need help. How do I group, add fields and design the layout so I can get an report output as follows.
Date
Order number Authorized code
Customer No
Name
Phone
Fax email
Shipping address 1 Billing Address 1
Shipping address 2 Billing Address 2
Shipping address 3 Billing Address 3
Shipping address 4 Billing Address 4
Order Line 1 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026 LINE_NO CUSTOMER_PART_NO CUSTOMER_PART_DESC SALE_UNIT_PRICE PRICE_QTY DISCOUNT PRICE_TOTAL
Characteristic details belonging to Order line 1 CHARACTERISTIC_ID 1 CHARACTERISTIC_VALUE1
CHARACTERISTIC_ID 2 CHARACTERISTIC_VALUE2
CHARACTERISTIC_ID 3 CHARACTERISTIC_VALUE3
Order Line 2 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 2
Order Line 3 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 3
Order Line 4 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 4
Order Line 5 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 5
How can I achieve this kind of a layout using the give xml and xsd? Should I use grouping if so how should I do the grouping?
I have included the full xml and xsd in the first mail I posted but I canu2019t see it now. I can include that again if you want.
Regards,
Chanaka -
How to create some columns dynamically in the report designer depending upon the input selection
Post Author: ekta
CA Forum: Crystal Reports
how to create some columns dynamically in the report designer depending upon the input selection
how export this dynamic report in (pdf , xls,doc and rtf format)
report format is as below:
Element Codes
1
16
14
11
19
10
2
3
Employee nos.
Employee Name
Normal
RDO
WC
Breveavement
LWOP
Sick
Carers leave
AL
O/T 1.5
O/T 2.0
Total Hours
000004
PHAN , Hanh Huynh
68.40
7.60
76.00
000010
I , Jungue
68.40
7.60
2.00
5.00
76.00
000022
GARFINKEL , Hersch
66.30
7.60
2.10
76.00
In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
Can anybody help me how do I design such report....
ThanksHi Developer life,
According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric values) in the details, add an filter to filter the data base on this column group, but if
the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
Similar threads with details steps for your reference:
https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings
If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
Any question, please feel free to let me know.
Best Regards
Vicky Liu
Maybe you are looking for
-
How do i find a file in finder exported to youtube using motion 5?
i just tried to upload a video from motion 5 to youtube. it transcoded/exported the file and failed uploading to youtube but i can't find the file. how do i find the file so i can upload it manually? side note, a second question, this is the only way
-
How do I find the original I tunes library that my Ipod is sycned too?
We have been having problems with our computer and when we have got it back I have downloaded the latest version of Itunes. However when I put in my I pod to sync with it tells me that my ipod is already synced with another i tune library and it will
-
How can I use the templates I generated in CS5 Bridge, in Lightroom 4.4?
How can I use the templates I generated in CS5 Bridge, in Lightroom 4.4 ? It appears that I can not link the templates which I have been using in Bridge for some time to Lightroom 4.4. Is this done on purpose? Thanks in advance Doppy
-
Oracle Applications Release 12 and Oracle Warehouse Builder 10gR2
Hi I'm trying to deploying process flows to Workflow but I get the following error: RPE-02054: The version of Oracle Workflow is incompatible with this Control Center. Required 2.6.3, but found 2.6.0. Comment I found on another thread: "As far Workfl
-
i am creating the desktop sharing gadget via rmi,, every thing is fine apart from it does not respond to key events..i don't understand where i am lacking.. here's server code. public class ServerInterface extends UnicastRemoteObject implements Syste