Ref query / Reports 3.0
Hi everybody,
I want to create a ref cursor query question in Reports 3.0 and
fetch the results to a variable. Then I want to call another ref
query question and send my variable to it as a parameter.
(select * from table_b where my_variable.field_a =
table_b.field_b). Is there any way to do it? You cannot pass
parameters from ref cursor query to another. Neither can you
declare your ref cursors as globals in your package.
Thanks
/Kari
null
JP (guest) wrote:
: Can anyone help me with Reports 3.0? I'm changing the Data
Model
: and want those changes to be reflected on Layout. (in Reports
2.5
: this used to be done via Default Layout, it used to display a
: Warning and after acceptance it used to change the layout
: according to new Data Model). How to do the same in Reports
3.0?
: Thanks in advance
: JP
The only way I've been able to do this is to go into the layout
editor and from the Edit menu pick 'select all' and delete
everything. Then go into the margin and do the same thing. When
you click the 'run' icon you will get a message that says
'You cannot run without a layout. Would you like to create a
default layout?'. Not pretty but it works, hope this helps.
Karen
null
Similar Messages
-
Hi,
Any book that can be suggested for report writer/report painter & query reporting.. that contains almost all for reporting without programming..
Thanks in advance...
Vipin Arora..Hello Vipin,
Sap Query
The SAP Query application is used to create reports not already contained in the default.
The SAP Query comprises five components: Queries, InfoSet Query, InfoSets, User Groups and Translation/Query.
Please refer:
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
A query can be created to extract information from master records i.e Infotypes.
<u>Creation of new query:</u>
1. T.Code SQ03 - Select Environment Select Standard Area - Enter -- If new user group is to be created, enter name of the user group, click on create and enter necessary information and exit after saving
2. T.Code SQ02 - Enter name of the Infoset Create enter name of Infoset
3. T.Code SQ03 - Select user group
Infoset - Enter name of newly created Infoset
Assign users and Infosets - Assign infosets
After creating a query use SQ01 & run.
<u></u> -
How to Use MAX condition using Query Report
Hi SAP Abap Expert,
Can we use the MAX condition in Query Report (SQ01/SQ02) ?
I have created one sample query using table VBRP and VBRK then i need to use max condition to get the MAX record in VBELN.
Please Help ???Hi Ashishsingh,
According to your description, you want to know how to use MAX function in SQL Server Analysis Services MDX Query, right? In this case, please refer to the link below which describe the syntax and sample of MDX function.
http://technet.microsoft.com/en-us/library/ms145601.aspx
http://www.mdxpert.com/Functions/MDXFunction.aspx?f=64
Hope this helps.
Regards,
Charlie Liao
TechNet Community Support -
Description change in query report selection criteria
I created a query report with certain criteria but in that i suppose to change the description .
for example
Posting date greater than
Posting date lesser than
but i need this selection criteria
as
Posting date from
Posting date to
regards
kavithaHi Kavitha,
Unfortunately, it is not possible to change the system field description.
Refer to this thread
Re: Parameter Display Name Reg.
Regards,
Vijay Kumar
SAP Business One Forums Team -
SAP QUERY report for vendor line items
Hi
I have created a SAP QUERY report for vendor line items with fields vendor no.,vendor name,amount,company code and period.But there is one line item i donot know from wher system is getting it picked with is not in that vedor account,when i compare with fbl1n.I checked the document number too...the same doc number is twice in my query report.One with correct amount and another with wrong one.How do i chk.Where did i go wrong in creating query.I used logical database KDF.
Please advise.i chked...how do we get the amount displayed in query...it just displays amount no debit credit symbol... i have selected BSEG-DMBTR field but no -/+ sign,how is it done in query,please suggest.
-
The problem about integrate Portal and R/3 : vendor query report problem
Hi everyone :
We want to achieve that our vendor can query R/3 report via our Portal. I had done SSO configuration.
But we had about 500 vendors, it is impossible that we create 500 R/3 users for our vendors, because the cost is too much .
And there is another problem, vendor who had the authorization to query report can query the other vendor's data at same time. But we expect that certain vendor can query his data only.
I think this is a general problem when integrate Portal and R/3, BW .
Is there somebody had solved this problem or give any advice?
Any discuss is welcome.
Best Regards,
Jianguo ChenHi,
I would say: get in contact with your SAP account manager anc check which options SAP can offer you...
Normally every user using a R/3 system has to have a valid user license in that system. Expecially when you want to access control to data on user (vendor) level you nedd to identifiy the user clearly and uniquely which by standard means you need a user for every vendor.
Hth,
Michael -
How to copy existing query report into new query report in SQ00
Hi Experts,
Hi Experts,
I want to add fields "company code" "'region" to existing query report AQZZ/SAPQUERY/FKF1============
(list of vendor address) for this i done as following:
1.In SQ01 go to "EDIT->other user group" and i selected user group as /SAPQUERY/FK
2.I typed F1 in query field and click change button
3.I clicked next screen button and entered into "change query f1: select fields screen".here i clicked "basic list" button and searched company code checkbox and saved it as result company code is appearing in the standard report"AQZZ/SAPQUERY/FKF1============"
but unfortunately there is no region field(LFA1-REGIO) for this i think i should copy the existing query report into new query report(Ex:Z_LIST_OF_VEND) which should be 14 characters.please tell me briefly how to do this because this is first time i am using SQ00.
one more issue is when i selected "edit-otheruser group" and choosing /SAPQUERY/FK i am getting only infoset "/SAPQUERY/FIKD" but i should need Info set: "/SAPQUERY/FIDD" please tell me how to add the previous one into user group.i think if i got /SAPQUERY/FIDD into usergroup /SAPQUERY/FK i can add region also into Query report as i mentioned above by going SQ01 ...............................
please help regarding this which should be very beneficiary to my carrier.
Regards,
nareshHi Experts ,
I solved issue by changing infoset in SQ02 by means of assigning field to field group and changed the query in SQ00.
Regards,
naresh. -
Dear all,
We are on SAP B1 2007 PL42 and using Moving average as our cost valuation method.
It doesn't have an inbuilt stock aging report, I have searched through the forum but none of the queries arebshowing the correct aging of stocks. Could anyone have a query/report/addon for stock aging?
Kind Regards,
AsifHi,
Try this one,with warehouse code as input parameter
select b.code, b.name, b.Wh, b.Bal, b.Val,
isnull(case when b.days <30 then b.bal end,0)'0-30 Days' ,
isnull(case when b.days between 30 and 60 then b.bal end,0) '30-60 Days',
isnull(case when b.days between 60 and 90 then b.bal end,0) '60-90 Days',
isnull(case when b.days between 90 and 120 then b.bal end,0) '90-120 Days',
isnull(case when b.days between 120 and 150 then b.bal end,0) '120-150 Days',
isnull(case when b.days between 150 and 180 then b.bal end,0) '150-180 Days',
isnull(case when b.days >180 then b.bal end,0) 'Above 180 Days'
from (
select a.code,a.name,a.wh,a.bal,a.val,datediff(dd,dt,getdate())'days'
from (
select max(t0.itemcode)'Code',max(t0.Dscription)'Name',
max(t0.Warehouse)'Wh',
sum(t0.inqty-t0.outqty)'Bal',sum(t0.transvalue)'Val',max(t0.docdate)'dt'
from oinm t0 inner join oitm t1 on t0.itemcode=t1.itemcode
where t0.warehouse='[%1]'
group by t0.itemcode
)a
)b order by code -
Query Report:To Retrieve Data from A/R Invoice and A/P Invoice
Hii Experts,
I am a new Sap B1 Trainee.I am facing a problem when retrieving data from A/R Invoice and A/P Invoice in order to track
Expenditure and Revenue according to a Bussiness partner,
I am using union to retrieve the information,but it is saying a error that Error Converting Varchar to Numeric and also
i would like to know how can i show the total final payment by reflecting Downpayments in A/R Invoice and A/P Invoice
With Regards
Cherry.Hii.
My Sap B1 version is 8.8.1 and patch level is 20. Actully i need a scenario where i can able to show both Expenditure and Revenue of a particular bussiness partner and profit/loss in a single query report.
I need some tips regarding this,When i am doing union i am getting conversion error converting varchar to numeric when i take
Sum(Line Total) from OINV and Sum(line total) OPCH group by docdate and docentry and BP .
and another scenario is how to deduct A/P downpayment or A/R downpayment from A/P invoices and A/R invoice to get the final Revenue and Expenditure ..
Thanks & Regards
Cherry -
SQL Query report region that only queries on first load
Hello all,
Is there any way in which you can prevent a SQL Query report region from quering data after every refresh?
I would like to make a report that queries on the first load, but then I would like to change the individual values, and reload to show the change, but every time I reload the page the columns are queried and the original values are displayed once again...
any ideas?
-MuxChet,
I created a header process to create the HTMLDB_COLLECTION. It is something like:
HTMLDB_COLLECTION.CREATE_COLLECTION_FROM_QUERY(
p_collection_name => 'Course_Data',
p_query => 'SELECT DISTINCT COURSE_ID, HTMLDB_ITEM.CHECKBOX(14,COURSE_ID) as "checker", TITLE, SUBJECT, COURSE_NUMB, SECTION, ENROLLED, null as "temp_term", null as "temp_title", null as "temp_crse_id", null as "temp_subj", null as "temp_crse_numb", null as "temp_sect", FROM DB_TBL_A, DB_TBL_B, DB_TBL_C, DB_TBL_D, DB_TBL_E, DB_TBL_F WHERE ...');
The names were changed, for obvious reasons.
I then created an SQL Report Region to see if it would work. The SQL is:
SELECT c001, c002, c003
FROM htmldb_collections
WHERE collection_name = 'COURSE_DATA'
When I run the page it says:
ORA-20104: create_collection_from_query Error:ORA-20104: create_collection_from_query ExecErr:ORA-01008: not all variables bound
Any idea why this is happening?
I'm new to HTMLDB_COLLECTIONS, so I may be doing something wrong
-Mux -
SCCM 2012 Query report for specific software installed.
I have Reporting point installed and it seems to be working as I was able to run OS reports.
Here's what I would like to do.
1. I need a query/report to show us all the machines that do not have Microsoft Forefront Endpoint Protection installed.
2. I also need a query/report showing what machines still have Sophos AV installed.
Any help is greatly appreciated it.
Thanks,
VoevI was not able to use the Reporting to get computers without FEP installed. So I did a workaround.
Create Device Collection for computers with FEP installed
1. Device Collections => Create Device Collection =>name it "Computers with FEP installed=> Query Rule Properties => Edit Query Statement => Criteria tab => Add the following statements
Criterion Type: Simple value
Where: Installed Software - ARPDisplay Name
Operator: is equal to
Value: System Center 2012 Endpoint Protection (as appeared in Add/remove program name)
Create Device Collection for computers without FEP installed
1. Device Collections => Create Device Collection => Name "Computers without FEP Installed" => Query Rule Properties => Add Rule => Include Collections => Tick "All Systems" => OK => then you need to add
the Exclude by => Add Rule => Exclude Collections => Tick " Computers with FEP Installed => OK
So in my "All Systems" Collection has 1000 members
Computers with FEP Installed collection has 900 members
Computers without FEP Installed collection has 100 members
Add the with FEP installed & without FEP installed collections together is equal to 1000 members of the All Systems. -
UDF Value is not coming in the query report
Hi all,
i have designed query report based on AR Invoice which has some UDF .
all udf have FMS applied and all these udf has values.
when i run report some times udf values are coming in the report and somtimes not even if udf contains values.
if i open perticular invoice and again update that udf and again run report now udf value will come in the report.
every time i need to manualy update the udf even if that udf contain value.
how to avoide this problem.
Pls suggest solution.
Regards,
ChetanHi Chetan,
Try this,
-> Open the require document(module).
Assign this procedure and then ADD the document
and Run the Query Report.
1. Goto the UDF and Click (ShiftAltF2).
2. Select the SEARCH BY SAVED QUERY.
3. Assign the FMS Query in UDF.
4. Select the AUTO REFRESH WHEN FIELD CHENGES.
5. Select the Auto Refresh Field (for example CardCode (or) Remarks).
6. Check the Display Saved Values.
OR
-> Open the require document(module).
1. Goto the UDF and Click (ShiftAltF2).
2. When will you add the document at that time
you can Click the SHIFT + F2 and than ADD the document.
and than Run the Query Report.
Regards,
Madhan. -
Setting a Default Value in SQL Query Report
Hello:
We are using a SQL Query Report to provide a mass update to a table. We are using the apex.collection and having it display a number of records in a SQL Query Report for mass update. We have 14 columns in the report, for which the first 11 are populated via the collection. The remaining 3 are open for input but the individual making the updates. We've were able to provide a default value for 2 of the remaining 3 columns using a named LOV's - however the fourth column we would like to default a sysdate - but we are not successful.
We've attempted many things but none seem to work, including adding that column to the collection and assigning it a default sysdate value. We've also tried changing the settings in the report attributes --> Tabular Form Elements by setting the Display as to: Datepicker, Default type to PL/SQL Expression and setting the default to sysdate. We've also tried caputuring a date on the previous page and loading it onto the report page and trying to default the date column to a page item default.
I'd appreciate any help.
Thanks
FYI - we are using version 3.2use as default
to_char(sysdate, 'dd/mm/yyy') where the format is your application or item date format -
Can't select any value in radio to query report.
Dear Support,
About BI-BASE-B version is 1000.7.40.2.20.20130621014800 in portal,when we select value in radio to query report which lend to white screen,so i think that may be issue.But if i set manual value to query report,it is fine.So Connection is available for system NBPCLNT800 in portal.
error msg:
#2.#2014 03 30 20:16:38:377#+0800#Error#/Applications/BI#
#BW-BEX-ET-WJR#sap.com/com.sap.ip.bi.base#C000C0A8183501B60000000300007621#118639550000000004#sap.com/com.sap.ip.bi.web.portal.integration#com.sap.ip.bi.base.portal.connection.Localization#SYSADM#26##100FCD4DB80411E39272000007124BBE#113b773bb80511e3c097000007124bbe#113b773bb80511e3c097000007124bbe#0#Thread[HTTP Worker [@847096065],5,Dedicated_Application_Thread]#Plain##
BI exception with class "ConnectionException" and message "Connection is not available for system NBPCLNT800". See default trace for log ID "null".#
ThanksHello Tom,
could you please close this thread properly, so that others can find the solution, too? Please have a look at the blog How to close a discussion and why if you're unsure on how to do that. Thank you!
Regards,
Steffi. -
Exporting a query report in Excel gives a wrong value.
Hi All,
After running the query report, from the menu path, I do List > Export > Spreadsheet. At that point, you can save the file and Excel opens up. The value for the amount are displaying with additional zeroes
For example 14,000.00 is dispalyed as 14,000,00.00
Please let me know the if you have solution for this are related OSS note for this
Thanks,
Karthikeyan.Hi David,
Thanks for your response.
The OSS notes are related to ALV display where when i check with other ALV program and export it is giving a correct total.Where when i download the qurey report in excel using file-> export to option i am getting a additional zeroes.
Please let me know if there is any other solution for this.
Thanks for your help in advance.
Thanks,
Karthikeyan.
Maybe you are looking for
-
Hi Abapers, I copied the standard PO /SMB40/MMPO_A to ZForm, and customized like changing logos,address,footer etc.., after activating the form and while print previewing the standard purchase order all details displaying including heade
-
Premiere Elements 10 will not open in Windows 7 64-bit
I used it last week with no issues. Today, however, I tried to open it, and after clicking on the New Project button in the welcome screen, nothing happened. It acted like it was opening the program, but then it went from the loading bar to displayin
-
Need a program for Y/Z report (extended report ) in START_REPORT
Hi, Am trying to execute a Y transaction (report ) which is called by start_report transaction. Pls find the details below. D_SREPOVARI-REPORTTYPE= RE D_SREPOVARI-REPORT= D_SREPOVARI-EXTDREPORT= KP 01RPSCO_X Z12KST1D4 I want to
-
Why is the time different on my iphone4 for messages and reminders to the actual time on my phone
I have had to set the time zone on my phone manually as it is wrong. so now that shows correctly. However when i set a reminder and get messages. They show up as a different time zone altogether. So my reminders are coming through 12 hours too late.
-
How can I get thumbnails of individual pages in the left margin of Acrobat 8?
Hello:. I am not sure of the term, but in the past, when I opened a PDF in Acrobat 8, in the left margin, it showed "thumbnail" images of each individual page. I was able to jump from page to page without scrolling through the larger PDF image, and a