Report on characteristic "date"
Hi all,
I need to report on characteristic "date" not only characteristic "period/year" in report painter in CO-PA costing based.
How can I do that?
Thanks for any help!
HuyenTT
Still waiting for any idea for that issue!
Similar Messages
-
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 -
Authorization issue with report on "Char data target"
Hi,
we've a characteristic ZCHAR inserted as data target.
user is not able to execute a report created on this "Characteristic data target".
error is as follows : "Error : You are not authorized to use ZCHAR".
Could some one advise how to resolve this issue & what authorizations need to be assigned to this user.
<b>PS: same user has no problems running other reports created on infocube & ODS.
also, this characteristic data target is not "authorization relevant" in the info object definition.</b>
appreciate your help.
I've following profile assigned to user.
S_RS_ICUBE - Administrator Workbench - InfoCube
Activity : All activities
InfoCube Subobject : All values
InfoArea : *
InfoCube : *
Hari Immadi
http://immadi.com
SEM BW AnalystGova,
thanks for your reply.
profile doesn't have any authorization object S_RS_IOBJ.
looks like this is the problem.
I quickly tested with this object on a dummy profile & it worked with following settings. Is this correct just for reporting?
Object S_RS_IOBJ
Activity Display
InfoObject ZCHAR
InfoObject catalog *
Subobject of InfoObject Data
Hari Immadi
http://immadi.com
SEM BW Analyst -
Report Painter Characteristic Ledger does not exist
Hi Experts,
I am trying to create a report GRR1 and for Plan Budget Report in Rows i have given SALES, REVENUE,COST and TOTAL and when i have defined the Columns with period 1,2,3,4,5,6..12 I got the following message when executing the Report.
Characteristic Ledger does not exist and Characteristic Record Type does not exist
Characteristic Ledger does not exist
Message no. GR655
Diagnosis
The characteristic must (message type E) or should (message type W) be addressed in the report definition. This means that a set must/should exist for the characteristic in the definition of the report rows, report columns, or report selection.
For performance reasons, it is important that you limit the value ranges of those key fields located at the start of the database key as much as possible.
Procedure
Define a set for this characteristic in the report.
Note
In Controlling (Table CCSS), different characteristics (cost center, order, project, etc.) are portrayed internally with a common technical characteristic, "Object". In reports, either a specific characteristic such as cost center must be used, or the characteristic "Object" must be used directly. If this is not the case, an error message appears saying that the "Object" characteristic is missing.
Also i would like to know how do i define the selection criteria for executing the report
Please advice a solution for the same
Regards
RahulThe reason could be having (1) invalid characteristics value or (2) have not properly defined the General Data Section, most likely (1) in this case.
Either way, go to t-code GRR2 to change the report.
In the report row or column, is there an Element (the labels in red color) that does not make sense?
It could still have the correct label names, but double-click and go into "Record Types (from your error message)". Be sure to have the correctly define values attached to each Characteristics.
If all above seems okay, try (From top bar, select) Edit --> General Data Section. Think of this section as the "header data" of the report.
Good luck
AY -
How can we generate a report in master data?
hi,
can we generate a report in master data,if yes pl give me the procedure, i am un able to get it.
thanks & regards
venkatHi,
Once we make the MAster infoobject as the data target, then we can create the report on the master data. to make the IO as Data target , you just need to mention the tick mark for<i> Infoprovide</i> check box in the <i>MAster data /Texts</i> tab page of the IO.
help says that:
<i>InfoProvider:
This indicator specifies whether the characteristic is an InfoProvider.
If you want to use a characteristic as an InfoProvider, you have to assign an InfoArea to the characteristic. The system displays the characteristic in the InfoProvider tree in the Data Warehousing Workbench. You can use the characteristic as an InfoProvider in reporting and analysis.
You can only use a characteristic as an InfoProvider if the characteristic contains texts or attributes.
You can define queries for the characteristic (more precisely, for the master data of the characteristic) if you are using a characteristic as an InfoProvider. In this case, on the Attributes tabstrip, you are able to switch-on dual-level navigation attributes (navigation attributes for navigation attributes) for this characteristic in its role as InfoProvider.</i>
With rgds,
Anil kumar Sharma .P
IBM-India. -
Report performance and data quality
Hi,
Can someone help give explanations to following questions :
1.) Does BW Report show how current is my data?
2.) What are the reason why the performance of my BW Report is slow?
3.) What are the reason why my BW Report is have missing data?
4.) Why is my BW Report have incorrect data?
5.) Why doesnu2019t my BW Report Data match SAP R/3 Data?
Thanks,
Milind
Please do not raise generic questions across multiple forums
Edited by: Arun Varadarajan on Apr 9, 2010 2:08 AMMilind,
1.) Does BW Report show how current is my data?
You should be able to see the data currency when you run in the web - which method are you using - BEx or Web...?
2.) What are the reason why the performance of my BW Report is slow?
It could be due to anything - please search the forums for the same on how to identify possible performance bottlenecks
3.) What are the reason why my BW Report is have missing data?
It depends - Missing data loads etc etc
4.) Why is my BW Report have incorrect data?
You should be knowing that...? I can just say that it has incorrect data because ...." The sun rises in the east...".!!! more akin to asking "Why did the chicken cross the road"
5.) Why doesnu2019t my BW Report Data match SAP R/3 Data?
You should ask SAP that question...
Honestly I am not sure what the reason behind such generic questions are.... if you are looking for answers - then you need to be more specific - if these are more like Interview Questions asked to you - I guess you should be able to answer them or ask further questions to clarify the question further.... -
Discoverer report returns no data from a certain time
Using Discoverer 10g,a discoverer report which returned data normally last month gets to return no data now.
We have four same environments, and two of them has this problem, two is OK.
And the SQL of the discoverer of the four environments are the same.
We have no any changment of this discoverer and related EUL for more than one year....
How should we investigate into this issue.
For example ,a point we should notice or something...
Could somebody give us a suggestion?
Thank you.Thanks for your qiuck reply.
1.empty table that is joined in the query.The four environments has almost the same data,it is not the cause.
2.security issue with the data, maybe the security definitions are different from one environment to another.we are now invesgate into this cause.
and there is a sql of the discoverer's EUL which shows no data in a enviroment(in this enviroment discoverer report gets no data), but in another enviroment data can show.
the sql is as following.
=============
SELECT loc_bu.org_id
,loc_bu.location_id building_id
,loc_bu.building building_name
,loc_bu.location_code building_number
,loc_fl.location_id floor_id
,loc_fl.location_code floor_number
,loc_fl.floor floor_name
,loc_of.location_id office_id
,loc_of.location_code office_number
,loc_of.office office_name
,loc_of.suite office_suite
,loc_of.location_alias office_alias
,loc_of.assignable_area office_assignable_area
,loc_of.space_type_lookup_code office_space_type_code
,lst.meaning office_space_type
,loc_of.function_type_lookup_code office_function_type_code
,fun.meaning office_function_type
,(SELECT ffv.description
FROM fnd_flex_values_vl ffv
,fnd_flex_value_sets ffvs
WHERE ffv.flex_value = loc_of.attribute1
AND ffv.flex_value_set_id = ffvs.flex_value_set_id
AND ffvs.flex_value_set_name = 'MB_PN_ON') occupancy_exception_flag
,loc_of.active_start_date
,loc_of.active_end_date
--ADD BY KEVIN 2008/6/26 START
,loc_of.attribute7 division_code_office
,(SELECT ffv.description
FROM fnd_flex_values_vl ffv
,fnd_flex_value_sets ffvs
WHERE ffv.flex_value = loc_of.attribute7
AND ffv.flex_value_set_id = ffvs.flex_value_set_id
AND ffvs.flex_value_set_name = 'MB_PN_DIVISION') division_description_office --ヌヨ-ホ・ヒオテ・
--ADD BY KEVIN 2008/6/26 END
FROM pn_locations loc_bu
,pn_locations loc_fl
,pn_locations loc_of
,fnd_lookups fun
,fnd_lookups lst
WHERE loc_bu.location_id = loc_fl.parent_location_id
AND loc_bu.location_type_lookup_code IN ('LAND', 'BUILDING')
AND nvl(loc_bu.attribute6, '99') <> '01'
AND loc_fl.location_id = loc_of.parent_location_id
AND loc_fl.location_type_lookup_code IN ('FLOOR', 'PARCEL')
AND nvl(loc_fl.attribute6, '99') <> '01'
AND loc_of.location_type_lookup_code IN ('OFFICE', 'SECTION')
AND nvl(loc_of.attribute6, '99') <> '01'
AND loc_of.function_type_lookup_code = fun.lookup_code(+)
AND fun.lookup_type(+) = 'PN_FUNCTION_TYPE'
AND loc_of.space_type_lookup_code = lst.lookup_code(+)
AND lst.lookup_type(+) = decode(loc_of.location_type_lookup_code,
'OFFICE',
'PN_SPACE_TYPE',
'SECTION',
'PN_PARCEL_TYPE')
AND nvl(loc_of.space_type_lookup_code,'99') <> '07';
====================
Ps.before excute this sql, we always first excute following command.
====
begin
fnd_client_info.set_org_context(117);
end;
====
The analyst of our team is not very good at the security problem, could you help us?
Thanks a lot. -
I need the Log Report for the Data which i am uploading from SAP R/3.
Hi All,
I am BI 7.0 Platform with Support Patch 20.
I need the Log Report for the Data which i am uploading from SAP R/3.
I extract the DATA from R/3 into BI 7.0 DSO where I am mapping the GL Accounts with the FS Item. In the Transformation i have return a routine on the FS Item InfObject . I am checking the Gl code into Z table for the FS Item .
I capture the FS item from the Z table then update this FS item to Infobject FS item.
Now i need to stop the Data upload if i do not find the GL code in the Z table, and generate report for all GL code for which the FS item is not maintained in the Z table.
Please suggest.
Regards
nileshHi.
Add a field that you will use to identify if the GL account of the record was found in the Z table or not. Fx, create ZFOUND with length 1 and no text.
In your routine, when you do the lookup, populate ZFOUND with X when you found a match (sy-subrc = 0) and leave it blank if you don't find a match. Now create a report filtering on ZFOUND = <blank> and output the GL accounts. Those will be the ones not existing in the Z table, but coming in from your transactions.
Regards
Jacob -
ORACLE reports Build 10g - Data Model - query - If statement in Alias ?
I have the following select statement. It has the alias Survivors, Deaths and "All
With the ORACLE reports Build 10g - Data Model - I have the following query statement. I require the alias to change. Can the following be done.
Cases". Is it posible to use :P_LANGUAGE variable to say that -- IF :P_LANGUAGE = FRENCH THEN alias are Survivants for survivors, Décès for Deaths, Tous_les_cas for All Cases. Please advise
SELECT ALL T_NTR_MULTIBAR.CAT, T_NTR_MULTIBAR.NUM_CASES_LEFTBAR AS Survivors,
T_NTR_MULTIBAR.NUM_CASES_MIDDLEBAR AS Deaths, T_NTR_MULTIBAR.NUM_CASES_RIGHTBAR AS "All Cases"
FROM T_NTR_MULTIBAR
WHERE INSTANCE_NUM = :P_INSTANCENUM
order by ORDERSIt is no problem, you can automatically change the complete query before the report is running, which delivers you different kind of values. But the alias names does not change in the group of the data-model, although two query are running with different alias names at different times. In the data model you see the alias names of the first implemented select statement, which are the column fields in the layout.
-
SSRS report not displaying data in correct order
Guys,
I have a SSRS 2012 report not displaying returned records from SQL in the correct order. Running the stored procedure in SSMS and supplying the parameter values returns the data correctly and running Query Designer in SSRS using the stored procedure
on the dataset in question, likewise returns the data correctly. Only when I run the actual report does the data display incorrectly(always last name order). I've done similar reporting using very similar stored procedures and I've never had this
problem. Below is the stored procedure. "@SortBy" is the parameter with the sorting value. 1=Due Date; 2=Denial Amt and 3=Last name and is passed by SSRS to SQL. Wish I could supply screen shots.
Thanks for any help,
Dave
ALTER PROCEDURE [dbo].[RAC_PT_List]
@Level as int,
@SortBy as int,
@PTLName as varchar(30) = NULL,
@User as varchar(10) = NULL
AS
SELECT pat.headerID,
pat.PT_LName + ', ' + pat.PT_FName AS PTName,
pat.PT_AcctNo,
rco.RCO_CLMREF,
rco.RCO_AppealLevel,
rco.RCO_LevelNo,
rco.RCO_AuditorStatus,
let.LET_DEN_DueDate,
CONVERT(varchar(12),let.LET_DEN_DueDate) as DueDate,
let.LET_DEN_Dollars,
let.userID
FROM Master_PT_List pat
INNER JOIN Master_RCO_Work rco on RCO.PT_headerID = pat.headerID
INNER JOIN Master_Letters let on LET.PT_headerID = pat.headerID
WHERE (@PTLName IS NULL OR(pat.PT_LName LIKE + '%' + @PTLName + '%'))
AND (rco.RCO_LevelNo = @Level)
AND (let.userID = @User)
--AND (rco.RCO_AuditorStatus <> 'Closed' and rco.RCO_AdminStatus <> 'Closed')
ORDER BY
CASE WHEN @SortBy = '1' THEN LET_DEN_DueDate
END
DESC,
CASE WHEN @SortBy = '2' THEN let.LET_DEN_Dollars
END
DESC,
CASE WHEN @SortBy = '3' THEN pat.PT_LName
ENDHi DaveMac1960,
According to your description, when you render data in report, you find it always shows the data with unexpected order. Right?
In Reporting Services, if we don't set any sorting in tablix, it will order the data as your query in SSMS or Query Builder. In some scenario, for example, we add parent group for data rows, it will have the rows sort by the group on data field by default,
and the "order by" in your query will be ignored. So please check the Sorting tab in Tablix Properties, in this scenario, we suggest you delete any sorting in the Sorting tab so that the "Order By" clause can work.
Reference:
Sort Data in a Data Region (Report Builder and SSRS)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
How to create a report with survey data
Hi All,
I need to create a report with survey data in below format. Can anyone help me how to display the summary in this format.
SwapnaHi Swapna,
According to your description, you want to create a report with survey data and display the summary.
Reporting Services is used for rendering the report with data retrieved from datasource. In Reporting Services, we can retrieve data from the datasource then design a report, after the report processed, data is fixed on the report. So it’s not supported
to have the end users selection and do summary. For your requirement, it’s can’t be achieved currently.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
How to create a report without any data
HI All, <BR> Can anyone help me in writing a report without any data. I want to create a report with list of memebers from a dimension where UDA is "My UDA". I wrote a report "<UDA(CHANNEL,'My UDA')" but this fetches me data too in the report. How to eliminate the data in the report. <BR><BR>Thanks<BR>Murali
Hi<BR><BR>Assuming you are using the essbase report writer the following script will work: <BR><BR>{ SUPPAGEHEADING }<BR>{ SUPCOLHEADING }<BR>{ SUPFORMATS }<BR>{ SUPFEED }<BR>{ NOINDENTGEN }<BR>{ FIXCOLUMNS 1 }<BR> <ROW("Dimension") <BR> <UDA(Dimension,MyUDA)<BR>!<BR><BR>the fixcolumns 1 will ensure that you only get the UDA without it you will get the variable followed by the corrosponding value.<BR>
-
AP Invoice Aging Report for past date
hi guys,
I am running R12.
my requirement is to run AP invoice aging report for past dates (same like AP Trial Balance Report), but the seeded invoice aging report has no option to do so.
would appreciate some help
thanks in advance
RaviHi Senthil,
I am running R12.
my requirement is to run AP invoice aging report for past dates (same like AP Trial Balance Report
if u have any solution to this , please suggest me how to resolve this requierement.
thanks in advance
Ravi
mail:[email protected] -
XML Publisher report errors out when RDF report has no data
Hi everyone,
I created a template and attached it to an RDF. When i run the oracle report with the attached template, if the report has 'not data exists' the report is erroring out. is it the normal functionality of XML publiher??. Because i remember at my earlier client i have run some reports for which if 'no data exists' still the program would complete normal but the output would be blank.
The xml output is creating the tags for the elements.
any help appeciated.
Thanks
samHi Sam,
Yes this will happen depending on what the template is repeating on etc. You can handle this quite easily using sub-templates.
Firstly create your normal template as a sub-template (so surrounded by the <?template:TEMPLATE_NAME?> tags)
Then create a second template that contains the text "NO DATA FOUND" as another sub-template.
Create a third template (this will be your main template called by the report), which imports the two sub-templates, then using a choose statement, count the number of occurences of you main repeating group in your XML. If the count = 0 then call the "NO_DATA_FOUND" sub-template, otherwise call the normal sub-template.
I hope this helps, if you need an example I can send you one, just let me know your email address.
Regards,
Cj -
Want to schedule WebI report for End date of Prior Month
Hello Experts,
We have WebI report created on top of Bex Query, We have key date as prompt for the report. Can we schedule the webi report for key date as last date of prior month, so if current month is February, my key date should be Jan 30 2011. I am not sure if this is possible?
Thanks,
RaviYou need to apply two FM to get the end day of the month.
First you need to apply FM MONTHS_PLUS_DETERMINE. This will give you the date after 3 months.
CALL FUNCTION 'MONTH_PLUS_DETERMINE'
EXPORTING
MONTHS = 3 " << for 3 months
OLDDATE = l_start_Date " << 12/01/2007
IMPORTING
NEWDATE = l_3_Date. " << 02/01/2008
Then call the FM RP_LAST_DAY_OF_MONTHS . this will give you the end date of the month
CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
EXPORTING
day_in = l_3_Date " << 02/01/2008
IMPORTING
last_day_of_month = l_3_Date " < 02/29/2008
EXCEPTIONS
day_in_no_date = 1
OTHERS = 2.
Call both FMs again to get your another date(after 4 months).
Regards,
Naimesh Patel
Maybe you are looking for
-
I have had to restore my ipad to factory settings, having made a backup on my pc first. When Ihave tried to restore from my pc I have no apps!! Please can anyone help me get them back with all their data. I don't have wifi at home and I have never be
-
Clear one time customer against normal vendor in F110
Hi Gurus, I am trying to see if it is possible to clear one time customer against normal vendor in F110. Customer and vendor have been linked and clearing with customer/vendor have been ticked. Customer invoice of $100 and vendor invoice of $150 have
-
MacBook Air (2008) screen contents on iMac (2011)
I have a MacBook Air from 2008 and I would like to connect it up to my 2011 iMac so that it displays the contents of my MBA on the iMac's screen. I saw that this is easily achieved with a Thunderbolt cable, but my MBA doesn't have that option: http:/
-
OK, l'm certainly a lost newbie on this one! I want to reduce a short QT.dv movie, about 816mb, to a smaller window size (320 x240) using much less memory. Is for example MPEG1 ("muxed") the answer? If so, how do I do that? Or any other suggestions..
-
Hi, How do you send an attachment to a work item, at the time when the work item is created in the inbox