PO / GL Report - Grouping Amount Problem

I have a Purchase Order with 2 distributions - a single line split between 2 charge accounts.
I am working on a GL Transaction Listing SQL report.
When I view the invoices matched against the PO, down to distribution level, I can see 2 lines - one for each inv. distribution:
AMOUNT   |  PO_NUMBER  |  PO_DATE                | PO_LINE_AMOUNT
===================================================================
-3.96    |  00001294   | 08/04/2009 10:57:46     | 45             
-41.04   |  00001294   | 08/04/2009 10:57:46     | 45              I have an SQL statement made up of 4 unions. This extracts the data from GL.
I have another SQL statement which accesses the purchasing tables.
I am joining these tables on the Amount fields, where I join the amount from the GL SQL with the PO Line Amount.
The GL Amount will come out normally as something e.g. like -45, and the PO Line Amount will come out as something e.g. like 45.
Since one is positive and the other is negative, I join the SQLs via:
... AND (pla.quantity * pla.unit_price) = ABS(xyz.amount)This was working fine until I came across a PO with split distributions.
Since the Amount of -45 was split into -3.96 and -41.04, it could not join with the 45 of the PO Line Amount.
I tried to do a SUM of the Amounts from GL, because then the join would work.
However, on doing that, instead of getting an Amount of -45, I get an amount of -180, which is four times that.
Somewhere in my SQL things are going v. wrong. I guess it's because of the split distributions.
I apologise for the 1001 cardinal rules of SQL I have probably broken with the SQL below, and for being dense, crass, unlearned and generally not worthy of posting on this forum!
Any advice much appreciated.
Thanks
SQL below:
SELECT DISTINCT SUM(xyz.amount) amount
              , pha.segment1 po_number
              , pha.creation_date po_date
              , pla.quantity * pla.unit_price po_line_amount
           FROM po.po_requisition_headers_all prha
              , po.po_requisition_lines_all prla
              , po.po_line_locations_all plla
              , po.po_lines_all pla
              , po.po_headers_all pha
              , po.po_distributions_all pda
              , po.po_req_distributions_all prda
              , ap.ap_invoices_all aia
              , ap.ap_invoice_distributions_all aida
              , (SELECT vvv.ibs_company
                      , vvv.ibs_service
                      , vvv.ibs_account
                      , vvv.ibs_centre
                      , vvv.ibs_spare
                      , vvv.period_num
                      , vvv.period_name
                      , vvv.period_year
                      , vvv.period_start_date
                      , vvv.period_end_date
                      , vvv.amount
                      , vvv.effective_date
                      , vvv.je_description
                      , vvv.je_source
                      , vvv.line_description
                      , SUBSTR(
                           vvv.line_description
                         , INSTR(vvv.line_description, 'ERS')
                              INSTR(vvv.line_description, '.')
                            - INSTR(vvv.line_description, 'ERS')
                        ) invoice_number
                      , vvv.posted_status
                      , vvv.posted_date
                      , vvv.je_name
                      , vvv.je_category
                      , vvv.batch_name
                      , vvv.actual_flag
                      , vvv.vat_code
                   FROM (                                      -- Requisitions
                         SELECT glcc.segment1 ibs_company
                              , glcc.segment2 ibs_service
                              , glcc.segment3 ibs_account
                              , glcc.segment4 ibs_centre
                              , glcc.segment5 ibs_spare
                              , glp.period_num
                              , glp.period_name
                              , glp.period_year
                              , glp.start_date period_start_date
                              , glp.end_date period_end_date
                              ,   NVL(jel.accounted_dr, 0)
                                - NVL(jel.accounted_cr, 0) amount
                              , jel.effective_date
                              , jeh.description je_description
                              , jes.user_je_source_name je_source
                              , jel.description line_description
                              , jeh.status posted_status
                              , jeh.posted_date
                              , jel.reference_1
                              , jel.reference_4 req_no
                              , prla.line_num req_line_no
                              , ' ' po_no
                              , NULL po_line_no
                              , NULL invoice_no
                              , NULL invoice_line_no
                              , pva.vendor_name supplier
                              , pva.segment1 supplier_no
                              , prla.suggested_vendor_product_code
                                                                supplier_item
                              , jel.creation_date
                              , jeh.NAME je_name
                              , jec.description je_category
                              , jeb.NAME batch_name
                              , usr.description created_by
                              , jel.je_line_num journal_line_no
                              , jeh.actual_flag
                              , jel.tax_code vat_code
                              , gsb.set_of_books_id sob
                              , glcc.code_combination_id ccid
                           FROM gl.gl_je_lines jel
                              , gl.gl_je_headers jeh
                              , gl.gl_je_batches jeb
                              , gl.gl_je_categories_tl jec
                              , gl.gl_code_combinations glcc
                              , po.po_requisition_lines_all prla
                              , po.po_req_distributions_all prda
                              , po.po_vendors pva
                              , apps.fnd_user usr
                              , gl.gl_periods glp
                              , gl.gl_sets_of_books gsb
                              , gl.gl_je_sources_tl jes
                          WHERE jeh.je_header_id = jel.je_header_id
                            AND jeh.je_batch_id = jeb.je_batch_id
                            AND jeh.je_category = jec.je_category_name
                            AND jec.LANGUAGE = 'US'
                            AND jel.code_combination_id =
                                                      glcc.code_combination_id
                            AND jeh.je_source = 'Purchasing'
                            AND jel.reference_1 = 'REQ'
                            AND glp.period_set_name = gsb.period_set_name
                            AND glp.period_name = jeh.period_name
                            AND prda.distribution_id = jel.reference_3
                            AND prda.requisition_line_id =
                                                      prla.requisition_line_id
                            AND pva.vendor_id = prla.vendor_id
                            AND prla.created_by = usr.user_id
                            AND jeh.set_of_books_id = gsb.set_of_books_id
                            AND jeh.je_source = jes.je_source_name
                         UNION
                         -- Purchase Orders
                         SELECT glcc.segment1
                              , glcc.segment2
                              , glcc.segment3
                              , glcc.segment4
                              , glcc.segment5
                              , glp.period_num
                              , glp.period_name
                              , glp.period_year
                              , glp.start_date
                              , glp.end_date
                              ,   NVL(jel.accounted_dr, 0)
                                - NVL(jel.accounted_cr, 0)
                              , jel.effective_date
                              , jeh.description
                              , jes.user_je_source_name je_source
                              , jel.description
                              , jeh.status posted_status
                              , jeh.posted_date
                              , jel.reference_1
                              , prha.segment1
                              , NVL(prla.line_num, pla.line_num)
                              , jel.reference_4
                              , pla.line_num
                              , NULL
                              , NULL
                              , pva.vendor_name
                              , pva.segment1
                              , prla.suggested_vendor_product_code
                              , jel.creation_date
                              , jeh.NAME
                              , jec.description
                              , jeb.NAME
                              , usr.description
                              , jel.je_line_num
                              , jeh.actual_flag
                              , jel.tax_code
                              , gsb.set_of_books_id
                              , glcc.code_combination_id
                           FROM gl.gl_je_lines jel
                              , gl.gl_je_headers jeh
                              , gl.gl_je_batches jeb
                              , gl.gl_je_categories_tl jec
                              , gl.gl_code_combinations glcc
                              , po.po_headers_all pha
                              , po.po_lines_all pla
                              , po.po_distributions_all pda
                              , po.po_vendors pva
                              , po.po_requisition_headers_all prha
                              , po.po_req_distributions_all prda
                              , po.po_requisition_lines_all prla
                              , apps.fnd_user usr
                              , gl.gl_periods glp
                              , gl.gl_sets_of_books gsb
                              , gl.gl_je_sources_tl jes
                          WHERE jeh.je_header_id = jel.je_header_id
                            AND jeh.je_batch_id = jeb.je_batch_id
                            AND jeh.je_category = jec.je_category_name
                            AND jec.LANGUAGE = 'US'
                            AND jel.code_combination_id =
                                                      glcc.code_combination_id
                            AND jeh.je_source = 'Purchasing'
                            AND jel.reference_1 = 'PO'
                            AND glp.period_set_name = gsb.period_set_name
                            AND glp.period_name = jeh.period_name
                            AND pda.po_distribution_id = jel.reference_3
                            AND pda.po_line_id = pla.po_line_id
                            AND pda.po_header_id = pha.po_header_id
                            AND pva.vendor_id = pha.vendor_id
                            AND prda.distribution_id = pda.req_distribution_id
                            AND prla.requisition_line_id =
                                                      prda.requisition_line_id
                            AND prha.requisition_header_id =
                                                    prla.requisition_header_id
                            AND pla.created_by = usr.user_id
                            AND jeh.set_of_books_id = gsb.set_of_books_id
                            AND jeh.je_source = jes.je_source_name
                         UNION
                         -- Invoices
                         SELECT glcc.segment1
                              , glcc.segment2
                              , glcc.segment3
                              , glcc.segment4
                              , glcc.segment5
                              , glp.period_num
                              , glp.period_name
                              , glp.period_year
                              , glp.start_date
                              , glp.end_date
                              ,   NVL(jel.accounted_dr, 0)
                                - NVL(jel.accounted_cr, 0)
                              , jel.effective_date
                              , jeh.description
                              , jes.user_je_source_name je_source
                              , pla.item_description
                              , jeh.status
                              , jeh.posted_date
                              , jel.reference_1
                              , prha.segment1
                              , NVL(prla.line_num, pla.line_num)
                              , pha.segment1
                              , pla.line_num
                              , jel.reference_5
                              , jel.reference_3
                              , jel.reference_1
                              , pva.segment1
                              , prla.suggested_vendor_product_code
                              , jel.creation_date
                              , jeh.NAME
                              , jec.description
                              , jeb.NAME batch_name
                              , NULL
                              , jel.je_line_num
                              , jeh.actual_flag
                              , jel.tax_code
                              , gsb.set_of_books_id
                              , glcc.code_combination_id
                           FROM gl.gl_je_lines jel
                              , gl.gl_je_headers jeh
                              , gl.gl_je_batches jeb
                              , gl.gl_je_categories_tl jec
                              , gl.gl_code_combinations glcc
                              , ap.ap_invoice_distributions_all ida
                              , po.po_distributions_all pda
                              , po.po_lines_all pla
                              , po.po_headers_all pha
                              , po.po_requisition_headers_all prha
                              , po.po_vendors pva
                              , po.po_req_distributions_all prda
                              , po.po_requisition_lines_all prla
                              , gl.gl_periods glp
                              , gl.gl_sets_of_books gsb
                              , gl.gl_je_sources_tl jes
                          WHERE jeh.je_header_id = jel.je_header_id
                            AND jeh.je_batch_id = jeb.je_batch_id
                            AND jeh.je_category = jec.je_category_name
                            AND jec.LANGUAGE = 'US'
                            AND jel.code_combination_id =
                                                      glcc.code_combination_id
                            AND jeh.je_source = 'Payables'
                            AND glp.period_set_name = gsb.period_set_name
                            AND glp.period_name = jeh.period_name
                            AND TO_CHAR(ida.invoice_id) = jel.reference_2
                            AND ida.distribution_line_number = jel.reference_3
                            AND ida.po_distribution_id =
                                                        pda.po_distribution_id
                            AND pda.po_line_id = pla.po_line_id
                            AND pva.vendor_id = pha.vendor_id
                            AND pha.po_header_id = pla.po_header_id
                            AND prda.distribution_id = pda.req_distribution_id
                            AND prla.requisition_line_id =
                                                      prda.requisition_line_id
                            AND prha.requisition_header_id =
                                                    prla.requisition_header_id
                            AND jeh.set_of_books_id = gsb.set_of_books_id
                            AND jeh.je_source = jes.je_source_name
                         UNION
                         -- Actuals
                         SELECT glcc.segment1
                              , glcc.segment2
                              , glcc.segment3
                              , glcc.segment4
                              , glcc.segment5
                              , glp.period_num
                              , glp.period_name
                              , glp.period_year
                              , glp.start_date
                              , glp.end_date
                              ,   NVL(jel.accounted_dr, 0)
                                - NVL(jel.accounted_cr, 0)
                              , jel.effective_date
                              , jeh.description
                              , jes.user_je_source_name je_source
                              , jel.description
                              , jeh.status
                              , jeh.posted_date
                              , jel.reference_1
                              , NULL
                              , NULL
                              , NULL
                              , NULL
                              , NULL
                              , NULL
                              , NULL
                              , jel.creation_date
                              , jeh.NAME je_name
                              , jec.description
                              , jeb.NAME
                              , NULL
                              , jel.je_line_num
                              , jeh.actual_flag
                              , jel.tax_code
                              , gsb.set_of_books_id
                              , glcc.code_combination_id
                           FROM gl.gl_je_lines jel
                              , gl.gl_je_headers jeh
                              , gl.gl_je_batches jeb
                              , gl.gl_je_categories_tl jec
                              , gl.gl_code_combinations glcc
                              , gl.gl_periods glp
                              , gl.gl_sets_of_books gsb
                              , gl.gl_je_sources_tl jes
                          WHERE jeh.je_header_id = jel.je_header_id
                            AND jeh.je_batch_id = jeb.je_batch_id
                            AND jeh.je_category = jec.je_category_name
                            AND jec.LANGUAGE = 'US'
                            AND jel.code_combination_id =
                                                      glcc.code_combination_id
                            AND jeh.actual_flag = 'A'
                            AND jeb.actual_flag = 'A'
                            AND jeh.je_source <> 'Payables'
                            AND NVL(jel.reference_1, ' ') NOT IN('PO', 'REQ')
                            AND glp.period_set_name = gsb.period_set_name
                            AND glp.period_name = jeh.period_name
                            AND jeh.set_of_books_id = gsb.set_of_books_id
                            AND jeh.je_source = jes.je_source_name) vvv
                      , ap.ap_invoices_all aia
                  WHERE sob = 2
                    AND ibs_company = '40'
                    AND ibs_service = 'FD'
                    AND ibs_account = '87161'
                    AND ibs_centre = '3330510'
                    AND aia.invoice_num =
                           SUBSTR(
                              line_description
                            , INSTR(line_description, 'ERS')
                                 LENGTH(line_description)
                               - INSTR(line_description, 'ERS')
                    AND posted_status = 'P'
                    AND actual_flag = 'A'
                    AND 1 = 1) xyz
          WHERE prha.requisition_header_id = prla.requisition_header_id
            AND plla.line_location_id = prla.line_location_id
            AND pla.po_line_id = plla.po_line_id
            AND pla.po_line_id = pda.po_line_id
            AND pha.po_header_id = plla.po_header_id
            AND prla.requisition_line_id = prda.requisition_line_id
            AND aida.invoice_id = aia.invoice_id
            AND pda.po_distribution_id = aida.po_distribution_id
            AND (pla.quantity * pla.unit_price) = ABS(xyz.amount)
            AND prha.org_id = 7041
            AND prha.authorization_status = 'APPROVED'
            AND prla.suggested_vendor_name = 'CE INT.EMPLOYEE SERVICE CENTRE'
            AND prha.creation_date >= '01-APR-2009'
            AND xyz.invoice_number = 'ERS-3001013-26255'
            AND aia.invoice_num = xyz.invoice_number
            AND xyz.posted_status = 'P'
            AND xyz.actual_flag = 'A'
       GROUP BY pha.segment1
              , pha.creation_date
              , pla.quantity * pla.unit_price;

hi jimr,
you could do your summing at a lower lever without the need for a group by,
-- sample of how you can sum without group by
with t as (
select 1 as po_number, 1 as amount from dual union
select 1, 2 as amount from dual
select po_number, sum(amount) over (partition by po_number) from tso you code could be modified with something like this:
SELECT vvv.ibs_company
                      , vvv.ibs_service
                      , vvv.ibs_account
                      , vvv.ibs_centre
                      , vvv.ibs_spare
                      , vvv.period_num
                      , vvv.period_name
                      , vvv.period_year
                      , vvv.period_start_date
                      , vvv.period_end_date
                      , vvv.amount -- replace this with "sum(amount) over (partition by invoice_number)"
                      , vvv.effective_date
                      , vvv.je_description
                      , vvv.je_source
                      , vvv.line_description
                     -- move this into each SELECT that forms part of the UNION, so it will be repeated, but it'll make it a bit neater at this level
                      , SUBSTR(
                           vvv.line_description
                         , INSTR(vvv.line_description, 'ERS')
                              INSTR(vvv.line_description, '.')
                            - INSTR(vvv.line_description, 'ERS')
                        ) invoice_number
                      , vvv.posted_status
                      , vvv.posted_date
                      , vvv.je_name
                      , vvv.je_category
                      , vvv.batch_name
                      , vvv.actual_flag
                      , vvv.vat_code

Similar Messages

  • Problem in Exporting a Report Group having a Report Painter Report.

    I am having a problem in exporting a Report group having a Report Painter report.When I am trying to export the Report Group using transaction GR57 with all dependent objects,it is displaying:
           group 0102CPDNUEA-CCROSI not transported.
           Transport groups separately if necessary.
    There are 6 such groups which are not transported.Can anybody help me in this regards.Can anybody help me in exporting these Groups.Specifically in Report painter reports what do these Groups signify and how can we see them.Please help me....

    hi,
    I am able to export my report groups with dependent objects successfully.
    I dont know why you are getting error message. Just keep break point at ***** and execute it for single group and find out why it is giving error.
      IF SY-BATCH = 'X' OR NO_LIST = 'X'.  "direct or batch
        SET PF-STATUS 'LIST'.
    *****PERFORM TRANSPORT_OBJS USING 'X'.  "transport all jobs
        IF FILE_EXP <> 'X'.
          READ TABLE WT_E071 INDEX 1.
          IF SY-SUBRC = 0.
            LEAVE.
          ENDIF.
        ENDIF.
      ELSE.                                "online
        SET PF-STATUS 'MENU'.
       PERFORM WRITE_TRANSP_OBJS.
      ENDIF.
    regards,
    ram

  • Report painter performance problem...

    I have a client which runs a report group consists of 14 reports... When we  run this program... It takes about 20 minutes to get results... I was assigned to optimize this report...
    This is what I've done so far
    (this is a SAP generated program)...
    1. I've checked the tables that the program are using... (a customized table with more than 20,000 entries and many others)
    2. I've created secondary indexes  to the main customized table with (20,000) entries - It improves the performance a bit(results about 18 minutes)...
    3. I divided the report group by 4... 3 reports each report group... It greatly improves the performance... (but this is not what the client wants)...
    4. I've read an article about report group performance that it is a bug. 
    (sap support recognized the fact that we are dealing with a bug in the sap standard functionality)
    http://it.toolbox.com/blogs/sap-on-db2/sap-report-painter-performance-problem-26000
    Anyone have the same problem as mine?
    Edited by: christopher mancuyas on Sep 8, 2008 9:32 AM
    Edited by: christopher mancuyas on Sep 9, 2008 5:39 AM

    Report painter/Writer always creates a prerformance issue.i never preffred them since i have a option with Zreport
    now you can do only one thing put more checks on selection-screen for filtering the data.i think thats the only way.
    Amit.

  • Report Group Issue

    Hi,
    We have a report group 1AIP, the report generated using this report query has variant in the test system but the same is not there in the validation system(next to the test system).
    When investigated the report inside the report group is same 1AIP-001, but the way it is generated in the test system is through GR33 whereas in validation system is GRR3. Can some one tell why the variants are missing! and why the reports inside the report group is different?
    Note: The description of report group between the Test and validation is different.

    It is not possible to add aggregated calculated fileds like count, countdistinct in a bar chart view's calculation tab. I don't know how you did it. Can you give the next step that you did after choosing Group by as type.
    Anyway, I tried the same thing with updating ordered list and found that for the third calculation (Count(number)/CountDistinct(user)), the result is 1 and 3 (it should have been 1.5), so there is certainly some problem.
    Once you give me the steps on how you created Count, CountDistinct calculated fields and added those in the bar chart, and after I can reproduce, we can file a bug/SR.
    Thanks,
    Vishal
    BAM Dev

  • Sub report group tree in main report Using crystal report 12

    Hi experts,
        I have a strange requirement like, same data needs to be grouped two different ways in a same report.  Like
    Store1:
        Summary of sales on each item chart
    Store2:
        Summary of sales on each item chart
    .....it goes like this
    Department1(multiple stores)
          summary of sale on each item chart - store1
          summary of sale on each item chart - store2
         --........ it goes
    Department2
          summary of sale on each item chart - store3
    --........ it goes
       Its in single report, the first part is grouped only with store and in second part the store is under department. How to do this in same report?
        I achieved  this by creating a sub report to display the first part of data and in the main report sup report data plus the second part of data will be displayed. And its working well but now the problem is the group tree, I'm not able to see the sub report group tree in the main report.
       How to get the sub report group tree in the main report, Or is there any other better way is there so i can get both the data as well the group tree. Please help me to solve this. CryCryCry
    I'm using crystal report 2008(installed separately) with Visual Studio2008 (.Net3.5)
    Thanks in advance.

    Hi
    Thanks for the reply.
        Yea both data source are same(Datasource is SQL Stored Procedure). I cant use like that, because my client needs the group tree also. In case if there is no group tree, we can create one more group and supress it conditionaly. But here the problem is there is no way to suppress any of the group item in group tree as we can do it in the detail section.
        So please me with some different ways and also , please clarrify the following doubts
    1. Can we supress one or more items in the group tree.
    2. Can we get the sub report group tree in main report(Everything is working when i used the sub reports except the group tree). So I'm trying for different ways to do, but none is helping me
    Please help me

  • Report Groups - Selection screen on receiver report

    Hi there,
    When dealing with sender / receiver reports, do you know if it's possible to force a selection screen prompt when calling a receiver report during execution?
    A report was written in the Report Painter, and belongs to a report group called 1OAB.  This report group has three receiver reports defined, so when users double click on a value, it will forward navigate to another report (receiver report, selected after double click) using the same selection criteria of the current report (sender).
    My <b>problem</b>, is that the selection criteria that is passed by the sender isn't sufficient for the receiver report, and the report ends up running with a much larger selection than required. 
    My <b>question</b>, is whether or not we can either:
    <b>a)</b> Interrupt during the report call and prompt with the report selection screen for the receiver report.  This would allow the user to input any missing selections.
    <b>b)</b> Add in any missing selections via a user exit.  I have not had much luck in finding such an exit.  The closest I got was form 'USEREXIT1' from include LRSTIF90.  This exit appears to be called before and after the report call.  I'm not sure if it's a true exit though, as it's just a piece of code in an include and is referred to as an exit?  To implement would I just register the object and add in my code?
    Any suggestions would be appreciated!
    Thanks,
    L

    FYI the only solution I see is to put in a modification to prompt a selection screen during execution. Modification would go in include 'LRSTIF02' as follows:
    PERFORM report_check_obligatory TABLES it_fieldr
                                      USING flg_obl.
    ** MODIFICATION **
    if ld_tcode = 'FBL3N'.
        flg_obl = 'X'.
    endif.
    ** END MODIFICATION **
      IF flg_obl IS INITIAL.
        CALL TRANSACTION ld_tcode AND SKIP FIRST SCREEN.
      ELSE.
        CALL TRANSACTION ld_tcode.
      ENDIF.
    * clear parameter ids
    * perform clear_pid_fieldr tables it_fieldr it_dfies.
      PERFORM reset_pid_fieldr TABLES it_fieldr it_selpid.
    * if flg_return = 'X'.
    *   call transaction ld_tcode and skip first screen.
    * else.
    *   leave to transaction ld_tcode.
    * endif.
    ENDFORM.
    If anybody has a better idea on how to accomplish this I'd love to hear it!
    Thanks,
    L

  • Report Painter: How to find report group of a report?

    Hi experts,
    I have a report that a user created in report painter, I created a transaction (normal report transaction) to acess this report, but the transaction isn't executing right (I don't have the option to see the results only to print it), and I want to try creating a parameter transaction, however nobody knows the report group the report are vinculed.
    I want to know if are possible to consult the report group a report is in.
    P.S. Sorry my english, points will be awarded for good answers.
    Regards,
    Fabio Gross
    Edited by: GrossFabio on Feb 8, 2011 6:39 PM

    Thanks to all for the help, I solved my problem looking into older topics from the forum.
    To all who may have the same problem:
    1 - Go to SE93, create a parameter transaction;
    2 - Report = 'START_REPORT' / skip initial screen = 'X' / Inherit GUI attributes = 'X';
    3 - In the parameters table you will type:
         D_SREPOVARI-NOSELSCRN = blank
         D_SREPOVARI-VARIANT = blak
         D_SREPOVARI-REPORT = blank
         D_SREPOVARI-REPORTTYPE = RE
         D_SREPOVARI-EXTDREPORT = KP  01RPSCO_X                       NAME_OF_YOUR_REPORT
    4 - Special atention to the last parameter as it is the most important in this transaction, the first part (including spaces) are always the same, the last one is the name of the report you created through the CJE*.
    Regards,
    Fabio Gross

  • Report Painter Execution Problem

    Hi,
    I am working on Report Painter in which i am facing a problem that when i execute the Tcode GR55 and fill the Group Name in it ,if there is only 1 report in it ,it gets executed but when there are more than 1 report in it ,some times it gets executed ot sometimes it does not.
    I want to know how can i execute a selected indiviual report when there are about number of reports present in the library assigned to that group.
    Please provide me guidelines for solving this  problem.
    Edited by: ricx .s on Jul 24, 2009 10:10 AM

    Hi,
    The reports in a report group are executed at the same time, so that in the report display you can switch between the individual reports.
    Thanks.

  • To add new characterstics to a report group

    Hi,
    We have created a report group under 601 library. Structure used is CCSS. But we need the field currency type to be added as a characterstic. Since it is not avialable in CCSS we are unable to do that.Please suggest a way.
    Thanks,
    Seema.

    Hi Shamia,
    Check these Tcode for Report painter,
    Report painter....
    GRR1, grr2, grr3
    GS11, 12, 13 for variable
    GS01, 01, 03 for sets
    GR51, 52, 53 for report group
    GR21, 22, 23 for library
    for export-import:
    -Any new variables (GS17 - Export ,GS18 - Import )
    -new sets (GS07 - Export ,GS08 - Import )
    -new report (GR37 - Export ,GR38 - Import )
    -new report group (GR57 - Export , GR58 - Import )
    -new library (GR27 - Export , GR28 - Import )
    [Report Painter|http://www.virtuosollc.com/PDF/Get_Reporter.pdf]
    Hope your problem solves.
    Thanks & regards,
    Dileep .C

  • GRR3 report name changes when assigned to report group

    I have define report title to be "expense report" in Grr3(both short/middle/long text), but when I execute it, I assigned it to one report group, in GR53, I found the report name is changed to "cash flow report", even I removed it and insert again, it still be cash flow report,,
    The report result is fine, only the report title got this problem, anyone can solve it?

    1.Use transaction code: GRR2. 
    2.Double click on the report
    3. Click on Extras,  Report Texts and then Select Headers
    4. Define your report title under headers.
    Elias
    Edited by: Elias Akorli on Nov 6, 2009 2:01 PM

  • Report Groups and Libraries

    Hi,
    I have a query related to report groups download. We had a requirement of moving reports from 4.6 systems to 4.5 systems. So we downloaded the report groups from 4.6 system into our local hard drives (and thought of uploading in 4.5 systmes thereafter). But while downloading we got several warnings. One of those warninigs is as:
    W-R3OB REWR RGVD\CCSS\ZC-PLN-TOTAL-YTD-V2 >>> group 0101PMCO100EXEC not transported
    W-R3OB REWR RGVD\CCSS\ZC-PLN-TOTAL-YTD-V2 >>> Transport groups separately if necessary.                                                                         
    We ignored this warning and tried uploading the report group in 4.5 systmes. There while uploading we got many errors for the report groups. One of which is like:
    E-R3OB SETS STSO\0000ZFNCOSTCTRGP.CCSS >>> Unknown subset in set 0000ZFNCOSTCTRGP.CCSS                                             
    E-R3OB SETS STSO\0000ZFNCOSTCTRGP.CCSS >>> Import of object unsuccessful, object not imported
    Being unware of this sets theory in report groups, i am looking out for some expert advise if somebody has dealt with this kind of problem anytime.
    Thanks and Regards,
    Kishore.

    Hi,
    I don't know if its possible to suppress/hide libraries/reports.
    Create T-codes for the reports the users really need and add the reports to the corresponding area menu in SAP. Thus users don't have a need to use GRR3 anymore, remove the T-code from the authorization concept.
    best regards, Christian

  • Error in generating a report group in Report Painter

    Hi,
    I created a report in SAP report painter using transaction code GRR2. I attached the report to an existing group ( 15 reports already in the group), when I generate the group in transaction code GR55 thereu2019s an error message u201CSyntax error in GP40V42F6QG4OQVI4Q93F6FE3QK500, row 97,644 (-> long text)u201D. Please help me on this error.
    Thanks,
    Louie

    There's no error when I generate the same report in a new created  group as well as when I generate the existting report group without the new created report.
    Information on where terminated
        The termination occurred in the ABAP program "GP40V42F6QG4OQVI4Q93F6FE3QK500"
         in "FILL_RANGES_FROM_SET".
        The main program was "GP40V42ERDE7HBU91TXFAHVA6B0500 ".
        The termination occurred in line 92457 of the source code of the (Include)
         program "GP40V42F6QG4OQVI4Q93F6FE3QK500"
        of the source code of program "GP40V42F6QG4OQVI4Q93F6FE3QK500" (when calling
         the editor 924570).
    Louie

  • Report Group in  Report Painter

    In my <b>report group</b> there are many reports .
    Now i need to give a transaction code to my <b>report group</b>.
    Then which report will execute by the transaction code

    Hi
    To create a Transaction Code for a Report Painter/report writer report
    Tcode for Report Painter
    To create a TCode, follow the steps below.
    1) Go to Transaction code SE93, Enter TCode Name and Press Create.
    2) Give short Description and select Parameter Transaction, Press Enter
    3) Select Transation Radio Button and write START_REPORT in the next text
    box Also Check the box Skip Initial Screen.
    4) On the bottom of Screen (default Values), Enter Parameters
    i) Name = D_SREPOVARI-REPORTTYPE. Value = RW
    ii) Name = D_SREPOVARI-REPORT Value = Your Report Group Name (Say 1SIP)
    5) Save and Execute.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Main Reports' Group Tree doesn't retain last record selected

    In Crystal 2008 Viewer, when you click one of the last tree nodes on a long Group Tree, the program jumps to that part of the report for that group.  But when you return to the Main report tab the Group Tree pane returns to the top.
    According to my users, previous Crystal versions used to outline the previously selected tree node and keep that section in the left pane, so the user could see where they just were.
    This partially works in the Crystal 2008 Developer version.  If I preview the report and drill down with the group tree, the Preview tab's group tree pane stays in place.  I do not, however, have any outline or indication of what group was just selected.
    I found this in the help text: "For longer reports or reports in which you wish to jump back and forth between different groups, the smart navigation features of the Group Tree make your work extremely efficient."  For the users to jump back and forth efficiently they need the Main Reports' group tree to remember the general location from which they came (at a minimum) AND/OR the previously drilled record also be highlighted/outlined (at best).

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Short dump while executing report group.

    Hi,
    We are upgrading to ECC6.0 from 4.6C
    Now while testing the report group i got short dump.
    This is due to to the 'Exception condition "LOAD_PROBLEMS" raised.'
    Error analysis
        A RAISE statement in the program "SAPLSLDB" raised the exception
        condition "LOAD_PROBLEMS".
        Since the exception was not intercepted by a superior
        program, processing was terminated.
        Short description of exception condition:
        For detailed documentation of the exception condition, use
        Transaction SE37 (Function Library). You can take the called
        function module from the display of active calls.
    Function module 'SELOPTS_AND_PARAMS' in this that statement was there.
    Can some one help me out. what i have to do further.
    Thanks in advance.
    Regards,
    Deepak.

    Hi Hemanth,
    Actually what I analysed is what ever the exception raised due to this sy-subrc that exception i think the superior program is not receiving. I think due to this it is going for short dump.
    Let me know if you have any idea further.
    Thanks,
    Deepak.
    Message was edited by:
            Deepak Kudaravalli

Maybe you are looking for

  • [BUG?] af:table table empty after descending sort and remove

    Hi, I think i found a bug. I have an af:table binded to an arraylist in a backingbean. This List consist of an object that represents two strings (value 1 and 2). Now when the table is loaded and I sort descending on one of the columns. After sorting

  • Can't log in because a card valid

    Someone please help me,when I try to log into my account on my iphone 4s it says that I need a any type of credit card/prepaid card,when I typed it in correctly it happen to say "Your payment method was declined.Please enter valid payment method info

  • Visual Approval Action does not complete

    Hello, I am using Visual Approval Callable Object in my Application but when the approver goes into the workitem to approve it ...the action does not complete and he gets the following message...on clicking on Approve/Reject button: "Cannot complete

  • Solaris 10 zone config for JES

    Setup a zone to install JES - Web servers, but when I launch the installer I get the following: WARNING: Unsupported non-global zone EntSysResources:zoneCheckPanel-Gui-LocalZoneSupported Something in the zone setup is incorrect, but not sure what. An

  • Win XP Pro, iTunes - V Slow Rip, WMP10 3 times as fast on same PC

    Hello All, Well I did it - I took the plunge and went out and got me an iPod after everyone saying how great Apple are. Used to have (still do) a beasty that plays MP3 and WMA and I am in the process of converting my CD library.... End of pre-amble.