Query Manager Issue

Hello everybody.
I'm having a problem with the Query Manager.
If i put this query on the manager:
Select * from [dbo].[OITM] where itemname = '[%0]'
the variable don't show any imput box, and an error message appear on the StatusBar. The error haven't message.
Thx,
Sergio Alejandro Masolini

Thx for the help, but i still having the error.
The real query is:
select * from (SELECT
A.DOCENTRY as NroDocumento,
max(A.DOCDATE) AS FECHA,
max(CASE WHEN A.U_TGV_FLETTER = 'A' AND A.U_TGV_ACC_ORD_FLAC <> 1 THEN '1'
WHEN A.U_TGV_FLETTER = 'B' AND A.U_TGV_ACC_ORD_FLAC <> 1 THEN '6'
WHEN A.U_TGV_FLETTER = 'C' AND A.U_TGV_ACC_ORD_FLAC <> 1 THEN '11'
WHEN A.U_TGV_FLETTER = 'E' AND A.U_TGV_ACC_ORD_FLAC <> 1 THEN '19'
WHEN A.U_TGV_FLETTER = 'M' AND A.U_TGV_ACC_ORD_FLAC <> 1 THEN '51'
WHEN A.U_TGV_FLETTER = 'A' AND A.U_TGV_ACC_ORD_FLAC = 1 THEN '60'
WHEN A.U_TGV_FLETTER = 'B' AND A.U_TGV_ACC_ORD_FLAC = 1 THEN '61'
WHEN A.U_TGV_FLETTER = 'C' AND A.U_TGV_ACC_ORD_FLAC = 1 THEN '62' ELSE 'NA'
END) AS TIPOCOMP,
max(isnull(Convert(varchar,isnull(A.U_TGV_FOLIO_PREFIX,'0')) + '-' + Convert(varchar,A.folionum),'')) AS NUMCOMP,
max(isnull(A.CARDNAME, '')) AS RAZONSOCIAL,
max(Replace(LICTRADNUM,'-','')) AS CUIT,
round(sum(case when a.U_TGV_TVAT_POS_BP = 'EX' then 0 else case when b.vatprcnt = 0 then b.linetotal else 0 end end), 4) as NOGRAVEXCENTO,
round(sum(case when b.vatprcnt <> 0 then b.linetotal else 0 end),4) as IMPGRAVADO,
max(b.vatprcnt) as ALICUOTA,
round(sum(b.vatsum),4) as IVA,
round(sum(case when a.U_TGV_TVAT_POS_BP = 'EX' then b.linetotal else 0 end),4) as OPEXENTA,
max(round(ISNULL(AA.TOTAL, 0),4)) AS PERCIVA,
max(round(ISNULL(BB.TOTAL, 0),4)) AS PERCIIBB,
'1' AS CONSULTA
FROM [dbo].[OPCH]  A
INNER JOIN [dbo].[PCH1]  B ON A.DOCENTRY = B.DOCENTRY
LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                   INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                   INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                   WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 1
                                   group by A.DOCENTRY) AA ON AA.DOCENTRY = A.DOCENTRY
LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                   INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                   INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                   WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 2
                                   group by A.DOCENTRY) BB ON BB.DOCENTRY = A.DOCENTRY
INNER JOIN [dbo].[OITM] I on  b.ItemCode = I.ItemCode
Where I.U_TGV_PERCEP_FLAG = 0
group by a.DOCENTRY,  b.taxcode
UNION ALL
SELECT
A.DOCENTRY as NroDocumento,
max(A.DOCDATE) AS FECHA,
max(CASE WHEN A.U_TGV_FLETTER = 'A' THEN '3'
WHEN A.U_TGV_FLETTER = 'B' THEN '8'
WHEN A.U_TGV_FLETTER = 'C' THEN '13'
WHEN A.U_TGV_FLETTER = 'M' THEN '53'
ELSE 'NA'
END) AS TIPOCOMP,
max(isnull(Convert(varchar,isnull(A.U_TGV_FOLIO_PREFIX,'0')) + '-' + Convert(varchar,A.folionum),'')) AS NUMCOMP,
max(isnull(A.CARDNAME, '')) AS RAZONSOCIAL,
max(Replace(LICTRADNUM,'-','')) AS CUIT,
round(sum(case when b.vatprcnt = 0 then b.linetotal else 0 end), 4) as NOGRAVEXCENTO,
round(sum(case when b.vatprcnt <> 0 then b.linetotal else 0 end),4) as IMPGRAVADO,
max(b.vatprcnt) as ALICUOTA,
round(sum(b.vatsum),4) as IVA,
round(sum(case when a.U_TGV_TVAT_POS_BP = 'EX' then b.linetotal else 0 end),4) as OPEXENTA,
max(round(ISNULL(AA.TOTAL, 0),4)) AS PERCIVA,
max(round(ISNULL(BB.TOTAL, 0),4)) AS PERCIIBB,
'1' AS CONSULTA
FROM [dbo].[ORPC] A
INNER JOIN [dbo].[RPC1] B ON A.DOCENTRY = B.DOCENTRY
LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                   INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                   INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                   WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 1
                                   group by A.DOCENTRY) AA ON AA.DOCENTRY = A.DOCENTRY
LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                   INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                   INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                   WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 2
                                   group by A.DOCENTRY) BB ON BB.DOCENTRY = A.DOCENTRY
INNER JOIN [dbo].[OITM] I on  b.ItemCode = I.ItemCode
Where I.U_TGV_PERCEP_FLAG = 0
group by a.DOCENTRY,  b.taxcode
UNION ALL
SELECT max(TOT.C1) as NroDocumento,max(TOT.C2) as Fecha, max(TOT.C3), max(TOT.C4), max(TOT.C5),max(TOT.C6),sum(TOT.NOGRAVEXCENTO),sum(TOT.IMPGRAVADO),max(TOT.ALICUOTA),sum(TOT.IVA),sum(TOT.OPEXENTA),max(TOT.PERCIVA),max(TOT.PERCIIBB),max(TOT.CONSULTA) FROM
SELECT
'' AS C1,
'' AS C2,
'' AS C3,
'' AS C4,
'' AS C5,
'' AS C6,
round(sum(case when b.vatprcnt = 0 then b.linetotal else 0 end), 4) as NOGRAVEXCENTO,
round(sum(case when b.vatprcnt <> 0 then b.linetotal else 0 end),4) as IMPGRAVADO,
max(b.vatprcnt) as ALICUOTA,
round(sum(b.vatsum),4) as IVA,
round(sum(case when a.U_TGV_TVAT_POS_BP = 'EX' then b.linetotal else 0 end),4) as OPEXENTA,
max(round(ISNULL(AA.TOTAL, 0),4)) AS PERCIVA,
max(round(ISNULL(BB.TOTAL, 0),4)) AS PERCIIBB,
'2' AS CONSULTA
FROM [dbo].[OPCH] A
INNER JOIN [dbo].[PCH1] B ON A.DOCENTRY = B.DOCENTRY
LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                   INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                   INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                   WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 1
                                   group by A.DOCENTRY) AA ON AA.DOCENTRY = A.DOCENTRY
LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                   INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                   INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                   WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 2
                                   group by A.DOCENTRY) BB ON BB.DOCENTRY = A.DOCENTRY
INNER JOIN [dbo].[OITM] I on  b.ItemCode = I.ItemCode
Where I.U_TGV_PERCEP_FLAG = 0
group by b.taxcode
UNION ALL
SELECT
'' AS C1,
'' AS C2,
'' AS C3,
'' AS C4,
'' AS C5,
'' AS C6,
round(sum(case when b.vatprcnt = 0 then b.linetotal else 0 end), 4) as NOGRAVEXCENTO,
round(sum(case when b.vatprcnt <> 0 then b.linetotal else 0 end),4) as IMPGRAVADO,
max(b.vatprcnt) as ALICUOTA,
round(sum(b.vatsum),4) as IVA,
round(sum(case when a.U_TGV_TVAT_POS_BP = 'EX' then b.linetotal else 0 end),4) as OPEXENTA,
max(round(ISNULL(AA.TOTAL, 0),4)) AS PERCIVA,
max(round(ISNULL(BB.TOTAL, 0),4)) AS PERCIIBB,
'2' AS CONSULTA
FROM [dbo].[ORPC] A
INNER JOIN RPC1 AS B ON A.DOCENTRY = B.DOCENTRY
LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                   INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                   INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                   WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 1
                                   group by A.DOCENTRY) AA ON AA.DOCENTRY = A.DOCENTRY
LEFT JOIN (SELECT A.DOCENTRY, SUM(A.LINETOTAL) AS TOTAL FROM [dbo].[PCH1] A
                                   INNER JOIN [dbo].[OITM] B ON A.ITEMCODE = B.ITEMCODE
                                   INNER JOIN [dbo].[OWHT] C ON B.ITEMCODE = C.U_TGV_CODE_ITEM
                                   WHERE U_TGV_PERCEP_FLAG = 1 AND U_TGV_PERC_TYPE = 2
                                   group by A.DOCENTRY) BB ON BB.DOCENTRY = A.DOCENTRY
INNER JOIN [dbo].[OITM] I on  b.ItemCode = I.ItemCode
Where I.U_TGV_PERCEP_FLAG = 0
group by b.taxcode
) TOT
group by TOT.ALICUOTA) TOTGEN
where TOTGEN.FECHA between '[%0]' and '[%0]'
order by TOTGEN.consulta, TOTGEN.fecha, TOTGEN.nrodocumento
someone can see the error?
Edited by: Sergio Alejandro Masolini on Oct 22, 2008 8:31 PM

Similar Messages

  • Query manager View issue in PIA

    Hi,
    When i navigate through reporting tools,Query,querymanager i am not able to see options
    like records,query,expressions,prompts.Fields,Criteria,Having,Viewsql,Run in Query manager window.
    When i go to the Application designer and tried to run Querys it was working fine.
    DO i need to any thing to see options in query manager window of PIA.
    Please help in fixing the issue.

    See if you user has a permission list that gives access to the QUERY_MANAGER menu and its related components and the Pages page.

  • Unable to create new query using query manager

    Hi friends,
    I have been trying to create a query using query manager for couple of hours but still not able to.I am following the instructions given in oracle Peopletools 8.52 : Peoplesoft query
    Chapter - creating new queries.
    Below are the steps I am going through to create new query:
    Step - I open the component Reporting Tools-> Query->Query Manager , I don't get the tabbed pages one for search an existing query and another for create new query.
    Please follow this link to see how the page is displayed in first step:
    http://uploadpic.org/v.php?img=EvMvVAXX1E
    Step 2 - When I click on create new query link, I am redirected to a page where it asks for record name to add in the query. But, even this page is not displayed as how it supposed to be
    http://uploadpic.org/v.php?img=GzHh3f6krU
    Step 3 - Following the above step, when I click on Person record to add into my query I am asked to select the fields that I want to display in the output.
    But I somehow do not get the proper tabbed pages where individual pages are there to add the attributes to complete the query like adding multiple records, fields, query, expressions, prompt...etc
    http://uploadpic.org/v.php?img=Wbbla3Q3jE
    I am neither able to select multiple records in my query nor able to customize my query to get the desired results.
    Below is the query that I want to create using query manager:
    SELECT P.EMPLID,P.BIRTHDATE, N.NAME, A.ADDRESS1, A.ADDRESS2, A.CITY
    FROM PS_PERSON P, PS_NAMES N, PS_ADDRESSES A
    WHERE P.EMPLID = N.EMPLID AND
    N.EMPLID = A.EMPLID AND
    P.BIRTHDATE BETWEEN to_date('1990/1/1','yyyy/mm/dd') and to_date('1991/1/1','yyyy/mm/dd');

    Hi,
    As I cannot access your screenshot by the blocking of company firewall rules.
    I'm guessing currently you are using PT 8.52.00 version, correct?
    This should be a bug, that you need to apply the 8.52.0X patch, not sure which patch fix this, you can apply the latest one to solve this issue for no tab page of query manager. (PT 8.52.06)
    Hope this helps.
    Thanks,
    Saxon SI

  • Easy query is not showing on Easy query Management(Browser)

    Dear all,
              I want to consume a bex query into SAP UI5. For that I found this document:-
         http://cms.int13h.nl/wordpress/wp-content/uploads/2013/01/How-to-Create-OData-Services-for-Analytic-Queries.pdf
         In this document, the first step is to define a query as EasyQuery. So I checked the option "By Easy Query" under Release for External Access.
         After this I checked in Easy Query Management using EQMANAGER tcode, but there was no entry found for this query. It was blank.
         Please help me in this issue.

    HI Antony Jerald J,
    Do you have variables in your Bex Query.
    Please check the pre requisites in the following link:
    http://help.sap.com/saphelp_nw73ehp1/helpdata/en/b6/53d6c4e26a4504b8971c6e690d2105/frameset.htm
    BR
    Prabhith

  • Descriptor query manager and custom PL/SQL call for the data update

    hi all,
    in the application, I'm currently working on, the operations for the data INSERT/UPDATE /DELETE are allowed only by means of PL/SQL function. Using the descriptor's query manager I'm trying to modify default behavior of TopLink and execute PL/SQL when there is a request to modify the data.
    DescriptorQueryManager entityQueryManager = session.getClassDescriptor(MyEntity.class).getQueryManager();
    StoredFunctionCall call = new StoredFunctionCall();
    call.setUsesBinding(true);
    call.setProcedureName("merge_record");
    call.setResult("id", Integer.class);
    call.addNamedArgument("cbic_id", "id"); // MyEntity.getId() – works!
    call.addNamedArgument("publication_flag", "publicationFlag"); // MyEntity.getPublicationFlag () – works!
    call.addNamedArgument("routing_id", "routing"); // MyEntity.getRouring() – works!
    call.addNamedArgument("issue_id", "issue"); // MyEntity.getIssue() – works!
    call.addNamedArgument("country_id", "country"); // MyEntity.getCountry() – works!
    entityQueryManager.setInsertCall(call);
    entityQueryManager.setUpdateCall(call);
    entityQueryManager.setDeleteCall(call);
    the problem:
    when I call: MyEntity savedObject = (MyEntity) UnitOfWork.deepMergeClone(entity);
    the binding doesn’t happen and I see following logs:
    [TopLink Finest]: 2008.02.01 02:51:41.534--UnitOfWork(22937783)--Thread(Thread[AWT-EventQueue-0,6,main])--Merge clone xxx.Entity[id=2000]
    [TopLink Warning]: 2008.02.01 02:51:41.550--ClientSession(8454539)--Thread(Thread[AWT-EventQueue-0,6,main])--Missing Query parameter for named argument: id null will be substituted. (There is no English translation for this message.)
    [TopLink Warning]: 2008.02.01 02:51:41.550--ClientSession(8454539)--Thread(Thread[AWT-EventQueue-0,6,main])--Missing Query parameter for named argument: publicationFlag null will be substituted. (There is no English translation for this message.)
    [TopLink Warning]: 2008.02.01 02:51:41.565--ClientSession(8454539)--Thread(Thread[AWT-EventQueue-0,6,main])--Missing Query parameter for named argument: routing null will be substituted. (There is no English translation for this message.)
    [TopLink Warning]: 2008.02.01 02:51:41.565--ClientSession(8454539)--Thread(Thread[AWT-EventQueue-0,6,main])--Missing Query parameter for named argument: issue null will be substituted. (There is no English translation for this message.)
    [TopLink Warning]: 2008.02.01 02:51:41.565--ClientSession(8454539)--Thread(Thread[AWT-EventQueue-0,6,main])--Missing Query parameter for named argument: country null will be substituted. (There is no English translation for this message.)
    [TopLink Fine]: 2008.02.01 02:51:41.565--ClientSession(8454539)--Connection(6233000)--Thread(Thread[AWT-EventQueue-0,6,main])--BEGIN ? := merge_record(cbic_id=>?, publication_flag=>?, routing=>?, issue=>?, country=>?); END;
    bind => [=> id, null, null, null, null, null] – WHY?
    Calling straight forward the same PL/SQL block using:
    DataModifyQuery updateQuery = new DataModifyQuery();
    updateQuery.setCall(call);
    updateQuery.shouldBindAllParameters();
    and passing parameters as Vector works very well.
    Could you please help me to fix the binding problem when I’m using the PL/SQL with Query Manager?
    regards,

    Hello,
    This is fairly common. Since the database is case insensitive (mostly) field names passed in don't really matter much. Unfortunately, java string comparisons are case sensitive, so if you db column for the getId() property is defined as uppercase "ID" it will not match to the lower case "id" defined in the
    call.addNamedArgument("cbic_id", "id");
    This will cause TopLink to get null when it looks for the "id" field in the row it builds from your MyEntity instance.
    Matching the case exactly will resolve the issue.
    Best Regards,
    Chris

  • Query Manager SQL DateDiff and Parameter Problem

    I’m having trouble with a date calculation in the Query Manager.   I’m wondering if anyone has run into something similar.
    I am trying to write a query that returns records that are X days old, where X is a parameter input by the user.
    Here’s an example – you can paste this into your system and duplicate the issue:
    <b>SELECT T0.DocNum, T0.DocDueDate FROM ORDR T0 where datediff(dd, T0.DocDueDate, getdate()) <= [%0]</b>
    Returns a date error code if you try to input an integer (e.g. the "Define Survey Variables" dialog is looking only for date values)
    However
    <b>SELECT T0.DocNum, T0.DocDueDate FROM ORDR T0 where datediff(dd, T0.DocDueDate, getdate()) <= 30</b>
    Works just fine.
    Any ideas?

    > I tried your query and it's working perfection for
    > me.  I'm using  SBO B1 2005 A.
    >
    > The [%0] in your case is looking for the type of the
    > critary and because it sees T0.DocDueDate it thinks
    > you should give the query with a date and not a
    > numeric.  Maybe you cshould try to add a casting
    > function to return a numeric ?
    Merci Daniel,
    I too am using SBO B1 2005 A (PL 22)
    I should have expanded on my original problem.  I have tried using CAST and CONVERT in the following ways:
    <b>SELECT T0.DocNum, T0.DocDueDate FROM ORDR T0 where datediff(dd, T0.DocDueDate, getdate()) <= CAST([%0] as Integer)
    SELECT T0.DocNum, T0.DocDueDate FROM ORDR T0 where cast(datediff(dd, T0.DocDueDate, getdate())as Integer) <= [%0]
    </b>
    also
    <b>SELECT T0.DocNum, T0.DocDueDate, cast(datediff(dd, T0.DocDueDate, getdate())as Integer) as Date FROM ORDR T0 where Date <= [%1]</b>
    Nothing seems to work (although I could be getting the syntax wrong)

  • Query Manager- Filter List Missing Values in the Filter List.

    Hello experts,
    We would like your help in the following issue.
    We are using SAP B1 9.0 (PL10).
    When we run a query report from the query manager in SAPB1, the report results that are displayed contain an extended list of names, starting from A to Z. When we use the filters button in this report, in the filter field with the BP Names the list contains only the names from A to M, and not the rest.
    Please advise us, if anyone has faced the same issue.
    Thank you in advance,
    Vassilios Korolis.

    Hi,
    Please check SAP note:
    1012827 - Filter table function displays only up to 499
    values
    Thanks & Regards,
    Nagarajan

  • Query Manager and Current User

    Good day everyone,
    Please forgive my ignorance regarding using the Query Manager syntax, but I was wondering :
    1. If there is any specific documentation (official or not) that would explain all the specific issues raised when dealing with this tools (variables, parameters etc)
    2. If not - if any of you guys knew a way to use the current logged on user in a query -- I found materials regarding the $[USER] but I was unable to achieve to any result in Query Manager.
    Thank you for your assistance

    Hi,
    1) Yes, SAP provide a 'How To' document for formatted searches that includes most of what you need to know (it should be in the Document Resource Center in the Channel Partner Portal and is called 'How to Define and Use Formatted Searches). There are a few unofficial tricks that appear on various threads here on the SDN (eg how to get around the issue of SBO not correctly defining a parameter on complex queries).
    2) The following query will return the name of the current user:
    SELECT T0.u_name FROM OUSR T0 WHERE T0.internal_k = $[USER]
    Strangely, this doesn't work on my 2007A preview build but does work on 2005A SP1.
    Kind Regards,
    Owen

  • Query manager crash

    Just upgrade the customer to the newest upgrade per SAP support request 2007SP01PL09...
    The first problem they discovered is that when they want to modify some existing query, they change it and try to save to a exist query. System crashes without warning or message. And keep the user log into the system. So after two time, user can no longer log on system.
    1. How to get those user log on off the system, so they can log back in again? Without bounce the license server.
    2. Has anyone see something like this before?
    Sincerely Yours
    Bo Peng

    Hello Bo Peng,
    I Have the same issue on same patch level.
    Workaround i have discovered: Before Updating an existing Query, Open Query Manager, and remove the old version of saved Query,
    Regards,
    J

  • Can't load Print Layout Designer from Query Manager

    Hi All,
    I'm facing this issue when I try to load the Print Layout Designer from Query Manager.
    I define my own query report and I need to change the layout for the report.
    When I click on the print layout designer button is nothing happen.  I've check the the RDOC table the report already created in the RDOC.
    How do I call out the layout to customize it?
    Please advice.
    Thank you.
    Regards,
    Foong Yee

    Hi
    If i remember correctly you must use the menu at the top. Click tools->queries->query layout designer.
    Hope this helps

  • Query Throttling issue after increasing List view threshold in connected webpart

    Dear SharePointers,
                                   I have connnected listview webpart deployed on site. Parent webpart
    has 16 fields and over 3,000 listitems exists in list. Child webpart has 7 fields and more than 30,000 Items. The code works well in other sites in same web app and it also works well in other systems. We tested same in other system by increasing/decreasing
    data but still we are not able to replicate issue. I know that this issue could also encounter if fields are not indexed in the list. Are there any other pointers which can use to debug this issue.
    Milan Chauhan
    Regards,
    Milan Chauhan
    LinkedIn
    |
    Twitter | Blog
    | Email

    Hi,
    According to your post, a Query Throttling issue occurred after increasing list view threshold in connected web part.
    By default, this limit is set to 5,000 items for regular users and 20,000 items for users in an administrator role.
    More information is here:
    http://msdn.microsoft.com/en-us/library/ff798465.aspx
    Please try to enable the Daily Time Window for Large Queries:
    1.Go to Central Administration-> Application Management -> Manage web applications.
    2.Select the web application that contains the large list.
    3.Click General Settings, and then click Resource Throttling.
    4.Under Daily Time Window for Large Queries, click to select Enable a daily time window for large queries.
    5.Set a start time and duration when most of your users will not be working.
    6.Click OK.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to add drop down list for query manager report in sap business one

    Hi Every one,
    I need drop down list for parameter selection in sap business one Query Manager.I have two Parameters 'Sales Order','Invoice'.
    Please suggest.
    Thanks and Regards
    DEV

    Hi,
    you need to use this :
    /*select from [dbo].[OINV] T2*/
    DECLARE @Invoice varchar(100)
    /*where*/
    set @Invoice =/* T2.DocNum  */N'[%2]'
    you can change the tables and the parameter number but you have to write it exactly that way.
    when you run the query within the SBO you will get list of objects ( in this case list of invoices)
    hope it was helpful
    Shachar

  • The Ultimate Guide to Resolving Profile and Device Manager Issues

    The following article also applies to issues after re-setting the severs' hostname. It also applies to situations where re-setting the Code Signing Certifictateas described by Apple has not resolved the issue.
    Hello,
    I have been plagued with Profile Manager and Device Manager issues since day one.
    I would like to share my experience and to suggest a way how to resolve issues such as device cannot be enrolled or Code Signing Certificate not accepted.
    I shall try to be as brief as possible, just giving an overview of the steps that resolved my issues. The individual steps have been described elsewhere in this forum. For users who have purchased commercial SSL certs the following may not apply.
    In my view many of these issues are caused by missing or faulty certificates. So let us first touch on the very complex matter of certificates.
    Certificates come in many flavours such as CA (Certificate Authority), Code Signing Certificate, S/MIME and Server Identification.
    (Mountain?) Lion Server creates a so-called Intermediate CA certificate (IntermediateCA_hostname_1") and Server Identification Certificate ("hostname") when it installs first. This is critical for the  operation of many server functionalities, including Open Direcory. These certs together with the private/public keys can be found in your Keychain. Profile  and Device Manager may need a Code Signing Certificate.
    The most straightforward way to resolve the Profile Manaher issues is in my view to reset the server created certicates.
    The bad news is that this procedure involves quite a few steps and at least 2 hours of your precious time because it means creating a fresh Direcory Master.
    I hope that I have not forgotten to mention an important step. Readers' comments and addenda are welcome.
    I shall outline a sensible strategy:
    1. Clone your dysfunctional server to an external harddrive (SuperDuper does a reliable job)
    2. Start the server fom the clone and shut down ALL services.
    3. It may be sensible to set up a root user access.
    4. Back-up all user data such as addess book, calendar and other data that you *may* need to set up your server.
    5. Open Workgroup Manager and export all user and workgroup accounts to the drive that you using to re-build your server (it may cause problems if you back-up to an external drive).
    6. Just in case you may also want to back-up the Profile Manager database and erase user profiles:
    In Terminal (this applies to Lion Server - paths may be diferent in Mountain Lion !)
    Backup: sudo pg_dump -U _postgres -c device_management > $HOME/device_management.sql
    Erase database:
    sudo /usr/share/devicemgr/backend/wipeDB.sh
    7. Note your Directory (diradmin) password for later if you want to re-use it.
    8. Open Open Server Admin and demote OD Master to Standalone Directory.
    9. In Terminal delete the old Certificate Authority
    sudo rm -R /var/root/Library/Application\ Support/Certificate\ Authority/
    This step is crucial because else re-building you OD Master will fail.
    9. Go back to Server Admin and promote the Standalone Directory to OD Master. You may want to use the same hostname.
    10. When the OD Master is ready click on Overview and check that the LDAP and Keberos Realm reflect your server's hostname.
    11. Go back to Workgroup Manager and re-import users and groups.
    NOTE: passwords are not being exported. I do not know how to salvage user passwords. (Maybe passwords can be recovered by re-mporting an OD archive - comments welcome! ).
    12. Go to Server App and reset passwords and (not to forget) user homefolder locations, in particular if you want to login from a network account!
    If the home directory has not been defined you cannot login from a network account.
    13. You may now want to restore Profile Manager user profiles in Terminal. Issue the following commands:
    sudo serveradmin stop devicemgr
    sudo serveradmin start postgres
    sudo psql -U _postgres -d device_management -f $HOME/device_management.sql
    sudo serveradmin start devicemgr
    14. You can now switch back on your services, including Profile Manager.
    In Profile Manager you may have to configure Device Management. This creates a correct Code Signng Certicate.
    15. Check the certificate settings in Server App -> Hadware -> Settings-> SSL Certificates.
    16. Check that Apple Push Notifications are set.(you easily check if they are working later)
    17. You may want to re-boot OS Server from the clone now.
    18. After re-boot open Server App and check that your server is running well.
    19. Delete all profiles in System Preferences -> Profiles.
    19. Login to Profile Manager. You should have all users and profiles back. In my experience devices have to be re-enrolled before profiles can be pushed and/or devices be enrolled. You may just as well delete the displayed devices now.
    20. Grab one of your (portable) Macs that you want to enrol and go to (yourhostname)/mydevices and install the server's trust profile. The profile's name  should read "Trust Profile for...) and underneath in green font "Verified".
    21. Re-enrol that device. At this stage keep your finger's crossed and take a deep breath.
    22. If the device has been successfully enrolled you may at last want to test if pushing profiles really works. Login to Profile Manager as admin, select the newly enrolled device. Check that Automatic Push is enabled (-> Profile -> General). Create a harmless management profile such as defining the dock's position on the target machine. (Do not forget to click SAVE at the end - this is easily missed here). If all is well Profile Manager will display an active task (sending) and the dock's position on the target will have changed in a few seconds if you are on a LAN (Note: If sending seems to take forever: check on the server machine and/or on your router that the proper ports are open and that incoming data is not intercepted by Little Snitch or similar software).
    Note: if you intend to enrol an Apple iPhone you may first need to install the proper Apple Configuration software.
    Now enjoy Profile and Device Manager !
    Regards,
    Twistan

    HI
    1. In Action profiles, logon to system and recheck correcion are available in action definition as well in condition configuration and the schedule condition is also maintained. but the display is not coming(i.e in the worklist this action is not getting displayed).
    You can check the schedule condition for the action and match the status values...or try recreating the action with schedule condition again....for customer specific ....copy the standard aciton with ur zname and make a schedule condition and check the same.
    2, In suppport team of incident when i give individual processor it throwing a warning that u r not the processor. but when i give org unit it is working perfectly. Could anyone guide on this.
    You need to have the empolyee role for BP ..goto BP and got here dropdown for ur bp and choose role Employee and then enter ur userid
    also make sure that u have the message processing role
    Hope it clarifies ur doubt and resolve ur prob
    Regards
    Prakhar

  • Power Mac G5 DP1.8GHz - Bad Logic Board or Power Management Issue?

    I have a Power Mac G5 DP1.8GHz/1.5GB/80GB which I bought non-working. It has not yet been disassembled or examined by a certified tech. This is it's issue (which replicates): the computer powers on. It makes a single warning tone, then the LED flashed at least 15 times (too fast to count). Then the posting chord is heard. Hard drive spins up. Then nothing (no video). Won’t boot from any disk. I have changed the RAM and tested the RAM banks with known-to-be-good RAM from another DP1.8GHz G5. The warning tone stopped once or twice after this switch, but then it didn’t chime. I changed the PRAM battery, but not with as new one. However, after installing the used one and then resetting the PMU, it displayed video briefly for the first time. While installed in the other 1.8GHz G5, the hard drive was formatted, given a clean install of OS X 10.4.11, and then moved into this computer where is never mounts. The computer is not accessible through TDM.
    Do I have a bad logic board? Bad CPUs? A power managment issue? A RAM issue?

    Through my own trial and error troubleshooting, I have found the CPUs to be in good working order and the logic board passes the Apple Service Diagnostic every time. Despite the installation of numerous pairs of modules that worked in another DP1.8GHz, the computer has a RAM issue-it gives the "no good RAM" tone most of the time when it powers up (after a PMU reset it does not). Also the computer boots from disk or into Open Firmware but the disk utility can't see either hard drive so I may have a bad SATA controller.

  • Pass parameter to sql statement in query manager

    Hai to all,
               I want to pass the percentage  as the parameter into the sql statemnet.i what to execute it in the query manager.
              If i execute that statement then cann't found the tablename error is coming.
             Other than the data in the table (general data)  pass to the parameter in the sql at runtime.
    for example:
    select [%0] *100
    how to pass 10 to that sql statement.
    Please help me...
    Regards,
    Raji.

    Hi Ramya,
    You can create a SP with parameters to accept and then execut this SP from SAP Business One Query Manager by passing the parameter (in your case 10). The result will be as desired.
    Ex:
    Create this Procedure in SQL Management Studio
    create proc Test(@a as int)
    as
    begin
    select (@a*100)
    end
    To Execute the Query use this Query and pass the desired values with parameters
    execute Test 10
    Regards,
    Reno

Maybe you are looking for