ZReport addition in report tree.

Hi Everybody,
Can anyone suggest the steps to be followed for adding a zprogram in a report tree(sret)?
Thanks in advance
Nazmul

hi check this....
REPORT  ZVENKATTEST0.
TABLES:PA0002,PA0008.
TYPE-POOLS:SLIS.
CONSTANTS:C VALUE 'X'.
DATA:BEGIN OF IT_PA0008 OCCURS 0,
     PERNR LIKE PA0008-PERNR,
     BEGDA LIKE PA0008-BEGDA,
     ENDDA LIKE PA0008-ENDDA,
     PREAS LIKE PA0008-PREAS,
     ANSAL LIKE PA0008-ANSAL,
     LGA01 LIKE PA0008-LGA01,
     EXPAND TYPE XFELD,
     END OF IT_PA0008.
DATA:BEGIN OF IT_PA0002 OCCURS 0,
     PERNR LIKE PA0002-PERNR,
     VORNA LIKE PA0002-VORNA,
     NACHN LIKE PA0002-NACHN,
     GBDAT LIKE PA0002-GBDAT,
     GBLND LIKE PA0002-GBLND,
     SPRSL LIKE PA0002-SPRSL,
     PERID LIKE PA0002-PERID,
     END OF IT_PA0002.
DATA: WA_FIELD_CAT TYPE SLIS_FIELDCAT_ALV,
      IT_FIELD_CAT TYPE SLIS_T_FIELDCAT_ALV,
      WA_KEYINFO TYPE SLIS_KEYINFO_ALV,
      IT_LAYOUT TYPE SLIS_LAYOUT_ALV.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS:S_PERNR FOR PA0002-PERNR NO INTERVALS.
SELECTION-SCREEN: SKIP.
PARAMETERS:P_EXPAND AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK B1.
START-OF-SELECTION.
PERFORM SELECT_DATA.
PERFORM BUILD_FIELD_CAT.
PERFORM DISPLY_DATA.
*&      Form  SELECT_DATA
      text
-->  p1        text
<--  p2        text
FORM SELECT_DATA .
SELECT PERNR
       BEGDA
       ENDDA
       PREAS
       ANSAL
       LGA01
       FROM PA0008
       INTO CORRESPONDING FIELDS OF TABLE IT_PA0008
       UP TO 10 ROWS.
IF NOT IT_PA0008[] IS INITIAL.
SELECT PERNR
       VORNA
       NACHN
       GBDAT
       GBLND
       SPRSL
       PERID
       FROM PA0002
       INTO CORRESPONDING FIELDS OF TABLE IT_PA0002
       FOR ALL ENTRIES IN IT_PA0008
       WHERE PERNR = IT_PA0008-PERNR.
ENDIF.
SORT IT_PA0008 BY PERNR.
ENDFORM.                    " SELECT_DATA
*&      Form  BUILD_FIELD_CAT
      text
-->  p1        text
<--  p2        text
FORM BUILD_FIELD_CAT .
    WA_FIELD_CAT-TABNAME = 'PA0008'.
    WA_FIELD_CAT-FIELDNAME = 'PERNR'.
    WA_FIELD_CAT-SELTEXT_L = 'personnelno'.
    APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
    WA_FIELD_CAT-TABNAME = 'PA0008'.
    WA_FIELD_CAT-FIELDNAME = 'BEGDA'.
    WA_FIELD_CAT-SELTEXT_L = 'begindate'.
    APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
    WA_FIELD_CAT-TABNAME = 'PA0008'.
    WA_FIELD_CAT-FIELDNAME = 'ENDDA'.
    WA_FIELD_CAT-SELTEXT_L = 'enddate'.
    APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
    WA_FIELD_CAT-TABNAME = 'PA0008'.
    WA_FIELD_CAT-FIELDNAME = 'PREAS'.
    WA_FIELD_CAT-SELTEXT_L = 'reason'.
    APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
    WA_FIELD_CAT-TABNAME = 'PA0008'.
    WA_FIELD_CAT-FIELDNAME = 'ANSAL'.
    WA_FIELD_CAT-SELTEXT_L = 'annualsalary'.
    APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
    WA_FIELD_CAT-TABNAME = 'PA0008'.
    WA_FIELD_CAT-FIELDNAME = 'LGA01'.
    WA_FIELD_CAT-SELTEXT_L = 'wagetype'.
    APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
    WA_FIELD_CAT-TABNAME = 'PA0002'.
    WA_FIELD_CAT-FIELDNAME = 'VORNA'.
    WA_FIELD_CAT-SELTEXT_L = 'firstname'.
    APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
    WA_FIELD_CAT-TABNAME = 'PA0002'.
    WA_FIELD_CAT-FIELDNAME = 'NACHN'.
    WA_FIELD_CAT-SELTEXT_L = 'lastname'.
    APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
    WA_FIELD_CAT-TABNAME = 'PA0002'.
    WA_FIELD_CAT-FIELDNAME = 'GBDAT'.
    WA_FIELD_CAT-SELTEXT_L = 'birhtdate'.
    APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
    WA_FIELD_CAT-TABNAME = 'PA0002'.
    WA_FIELD_CAT-FIELDNAME = 'GBLND'.
    WA_FIELD_CAT-SELTEXT_L = 'birthcountry'.
    APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
    WA_FIELD_CAT-TABNAME = 'PA0002'.
    WA_FIELD_CAT-FIELDNAME = 'SPRSL'.
    WA_FIELD_CAT-SELTEXT_L = 'languageused'.
    APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
    WA_FIELD_CAT-TABNAME = 'PA0002'.
    WA_FIELD_CAT-FIELDNAME = 'PERID'.
    WA_FIELD_CAT-SELTEXT_L = 'personnelid'.
    APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
ENDFORM.                    " BUILD_FIELD_CAT
*&      Form  DISPLY_DATA
      text
-->  p1        text
<--  p2        text
FORM DISPLY_DATA .
  IT_LAYOUT-GROUP_CHANGE_EDIT = C.
  IT_LAYOUT-COLWIDTH_OPTIMIZE = C.
  IT_LAYOUT-ZEBRA             = C.
  IT_LAYOUT-DETAIL_POPUP      = C.
  IT_LAYOUT-GET_SELINFOS      = C.
  IF P_EXPAND = C.
  IT_LAYOUT-EXPAND_FIELDNAME  = 'EXPAND'.
  ENDIF.
  WA_KEYINFO-HEADER01 = 'PERNR'.
  WA_KEYINFO-ITEM01 = 'PERNR'.
wa_keyinfo-item02 = 'SUBTY'.
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
    EXPORTING
      I_CALLBACK_PROGRAM      = SY-CPROG
      IS_LAYOUT               = IT_LAYOUT
      IT_FIELDCAT             = IT_FIELD_CAT
      I_TABNAME_HEADER        = 'PA0008'
      I_TABNAME_ITEM          = 'PA0002'
      IS_KEYINFO              = WA_KEYINFO
    TABLES
      T_OUTTAB_HEADER         = IT_PA0008
      T_OUTTAB_ITEM           = IT_PA0002.
ENDFORM.                    " DISPLY_DATA

Similar Messages

  • Report tree query

    Hi All,
    I want to execute seperately a report which is displayed in report tree,
    the program name it shows is something like FBRX01GLPCTSFINSTAT-FA-X.
    What does this name signifies ?
    Thanks.

    Report Tree:
    An ABAP reporting tree program that allows the user to press enter or double click on any line. The report is updated with new internal table data and re-written. The cursor and paging returns to the exact same line the user was on, even though the report was re-written from the internal table. Input fields are filled with data based on ENTER of DOUBLE CLICK. [+] and [-] is displayed on each line and changes if user selects to expand/collapse.
    Here, you specify the name of the tree to be used for report selection in the application menu. SAP supplies one default tree per application, but customers can create their own trees and overwrite the SAP tree.
    Under Extras -> Control, you can define whether the reports in the tree are to be displayed in a selection window or on a separate screen. To suppress the processing of report trees for the relevant application by choosing Inactive . When you call report selection in the application menu, the list selected in the report list is then displayed.
    It is also possible to deactivate the report tree for any end-user in any application by setting the user parameter 'KBT' to 'X'.
    Transporting the Tree Sructure
    When you change a tree, it is included in a transport request (transport object R3TR SRTR). The following are then transported:
    • The tree structure all the texts
    • Node entries (the names of the reports and variants)
    The following are not automatically transported:
    • User-specific settings (initial position, sub.trees, visible entries)
    • Saved lists
    When you change a node, it is also included in a transport request. The following are then transported:
    • Node entries (the names of the reports and variants)
    Manual Transport (for Special Cases)
    The tree structure is stored in the table SERPTREE. A tree structure can only be transported as a whole, and the transport request should contain the following entry:
    • R3TR TABU SERPTREE and SERPT. Function R transports all trees from the source system and overwrites those in the target system.
    • R3TR TABU SERPTREE und SERPT. Function K transports only those trees specified on the next screen. You must enter function R. You can only specify the tree ID; the node ID must be specified generically.
    If you want to overwrite a tree structure in the target system, the node contents (table SREPOVARI, see below) and the user-specific views (table SERPENTR and SREPOUSER, see below) should also be transported, or at least deleted in the target system.
    Transporting Node Contents
    The contents of report tree nodes (reports and variants) are stored in the table SREPOVARI. In this case, you should make the following entry in the transport request:
    • R3TR TABU SREPOVARI. Function R transports the contents of all nodes of all trees from the source system and overwrites those in the target system.
    • R3TR TABU SREPOVARI. Function K transports only the node contents specified in the next screen. You enter function R here.
    If you want to overwrite a node in the target system, the user-specific views (table SREPOUSER, see below) should also be transported, or at least deleted in the target system.
    Transporting User-Specific Views
    The views of the report tree are stored in the table SERPENTR. You must make the following entry in the transport request:
    • R3TR TABU SERPENTR. Function R transports the views of all users of all trees from the source system and overwrites those in the target system.
    • R3TR TABU SERPENTR. Function K transports only those views specified on the next screen. You enter function R here.
    The views of the nodes are stored in the table SREPOUSER. You must make the following entry in the transport request:
    • R3TR TABU SREPOUSER. Function R transports the view of all users of all nodes from the source system and overwrites those in the target system.
    • R3TR TABU SREPOUSER. Function K transports only those views specified on the next screen. You enter function R here.
    Delete country-specific reports from report tree
    Example
    Deleting country-specific personnel reports from the report tree, for example, deleting the reports for USA.
    Further notes
    Selection criteria on the selection screen:
    • Reports to be deleted: Specify the report name (optional)
    • Report tree: for example, SAP1 for the tree displayed when you choose Information systems -> Gen.report selection.
    • Delete also in user trees: Default = checkbox selected.
    • Change database: Test mode = Checkbox not selected, i.e. no database updates.
    When you execute the report, you get a list of all countries for which country-specific reports can be deleted. You then select the countries for which you want to delete reports.
    • To delete single reports, choose Country-spec. report. To delete all country-specific reports for the countries selected, choose Delete tree area.
    • When you choose Delete tree area, you are prompted to confirm the deletion. The selected reports are then deleted and the system displays a log of the deleted reports (also in test mode).
    Working with Reports in the Report Tree
    Prerequisites
    Once you have accessed General Report Selection, you can expand the report tree structure to find the reports you want to start and perform other related functions:
    You can:
    • Start reports
    • Start reports in the background
    • Find reports
    • Display report attributes
    • Display report variants
    • Display report documentation
    • Access and start reports that do not appear in the report tree
    Procedure
    Starting Reports
    1. Expand the report tree structure until you reach the required report
    2. Position the cursor on the report and choose Execute (or double-click on the report)
    If the report has no selection screen, the resulting list is displayed immediately.
    If the report has a selection screen, go to step 3.
    3. Enter your selection criteria and choose Execute
    For an example of how to start a report in General Report Selection, see:
    Starting a Report in the Report Tree: Example
    Starting Reports in the Background
    Only reports, for which variants exist, can be started in the background. You must also schedule a background job.
    To start a report in the background:
    1. Expand the report tree structure until you reach the required report
    2. Position the cursor on the report and choose Execute in background
    For more information about working with variants and scheduling background jobs, see:
    Variants
    Background Processing
    Searching For Reports
    To find a particular report in the report tree structure:
    1. Choose Edit &#61614; Find &#61614; Objects
    2. Enter your search criteria
    You can enter basic search criteria and, for ABAP reports only, additional search criteria.
    Basic Search Criteria
    Search criterion Remarks
    Report name This is the technical name of the report (for ABAP report, Report Writer reports, and transactions), or the user group for queries.
    Extended report name This is the technical name of the report (for drilldown reports or report portfolio reports), or the query name for queries.
    Title This is the report title. Here, the system searches for a title that matches the user's entry exactly.
    Node This is the technical name of a node in the report tree.
    You can specify additional selection criteria for ABAP reports as specified in the program attributes:
    Additional Search Criteria
    Search criterion
    Application
    Logical database
    Created by
    Last changed by
    To determine the area in which you want to search for a report, check the appropriate boxes as follows:
    Restrict Search Area
    Restrict to… Action
    Whole report tree Enter the technical name of the root node and select Find in subordinate nodes.
    Sub-tree Enter the technical name of the sub-tree node and select Find in subordinate nodes.
    Node Enter the technical name of the node and select Find in subordinate nodes.
    You can search for a report using one or more character strings that appear in the report documentation, but this is very time-intensive.
    You can also perform generic searches using *.
    3. Choose Execute
    The list of results is sorted by node.
    Displaying Report Attributes
    To display the attributes of a report in the report tree structure:
    1. Position the cursor on the relevant report
    2. Choose Edit &#61614; Node attributes
    You see the following information (if present):
    &#61601; Report type
    &#61601; Technical name of the underlying executable program
    &#61601; Extended report name
    &#61601; Report variant
    Checkboxes also indicate whether:
    &#61601; The report is started using a variant
    &#61601; The selection screen of the report is skipped
    Displaying Report Variants
    If a report has variants, these are listed as subordinate nodes. You can start variants just like any other reports.
    To display the variants of a report in a different way:
    1. Position the cursor on the relevant report
    2. Choose Goto &#61614; Variants
    3. Ensure that the Variants field is left blank and get a list of possible entries
    4. Choose Display
    You see a list of variants defined for the report.
    If you want to start a report in the background, you must create a variant first.
    For more information about working with variants, see:
    Variants
    Displaying Report Documentation
    To display detailed documentation about a report:
    1. Position the cursor on the relevant report
    2. Choose Goto &#61614; Documentation
    Starting Reports not in the Report Tree
    If the report you want to start is not in the report tree, and you cannot access it through other menus, you can start it by running the underlying executable program. To do this, you need to know the program name:
    1. Choose Goto &#61614; General reporting
    2. Enter the program name
    3. Choose Execute
    For further information about working with reports, see:
    Reports
    Starting a Report in the Report Tree: Example
    To get a list of the remaining leave entitlement of various employees:
    1. On the General Report Selection screen, expand the tree structure by choosing Human Resources &#61614; Time management &#61614; Absence
    2. Place the cursor on the Leave Overview report and choose Execute (or double-click the report)
    3. Enter your selection criteria and execute the report
    The system displays the results on the screen.
    Report Variants
    Definition
    Group of selection criteria that has been saved. A report can have several different variants, with each variant retrieving different types of information. For example, a vendor report might have one variant for U.S. vendors and another variant for European vendors.
    Use
    Instead of entering the same values in the selection criteria input fields each time you execute a report, you can enter the values once and then save the selection criteria as a variant. The next time you execute the report, you only need to enter the variant name, not the selection criteria. If you use variants, the selection criteria screen is already filled with data.
    To execute certain reports, you must use a variant. In this case, a system message prompts you to do so. Although you are not always required to use variants or selection criteria, it is a good idea to use them when possible. Your resulting lists will be smaller and take less time for the system to process.
    Background Processing
    Use
    In background processing, the SAP System automatically runs any report or program that you can start interactively.
    When you schedule a job in the background processing system, you must specify:
    • The ABAP report or external program that should be started
    • The start time
    • The printing specifications
    The background processing system starts your job and runs the program(s) that you specify. Afterwards, you can check whether your job was executed successfully and display a log of any system messages.
    Suppose you need to run a report of customers whose bills are overdue.You can:
    o Start the report yourself from the ABAP Editor. If you do this, the system runs the report interactively, in a session at your PC or workstation. While the report is being processed, your computer response time may be slower.
    o Or, you can have the background processing system run the report. To do this, you must create a background job that tells the system what you want it to do.
    The background processing system runs your "late bills" report according to your instructions. The list generated by the report is either printed directly or is waiting for you in the SAP output controller (see Using the Output Controller).You can also check in the background processing system whether the report ran correctly.
    Features
    • Running a report in the background does not tie up the SAP sessions you are currently working with.
    When you start a report interactively, your current SAP session is blocked for further input for as long as the report runs.
    When you start the report in the background, running the report does not influence your interactive work with the SAP System.
    • You can shift the execution of reports to the evening or other periods of low load on the SAP System.
    You can schedule a report or external program to run at any time that the SAP System is active. You can also set up reports to run automatically on a regular basis (for example, on the last day of each month).
    • Background processing is the only way you can execute long-running jobs.
    To prevent tying up system resources with interactive sessions for long reports, the SAP System has a built-in time limit on interactive sessions. If a single ABAP report runs for more than 5 minutes continuously in an interactive session, the SAP System terminates the report automatically.
    The background processing system executes long-running ABAP reports more efficiently. Often, such reports are automatically scheduled for execution in the background. In this case, you do not need to schedule them for background processing yourself.
    Reports
    Use
    When you are working in the SAP System, you may want to access information from the database. To do this, you use reports.
    In this documentation, report refers to the report program, and list refers to the output – that is, the results of the report.
    Some reports display information; others allow you to perform analyses.
    A report must be started, or executed. In many cases, the SAP System automatically executes a report. Sometimes, however, you will want to execute a report yourself.
    In addition to report programs, the SAP System provides numerous reporting tools, each of which has its own set of procedures for executing report programs.
    This documentation describes report programs only. For an introduction to the SAP reporting tools, refer to the Reporting Made Easy guidebooks (Release 4.0B). You can find these guidebooks at: www.saplabs.com/rme .
    <b>Kindly reward this if found useful</b>

  • Report tree issue

    I am trying to change the discription in the report tree that has been built.
    As of now the report tree shows the description which is linked to the reports.
    My issue is that i need to give some other description and not the one which is linked to the reports.
    Can someone tell me how can this be done??

    I am using transaction gd00. I have to change the description. How can this be done??

  • Regarding excel download from ALV report tree

    Hi Experts,
    I have a ALV report tree program. In that i need the functionality to download report output in excel file.
    Can any body suggest how can i achieve download to excel functionality in it.
    Any useful suggestion will be appreciated.
    Thanks in advance,
    Akash

    The data for the tree exist in the NODE table in a different format. So, even you download that table, it will not be downloaded in the TREE format. So, the user will not be able to understand the data unlike the case of a ALV GRID.
    Whether it is a TREE / GRID, ultimately its the data of a internal table, that gets downloaded. But in case a TREE, we don't have the data in a straight forward way . i thnk it is not possible . i am not sure too for this .

  • Help required to attach CO-PA reports to Report Tree.

    HI experts,
    Me and my functional are in urgent need of important information. My functional has generate CO-PA reports and now they have asked us to attach those reports to a report tree. My problem is that I have got the transaction SERP which seems useful in attaching the reports the tree. Kindly suggest what is to be done.
    Points will be rewarded.
    Thanks and Regards,
    Saurabh Chhatre

    Hi,
    Check the following links:
    http://www.sap-img.com/abap/tree-type-report-in-abap.htm
    http://www.sap-img.com/ge002.htm
    Regards,
    Bhaskar

  • How to add a report to HR Report tree

    Hello Friends,
                         I need to add a report to HR Report tree.
    Guide me how to do it.
    Cheers
    Senthil

    Use transaction SE43 and SE43N.
    Check this threads
    How to add a report into the tree??
    Adding report/program to Report Tree
    Manoj.

  • Report tree details - SARP/SERP

    Is there a way to see all the reports or transactions attached to a report tree in transaction SARP or SERP?
    -Cheers

    go to SE43n,
    select area menu 'MM01', let suppose to its rel. reports.
    clikc on display.
    now u can able to see reports rel. to Mater. management  now. for tc codes,
    click on addtion inforamtion--> TCode display on /off  on menu bar.

  • Report Tree for PS

    Hi Guys,
    Is there a transaction code for Report tree in PS. Like we have for AP - F.98, assets ART0
    Thanks,
    Satya

    Hi
    Check T code CJE0. Also check T code SARP in that key in report tree PS01.
    Regards

  • Report tree Reporting

    Hi all,
    I would like to create a report similar to the standard report S_ALR_87013611 - Cost Centers: Actual/Plan/Variance (i.e. have a report tree on left and report listing on the right). Is there any sample program I can reference to? Or which classes I can use?
    I know how to create a report with a report tree and an alv grid. But I just have no idea on how to make a report with display like S_ALR_87013611.
    Best regards,
    Steve.

    Hi Steve,
    Pls refer http://www.sapdev.co.uk/reporting/alv/alvtree.htm
    for a sample code .
    Regards,
    Chitra

  • The "DEFINING DATABASE ldb " addition in "REPORT" statment

    Hi all
    I wonder what the "DEFINING DATABASE ldb " addition in "REPORT" statment is involve to?
    cause I didn't understand the SAP help of this addition!
    Thanks.

    When defining logical databases (via SE36), the underlying database program needs to have this addition to the REPORT statement. See SAPDBSDF for logical database SDF as an example.
    Greetings
    Thomas

  • How to create Report tree in F.99?

    HI
    we have 20-30 customized reports, which we want to assign to one report tree in F.99. Anybody knows the Tcode to do this? How can i create one?
    Any help is appreciated.
    Thanks
    Aleem

    Thanks for the Tcode. Can you please give me the steps to create?

  • What is the functionality to create report tree for copa reports

    Dear Fellow members,
    Good day to you!
    I would need your advise on how to create report tree for the list of COPA reports created by users in Production. Note that currently power user is using KE30 to create these reports. Due to its sensitivity, I need to prevent users from knowing the list of reports created. Basically just wanted to allow user to execute the few copa reports revelent to his area like Channel P&L.
    Many thanks in advance & cheers.. !
    from Elaine

    Dear Mohammed azam
    Thanks for your reply.
    Before i can create the menu tree, i need to create the same report name and form name in DEV client, create the report tree with this report name. The report name & form name not necessary have to be t same format at the one in production client. meaning, you can create just a row and a column. That's it you can perform the normal landscape of transporting the report tree to QAS & PRD.
    Thanks & cheers !
    elaine

  • Report Writer in a Report Tree

    All,
    I am having a problem migrating a report tree from a 3.1i environment to a 5.0 upgrade.
    I have been successful with SAP Reports, Custom Z reports and ABAP Queries, but
    Report Writer reports pose a problem. 
    To migrate I used the RTTREE_MIGRATION transaction SAP recommends.  Seems this creates Y_…  type transactions for some Custom Z reports and ABAP Queries.  I have had to create Z t-code for the Queries and then override the generated Y_... transaction with the Z t-codes in the Area Menu.
    The problem I am encountering with Report Writer / Report Painter is I believe the generated ABAP name assigned when the report is created seems to be a $TMP reports and the name seems to change whenever changes are made.   
    I’m not sure if I can assign a Z t-code to Report Writer reports? 
    Any Suggestions?

    <b>The problem I am encountering with Report Writer / Report Painter is I believe the generated ABAP name assigned when the<u> report is created seems to be a $TMP reports and the name seems to change whenever changes are made.</u>
    <i>Well lots of reports in sales are using GR51/52 I dont think so its name changes every time , llike for example you have cost analysis report in Tr.Co02 as well as you have series of reports in MM like Mc.1 to MC.9 .</i>
    I’m not sure if I can assign a Z t-code to Report Writer reports?</b>
    You can assign the Z T-codes to the program it `ll work !!
    Hope this’ll give you idea!!
    <b>P.S award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • How to add program to report tree

    Hi ,
    Can you please let me know how to add report to report tree..( No transaction code ,just only want to add report)
    Thanks,,

    Hello Parnith,
    There is the SE43N transaction (Area menu transaction update). Here you should be able to locate the corresponding area menu and insert your report in the report tree.
    There is also the SERP transaction. This is for old report tree transactions.
    Hope it helps you.
    Regards,
    Daniel.

  • Reporting tree in MS SQL

    Hi
    In MS SQL I have a table with 2 columns:
    Employee          Manager
    Scott                Peter
    Nancy               Peter
    Paul                  Peter
    Damien             Scott
    German             Scott
    Astrid                Scott
    Beata                Nancy
    Christina           Nancy
    Nicole               Nancy
    How to get a reporting tree like this in Ms SQL?
    Manager            Employee
    Peter                  Scott
    Peter                  Nancy
    Peter                  Paul
    Scott                  Damien
    Scott                  German
    Scott                  Astrid
    Nancy                 Beata
    Nancy                 Christina
    Nancy                 Nicole
    Paul                   no _employee
    Thanks!
    Mecu
    gec

    You are welcome :-)
    Please close the thread my marking the answer (there is a link under the response), and you can vote for people's response that tired to help you as well (using the link in the left of the response).
    ** If you use UNION instead of UNION ALL then you don't have duplicate values, and you dont need the group by (but the server build the same execution plan in this case).
    select t1.Manager, ISNULL(t2.employee,'no _employee') as Employee
    from (
    select Employee as Manager
    from T
    union
    select Manager
    from T
    ) t1
    left join T t2 on t1.Manager = t2.Manager
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

Maybe you are looking for

  • Issues with mac pro 2014 and Adobe CC

    Having major issues with my New Mac Pro since installing 10.9.3.  The issues are with render in Adobe CC products and glitches on displays. Model Name:          Mac Pro   Model Identifier:          MacPro6,1   Processor Name:          12-Core Intel X

  • Digital Signature in SRM 5.0

    Hi Friends,           We need to configure Digital signature for vendor bidding in SRM 5.0. Can anybody share their experience in implementing the same in SRM 5.0 and impact in MM-SUS scenario. We are having SRM 5.0, ECC 5.0 (sp 10) and MM-SUS scenar

  • Can any institution be on iTunes U and can the course be restricted somehow?

    Hello all, I'm working with a client and we're pretty interested in using iPads as a learning platform in our course that we're putting together. iTunes U seems to be a great tool and we're looking at using that as well as an optional tool to add to

  • How do I move EVERYTHING in iTunes (including playlists) to my new Mac?

    Sorry if this seems like an overly simple question but I'm stumped... I need to move my iTunes collection over to a new Mac. I know how to move audio files but I also want to move the my *playlists, ratings, history, album art* etc. (Both machines ar

  • Can't activate my iphone. I bought an iphone Hong Kong and trying to activate it in malaysia.

    Hi Experts, Just got an Iphone 4 from hong kong. I'm now trying to activate it in malaysia. But the phone seem like seraching for a carrier. Tried connect it to itunes and it said that no sim card installed in the iphone. Please help