COPA Report: Multiple selection

Hi Gurus,
I want to have a profit center as a multiple selection to be given as an input in KE30 report. That means user should be able to execute the report based on the selection of the profit center in the entry screen
For the same I created a global variable and following are the details fo the same
Appl. class        KE
Type of variable           Characteristics Value
Variable Name            &PCT
Field Name                PRCTR
Replacement type      Entry
Optional entry           Optional entry
Parameter/selectopt. Select option
Short text                  Profit Ctr
Description               Profit Center
Text                         Profit Center
I have created Form for the report based on the line item (Tcode KE94). If I want to use this global variable "&PCT" in the "General Data selection" tab  in the Form,the characteristic Profit center is not available for selection from the field catlog. Profit center is one of the characteristic in the operating concern.But this is available for the Navigation in KE30 report. I deselected Profit center from the Nevigation in KE32 but still I am not able to make it available for selection in "General data Selection" tab in Form.
What is the relevance of Variable On/OFF in KE30 report? How to make this Global variable available to be used in "General data selection" tab in the Form?
Will you please help me out?
regards,
makrand

Dear Makrand,
Please look into the following:
I brought profit center in selection criterion:
For this I have changed my Form T Code:  KE35:
General Data Selection :
Included Profit center along with the controlling Area.
Then I changed my report:
KE30:
Variables Tab:
Givn Profit center as entry at execution.
Hope this will helps you......
Regards,
Pavan Kumar Arvapally

Similar Messages

  • Interactive Reporting - Multiple SELECT stmts in 1 query

    Is it possible to multiple/nested select statements in 1 query? Actually what I need to do is pull records for the last 12 months. The SQL that I'm basing my IR query from has multiple SELECT statements and uses the add_month function w/ a parameter ranging from 0 to -12.
    Thanks.
    Terri

    Here's some of the additional SELECTs. There are more after these that I didn't include since it would be fairly long.
    CREATE OR REPLACE VIEW DEFECT_INVENTORY
    (NEW_COUNT, CLOSE_COUNT, BEGINNING_COUNT, ENDING_COUNT, MONTHNAME,
    SEVERITY)
    AS
    select New_Count, Close_Count, Beginning_count, Ending_Count,r.Monthname, r.Severity from
    (select p.New_Count, q.Close_Count,p.sev Severity, p.Month_Name Monthname from
    (Select count(bg_bug_id) New_Count,a.Month_Name, a.sev
    from
    (select bg_bug_id,
    bg_severity sev,
    bg_user_10 app,
    bg_detection_date,
    bg_closing_date,
    to_date(bg_user_26, 'yyyy-mm-dd') as cancel_date,
    to_date(substr(bg_vts,1,10), 'yyyy-mm-dd') as vts,
    to_char(to_date((to_char(add_months(sysdate, -11), 'MM')||'/01/'||to_char(add_months(sysdate, -11), 'YYYY')), 'MM/DD/RRRR') -1, 'MON-YY') as Month_Name,
    bg_status,
    to_date((to_char(add_months(sysdate, -11), 'MM')||'/01/'||to_char(add_months(sysdate, -11), 'YYYY')), 'MM/DD/RRRR') -1 AS rpt_DATE_end,
    to_date((to_char(add_months(sysdate, -12), 'MM')||'/01/'||to_char(add_months(sysdate, -12), 'YYYY')), 'MM/DD/RRRR') AS rpt_DATE_beg
    from bug ) a
    where (a.bg_status not like '65-Cancelled'
    and a.bg_detection_date <= a.rpt_DATE_end
    and a.bg_detection_date >= a.rpt_DATE_beg
    and a.cancel_date is null)
    group by a.sev, a.Month_Name) p,
    (Select count(bg_bug_id) Close_Count,a.Month_Name, a.sev
    from
    (select bg_bug_id,
    bg_severity sev,
    bg_user_10 app,
    bg_detection_date,
    bg_closing_date,
    to_date(bg_user_26, 'yyyy-mm-dd') as cancel_date,
    to_date(substr(bg_vts,1,10), 'yyyy-mm-dd') as vts,
    bg_status,
    to_char(to_date((to_char(add_months(sysdate, -11), 'MM')||'/01/'||to_char(add_months(sysdate, -11), 'YYYY')), 'MM/DD/RRRR') -1, 'MON-YY') as Month_Name,
    to_date((to_char(add_months(sysdate, -12), 'MM')||'/01/'||to_char(add_months(sysdate, -12), 'YYYY')), 'MM/DD/RRRR') AS rpt_DATE_beg,
    to_date((to_char(add_months(sysdate, -11), 'MM')||'/01/'||to_char(add_months(sysdate, -11), 'YYYY')), 'MM/DD/RRRR') -1 AS rpt_DATE_end
    from bug ) a
    where (a.bg_status like 'Closed'
    and a.bg_closing_date <= a.rpt_DATE_end
    and a.bg_closing_date >= a.rpt_DATE_beg
    and a.bg_closing_date is not null)
    or
    (a.bg_status like 'Closed'
    and a.vts <= a.rpt_DATE_end
    and a.vts >= a.rpt_DATE_beg
    and a.bg_closing_date is null)
    or
    (a.bg_status not like 'Closed'
    and a.bg_closing_date <= a.rpt_DATE_end
    and a.bg_closing_date >= a.rpt_DATE_beg
    and a.bg_closing_date is not null)
    group by a.sev, a.Month_Name) q
    where p.sev = q.sev) r,

  • ABAP list report, multiple selections - select-options

    I have written a very simple ABAP list report, that contains a single select-option.  On the selection screen, I have the option of entering multiple values, with each new value being displayed directly underneath the old, but I am only getting the first value entered on the screen displayed.  Does anyone have any sample code for me?

    Hi Daniel,
    Select_Options consists of 4 parameters, in with the range consists in eg...
    Select-options s_vbeln for vbak-vbeln.
    then s_vbeln-low, s_vbeln-high are the range values...
    So whne you write select query.
    write vbeln in s_vbeln
    instead of vbeln eq s_vbeln
    Hope this solves your problem.
    Thanks & Regards,
    Dileep .C

  • COPA Report - Input Selection Fields dynamically not derived in COPA Report

    Dear Friends,
    Please send your valuable inputs for the below issue.
    Client needs the COPA Input parametres ( Period/Year) to be dynamically displayed in the respective column of the COPA Output Report
    I have configured in KE35 , in the Column of the Form as  
    Column 1                 Column 2
    Lead Column          Cumulative Actuals         
                                     $FROM-$TO/$YEAR       .   
    Sales quantity     5000
    Gross revenue     10000
    Sales deductions     2000
    Net Revenue                           8000
    Variable Cost                      3500
    Contribution                         4500
    But still Im unable to get the input fields, such as Period/Year , in the respective Column of the COPA output Report. 
    Client is expecting the report should be as below
    Cumulative actual - Profit Margin Report
    Lead column       Cumulative Actuals
                                              1-  12/2011
    Sales quantity     5000
    Gross revenue     10000
    Sales deductions     2000
    Net Revenue                           8000
    Variable Cost                      3500
    Contribution                         4500
    Advance Thanks
    Sanjai

    Dear Makrand,
    Please look into the following:
    I brought profit center in selection criterion:
    For this I have changed my Form T Code:  KE35:
    General Data Selection :
    Included Profit center along with the controlling Area.
    Then I changed my report:
    KE30:
    Variables Tab:
    Givn Profit center as entry at execution.
    Hope this will helps you......
    Regards,
    Pavan Kumar Arvapally

  • ALV REPORT MULTIPLE SELECTION

    CAN ANYONE PLZ TEMME HOW TO SELECT MULTIPLE RECORDS IN ALV AND EDIT THEM...........................
    EG....SELECT MULTIPLE VALUES AND CHANGE D ACTIVE INDICATOR.........
    THANX IN ADVANCE...........

    Hi,
    Reprots
    http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    ALV
    1. Please give me general info on ALV.
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    2. How do I program double click in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=11601
    http://www.sapfans.com/forums/viewtopic.php?t=23010
    3. How do I add subtotals (I have problem to add them)...
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    4. How to add list heading like top-of-page in ABAP lists?
    http://www.sapfans.com/forums/viewtopic.php?t=58775
    http://www.sapfans.com/forums/viewtopic.php?t=60550
    http://www.sapfans.com/forums/viewtopic.php?t=16629
    5. How to print page number / total number of pages X/XX in ALV? http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
    6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
    http://www.sapfans.com/forums/viewtopic.php?t=64320
    http://www.sapfans.com/forums/viewtopic.php?t=44477
    7. How can I set the cell color in ALV? http://www.sapfans.com/forums/viewtopic.php?t=52107
    8. How do I print a logo/graphics in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=81149
    http://www.sapfans.com/forums/viewtopic.php?t=35498
    http://www.sapfans.com/forums/viewtopic.php?t=5013
    9. How do I create and use input-enabled fields in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=84933
    http://www.sapfans.com/forums/viewtopic.php?t=69878
    10. How can I use ALV for reports that are going to be run in background?
    http://www.sapfans.com/forums/viewtopic.php?t=83243
    http://www.sapfans.com/forums/viewtopic.php?t=19224
    11. How can I display an icon in ALV? (Common requirement is traffic light icon).
    http://www.sapfans.com/forums/viewtopic.php?t=79424
    http://www.sapfans.com/forums/viewtopic.php?t=24512
    12. How can I display a checkbox in ALV? http://www.sapfans.com/forums/viewtopic.php?t=88376
    http://www.sapfans.com/forums/viewtopic.php?t=40968
    http://www.sapfans.com/forums/viewtopic.php?t=6919
    Check this for basic concepts of OOPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/abap%20objects/abap%20code%20sample%20to%20learn%20basic%20concept%20of%20object-oriented%20programming.doc
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
    Tabstrip
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20for%20tab%20strip%20in%20alv.pdf
    Editable ALV
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20edit%20alv%20grid.doc
    Tree
    http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_usrint.htm
    General Tutorial for OOPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an%20easy%20reference%20for%20alv%20grid%20control.pdf
    http://www.sapdevelopment.co.uk/reporting/alvhome.htm
    http://www.sap-img.com/abap/what-is-alv-programming.htm
    http://www.sap-img.com/abap-function.htm
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapdevelopment.co.uk/reporting/alv/alvtree%5Calvtree_basic.htm
    http://esnips.com/doc/ad20dca9-6182-4903-8d8f-96a66dc8590c/ALV.pdf
    http://www.sap-img.com/abap-function.htm

  • Copa report selection screen

    In copa reports, i selected a report, i get the following report selections
    from period/year
    To period/year
    plan/act.indicator
    version
    I want to include sales group to this selection screen of the copa report.please advise.
    Thanks&regards
    MSReddy

    Dear Friends:
    In T.code KEA5, Characteristics fields KMKDGR (customer group) is already present. I want to remove the Characteristics fields which are not necessary for my report.
    In field Catalog (menu path-Characteristics-change selection), I selected authorization group, sales group.
    I get the following warning messages
    Field KMVKGR has the same name as field VKGRP
    I saved the Characteristics fields for sales group and authorization group despite the warnings and activated them.
    But when i go to t.code KEA5 again (Change Characteristic overview), the fields of authorization group, sales group are not saved.
    The sales group (ex:Z01) has to be defaulted when the user login.Is it possible?
    How to overcome the problem?Please advise.
    Thanks&Regards
    MSReddy
    Message was edited by:
            Sridhar M

  • Multiple rows coming for COPA report

    Hi Experts,
    In my COPA report multiple rows are coming like ...
    COGS-Budgetted period.
    0.2765- 1st row
    0.2765- 2nd row.
    all the records are coming like this only...I want only single row. can anybody tell me the reason and solution...
    If u r help in this regards I will appreciated with points.
    Thnx in advance,

    Have you applied characteristics restrictions to one currency type and to a single InfoProvider?

  • Report Using Multiple Select

    hi
    I want to display a report with Multiple Select List like
    http://apex.oracle.com/pls/apex/f?p=267:16:
    Thanks
    Edited by: 805629 on Jan 6, 2011 9:28 PM

    Did you ever get this answered???
    This is exactly what I am looking for!

  • How can i display Value in Report which i select from Multiple select list

    Dear All,
    i am using multiple select List in form with report page.
    When i create new Entry with select Multiple value in Multiple Select List then in report Value display me in below format
    my SQL Query are
    select NAME D, CODE R from  COUNTRY_MAS WHERE ACTIVE_FLG ='Y' order by NAME
    AS:AI:AG:AM these are return value .i want to display NAME in report .
    How can i do this ?
    Thanks
    Edited by: Vedant on Apr 25, 2012 11:14 PM

    Short answer, use the apex_util.string_to_table to convert to a table; then you can either iterate through the table to generate a string of names, or accomplish the same with a bulk operation.
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDFEEJD
    Encapsulate all this within a pl/sql function.

  • How can I create multiple selection check boxes in a report row?

    Hello,
    I'd like to know how a multiple selection checkbox can be created in report rows. In brief, I need to create a questionnaire template and each one of the questions will have multple options checkboxes, that means that the user can select more than one of the answers.
    Should I use apex_item.checkbox ?. I have no clue here.
    Please advice.
    Thank you
    Edited by: user9982480 on Jul 23, 2012 10:58 AM

    Hi,
    This might save your effort
    http://www.apexsolution.de/questionnaire/
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Setting current values in Multiple Select List in SQL Query based Report

    Hi,
    I have a report based on a sql query that contains a multiple select list. Unfortunately I cannot get the multiple select list to display the current values (p_value) correctly. I have created a page item, :p311_current_versions, that is set using a pre-header process and it returns a value with a colon delimited format e.g. '10.1.2.1.0:10.1.2.2.0'. Then this item is used in the sql query to set the current value (p_value) of the apex_item.select_list_from_query function. However when the table is displayed, instead of having two entries, 10.1.2.1.0 and 10.1.2.2.0 selected, it has an extra entry '10.1.2.1.0:10.1.2.2.0' selected.
    Here is my code:
    select distinct a.product, a.version from (
    select distinct
    apex_item.display_and_save(2,product)||apex_item.hidden(1,env_product_id) PRODUCT,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(3,decode(product, 'HTTP Server' , :p311_current_versions, version), 'SELECT distinct version d, version r FROM ebs_tech_stack where
    product ='''||PRODUCT||'''',
    decode(PRODUCT, 'HTTP Server' ,'multiple="multiple" style="width:170px"','style="width:170px"'),
    'NO') as version
    from ebs_environment_tech_stack
    where environment_id = :p311_umgebung_id) a order by a.product
    If anyone can help me figure out how to set the current values correctly I'd be really grateful!!
    Thanks in advance,
    Jean

    Jean,
    I don't think this is possible using the apex_item package. The select_list_from_query function accepts only a single value for the second parameter.
    Scott

  • Scheduled Report - Bug with Multiple Selection LOV parameter

    Problem:
    I have a scheduled report with a parameter that has it's "Multiple Selection" checkbox checked. I schedule the report with multiple values selected. When I receive the report via email, the report ran as if I only selected one LOV value instead of multiple values.
    Facts:
    1) Enterprise version 10.1.3.2.1
    2) When you run the report manually with multiple values selected in the LOV, it runs great with the correct dataset.
    3) This scheduled report does not have a Data Template.
    James
    P.S. - I searched this forum for other treads on this issue. I didn't find any. Sorry if this is a duplicate.

    I have this same problem, too.
    When I select multiple parameters on the "View" screen for a given report, everything works fine.
    When I schedule it, however, only the last parameter I clicked on (regardless of whether a select a range or multiple individual values) is passed to the query. The other selections I make are ignored.
    What gives? Am I doing something wrong? Is this a bug? Is there a workaround?

  • How to Add a new Selection Field in COPA Report

    Hi Gurus
    I'm new on SAP COPA reporting and I don't know how to solve this problem.
    I need add a new Selection-screen field (char1), not connected with any characteristic.
    This is necessary becuase if the user flag this field, when teh report is running I'll replace some key-figure values using the EXIT  
    ZXYEXF05. I don't find any instruction how to define this simple kinfd of variable, and use it into a Report.
    Thank-you in advance for your help.
    Claudio

    Hi
    I'll try to explain better my need.
    I've 10 CO-PA Key-Figures used to Split in the Cost of a material in different Cost Items.
    Using the customizing I fill these key-figures using some rules.
    The new requirement is use SOMETIME the same KF, by displaying different Costs overwritting the original values using the exit ZXYEXF05. But I need to know when the user wants consider the original value of KF, and when he wants overwrite these values (when I have to run teh exit). So I thought to create a new Selection-screen field (Char1), to permit to the user to pass to some report this user request. I thought to define a global variable, and add it to several reports when this feature is required.
    Can you suggest a better solution ???
    I could create some empty KF and fill them using teh exit, but I would prefer not expand the CO-PA structure.
    Thanks for help.
    Claudio

  • Multiple selection lists in abap report

    I need to populate a multiple selection list and then read the selection in an ABAP report. A parameter with list box is not solving my purpose.
    Please give any suggestion on this.

    Hi
    If you can't use the SELECT-OPTION statament, there's no standard solution.
    U can only try to create a table control with only one colunm and every hit of the table control is a single hit for the selection.
    To insert a table control in a selection-screen u need to use the statament:
    SELECTION-SCREEN BEGIN OF TABBED (see the help)
    In order to create a TAB where u can load a subscreen where u can insert a table control.
    The u need to transfer the hit from table control to a range.
    Max

  • Posting date as selection parameter in COPA report painter report

    hi,
    we want to include the posting date and document date in selection criterion of COPA report generated through report painter.
    we do not want to use period and fiscal yr as selection criterion.
    pls suggest.
    regards
    FLD

    Hi Sashidhar,
      First go to the program RHU_HELP and you need to enhance the code using the enhancement technique using implicit enhancement.  You can add your new selection criteria at line no 257( need to create an new implicit enhancement).
    Hope this is helpful for you.
    Regards,
    Ramesh.

Maybe you are looking for

  • Issue in document creation

    hi all, when i am creating a document in pm-wcm  it shows an error Message no. I4812 Update could not be completed successfully in sap kindly help me pls

  • Sql 2012 integration services settings grayed out

    Our DBAs are trying to change some settings for integration services by following this article: https://msdn.microsoft.com/en-us/library/aa337083.aspx?f=255&MSPPError=-2147217396 however everything on the properties window is grayed out. I have the s

  • Layer Masks Aren't Working Properly

    I frequently use layer masks in my work and have never had any problems with them. However, for the last few days, something weird has been happening. I have used a large soft brush at 20% flow and 100% opacity and things seem to work until I look cl

  • Oracle migration from Solaris 64 sparc to Solaris x86-64

    Now that Solaris x86-64 is supported in Netweaver 2004s SR1, I was wondering about the migration path. Would this be a heterogeneous migration or a homogeneous migration. or to put it another way Export/import to migrate or backup/restore???? No docu

  • Windows 7 and Bridge.

    It's showing that Camera Raw 5.5 is in use, however not sure if the installation was correct since there's NO documentation that I can find on here about WINDOWS 7 whatsoever. Anyone?