Avoid two output displays in single report

Hi,
The requirement is that the report should have a check box called "Print Report" in the selection screen. If the box is not checked the report displays the output in ALV Grid format. If the checkbox is set, the output should be spooled to the printed and the output screen appears (ALV Grid).
How can i do the printing without the dialog box that appears using smart forms..??
Regards,
SenthilG.

Hi,
plz have a look at the below code...u can send the report o/p to the spool.
Declaration of local constants
  CONSTANTS :  lc_paart LIKE sy-paart VALUE 'X_65_132',  " Paper Format
               lc_locl  TYPE sypdest VALUE 'LOCL'.       " Destination
If print option is selected.
  IF p_print IS NOT INITIAL.
    MOVE c_x TO v_print.
  ELSE.
    CLEAR v_print.
  ENDIF.
Setup the Print Parmaters
  CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING
      authority              = space
      immediately            = v_print
      new_list_id            = c_x
      no_dialog              = c_x
      user                   = sy-uname
    IMPORTING
      out_parameters         = v_print_parms
    EXCEPTIONS
      archive_info_not_found = 1
      invalid_print_params   = 2
      invalid_archive_params = 3
      OTHERS                 = 4.
  IF sy-subrc NE 0.
    CLEAR : v_print_parms.
  ENDIF.
The printer destination has to be  set up
  IF v_print_parms-pdest = space.
    v_print_parms-pdest = lc_locl.
  ENDIF.
Explicitly set line width, and output format so that
the PDF conversion comes out OK
  v_print_parms-linsz = c_linsz.
  v_print_parms-paart = lc_paart.
Now use the command....
NEW-PAGE PRINT ON PARAMETERS v_print_parms NO DIALOG.
perform display_output.
NEW-PAGE PRINT OFF.
Regards,
Nagaraj

Similar Messages

  • How to join two hiearchy in a single report

    Hi,
        I have two hiearchyes on two master data objects, How best can i  customise to view this two hiearchies in a single report.

    Hi Nagendra,
    Find the below links and blogs..
    May be this will helps you
    A BW hierarchy has the following properties:
    Hierarchies are created for basic characteristics
    Hierarchies are stored in special master data tables. They behave in a similar way to master data,
    and can therefore be used and modified in all Info Cubes.
    You can define several hierarchies for a single characteristic.
    A hierarchy can have a maximum of 98 levels.
    http://help.sap.com/saphelp_nw70/helpdata/EN/80/1a670fe07211d2acb80000e829fbfe/frameset.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b07849c7-3a5b-2b10-7586-c431d300a578
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20a709c1-0a8e-2a10-21b4-f779728c63bf
    /people/vijay.vijayasankar/blog/2008/03/13/crm2007-who-gets-to-see-what--some-strategies-for-managing-internal-and-external-users-part-1
    /people/shafiq.rehman3/blog/2008/01/22/hr-interface-toolbox--pu12
    /people/kamal.khanna/blog/2008/07/09/managing-data-of-most-valuable-asset-of-an-organization-employees
    Regards
    Sudheer

  • Two ALV's in single report without Using Containers

    Hi All,
    I have a requirement to show two ALV reports in a single report and the thing is I am not supposed to use Containers(Screen Painter). and OOPS concepts.
    Is there a way we can achieve this?
    Any valuable suggestion is highly appreciated.
    Thanks-

    Hi rahul,
    1. This simple program will give u an idea
    of block alv.
    -> Two or more alvs on same screen, without
       using container or oops.
    2. It will print two alv
    a) itab = table from t001
    b) ptab = table from t000
    3. Just copy paste in new program.
    REPORT zam_temp54 .
    type-pools : slis.
    data : alvfc type slis_t_fieldcat_alv.
    data : alvly type slis_layout_alv.
    data : alvev type slis_t_event .
    DATA : BEGIN OF itab OCCURS 0.
    include structure t001.
    DATA: END OF itab.
    DATA : BEGIN OF ptab OCCURS 0.
    INCLUDE STRUCTURE t000.
    DATA: END OF ptab..
    PARAMETERS : a TYPE c.
    start-of-selection.
    *--------------- SELECT DATA
    SELECT * FROM t001 into table itab.
    select * from t000 into table ptab.
    *--------------- INIT BLOCK ALV
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
    EXPORTING
    i_callback_program = sy-repid.
    *--------------- ADD INTERNAL TABLE ITAB
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    I_PROGRAM_NAME = SY-REPID
    I_INTERNAL_TABNAME = 'ITAB'
    I_INCLNAME = SY-REPID
    CHANGING
    CT_FIELDCAT = ALVFC.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
    EXPORTING
    is_layout = alvly
    it_fieldcat = alvfc
    i_tabname = 'ITAB'
    it_events = alvev
    TABLES
    t_outtab = ITAB
    EXCEPTIONS
    program_error = 1
    maximum_of_appends_reached = 2
    OTHERS = 3.
    *------------------- ADD INTERNAL TABLE PTAB
    REFRESH ALVFC[].
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    I_PROGRAM_NAME = SY-REPID
    I_INTERNAL_TABNAME = 'PTAB'
    I_INCLNAME = SY-REPID
    CHANGING
    CT_FIELDCAT = ALVFC.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
    EXPORTING
    is_layout = alvly
    it_fieldcat = alvfc
    i_tabname = 'PTAB'
    it_events = alvev
    TABLES
    t_outtab = PTAB
    EXCEPTIONS
    program_error = 1
    maximum_of_appends_reached = 2
    OTHERS = 3.
    *--------------- DISPLAY
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    regards,
    amit m.

  • Two layouts in a single report

    HI
    Based on the condition layout1 and layout2 have to display.
    suppose if u pass 1 layout1 have to display
    if we pass 2 layout2 have to display
    please help me.. i hope it is clear

    Create Two Layout in the report.
    Create one user Parameter.In the Parameter listvalues --> go to static values --> add Number 1 And 2
    Go to the First Layout Repeating Frame press F11
    If :P_1='1' then
    return(True);
    Else
    return(False);
    End if;
    Go to Second Layout Repeating Frame Press F11
    If :P_1='2' then
    return(True);
    Else
    return(False);
    End if;

  • Two Items Displayed For Single Task In Inbox

    Employees are entering time and there managers are getting the tasks in the UWL inbox, but there are always two items for each one.  When the manager approves one of the items the other one disappears.  What can cause this?
    Thanks,
    Redding

    I think I might see what the problem is.  We have the following Universal Workflow Systems configured:
    SAP_HCM  WebFlowConnector           SAP_HCM           
    SAP_HCM_2      ActionInboxConnector           SAP_HCM           
    SAP_HCM_3     AdHocWorkflowConnector           SAP_HCM           
    SAP_HCM_4      AlertConnector           SAP_HCM           
    SAP_HCM_5      SomProviderConnector           SAP_HCM           
    SAP_HCM_6      WebFlowConnector           SAP_LocalSystem           
    SystemRef_1      AdHocWorkflowConnector           AdHocSystem           
    SystemRef_2      ActionInboxConnector           ActionInbox
    I have no idea why it was setup this way, but there are two WebFlowConnectors configured, SAP_HCM and SAP_HCM_6.  Could this be the problem?

  • Printing Multiple Templates' output in a single PDF

    Hi All,
    I have a requirement wherein I have to print the data from several or a few templates into a single pdf.
    Requirement:
    All the Service Contracts created on a particular day will need to be printed in a single report
    For eg: If there are 5 different Service contracts created on a particular day, then each of the service contracts will be associated with a different template, but the output should be printed within a single report.
    Also, there can be more than one instance of the same service contract.
    Explanation
    Suppose I have SC1....SC9 and I have 5 templates Template1....Template5 and each of the SC1...SC9 may or may not be associated with a template
    Consider that SC1..SC5 has to be printed in Template1, SC6, SC7 in Template2
    SC8,SC9 to be printed in Template3.
    Issue
    Now I do get the output in a single report, but I get 2 blank pages when there is no data for Template4 and Template5.
    Approach
    I have create a single template file with all the 5 template in it and each of the templates are in a single page.
    TEMPLATE 1+
    COMPANY LOGO
    <?for-each-group:G_TEMPLATE;TEMPLATE?> <?if:TEMPLATE = ‘TEMP_A’?><?for-each: G_MAIN?>
    ..... Template Body.....
    <?split-by-page-break:?> <?end if?> <?end for-each?><?end if?> ?><?end if?> <?end for-each-group?>
    The same thing repeats for Template2... Template5, with only the difference being the Template Body.
    Subtemplate Approach not feasible:
    I have worked with sub-templates and I know for sure that it is not feasible for this approach becuz all the pages have to be printed within the single report
    Is there a way to resolve this issue of eliminating the blank pages when there is no data in the xml file for the particular template.
    Thanks in advance to all who might give a thought to this
    XML FILE
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ROWSET>
    - <LIST_G_MAIN>
    - <G_TEMPLATE>
    <TEMPLATE>TEMP_A</TEMPLATE>
    - <G_MAIN>
    <PARAM_1>P1</PARAM_1>
    <PARAM_2>P2</PARAM_2>
    <PARAM_3>P3</PARAM_3>
    <PARAM_4>P4</PARAM_4>
    </G_MAIN>
    - <G_MAIN>
    <PARAM_1>P1</PARAM_1>
    <PARAM_2>P2</PARAM_2>
    <PARAM_3>P3</PARAM_3>
    <PARAM_4>P4</PARAM_4>
    </G_MAIN>
    - <G_MAIN>
    <PARAM_1>P1</PARAM_1>
    <PARAM_2>P2</PARAM_2>
    <PARAM_3>P3</PARAM_3>
    <PARAM_4>P4</PARAM_4>
    </G_MAIN>
    </G_TEMPLATE>
    - <G_TEMPLATE>
    <TEMPLATE>TEMP_B</TEMPLATE>
    - <G_MAIN>
    <PARAM_1>P1</PARAM_1>
    <PARAM_2>P2</PARAM_2>
    <PARAM_3>P3</PARAM_3>
    <PARAM_4>P4</PARAM_4>
    </G_MAIN>
    </G_MAIN>
    </G_TEMPLATE>
    - <G_TEMPLATE>
    <TEMPLATE>TEMP_C</TEMPLATE>
    - <G_MAIN>
    <PARAM_1>P1</PARAM_1>
    <PARAM_2>P2</PARAM_2>
    <PARAM_3>P3</PARAM_3>
    <PARAM_4>P4</PARAM_4>
    </G_MAIN>
    - <G_MAIN>
    <PARAM_1>P1</PARAM_1>
    <PARAM_2>P2</PARAM_2>
    <PARAM_3>P3</PARAM_3>
    <PARAM_4>P4</PARAM_4>
    </G_MAIN>
    </G_MAIN>
    </G_TEMPLATE>
    </LIST_G_MAIN>
    </ROWSET>

    assuming my corrected sample data structure is correct, here is a template that works with it. No blank pages for template D and E:
    <?if@section:count(G_TEMPLATE[TEMPLATE='TEMP_A'])>0?>
    <?for-each-group:G_TEMPLATE[TEMPLATE='TEMP_A'];TEMPLATE?>
    Template: <?TEMPLATE?>
    <?for-each:G_MAIN?>
    ..... Template Body A.....
    Param 1: <?PARAM_1?>
    Param 2: <?PARAM_2?>
    Param 3: <?PARAM_3?>
    Param 4: <?PARAM_4?>
    <?end for-each?>
    <?end for-each?>
    <?end if?>=====secton brk (next page)========
    <?if@section:count(G_TEMPLATE[TEMPLATE='TEMP_B'])>0?>
    <?for-each-group:G_TEMPLATE[TEMPLATE='TEMP_B'];TEMPLATE?>
    Template: <?TEMPLATE?>
    <?for-each:G_MAIN?>
    ..... Template Body B.....
    Param 1: <?PARAM_1?>
    Param 2: <?PARAM_2?>
    Param 3: <?PARAM_3?>
    Param 4: <?PARAM_4?>
    <?end for-each?>
    <?end for-each?>
    <?end if?>=====secton brk (next page)========
    <?if@section:count(G_TEMPLATE[TEMPLATE='TEMP_C'])>0?>
    <?for-each-group:G_TEMPLATE[TEMPLATE='TEMP_C'];TEMPLATE?>
    Template: <?TEMPLATE?>
    <?for-each:G_MAIN?>
    ..... Template Body C.....
    Param 1: <?PARAM_1?>
    Param 2: <?PARAM_2?>
    Param 3: <?PARAM_3?>
    Param 4: <?PARAM_4?>
    <?end for-each?>
    <?end for-each?>
    <?end if?>=====secton brk (next page)========
    <?if@section:count(G_TEMPLATE[TEMPLATE='TEMP_D'])>0?>
    <?for-each-group:G_TEMPLATE[TEMPLATE='TEMP_D'];TEMPLATE?>
    Template: <?TEMPLATE?>
    <?for-each:G_MAIN?>
    ..... Template Body D.....
    Param 1: <?PARAM_1?>
    Param 2: <?PARAM_2?>
    Param 3: <?PARAM_3?>
    Param 4: <?PARAM_4?>
    <?end for-each?>
    <?end for-each?>
    <?end if?>=====secton brk (next page)========
    <?if@section:count(G_TEMPLATE[TEMPLATE='TEMP_E'])>0?>
    <?for-each-group:G_TEMPLATE[TEMPLATE='TEMP_E'];TEMPLATE?>
    Template: <?TEMPLATE?>
    <?for-each:G_MAIN?>
    ..... Template Body E.....
    Param 1: <?PARAM_1?>
    Param 2: <?PARAM_2?>
    Param 3: <?PARAM_3?>
    Param 4: <?PARAM_4?>
    <?end for-each?>
    <?end for-each?>
    <?end if?>

  • Download List output displayed

    Hi Friends,
    I want to donwload the list output displayed from the Report program with the exisitng formatting structure (displayed).
    1)From SAP menu we can click on System –> List –> Save –> Local file to download the file locally.
    2) I want to obtain same functionality as mentioned in point 1 through a button on tool bar.
    I dont want to prepare any internal table locally with the same data that is displayed on the screen, in the same formatting structure and Download, which is similar to a local download functionality.
    Please let me know ur suggestions.
    Regards,
    Lavanya.

    Then you have to  display your  O/p in the ALV   display  ...
    so that you can achive  your requirement  ..Because the ALV has the similar icon for downloading to pc  ..etc
    by Normal reporting  you cannot get this Option  .in the Application tool bar  .  one  is there as you menioned
    From SAP menu we can click on System –> List –> Save –> Local file to download the file locally.
    because   by pacing the  icon in  the Apllication bar it will not   call the  path ..etc.  you have to  do the coding  ...instead of that ALV is  best .
    But  in the ALV   it is there  in the standard  ALV  GRID    with   Downlaod icon , summation,scroldown ,sorting (A/D) ,etc...
    reward  points  if it is usefull ..
    Girish

  • There are two transactions ZJPVCS303 and ZJPVCS303_US for one single Report

    When run as a batch program, (currently this is the case), or withT-Code ZJPVCS303 the selection screen is unchanged (except for additional sales area above)
    - When run as T-Code ZJPVCS303_UL (UL stands for Upload) the selection screen is changed.  The unix file option is no longer available, and the user is able to upload a local file (in the same format as the current unix file, but tab delimited) to the program for processing.
    Requirements:
    There are two transactions ZJPVCS303 and ZJPVCS303_US for one single Report.
    ->When ZJPVCS303 Transaction is executed, the file is uploaded from the Application
      server to SAP R/3. The selection screen parameters would be:
      Logical Filename:
      Sales Organization:
      Distribution Channel:
      Division:
    ->When ZJPVCS303_US Transaction is executed, the file is uploaded from the Presentation Server
      to SAP R/3. When this transaction is executed, it should not have the 'Logical
      Filename' parameter anymore on the selection-screen. Instead it should only have
      Local File name on the presentation server:
      Sales Organization:
      Distribution Channel:
      Division:
        The same thing is applicable for the other transaction ZJPVCS303. When transaction ZJPVCS303
    is executed, it should not have the 'Local Filename' parameter anymore on the selection-screen. Instead it should only have
    Logical Filename:
    Sales Organization:
    Distribution Channel:
    Division:
    So how should I make these parameters invisible depending on the transaction codes execution.
    I have an idea of using MODIF ID, LOOPING AT SCREEN...MODIFY SCREEN.
    I have an idea of using SY-TCODE.
    EX:
    AT SELECTION-SCREEN OUTPUT.
    IF SY-TCODE = 'ZJPVCS303'.
    LOOP AT SCREEN.
    IF SCREEN-GROUPID = 'GRP'.
       SCREEN-INPUT   = 0.
       SCREEN-INVISIBLE = 1.
       MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ELSEIF SY-TCODE = 'ZJPVCS303_US'.
    LOOP AT SCREEN.
    IF .....
    ENDLOOP.
    ENDIF.
    ENDIF.
    But I am not able to get the output which I require. Please help me out.

    Hello Rani
    Basically the transaction determines whether upload starts from application server (AS) or presentation server (PC). Thus, you will have the following parameter:
    PARAMETERS:
      p_as_fil          TYPE filename   MODIF ID unx,  " e.g. Unix server
      p_pc_fil          TYPE filename   MODIF ID wnd.  " e.g. Windows PC
    AT SELECTION-SCREEN OUTPUT.
      CASE syst-tcode.
    *   transaction(s) for upload from server (AS)
        WHEN 'ZJPVCS303.
          LOOP AT screen.
            IF ( screen-group1 = 'UNX' ).
              screen-input = 0.
              screen-invisible = 1.
              MODIFY screen.
            ENDIF.
          ENDLOOP.
    *   transaction(s) for upload from local PC (PC)
        WHEN 'ZJPVCS303_US.
          LOOP AT screen.
            IF ( screen-group1 = 'WND' ).
              screen-input = 0.
              screen-invisible = 1.
              MODIFY screen.
            ENDIF.
          ENDLOOP.
       WHEN others.
       ENDCASE.
    Regards
      Uwe

  • Code page issue - Unix file(s) content display in a report output

    Hi All,
    I am trying to retrieve file from Unix server and display in my report output.
    I have written code as below:
    OPEN DATASET filename FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      DO.
        READ DATASET filename INTO i_tab-line.
      ENDDO.
    CLOSE DATASET.
    1. Now i am able to display files of type .txt in report output but with line numbers above each line.
    How can i avaoid it! I want to display as it looks in AL11 view.
    2. If i am displaying files of type .PDF it is giving dump with below message:
    A character set conversion is not possible.
    At the conversion of text from code page '4110' to '4102' is not possible.
    - a character was found that cannot be displayed in one of the two code pages;
    - or it was detected that this conversion is not supported.
    How can i display the .PDF (or) all types of files in my report as it is viewable in AL11.
    Can anybody solve this this.
    I have tried UTF-8 & NON-UNICODE options with ENCODE also they are also giving same dump.
    Can anybody resolve these issues!
    Thanks in advance.
    Thanks,
    Deep.

    Hi All,
    Any resolution for above posted issue!
    Thanks,
    Deep.

  • Problem In report output display when i run in the background

    Hi,
    In a classical report i am printing around 17 fields  the width of the report out put is around 800 characters.
    If i run  the report in the  fore ground it running perfectly. But the thing is when i give large selection is it GETTING ' TIMED OUT ' as it is running more than an Hour.
    so i wanted to run it in the back ground to avoid TIME OUT problems.
    But when i run in the backgroud   i am not getting  full  out put in the SPOOL request(SIZE of the report output may causing the problem) .
    Pls come up with some solutions
    Thanks in advance

    Try increasing the spool length..
    Refer this link for doing so.
    Spool List output display > 255 char when the rpt is run in Background
    Thanks
    mahesh

  • Displaying an interactive report row using two lines

    Is there a way to take a report row from an interactive report that has too many columns for one display row and display using 2 rows? This would minimize the amount of scrolling the user would then need to do.
    Thanks in advance!

    Hi,
    I dont think we can show a single row as two lines in an interactive report but if you use a classic report instead of interactive then you can do that by creating your own custom report template from scratch and selecting templete type as Named Column (row template) and show the row in what ever way you need...any way if you find any solution for interactive report just post your solution here which will help me too
    Thanks,
    Mahesh

  • WBS element field to Depreciation Simulation Report  output display

    Hi SAP Experts,
    We need to Add the WBS element field to Depreciation Simulation Report  output display (S_ALR_87012936)
    Could please give your valuable inputs
    Thanks
    Hari Pothula

    HI Javed,
    We have capitalized with WBS element but not displaying in simulation report.
    All configurations done in in ACSET and activation Account assignment objects
    Thanks
    Hari

  • Issue in output display in report,,

    hi,
    i have a report where i display a decimal value similar to other values, but this one is not displayed. I traced till the write statement and i do have the correct value in the variable. But this is just not displayed. what could be the issue. find below the code snippet.
    WRITE :/5 'Mat',15 'Mat',50 'Caliper',60'Grade', 105 'Delv Qty',117 'EA' .      WRITE :/5 'Number',15 'Description'.
    WRITE :/5   t_pick_view-matnr,
                  15  t_pick_view-arktx,
                  50  t_pick_view-caliper,
                  60  t_pick_view-grade,
                  105 t_pick_view-ea_qty,                      "#EC *
                  117 t_pick_view-ea_unit.                     "#EC *
    here the value in  t_pick_view-ea_qty is available (7.0000) but not displayed on the report output. One thing I noticed is that the next value ea_unit (it has value ROLLS) is displayed but is displayed with a zero after that like 'ROLLS 0'. Seems the ea_qty value gets partially hidden (it is 7.0000). what cud be wrong ?
    thks

    Hi Vijay,
    data definitions are all fine, as i said, i am able to see the value in the variable during debugging, but the write statement does not write it correctly on the page !!
    now i found out another thing but still the issue is unresolved.
    I commented the statement to display the next value , i.e. ea_unit (whose value is ROLLS) and now i am able to see the ea_qty displayed as 7.000.
    It seems 7.000 is displayed, but then the next value overwites that location with ROLLS and bcos 7.000 is already displayed there, I get ROLLS 0.
    But this is crazy as the display column positions are different for both but then why the first value 7.000 displayed under the second column ??
    so now i changed the display position to 103 (instead of 105 )and i can see 7 popping up (7 from 7.000 )!!! any idea whats hapening ?? i hope u understood my explanation..

  • How to display results set of multiple reports into a single report table

    Our goal is to create a single report (or dashboard) that shows the "funnel" of object creations related to each campaign. The flow goes from Activity to Lead to Opportunity as well as multiple steps within each (ie. Unqualified Lead -> Qualified Lead, etc).
    We currently have 3 separate reports in three different subject areas, each reporting the different metrics and we would like to combine the output into a single Unified report.
    For example what we currently have is:
    Activities:
    Campaign Name # of Activities
    Campaign A 12
    Campaign B 26
    Leads:
    Campaign Name # of Leads # of Qualified Leads
    Campaign A 10 4
    Campaign B 20 18
    Opportunities:
    Campaign Name # of Opportunities # of Opps per Sales Stage ... # of Wins Closed Revenue
    Campaign A 3 2 1 $1,000.00
    Campaign B 10 8 3 $2,800.00
    What we want to see is:
    Combined:
    Campaign Name - Campaign Cost - # of Activities - # of Leads - # of Qualified Leads - # of Opportunities - # of Opps per Sales Stage - # of Wins - Closed Revenue
    Campaign A - $423.00 - 12 - 10 - 4 - 3 - 2 - 1 - $1,000.00
    Campaign B - $ 1,000.00 - 26 - 20 - 18 - 10 - 8 - 3 - $2,800.00
    We have tried using the "Combine with similar analysis" but the number of columns for each subject area differ. We also tried creating multiple UNION criteria (one for each column), but in the case of # of Opps per Sales Stage and Closed Revenue, those are not "Metrics" fields, so they won't combine.

    Hi, You may have to create some dummy fields to equate the no. of field in each of the report matching the data type too and get a one single report using combined analytics and then using the resultant data you can create a simple pivot like below. Haven't tried it before
    -- Venky CRMIT
    Hi Venky,
    I am facing the same problem. Can you please say Steps how to create resultant data and Combine in pivot Table .
    Please Help me .
    Thanks in Advance .
    My mail id is :
    [email protected]

  • Displaying two blocks in a single screen

    Hi all,
    I want to dispaly two screens in a single with as-usual properties.
    Please give your suggestions with steps.
    Thansk in advance,
    Regards,
    Balaaji.

    hi balaji ,
    create a main screen and in which  create two sub screens . like this .
    REPORT ZSUBSCREEN.
    TABLES: USR02,       "Logon data
             SSCRFIELDS.  "FIELDS ON SELECTION SCREENS
    SUBSCREEN 1
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-010.
        SELECT-OPTIONS: USERNAME FOR USR02-BNAME.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN END OF SCREEN 100.
    SUBSCREEN 2
    SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-020.
        SELECT-OPTIONS: LASTLOGI FOR USR02-TRDAT.
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN END OF SCREEN 200.
    SUBSCREEN 3
    SELECTION-SCREEN BEGIN OF SCREEN 300 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-030.
        SELECT-OPTIONS: CLASSTYP FOR USR02-CLASS.
    SELECTION-SCREEN END OF BLOCK B3.
    SELECTION-SCREEN END OF SCREEN 300.
    STANDARD SELECTION SCREEN FOR SCROLLING LEFT AND RIGHT
    SELECTION-SCREEN: FUNCTION KEY 1,
                       FUNCTION KEY 2.
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK SUB FOR 15 LINES,
                       END OF BLOCK SUB.
    START-OF-SELECTION.
         SELECT * FROM USR02 WHERE BNAME IN USERNAME
                               AND ERDAT IN LASTLOGI
                               AND CLASS IN CLASSTYP.
            WRITE: / 'User ', USR02-BNAME,
                     'Last Login Date ', USR02-TRDAT,
                     'Last Login Time ', USR02-LTIME,
                     'CLASS ', USR02-CLASS.
         ENDSELECT.
    END-OF-SELECTION.
    INITIALIZATION.
    SCREEN ICON LEFT AND RIGHT
       SSCRFIELDS-FUNCTXT_01 = '@0D@'.
       SSCRFIELDS-FUNCTXT_02 = '@0E@'.
       SUB-PROG = SY-REPID.
       SUB-DYNNR = 100.
    AT SELECTION-SCREEN.
       CASE SY-DYNNR.
         WHEN 100.
           IF SSCRFIELDS-UCOMM = 'FC01'.
             SUB-DYNNR = 300.
           ELSEIF SSCRFIELDS-UCOMM = 'FC02'.
             SUB-DYNNR = 200.
           ENDIF.
         WHEN 200.
           IF SSCRFIELDS-UCOMM = 'FC01'.
             SUB-DYNNR = 100.
           ELSEIF SSCRFIELDS-UCOMM = 'FC02'.
             SUB-DYNNR = 300.
           ENDIF.
         WHEN 300.
           IF SSCRFIELDS-UCOMM = 'FC01'.
             SUB-DYNNR = 200.
           ELSEIF SSCRFIELDS-UCOMM = 'FC02'.
             SUB-DYNNR = 100.
           ENDIF.
       ENDCASE.
    regard,
    sandeep patel
    reward point if helpful

Maybe you are looking for

  • Get Current Datetime in an XSL

    How do I add a current Datetime to an XSL document? The following sample works in XALAN but not ORAXSL. date:new() returns nothing!? <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:date="http

  • Release strategy will not be effected when reduce in amount or when item de

    Hi All, I have created the PO with three line Items out of 3 items 2 items got GR and Invoce done and 3rd is open NO GR and Invoice Whenever I delete the 3rd item ,PO is again going for release.Our Client wants that whenever Item will be deleted or P

  • No fullscreen anymore...

    Hello, my daughter messed with the iMac, now i don't see fullscreen anymore (in any program) , i have to scroll left & right or up & down if I want to see more of the screen. anyone can help me out please?

  • How to Lock a Transaction for Editing AND VERY minor tab cont. help

    Just two things I need to ask about <b>1. How to Lock a Transaction for Editing</b> I am currently using the fcode ENQUEUE_E_TABLE. The function works as once the transaction in opened, another cannot access it. However, I have two modes in my transc

  • Database problem want to solve using oracle.

    I am new to database managemnt so kindly coordinate. I have a database in excel (employees name, address)and its relational . now i have another database(employees ID ,number) which is relational in sense to first database. I want to link those two d