Drill down format in Ke30 report

Hello, In Ke30 Copa report after executing the report, the output comes as per attached format,(Pls check file attached for reference)...
I have created the form in ke35 in below format,
Sales              xxxx
Cogs              xxxx
GM                  xxxx
Direct Exp      xxxx
and when we click on detail list in ke30 report, output is appearing as per ke35 format whereas when we click on layout display(back button), format is as per attached file.
We want the drill down format itself as with product as column wise and Value fields as row wise....
Reg karthik

Hi Karthik
As far as I know, drilldown reports work in this way..
Detail List show you the way you designed the form
Drilldown list always show VF in Columns and Chars in Row.. The Options to drill down always appear on left side
If you have BW system, there you have the possibility of achieving what you want
Br, Ajay M

Similar Messages

  • [Forum FAQ] How to use parameter to control the Expand/Collapse drill-down options in SSRS report?

    In SQL Server Reporting Services (SSRS), drill-down is an action we can apply to any report item to hide and show other report items. They all are ways that we can organize and display data to help our users understand our report better. In this article,
    we are talking about how to use parameter to control the Expand/Collapse drill-down options in SSRS report.
    Consider that the report has a dataset (dsSales) with following fields: SalesTerritoryGroup, SalesTerritoryCountry, CalendarYear, SalesAmount.
    1. The report has the following group settings:
    Parent Group: SalesTerritoryGroup
     Child Group: SalesTerritoryCountry
      Child Group: CalendarYear
       Details: SalesAmount
    2. Add three parameters in the report:
    GroupExpand:
    Available Values: “Specify values”
    Label: Yes           Value: Yes
    Label: No            Value: No
    Default Values: “Specify values”
    Value: Yes
    CountryExpand:
    Available Values: “Specify values”
    Label: Yes           Value: =IIF(Parameters!GroupExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No","No","Yes")
    YearExpand:
    Available Values: “Specify values”
    Label: Yes          
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No","No","Yes")
    3. Right click SalesTerritoryCountry icon in the Row Groups dialog box, select Group Properties.
    4. Click Visibility in the left pane. Select “Show or hide based on an expression” and type with following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", False, True)
    Select “Display can be toggled by this report item” option, and select “SalesTerritoryGroup” in the drop down list.
    5. Use the same method setting CalendarYear, (Details) drill-down with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", False, True)
    =IIF(Parameters!YearExpand.Value="Yes", False, True)
    6. Click SalesTerritoryGroup text box in the tablix. Select InitialToggleState property in the Properties dialog box, and type following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", True, False)
    7. Use the same method setting SalesTerritoryCountry, CalendarYear text box with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", True, False)
    =IIF(Parameters!YearExpand.Value="Yes", True, False)
    After that, when we preview the report, we can use these three parameters to expand/collapse drill-down.
    Note:
    In our test, we may meet following issue. We can check the expression of InitialToggleState property to troubleshooting the issue.
    Applies to
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012

    In SQL Server Reporting Services (SSRS), drill-down is an action we can apply to any report item to hide and show other report items. They all are ways that we can organize and display data to help our users understand our report better. In this article,
    we are talking about how to use parameter to control the Expand/Collapse drill-down options in SSRS report.
    Consider that the report has a dataset (dsSales) with following fields: SalesTerritoryGroup, SalesTerritoryCountry, CalendarYear, SalesAmount.
    1. The report has the following group settings:
    Parent Group: SalesTerritoryGroup
     Child Group: SalesTerritoryCountry
      Child Group: CalendarYear
       Details: SalesAmount
    2. Add three parameters in the report:
    GroupExpand:
    Available Values: “Specify values”
    Label: Yes           Value: Yes
    Label: No            Value: No
    Default Values: “Specify values”
    Value: Yes
    CountryExpand:
    Available Values: “Specify values”
    Label: Yes           Value: =IIF(Parameters!GroupExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No","No","Yes")
    YearExpand:
    Available Values: “Specify values”
    Label: Yes          
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No","No","Yes")
    3. Right click SalesTerritoryCountry icon in the Row Groups dialog box, select Group Properties.
    4. Click Visibility in the left pane. Select “Show or hide based on an expression” and type with following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", False, True)
    Select “Display can be toggled by this report item” option, and select “SalesTerritoryGroup” in the drop down list.
    5. Use the same method setting CalendarYear, (Details) drill-down with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", False, True)
    =IIF(Parameters!YearExpand.Value="Yes", False, True)
    6. Click SalesTerritoryGroup text box in the tablix. Select InitialToggleState property in the Properties dialog box, and type following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", True, False)
    7. Use the same method setting SalesTerritoryCountry, CalendarYear text box with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", True, False)
    =IIF(Parameters!YearExpand.Value="Yes", True, False)
    After that, when we preview the report, we can use these three parameters to expand/collapse drill-down.
    Note:
    In our test, we may meet following issue. We can check the expression of InitialToggleState property to troubleshooting the issue.
    Applies to
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012

  • How to use drill down option in Crystal Report

    Dear all,
            I want to know how to use drill down option in Crystal report 2008.  In below i have explained my screnario
    For example
       My scenario is.  In crystal report I have Purchase order like PO101,PO102.  Each purchase order have 5 line items.  If i drill down each purchase order it should display line item in crystal report. 
    Regards,
    Baskaran.

    hi,
    Create a Group on 'Purchase order'.
    Group Expert -> Select the Purchase Order and Click the arrow button such that it appears right side. Click ok.
    GH1 is inserted.
    Your detail section should include 'Line items' fields.
    Right Click 'Detail' section on left hand side,  Click 'Hide (Drill down Ok)'.
    Now you will see only 'Purchase order's in Group Headers.
    Now when you click on a particular order, you will see respective line items.
    Regards,
    Vamsee

  • Drill Downs in SSRS 2010 reports

    Hello, I have a SSRS 2010 report that I’m trying to add some drill down features in List report.
    My dataset has the following fields:
    NAME
    MANAGER
    SEC_TYPE
    BUYS
    SALES
    NEW_MONEY
    AUM
    My Rows groups are:
    NAME – Parent Group
    SEC_TYPE – Child Group
    My columns are in this order NAME , SEC_TYPE, MANAGER , BUYS , SALES , NEW_MONEY,
     and AUM. The NAME and SEC_TYPE groupings are visible and the individual fields are hidden.
    I would like to add drill downs to report to do the following
    Show consolidated view of NAME, BUYS, SALES, NEW_MONEY, and AUM only. Essentially, I want to remove all the detail that SEC_TYPE and MANAGER brings into the report.
      2. When a user clicks a textbox it will expand into the view that adds the SEC_TYPE detail to the report.
      3. Then when a user clicks another textbox it will expand to add the Manager detail to the report as well.
    So I’m basically trying to give the user a very consolidated view and then have the ability to see more data upon request.
     I think some of can visibility settings..
    Any help would be greatly appreciated.
    x

    Drill downs are pretty straight forward. You create your tablix so it shows all of the desired data, grouped as you want. Add a Total row to show the summary data when the group details are collapsed. Then in each group properties starting from the Details
    and working up, set Visibility to Hide and to be toggled by another control. That control should be the textbox in the cell for the parent group. Continue this to the point that the report initially renders in the desired consolidated view. Each cell that
    controls the visibility of child groups will have a + next to it that can be clicked to expand the child groups data.
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Bex Free characteristic drill down in Web i report

    Hi
    I have a question, we are using bex query as source for our web i report.
    for that if you have an idea on Bex query analyzer, we can drill down on a free char list in bex and each and every drill down bex query go back to cube and fetches and refreshes the data based on the selection.
    In the same way can i get the same feature in Web i report, when i drill down my web i report should go back to the Bex query
    and should refresh the data.
    Any help in this regards is greatly appreciable
    Thanks in Advance,
    Swaraj.

    Hi,
    What you described is an OLAP 'slice and dice' type workflow - try the Analysis web application (in bi4.0 launch pad). WebI can do some drill down,  but it is really best at consuming small chunks of rowsets (not 'flattened' OLAP datasets)
    webi does go back to hit the database,  but only when you click "refresh".  so you can add a new object, and it sometimes says "#TOREFRESH" - then user refreshes to expand the scope of analysis.
    this process was automated in XI3.1 (where the interface didn't prompt for the refresh) and customers typically complained of slow response times. i.e. they didn't realise the inclusion of a results object fired a new query.
    Regards,
    H

  • CRVS2010 Beta - Drill down functionality for Crystal Report in VS 2010

    I found a limitation with Drill down functinality in crystal Report using VS 2010.
    If report`s section or group has data in furthure section or same group, its work fine, but section/group does not have data, it allows to click on fields for drill down but genrate issue.
    Updated subject line per this Beta post - Crystal Reports for Visual Studio 2010 Beta - read before posting
    Edited by: Don Williams on Oct 16, 2010 12:59 PM

    If you look up you'll see you are now in the "SAP Community Network Forums » Business Intelligence SDK Application Development (SAP BusinessObjects and SAP Crystal Solutions) » .NET - SAP Crystal Reports"  forum.
    But if want the link here it is:
    Thank you
    Don

  • Javascript Problem for Drill Down Action in SSRS Report when integrated to PPS 2010

    Hi all,
    I have a SSRS report which is integrated to PPS 2010(Performance Point Services) and it is having a drill down action through Go to URL action(I wrote javascript:void(window.open('xxxxx')) to open drill down report in new window).
    This report has 5 parameters and all are multiple valued. Drill down report is opening very well when I open the report form Report Manager for any number of parameters values selected. But when I integrate the same report is PPS and deployed to SharePoint
    then it is working only for 23 parameter values selected in PPS filters. If I select more the 23 values in PPS filters then the drilldown report is not opening.
    But it is working well in Chrome, I verified in IE and Mozilla, both browsers are having problem.
    When I look at Error Console of Mozilla, it is showing a javascript error as "Error: uncaught exception: ReferenceError: window is not defined" but the same report is working well if I select less than 24 filter values.
    Please provide me the solution
    Thanks in advance

    Hi Vasu,
    The issue might occur due to the Microsoft security update MS11-100 which limits the maximum number of form keys, files, and JSON members to 1000 in an HTTP request. Here, I suggest that you modify the Web.config file of the SharePoint site as follows:
    <appSettings>
    <add key="aspnet:MaxHttpCollectionKeys" value="10000" />
    </appSettings>
    If the SharePoint site uses the port 80, the web.config file of the SharePoint site is located in the C:\inetpub\wwwroot\wss\VirtualDirectories\80 folder.
    Reference:
    An ASP.NET request that has lots of form keys, files, or JSON payload members fails with an exception
    If the issue persist, please check whether there are any related errors in the Reporting Services log file which is located in <Drive>:\Program Files\Microsoft SQL Server\MSRSXX.<Instance Name>\Reporting Services\LogFiles.
    Regards,
    Mike Yin
    TechNet Community Support

  • CO-PA Report: Incorrect Drill-Down to Line Item Report result (KE32 / KE34)

    Hi There
    We have created a CO-PA report and assigned the ability to call up the CO-PA Line Item report (KE24).
    When we drill-down from a cell within the report for an actual amount for a specific period, the line item report displays the line-items from the prior period?
    Any assistance would be greatly appreciated.
    Thanks
    peter

    hi
    add another columns and populate the formula as required.

  • Hyperlink (Drill-Down) in a Sub-Report

    Hi,
    I have a report in which I am using on-demand sub-report.
    In the Sub-report I added a working Hyperlink to one of the columns to drill-down to transaction details.
    However when I run the report I can't drill from the Sub-report. The hyperlink inside of the Sub-report is not working.
    Is there any work around to make this to work?
    Thank you,
    Tanya.

    Hi Tanya, 
    Let's try breaking this down a little bit more granularly.  I'd like to know what the formulas in the subreport shows and what the main report shows.  It's always a possibility the subreport's formula is returning 0 and passing it properly to the main.  So this will show that. 
    1)  The formula in your subreport, just have it do: 
    WhilePrintingRecords;
    shared numberVar Nar_Count;
    Nar_Count:=Count ({Command.YTD_NARRATIVE});
    Show/Unsuppress the subreport's Report Footer so we can see the formula. 
    2)  Leave the formula in the main reports GF1 as: 
    WhilePrintingRecords;
    shared numberVar Nar_Count;
    Do you see a number in both formulas or do you see the number in the subreport but not the main report? 
    I want to see if the formula in the subreport is working and not just returning 0. 
    If the formula in the subreport works then I want to know what the formula in the main report is showing. 
    If this does work:
    1)  Change the formula in the subreport back to: 
    WhilePrintingRecords;
    shared numberVar Nar_Count;
    Nar_Count:=Count ({Command.YTD_NARRATIVE})+Count ({Command.PTD_NARRATIVE})
    2)  Leave the formula in the main report's GF1 as: 
    WhilePrintingRecords;
    shared numberVar Nar_Count;
    Again, what do you see in the subreport and the main report? 
    Good luck,
    Brian

  • How to use drill down ability in ALV report.

    Hi All,
    I have a ALV report and now i want to add  drill down functionality in this ALV report.
    See the requirement below.
    The Document Number, aka Accounting Document Number (BELNR) of each row will take the user to the appropriate document to edit as follows:
    For Parked documents:-
    If VBKPF-AWTYP (Reference Procedure) = “RMRP”, then the drilldown functionality should be to MIR4 using the Object ID in VBKPF- AWKEY.    In this scenario the Object ID represents a Invoice Document Number, not an Accounting Document Number.  Not the Object ID is a combination of Invoice Document Number and Fiscal Year
    If VBKPF-AWTYP = Any other value, then the drilldown functionality should be to FBV2 using the Object ID in VBKPF-AWKEY. In this scenario the Object ID represents a true Accounting Document Number.  Note the Object ID is a combination of Company Code (VBKPF-BUKRS), Accounting Document Number (VBKPF-BELNR) and Fiscal Year (VBKPF-GJAHR)
    For Posted, not Cleared documents:-
    Drilldown ability should be to FB02.   The combination of Company Code (BSIK-BUKRS), Accounting Document Number (BSIK-BELNR) and Fiscal Year (BSIK-GJAHR) will be used to open/drilldown to the correct document in FB02.
    For Cleared documents:-
    Drilldown ability should be to FB03.   The combination of Company Code (BSIK-BUKRS), Accounting Document Number (BSIK-BELNR) and Fiscal Year (BSIK-GJAHR) will be used to open/drilldown to the correct document in FB03.
    Its very urgent, pls help on this.
    Thanks!
    Vipin

    Hi Vipin,
    Please look at the reference code.
    You need to use the FM 'REUSE_ALV_EVENTS_GET' and in the user command event u need to pass the name of the form that u need to write.
    Please find the ollowing code:
    REPORT ZSOURAVICON NO STANDARD PAGE HEADING.
    type-pools: slis.
    tables: vbap.
    data: begin of itab occurs 0,
          chk,
          lights,
          vbeln like vbap-vbeln,
          posnr like vbap-posnr,
          matnr like vbap-matnr,
          kwmeng like vbap-kwmeng,
          end of itab.
    data: P_LIGNAM TYPE SLIS_FIELDNAME VALUE  'LIGHTS'.
    data: v_repid like sy-repid.
    data: t_fld type slis_t_fieldcat_alv,
          ws_fld like t_fld with header line,
          t_sort type slis_t_sortinfo_alv,
          ws_sort like t_sort with header line,
          ws_layout type slis_layout_alv,
          t_event type slis_t_event,
          ws_event like t_event with header line,
          c_topup TYPE slis_t_listheader,
          ws_topup like c_topup with header line.
    constants: c_top type slis_formname value 'TOP_OF_PAGE',
               c_pfs type slis_formname value 'PF_STATUS_SET',
               c_ucomm type slis_formname value 'USER_COMMAND'.
    initialization.
      v_repid = sy-repid.
    select vbeln posnr matnr kwmeng from vbap into corresponding fields of
                                             table itab.
      loop at itab.
        if itab-kwmeng lt 500.
          itab-lights = '2'.
        elseif itab-kwmeng = 500.
          itab-lights = '1'.
        else.
          itab-lights = '3'.
        endif.
        modify itab.
      endloop.
    HERE WE ARE POPULATING THE FIELD CATALOG
      ws_fld-col_pos = '3'.
      ws_fld-fieldname = 'VBELN'.
      ws_fld-KEY = 'X'.
      ws_fld-tabname = ITAB.
      ws_fld-reptext_ddic = 'SALES DOC'.
      append ws_fld to t_fld.
      clear ws_fld.
      ws_fld-col_pos = '4'.
      ws_fld-fieldname = 'POSNR'.
      ws_fld-tabname = 'ITAB'.
      ws_fld-reptext_ddic = 'SALES ITEM'.
      append ws_fld to t_fld.
      clear ws_fld.
      ws_fld-col_pos = '5'.
      ws_fld-fieldname = 'MATNR'.
      ws_fld-tabname = 'ITAB'.
      ws_fld-reptext_ddic = 'MATERIAL NO'.
      append ws_fld to t_fld.
      clear ws_fld.
      ws_fld-col_pos = '6'.
      ws_fld-fieldname = 'KWMENG'.
      ws_fld-tabname = 'ITAB'.
      ws_fld-reptext_ddic = 'UNIT'.
      ws_fld-do_sum = 'X'.
      append ws_fld to t_fld.
      clear ws_fld.
      ws_sort-spos = '1'.
      ws_sort-fieldname = 'MATNR'.
      ws_sort-tabname = 'ITAB'.
      ws_sort-subtot  = 'X'.
      append ws_sort to t_sort.
      clear ws_sort.
      ws_layout-zebra = 'X'.
    ws_layout-detail_popup = 'X'.
    ws_layout-f2code = '&ETA'.
      ws_layout-totals_text(60) = 'TOTAL'.
      ws_layout-subtotals_text(60) = 'SUB TOTAL'.
      ws_layout-box_fieldname = 'CHK'.
      ws_layout-lights_fieldname = P_LIGNAM.
      ws_layout-box_tabname = ITAB.
      ws_layout-edit = 'X'.
      clear ws_event.
      ws_event-name = c_top.
      ws_event-form = c_top.
      append ws_event to t_event.
      ws_event-name = c_pfs.
      ws_event-form = c_pfs.
      append ws_event to t_event.
      clear ws_event.
      ws_event-name = c_ucomm.
      ws_event-form = c_ucomm.
      append ws_event to t_event.
      clear ws_event.
      CLEAR ws_topup.
      ws_topup-typ  = 'H'.
      ws_topup-info = 'Purchase Order Report'.
      APPEND ws_topup TO c_topup.
      CLEAR ws_topup.
      ws_topup-typ  = 'H'.
      ws_topup-info = 'An ALV Report '.
      APPEND ws_topup TO c_topup.
      ws_topup-TYP = 'S'.
      ws_topup-KEY = 'CURRENT PROGRAM NAME:'.
      ws_topup-INFO = v_repid.
      APPEND ws_topup TO c_topup.
      CLEAR ws_topup.
      ws_topup-TYP = 'S'.
      ws_topup-KEY = 'DATE:'.
      write SY-DATUM to ws_topup-INFO.
      APPEND ws_topup to c_topup.
      CLEAR ws_topup.
      ws_topup-TYP = 'S'.
      ws_topup-KEY = 'TIME:'.
      write SY-UZEIT to ws_topup-INFO.
      APPEND ws_topup TO c_topup.
      CLEAR ws_topup.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
         I_CALLBACK_PROGRAM             = v_repid
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = ' '
      I_STRUCTURE_NAME               =
         IS_LAYOUT                      = ws_layout
         IT_FIELDCAT                    = t_fld
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
         IT_SORT                        = t_sort
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
         IT_EVENTS                      = t_event
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
        TABLES
          T_OUTTAB                       = itab[]
    EXCEPTIONS
      PROGRAM_ERROR                  = 1
      OTHERS                         = 2
          FORM top_of_page                                              *
    FORM top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = c_topup
          I_LOGO                   = 'LOGO'
      I_END_OF_LIST_GRID       =
    ENDFORM.
          FORM PF_STATUS_SET                                            *
    -->  RT_EXTAB                                                      *
    FORM PF_STATUS_SET using rt_extab type slis_t_extab.
      set pf-status 'STD'. "EXCLUDING RT_EXTAB.
    set pf-status 'STANDARD'.
    endform.
          FORM user_command                                             *
    form USER_COMMAND using r_ucomm like sy-ucomm
                            rs_selfield type slis_selfield.
      data: begin of itab_temp occurs 0,
            VBELN LIKE VBAP-VBELN,
            POSNR LIKE VBAP-POSNR,
            MATNR LIKE VBAP-MATNR,
            kwmeng like vbap-kwmeng,
            end of itab_temp.
      DATA: t_fld1  TYPE SLIS_T_FIELDCAT_ALV,
            ws_fld1  LIKE t_fld1  WITH HEADER LINE.
      case r_ucomm.
        when 'SHOW'.
          loop at itab where chk = 'X'.
            move-corresponding itab to itab_temp.
            append itab_temp.
            clear itab.
          endloop.
          ws_fld1-col_pos = '1'.
          ws_fld1-fieldname = 'VBELN'.
          ws_fld1-tabname = ITAB_TEMP.
          ws_fld1-reptext_ddic = 'SALES DOC'.
         ws_fld1-key = 'X'.
          append ws_fld1 to t_fld1.
          clear ws_fld1.
          ws_fld1-col_pos = '2'.
          ws_fld1-fieldname = 'POSNR'.
          ws_fld1-tabname = ITAB_TEMP.
          ws_fld1-reptext_ddic = 'SALES ITEM'.
         ws_fld1-key = ' '.
          append ws_fld1 to t_fld1.
          clear ws_fld1.
          ws_fld1-col_pos = '3'.
          ws_fld1-fieldname = 'MATNR'.
          ws_fld1-tabname = ITAB_TEMP.
          ws_fld1-reptext_ddic = 'MATERIAL NO'.
         ws_fld1-key = ' '.
          append ws_fld1 to t_fld1.
          clear ws_fld1.
          ws_fld1-col_pos = '4'.
          ws_fld1-fieldname = 'KWMENG'.
          ws_fld1-tabname = ITAB_TEMP.
          ws_fld1-reptext_ddic = 'UNIT'.
         ws_fld1-key = ' '.
          ws_fld1-do_sum = 'X'.
          append ws_fld1 to t_fld1.
          CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
            EXPORTING
             I_TITLE                       =  'my report'
            I_SELECTION                   = ' '
            I_ZEBRA                       = ' '
            I_SCREEN_START_COLUMN         = 0
            I_SCREEN_START_LINE           = 0
            I_SCREEN_END_COLUMN           = 0
            I_SCREEN_END_LINE             = 0
            I_CHECKBOX_FIELDNAME          =
            I_LINEMARK_FIELDNAME          =
            I_SCROLL_TO_SEL_LINE          = 'X'
              I_TABNAME                     = ITAB_TEMP
             I_STRUCTURE_NAME              = 'VBAP'
             IT_FIELDCAT                   = t_fld1
            IT_EXCLUDING                  =
             I_CALLBACK_PROGRAM            = v_repid
            I_CALLBACK_USER_COMMAND       =
             IS_PRIVATE                    = GS_PRIVATE
          IMPORTING
             ES_SELFIELD                   = RS_SELFIELD
             E_EXIT                        = G_EXIT
            TABLES
              T_OUTTAB                      = ITAB_TEMP[]
          EXCEPTIONS
            PROGRAM_ERROR                 = 1
            OTHERS                        = 2
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
      endcase.
    ENDFORM.
    Thanks and Regards,
    Saurabh

  • Drill down arrow in Crystal Report

    Hi,
    I've created a crystal report based on a SQL statement that brings some information about service calls.
    I would like to include a drill down arrow for service call ID.
    I found this as being the link: 'http://$b1$/link?table=OCRD&key='+{OCRD.CardCode} but not sure how to change for what I need. I don't have any tables since I am using a command. Should I bring OSCL table? How do i have to chance it for CallID? I get an error message saying "A string is required".
    Thank you for your help!
    Cristina

    Hi Neetu,
    I don't get any error message so thanks for this.  I don't have OSCL table, I only have a command based on sql query containing the fields I want. When I replace OSCL with the command name it opens a web page "Internet Explorer cannot display the page" with http://$b1$/link?table=Command&key=6159 address. So it's recognising callID.  Do I need to bring OSCL table and link it to my command and use OSCL in the link?
    Thank you!
    Cristina

  • Drill down list in iteractive report

    Hi,
    my requirement is like this
    1 col - Dar no
    2 col - order no (Drill down list) may contain 10 no.  At every order no it contains again no of orders it appears in 3rd col in          drill down list
    whenever i select any no from drill down list (from 2 col ) next columnl appears  with order no against selected no in drill down list (this is also more than 1)
    any one have idea how to do this.....
    Thanks
    Santosh C

    Hi Karthik
    As far as I know, drilldown reports work in this way..
    Detail List show you the way you designed the form
    Drilldown list always show VF in Columns and Chars in Row.. The Options to drill down always appear on left side
    If you have BW system, there you have the possibility of achieving what you want
    Br, Ajay M

  • Drill Down facility in ALV Report

    Hi Guys,
    I want to provide Drill down facility based on columns in ALV Report (ALV Web Dynpro Report). Please let me know if you have any sample code or guidelines for this.
    Thanks,
    Pradeep

    Hi,
    Pls refer to the example provded by SAP -
    WDT_ALV
    Pls refer to this link -
    Learning what you don't need is as important as learning what you do (Parts 10b-c) of "Event-Driven" Tutorial on WDR_TEST_UI_ELEMENTS) and https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/db22242d-0701-0010-28a2-aeaa1fefd706.
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • Drill down in custom draft report

    I am creating a custom report for just draft Inventory Transfer.
    SELECT 'Transfer' AS 'Document Type', T0.[DocNum] AS 'Document Number', T0.[DocDate] AS 'Ship Date'
    FROM  [dbo].[ODRF] T0
    WHERE T0.[ObjType] = 67 AND T0.[DocDate] <= CAST(FLOOR( CAST( GETDATE() AS FLOAT ) ) AS DATETIME)
    I create a draft Inventory Transfer with todays date as the posting date and document date.  The report shows the Invnetory Transfer but I do not have a drill down arrow next to the document number.  This report is essentially the same as the Document Draft Report for Inventory Transfers only.
    If I open the draft document report, there is a drill down arrow for the document.
    1. Inventory --> Inventory Reports --> Document Drafts Report
    2. Select Inventory Transfer as the selection criteria
    3. Click OK
    The document number has the drill down arrow.
    Why:  I am trying to create an alert for all transfers that are to be shipped today.  I am looking to have the inventory manager create Inventory Transfer drafts, then the warehouse will have an alert show all inventory transfers that are to be sent out.  I want to be able to have the warehouse drill down to each inventory transfer and add it to the system when the transfer is shipped.

    Hi,
    Try this:
    SELECT 'Transfer' AS 'Document Type', T0.DocNum, T0.DocDate AS 'Ship Date', T0.DocEntry
    FROM dbo.ODRF T0
    WHERE T0.ObjType = 67 AND DateDiff(dd,T0.DocDate, GETDATE()) >= 0
    You have to include Docentry to drill down. DocNum is not an index of the table.
    Thank,
    Gordon

  • Drill down in cross tab report.

    Is it possible to have drill down in a cross tab report. e.g. in first view the main groups are the rows and when clicked on the main group the same design but with sub groups as the rows get visible as a drill down.
    If it is possible then which version of crystal  report supports this and how can I achieve it.
    I currently have crystal reports that comes with visual studio 2008.

    thanks for the suggestion sjain ... but I've seen ppl here on the forums saying that it doesn't work in cross tab...So I'm not sure if that can be done but I'll try .

Maybe you are looking for