Query report in SBO

Dear Experts/Gurus,
I have a problem in developing a report. The report I need is similar with general ledger report but some additional field need to add. If I use query, will it give the same report format with general ledger report in SBO ?
In general ledger report, the format as follows:
posting date           due date       Type    Details                               etc.. etc...
<u>assets</u>       <u> ->1200</u>               <u>HSBC</u>
->01.01.04            ->01.01.04      PS      payment S-1211                 etc..etc....
->01.01.04            ->01.01.04      PS      payment S-1221                 etc..etc..
The result of my query is as follows:
Acctcode              Acctname          posting date    due date         etc..etc..           
1200                       Asset              01.01.04         01.01.04
1200                       Asset              01.01.04         01.01.04
I could not understand that the underline words can't be available in report using query I created. Could the query generator be used to generate report where the underline word is also able to have in the report ? I really appreciate your answer so much. TIA
Rgds,

Jimmy,
If you are using the SAP Query Manager, then no, you will not get the same formatting as a report that you would create using the Print Layout Designer (PLD) in Business One.  The query generator is just like it sounds and is similar to running a query within SQL itself.
The forum that you have posted your question in is for questions related to the SAP Business One SDK.  Your question seems to be application related and should be posted in the SAP Business One Discussion Forum at ...
http://cpsn-channel.sap.com/businessoneforum
Eddy

Similar Messages

  • How to create Reports  in SBO?

    Hello,
    I am trying to generate reports in SBO.
    Can someone direct me to related documentation or demos? Where i could get the basic understanding of reports in SBO.
    How can i add a report to the Layout Designer?
    Can we generate report based on multiple queries?
    Thanks and Regards,
    Sheetal

    Okay. I need to be a little more specific.
    I know how to create reports from the query manager. This process is fairly straightfoward. Once you have created a query, you can create a report using this query.
    What I am trying to accomplish is to add a new report for A/R invoice. Currently, it shows two report types (for the demo database):
    1. Invoice - Service with logo
    2. Invoice - Service (system)
    I would like to add one more report type to this list. However, I cannot figure out how to do this.
    Thank you in advance for your help.
    Sheetal

  • 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 Chen

    Hi,
    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,
    naresh

    Hi 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.

  • Stock Aging Query/Report

    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,
    Asif

    Hi,
    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?
    -Mux

    Chet,
    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,
    Voev

    I 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,
    Chetan

    Hi 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.2

    use 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".#
    Thanks

    Hello 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.

  • Can we have a if condition during data selection in Query Report (SQ02)

    Hi all,
    I have a required where in need to create a query report , where in which there are two types of condition exists.
    first i input either functional location into View V_EQUI , when there is a equipment BOM exists(or when there is any entry for Equipment feild exists )  then the selected euipment should be passed to EQST else if equipment doesnot exist then the Functional location should be passed to TPST.
    Now that I created a query report with base table as V_EQUI and joined it with EQST and whenever the equipment feild has a entry , it passes the equipment to EQST and works fine.
    Now for some Functional location there is no equipment feild that exists for these base table is V_EQUI now when there is no entry for equipment , the functional location should be passed to TPST.
    Now I would I achieve that.
    Can I put a if condition to check on if equipment is initial then select X Y Z from tpst where fl = v_equi-fl.
    Regards,
    Raj

    x

  • Error running a query and creating a query report.

    Hi all
    I have a problem with a query when I'm running it or trying to create a report for it.
    23/09/2009  11:47:31: 1). [Microsoft][SQL Native Client][SQL Server]Arithmetic overflow error converting expression to data type datetime.
    'Document' (RDOC) -- Run query
    23/09/2009  11:01:58: 1). [Microsoft][SQL Native Client][SQL Server]Invalid object name 'CSHS.T0'.
    2). [Microsoft][SQL Native Client][SQL Server]Statement 'Received Alerts' (OAIB) (s) could not be prepared. - create a query report
    This happened on a Windows Server 2003 OS , when I ran the same query on local pc on xp it ran fine on both scenarios.
    Please help
    Bongani Dlamini

    select SlpName, ItmsGrpNam, sum(LineTotal) as 'Total Sales Minus Returns'
    from
    SELECT T4.SlpName, T3.ItmsGrpNam, T0.LineTotal FROM dbo.INV1 T0 INNER JOIN dbo.OINV T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod INNER JOIN OSLP T4 ON T0.SlpCode = T4.SlpCode WHERE T1.DocDate >=[%0] and T1.DoCdate<=[%1]
    UNION
    SELECT T4.SlpName, T3.ItmsGrpNam, (T0.LineTotal * -1) AS 'LineTotal'
    FROM dbo.RIN1 T0 INNER JOIN dbo.ORIN T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod INNER JOIN OSLP T4 ON T0.SlpCode = T4.SlpCode WHERE T1.DocDate >=[%0] and T1.DoCdate<=[%1 ]
    ) InvoicesMinusReturnsDerivedTable
    group by slpname, ItmsGrpNam

Maybe you are looking for

  • JFrame applications problem

    Hi, i'm just starting out writing swing applications and i'm having a few problems. Don't bother answering this if you think i'm too stupid because i don't want to waste your time. Whenever i write a swing application, it compiles but when i try to r

  • Programming standards

    what are theprogramming standardsfollowed?

  • PowerPoint 2011 Compatibility

    I have been working on improving PowerPoint presentations for a friend of mine. I am neither a graphic designer or technologically advanced. When she gives her presentations, she uses either Keynote on her iPad or a Windows laptop. Because I am at le

  • HT3275 time machine couldn't complete backup

    I have a new iMac, and an older Western Digital Sharespace network backup. I have the mac and NAS attached to the same switch (the router is full). Time Machine will connect to WD_backup, and I use wd_backup as my user ID ,and backup as my password a

  • Applications crash when trying to print?

    I recently had to restore my Macbook pro (Mid2010) from a time machine backup because of a weird mouse bug that came from out of nowhere (restoring it fixed the mouse bug so I am assuming that it was some corrupted file). Since I restored it, I have