Data Link question
hi all,
just wanted to know what is the purpose of a data link that does not link columns from 2 queries.
it only linked groups instead.
thanks.
allen
Hi friends i have to query in reports9i
Query 1.
SELECT g.id as challan,g.issue_date,gd.item_type,g.sale_order_id,g.supplier_name,g.prod_name,g.colour,g.xs,g.s,g.m,g.l,g.xl,g.pcs,g.issue_for FROM
gin g,gin_detail gd
where g.id = gd.id
and g.id = :p_id;
Query 2.
SELECT rownum,id,name,issue_qty,unit FROM
item,gin_detail
WHERE item.code = gin_detail.item_code AND
id =:challan;
i have two two repeating frames and set the field
Query1 as master and Query 2 as detail
and the result is ok on reports when i call through forms it will not show the desired result
second query is not showing any result
thanks
vikas singhal
Edited by: vikas singhal on Jan 31, 2009 2:14 AM
Similar Messages
-
Data links Questions on Reports Builder
We are currently using Reports Builder 10.1.2.3.0. We are trying to create a topology report. So, we have about 5 queries in the data models which are linked using a query links with Child Destination column in the child query.
So, here is the example:
Q1 --> Q2 (joined with Q1 child) --> Q3 (joined with Q2 child) --> Q4 (joined with Q3 child)--> Q5 (joined with Q4 child).
So, the problem we are experiencing is when Q2 has same child twice, the Q2 query is actually sending the same child id to Q3 twice (or however many times its repeating). Is there any way to distinct the child so we get only one child sent to Q3?
Here is an example:
Q1
Parent Child
A1 B1
A2 B2
A3 B3
Q2
Parent Child
B1 C1
B1 C2
B2 C1
Q3
Parent Child
C1 D1
C1 D1
C2 D3
Any help or suggestion would be greatly appreciated. Thanks.
Edited by: user613427 on Dec 12, 2011 1:17 PMYou are on the right track, here is how our structure looks like:
Query1
Street, City
Query 2
City, State
Query 3
State, Country
And Queries are linked using group links.
Here is an example:
Query 1 results:
Street1 City1
Street1 City2
Query 2 results:
City1 State1
City1 State2
City2 State3
City2 State1
Query 3 results:
State1 Country1
State1 Country1
State2 Country4
State3 Country5
Note: example is not realistic, i know. just wanted to give you picture.
So, the repeating frame for Query3 gets Stateid from Query2 one by one rather than collect it and distinct it, hence the duplicates. I hope this explains it. -
BPC 7.5NW External Data Links
Hi All u2013
This question is in regards to a BPC 7.5 NW (SP8) input schedule stored in BPC with externally linked MS Excel 2007 spreadsheets stored outside BPC.
I have built an input schedule (which is stored in a team folder) and linked external excel spreadsheets into the schedule. My EVDRE is in Sheet1. Sheets2 u2013 5 contain the links to my non-BPC workbooks.
My problem is that when I use the u201CSend and Refresh Schedulesu201D u2013 u201CActive worksheetu201D, multiple windows pop-up for updating the links in the non-active (external data linked) worksheets. Does anyone have a better way to link data external to BPC in a schedule or report? If not, is there a way to stop these pop-ups?
Thank you!Hi,
Can you try as follows:
workbook options> Refresh Options> Check EVDRE : Refresh by Sheet.
Hope it helps..
regards,
Raju -
Excel Error When Using Microsoft Data Link
I have a user who is running the following:
Windows 7 w/64 bit OS
MS Office 2010
SAS 9.3 Software
They created a database in Excel and have integrated the information with SAS 9.3 database.
For some reason, now when they try to 'Refresh' data in the Excel spreadsheet, Excel
freezes and then crashes.
I believe it's because the 'Microsoft Data Link' is failing, during set-up. Below are
the error messages they get, when trying to set-up the 'Microsoft Data Link' with the
SAS 9.3 software:
ERROR MESSAGES:
1. Microsoft Data Link Error: Test connection failed because of an error in setting the
window handle property. Multipl-step OLE DB operation generated errors. Check each OLE DB
status value, if available. No work was done. Continue with test connection? Yes or
No.
2. Microsoft Data Link: Test connection succeeded but some settings were not accepted by
the provider.
I don't know where to begin troubleshooting this issue, as I don't use the SAS
9.3 software, nor have I ever attempted to use the 'Microsoft Data Link' option in
Excel.
TROUBLESHOOTING I'VE TRIED:
Repair of MS Office 2010
Uninstall/Reinstall Excel 2010
Any assistance would be appreciated.Hi,
In regarding of the issue, please provide us more information to assist you better.
Did this issue occur with other database program? Such as Access, SQL sever or other?
If the Excel still crashes, I recommend we collect the Event log and App crash dump file to do further troubleshooting. You can try to analyze dump by
yourself if you would like to:
How to analyze app crash dump file:
http://blogs.technet.com/b/askperf/archive/2007/05/29/basic-debugging-of-an-application-crash.aspx
Also you can send them to us via Email ([email protected])
If the issue occur with the SAS 9.3 software, I recommend you connect it's provider or support to get more help.
Did you
use 'Microsoft Data Link' like this?
If it was, we may need to debug the connecting string, you can post the question to Visual Studio forum.
Hope it's helpful.
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Hi,
My professor is giving me a hard time by asking to explain the FC data link layer in detail (addressing etc). Please help me.
Thanks!Hello,
The TechNet Wiki Forum is a place for the TechNet Wiki Community to engage, question, organize, debate, help, influence and foster the TechNet Wiki content, platform and Community.
Please note that this forum exists to discuss TechNet Wiki as a technology/application.
Since your post is off-topic, I am moving it to the
off topic forum.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
Data archieving questioner required
Dear All,
We have been approched by one of our cleint for DATA ARCHIVING from R/3 system.
Management has pushed my name in this.
Requirement is to prepare DATA ARCHIVING QUESTIONER template.
Can please anybody help me out in this regard from MM point of view.
Thanking you in advance.
Regards
Nasir Chapparband.Hi,
Refer following link;
[http://itmanagement.earthweb.com/datbus/article.php/3109221]
SAP Data Archiving
1.0 Introduction to Enterprise Data Archiving
Currently, a large number of enterprises use SAP R/3 as a platform for integration of business processes. The continuous usage of SAP results in huge amounts of enterprise data, which is stored in SAP R/3. With passage of time, the new and updated data is entered into the system while the old data still resides in the SAP enterprise system.
Since some of the old data is critical, it cannot be deleted. The difficulty is keeping the data you want, and deleting the data you do not want. Hence, a SAP database keeps on expanding rapidly and enterprise systems, which have limited data retention abilities for a few years, suffer from problems such as data overflow, longer transaction processing times, and performance degradation.
The solution of this problem has led to the concept of Data Archiving in SAP. Data Archiving removes out-of-date data from the SAP database that the R/3 system does not need online, but can be retrieved on a later date, if required. This data is known as archived data and is stored at an offline location. Data Archiving not only consistently removes data from the database but also ensures data availability for future business requirements.
One rule of thumb is that in a typical SAP enterprise system, the ratio of data required to be online and instantly accessible to old data, which could be archived, and stored offline is 1:6. For example, if an enterprise has 2100 GB of SAP database, the online data, which is frequently used by SAP users will be 300 MB and the rest (1800 MB) will be scarcely used and hence can be archived.
1.1 Data Archiving u2013 Features
It provides a protection layer to the SAP database and resolves underperformance problems caused by huge volumes of data. It is important that SAP users should keep only minimal data to efficiently work with database and servers. Data archiving ensures that the SAP database contains only relevant and up-to-date data that meet your requirements.
Data archiving uses hardware components such as hard disks and memory. For efficient data archiving, minimum number of disks and disk space should be used.
It also reduces the system maintenance costs associated with the SAP database. In the SAP database there are various procedures such as, data backup, data recovery, and data upgrade.
SAP data archiving complies with statutory data retention rules that are common and well-proven techniques.
SAP data archiving can be implemented in two ways. In the next section both options will be discussed in detail.
Also refer following link;
[SAP Data Archiving Tutorial|http://www.thespot4sap.com/articles/SAP_Data_Archiving_Overview.asp] -
Can't see the ESS Additional Personal Data link within Personal Information
Hi All,
For some reasons, I can not see the Additional Personal Data link within the ESS Personal Information iView. I have checked the Homepage framework and the existence of the iView in the PCD and everything appears to be fine.
Do I need to assign any additional infotype to my id or give myself specific authorisations to see this link?
I would really appreciate if you could provide an answer to my query.
Thanks,
VibhuHi,
I think mostly you have maintained the data in PA30 Transaction and had data in Info type 0105.
After this try to check with your EA-HR patch and SAP HR patch in the services. If both are not maintained at the same patch levels such type of problems will occur.
Regards,
kishore. -
Issue using data link in XML Publisher
Dear All,
I am new to XML Publisher, for the first time trying data link concept in XML Publisher tool. The issue is very simple, I have two queries Q1(say it fetches sales_order_number, application_name ) and Q2 (say it fetches sales_order_number , error_number, error_description). And sales_order_number is passed as input using data link to Query Q2 from query Q1 and Q2 will retrive more than one row for a given sales_order_number.
Say for a given dept_name 1001 the output will be something similiar like
Q1:
SO# | Appl.Name
1001 | 'Invoice '
Q2:
SO# | Error.# | Error Desc
1001 | 1512 | No Data Found
1001 | 1513 | Invalid Entry
1001 | 2674 | Error while inserting the record
and the query which I have used in XML template goes like this
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[select sales_order_number, application_name
from T1
where sales_order_number = :in_sales_order_num]]>
</sqlStatement>
<sqlStatement name="LINES">
<![CDATA[
select sales_order_number , error_number, error_description
from T2]]>
</sqlStatement>
<link name="Dummy_LINK" parentQuery="Q1" parentColumn="sales_order_number" childQuery="Q2" childColumn="sales_order_number" condition="="/>
</dataQuery>
<daraStructure/>
And the grouping is as follows
<group name="G_Q1" source="Q1">
<element name="sales_order_number" value="sales_order_number"/>
<element name="application_name" value="application_name"/>
<group name="G_Q2" source="Q2">
<element name="sales_order_number" value="sales_order_number"/>
<element name="error_number" value="error_number"/>
<element name="error_description" value="error_description"/>
</group>
</group>
And in the RTF template I have properly used <?for-each:G_Q1?> <?for-each:G_Q2?>- --
<?end for-each?><?end for-each?>
Ideally the header (Q1) should have one row and the lines (Q2) should have 3 rows. But the issue here is even Q1 produces 3 rows.
If in case Q2 has 4 records, then Q1 also plots 4 records in the report output. Hope I am explaining the issue correctly. Any help to resolve the issue would be a great. Thanks in advance.
Regards,
Antony.try like this
<?if: (TYPE='A') or (TYPE= 'B')?><TABLE STRUCTURE><?end if?>
or
<?if:contains('A~B', TYPE )?><TABLE STRUCTURE> <?end if?> -
Convert data link between one query's group and another querys group to SQL
Hi
I have a report where there are 2 query Groups. These 2 query groups r linked by data link. How do i combine these queries to One query so i can use it as a SQL query.
ThanksHi,
Assume that we have two queries Q1 and Q2 and the common column between the two queries is "comn".
Now we can convert the datalink into SQL as follows:-
SELECT *
FROM
(Query for Q1)a,
(Query for Q2)b
WHERE a.comn=b.comn(+)
Note: "a" and "b" are alias names for Q1 and Q2. -
Hi,
What is the significance of group level data links in oracle reports?How is it different from data links that select column from each groups?
ThanksHi user;
Please check below and see its helpful:
[Link 1|http://download-west.oracle.com/docs/html/B10602_01/toc.htm]
[Link 2|http://www.oracle.com/technology/software/index.html]
[Link 3|http://download.oracle.com/docs/html/A73172_01/output/bawor_re.htm]
[Link 4|http://www.softwaregeek.com/reports-oracle-10g/p1.html]
Regard
Helios -
Can Data Links be established between Data sets based on View Objects?
Hi all,
In the BI Publisher Documentation it's given that Datasets based on view object queries do not support Data Links / Group Links. We found out that only way to establish relationship between view object Datasets is to create a view link and then upload it to create a Dataset.
1. Is there any other way to establish relationship between view objects Datasets in DataModel editor itself just as in the case of data sets based on (SQL queries e.t.c.)?
2. If so can View object Datasets be linked to Datasets based on other Datasources?
3. Will the Datalinks for View object Datasets be supported in any of the upcoming releases. Is there any ER logged for this case?
Any insight on the above issues will be really helpful.
ThanksEnhance the data source with date and time and populate these fields in the user exit using the function module IB_CONVERT_FROM_TIMESTAMP .
OR
You can create Z function module IB_CONVERT_FROM_TIMESTAMP in BW side and write a routine in update rules/transfer rules to populate date and time.
hope this helps ...
Ravi -
"Exception Processing Message" error when clicking the Accessing Server Data link on the start page
When I first started the application, I click the Accessing Server Data link on the start page. I immediately got the error "Exception Processing Message c0000013 Parameters 75b6bf7c 4 75b6bf7c 75b6bf7c in a dialog box titled "Windows - No Disk". I had to used Task Manager to remove the box after closing Flash Builder 4. I then tried the video tutorial on "PHP Services in Flash Builder 4". I keep receiving an error during service introspection trying to connect to the PHP class. It was the same error as the other individual "Cannot Connect to PHP Service". So I tried another tutorial and generated a sample PHP class. I moved a datagrid on to the stage, droped in the getAllItems function, and configured the return type. However, when I ran the app, I received the same error "Exception Processing Message" again. I have attached the screenshot of the error in addition to my phpinfo and log files.
"The exception process message" is definitely a issue. Is it happening consistently, if so can you file a bug at bugs.adobe.com/flex and give out your machine config details, and the error log.
With regards to generating a new php file and the introspection error that you are getting, looking at the logs it probably is two fold.
First off the name of the file and the class name should be the same, are you having employeeServices as the name of the class in employeeServices.php file.
Second, It seems prior to generating this new file, you had a syntax error at line 5.
It would be easier to figure out what the error is, if you can also attach the php file, by removing any sensitive information in that.
Hope this helps.
Thanks
-Sunil -
Data Link Properties wizard doesn't display correctly.
Hi, This is Dai.
I'm using Oracle DB.
When I try to create configuration of Identity Center and to config DB connection, Data Link Properties wizard doesn't display required DB provider.
The document of "SAP NetWeaver Identity Management Identity Center Getting Started" discribes that I should choose "Oracle Provider for OLE DB", however, I can't see it in the providers list.
The list of DB provider is below.
Microsoft Jet 4.0 OLE DB Provider
Microsoft OLE DB Provider for Indexing Service
Microsoft OLE DB Provider for ODBC Drivers
Microsoft OLE DB Provider for Oracle
Microsoft OLE DB Provider for SQL Server
Microsoft OLE DB Simple Provider
MSDataShape
OLE DB Provider for Microsoft Directory Service
And I want to select "Oracle Provider for OLE DB". Are there any settings or configs before this configuration? If you have some information, please help me.
Best Regards,
Daisuke IkariThank you, I installed 32 bit client. And it's working now
But now after IC initial configuration there is one more error which says-
"this identity center database is not migrated to 7.2" And when i refresh the node it also says -
"this version of identity center requires that database update 1035 is installed. the latest update installed is 1025"
I have also attached the screenshot for the same below, I also ran update-mxmc.cmd to update DB.But still same error.
please help,
Indira -
Using Oracle Report Builder 10g(Report Builder 9.0.4.2.0), and trying to create a manual data link between two queries. But the problem is that whenever I create a manual data link between two queries my report builder shutoff with this message ârwbuilder.exe has generated errors and will be closed by windows. You will need to restart the program. An error log is being created"
Thanks in Advance...Mohsin,
I am using 9.0.4.0.33 and never faced this kind of problem. Did you install any patch?
Are you modifying existing report or creating a new one? -
Why do I get the symbol data link in the query_name of the data model
If I use an inline subquery within the SELECT of a data model query, the symbol data link appears in the query_name of the data model.
This causes the data link between two queries not to be used even if there is an existing link between the two. The trace file doesn't
have that join condition and so the child query in which the inline subquery was added fetches many redundant data.
Any idea what that symbol represents and how to get rid of it. It also appears during other times, not only when we use inline subquery
within a SELECT. Not sure if it can cause any harm to the report.
The problem is seen in Report Builder 6.0.8.19.0. Not sure if the problem is with other releases also.
Any suggestions are welcome.I am living with the symbol in the query box as well, because my report only has a single query. My query also has several inline subqueries. I had never seen this before last week, spent a day re-reading the manuals and couldn't figure it out.
My post is not a solution, but a "me too" echo that could use an answer.
Troy Tremble
If I use an inline subquery within the SELECT of a data model query, the symbol data link appears in the query_name of the data model.
This causes the data link between two queries not to be used even if there is an existing link between the two. The trace file doesn't
have that join condition and so the child query in which the inline subquery was added fetches many redundant data.
Any idea what that symbol represents and how to get rid of it. It also appears during other times, not only when we use inline subquery
within a SELECT. Not sure if it can cause any harm to the report.
The problem is seen in Report Builder 6.0.8.19.0. Not sure if the problem is with other releases also.
Any suggestions are welcome.
Maybe you are looking for
-
I would like to use Find My Phone for friends and family to follow me during the NYC Marathon next week. Is there a way to set up or temporarily change my User ID and Password for this purpose?
-
Process For Electricity Bill Payment in SAP
We need to deploy an automated process for electricity bill payments for a customer. What is the best practice that could be followed to automate electricity bill payments where the electricity service provider just auto-debits the customer based on
-
Need Days in 2010 instead of Hours
Rule X935 is giving error when Calling Time Units in variable Key I got the solution When rule x935 was going to start its calling time units via XEINCH How to transfer that to WTUNT , Wage type units. Please let me know
-
Phone does not ring although settings on and sound works
Phone does not ring when called; however, sound works
-
Can I creat motion tween on time line using as2?
Hi! I want to do effect on spinning of images?? so that is possible or not? Thanks, JaxNa