Structure's in Reporting

Hi All,
                  In reporting can we change global structure to local structure?
                  If yes, Please explain the procedure.
Regards,
Niranjan.

Hi,
It will be available at infoProvider level and
will be avialbale locally for that particular Query since Local structures are used in only one query.
from help:
You can change local structures into reusable structures in any existing query by selecting the structure and, choosing Save as... from the context menu and then entering a technical name and a description in the Save Structure as... dialog box.
You can change reusable structures that you are using in a query into local structures by selecting the structure and choosing Remove Reference from the context menu.
http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a5632e09411d2acb90000e829fbfe/content.htm
Assign points if its hepful.
Message was edited by:
        Murali .

Similar Messages

  • How to use one structure in different reports

    Hi All,
    We have created two reports on the same multi provider.
    Created one structure with more than 50 key figures and used the option save as, provided technical name for that structure.
    I want to use the same structure in second report too.But when opened second query i am not able to see the structure under srtucture tree.
    Please help me on this....
    Regards,
    Siva.

    Hi,
    Please go through the below doc.
    http://help.sap.com/saphelp_nw04/helpdata/EN/f1/0a5632e09411d2acb90000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/4d/e2bebb41da1d42917100471b364efa/content.htm
    regards,
    mahesh

  • Cost component structure in copa report

    HI Gurus
    1We are doing REM Process and costing variant "PREM"
    2. We are going for moving average price for all Material type there is no standard cost estimate
    3. My client want to see the  cost component structure in copa reports like
      sales
      exice
      ram material
      packing material
      labour
      overehad
      selling and distributioh overhead
    I have done all necessary setting in costing key
    I have done pa trasnfer structre also
    But Cost component spill is not happening in copa report
    Can we get cost component struture in copa report with moving average price if yes
    Please advice  me how to geneate the report
    Thanks & Regards
    KISHORE

    Hi Aravind
    Thanks for your reply, But in our  business process there is not Standard cost estimation,bcoz, Price control in material master is MAP. Can we get cost component strudcture in copa  if we are going for MAP in MM.
    I have done all the Setting IN KE4R also. But i am unable to see the values in COPA report
    Thanks
    KISHORE

  • How to Link Organizational Structure to a report program

    Hi All,
              Can anyone pls help me out with my requirement. How can we link a organizational structure created in transaction PPOMW to a report program. Basically i want to send the report output as an XLS attachment to an external email id. For that i need to link Organizational Structure to the report program.
          There are many ways of doing it but i want it to be done by linking Organization structure to the report program. Pls help me as soon as possible as its a bit urgent for me.

    Hi,
    Please follow the below function modules and the paramters for reading archived data:
    CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ'
      EXPORTING
        OBJECT                   = archiving object name
    IMPORTING
       ARCHIVE_HANDLE           = archive read handle
    Then in the loop(DO-ENDDO), use this FM:
    DO.
      CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT'
           EXPORTING
                archive_handle          = archive read handle
    Then records from the data objects using this FM:
      CALL FUNCTION 'ARCHIVE_GET_TABLE'
           EXPORTING
                archive_handle        = archive read handle
                record_structure      = 'TABLENAME'
                all_records_of_object = 'X'
                automatic_conversion  = 'X'
           TABLES
                table                 = internal table for which you want to retrieve records.
    ENDDO.
    Then close the archive file using this FM:
    CALL FUNCTION 'ARCHIVE_CLOSE_FILE'
         EXPORTING
              archive_handle = archive read handle
    This will help u in reading archived data from archive file.
    may give some idea also on how to code the read prgram.
    Thanks,
    Shamim

  • I use global structure in another report how can i make it local ?

    i use global structure in another report how can i make it local ?

    Naresh,
    Right click on structure and choose remove reference. Then you can add new fields, and this structure is local.
    Hope it Helps
    Srini

  • Copy structure of one report to another but with new set of data providers

    Hi,
    I have a requirement to copy the entire structure of a report into another new report but the new report will have a new set of data providers.
    How can we achieve this in BO V5.1.8?
    Thanks in Advance for your help.

    Hi,
    First thing first Take a copy of existing report,
    1.Open the report in edit mode.
    2.Click on the edit query.
    3.Click on the properties tab.
    4.Click on the universe name and change the universe with the new one.
    5.Now map the dimentions and measure of the new data provider to the old one.
    6.Run the report.
    Hope this will help you.
    Cheer,
    Ravichandra K

  • How to display the data of a structure in a report

    i want to display the data of a structure resbd.
    i know it does not have data.
    but it contains data at runtime
    plz help
    thanx

    Hi,
       For displaying the data of a structure you can use the write statement.
    WRITE : structurename - fieldname.
    eg : write : resbd-rsnum.
    Before that you need to declare the structure name inside the report.
                  Please refer the following code for your querry
    REPORT ZSTRUCTDATA .
    Table Declaration
    tables : resbd.
    Assigning Values to Structure Fields
    resbd-rsnum = 1234.
    resbd-rspos = 12.
    Displaying Values
    write : / resbd-rsnum.
    write : / resbd-rspos.
    This report will give the output like this.
    0000001234
    0012
    Regards,
    LIJO JOHN.

  • Issues with Bex query structures and Crystal Reports/Webi

    Hi experts,
    I'm having an issue with Bex Query structures and nulls. I've built a Crystal Report against a Bex query that uses a Bex Query structure. The structure looks like the following
    Budget $
    Budget %
    Actual $
    Actual %
    Budget YTD
    etc
    if I drag the structure into the Crystal Report detail section with a key figure it displays like this
    Budget $     <null>
    Budget %     <null>
    Actual $     300
    Actual %     85
    Budget YTD     250
    the null values are displayed (and this is what is required). However if I filter using a Record selection or group on a profit centre then the nulls along with the associated structure component are not displayed.
    Actual $     300
    Actual %     85
    Budget YTD     250
    Webi is also behaving similarly. Can anyone explain why the above is happening and suggest a solution either on the Bex side of things or on the Crystal Reports side of things? I'm confused as to why nulls are displayed in the first example and not the second.
    Business Objects Edge 3.1 SP2
    SAP Int Kit SP2
    OS: Linux
    BW 701 Level 6
    Crystal Reports 2008 V1
    Thanks
    Keith

    Hi,
    Crystal Reports and Web Intelligence will only show data which is in the cube. You could have an actual 0 or Null entry whithout grouping but by changing the selection / grouping in the report the data does not include such entry anymore.
    ingo

  • Program structure for a report

    hi,
    could any one clarify whether
    initialization event is to be  written first or
    selection-screen begin of block is to be written.plz tell whether this affects performance.
    I have written a report with the following structure.plz correct me if i'm wrong
    1)DB table declaration
    2) internal tables declaration and ranges decltn
    3)ALV variables & internal tables
    4)constants & variables
    5)initialization
    6)selection-screen(begin of block-end of block)
    7)at selection-screen on value req
    8) at selection-screen
    9)start-of-selection
    10)end-of-selection

    Hi Mamatha
    There is absolutely no need of worrying about which should come first and which next...
    Anything is fine...whether INITIALIZATION coming first or vice-versa. and further, there is no connection of this with performance. Infact, let me tell you that PERFORMANCE comes into picture only when u r accessing the database or when u r processing large internal tables.
    <b>and regarding the order of ur report:</b>
    Its fine! How ever, for more readability, u can swap the 5th and 6th steps, so that all the events are grouped at one place and all the data declarations above them.
    And let me tell u one important thing: Don't allow the data declaration to happen in SELECTION-SCREEN events, it will not be global.....
    Hope u understand me completely
    Reward points if helpful
    Regards

  • WAD: add new formula / structure element to report run by user

    Hi,
    I know that there is a possibility to add a formula or "structure element" to a WAD report that is being run by a user (user opens WAD report and can add a formula). We are using WAD 7. Unfortunately I don't know where this function is hidden in WAD (I am new to WAD....).
    Thanks!

    Hi Steve,
    Make sure you have the following web item and property enabled in your WAD template.
    ~ Context Menu Item >   Local Formula
    Once this is enabled, you can run the WAD report, right click and select Calculations and Translations > Formula > Create New formula
    This will populate teh formula builder.
    Hope this helps.
    Regards
    Snehith.

  • % to sales formula required in Structures _ FI Report

    The Finance Profit / Loss report involves using of structures.
    Structures are elements with different GL account groupings
    Structure Elements    Balance    % to Sales
    Sale                         150000         100%
    Materials                    32000         21%
    Employee Cost           23000         15%
    Contribution                95000         63%
    Administration cost     23500         16%
    Finance Charges          8150           5%
    Net Profit                   63350          42%
    Taxes                        19005          13%
    Profit After Tax           44345          30%
    I have worked out the structure and the balance key figure. The % to Sales figure is becoming slightly difficult. Could you suggest how to work out this formula
    Normalization does not serve the purpose. Could you pl. let me know how I can get the above % to Sales.
    Your earliest response is requested.
    Kind Regards
    Siva Kumar

    Hi,
    I have a requirement similar to Siva's. But I won't use structures for my P&L statement elements. I'd like to take advantage of the cost element hierarchy, which has already been structured with the P&L statement in mind.
    That way the statement wouldn't be limited to its fixed, high level aggregated form. The user might drill down into deeper detail, expanding the hierarchy in order to analyze the single cost elements.
    Again, how can a percentage to the sales figure would be calculated? The sales figure is given by the cumulated balance key figure, restricted with a specific cost element hierarchy node that is known. But how to select and use that value in a BEx query?
    Thanks, [Davide|https://wiki.sdn.sap.com/wiki/display/profile/Davide+Cavallari|My wiki profile]
    Edited by: Davide Cavallari on Jan 19, 2008 1:33 AM

  • Display structure in crystal report using structure created in BEx.

    I created a structure in BEx query designer and trying to display the structure as a hierarchy in crystal report.
    Iam not able to accomplish it. the crystal report is displaying the structure with no nodes. please help

    Hi,
    in case you created a BEx query with 2 structure - one for keyfigures and one as characteristic structure - then the structure for the characteristics will result in Crystal REports using the BW MDX Driver as a single field and each element of the structure will result in a row of data.
    regards
    Ingo Hilgefort

  • Reporting Structure in HIS Reports

    Hi,
    In HIS standard reports shows the Org Units with it's positions and Holders(without Reporting Structure).  but how to show the reporting structure in graphical mode?

    Use TCODE PPST and you can any kind of structure you want.
    Regards
    Lincoln

  • Tree structure format in report.

    Hi all,
    I have got a report to develop where in i have to display the ouptut of the report
    in a tree structure.Can anybody tell me how to proceed with this ??     This  is
    basically an interactive report where clicking on one of the node will take us to
    another page.
    Thanks and Regards.
    syed.

    HI
    Refer this code.
    REPORT YMS_ALVTREEDEMO .
    *Data Declaration
    TABLES: ekko.
    TYPE-POOLS: slis. "ALV Declarations
    TYPES: BEGIN OF t_ekko,
    ebeln TYPE ekpo-ebeln,
    ebelp TYPE ekpo-ebelp,
    statu TYPE ekpo-statu,
    aedat TYPE ekpo-aedat,
    matnr TYPE ekpo-matnr,
    menge TYPE ekpo-menge,
    meins TYPE ekpo-meins,
    netpr TYPE ekpo-netpr,
    peinh TYPE ekpo-peinh,
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
    it_ekpo TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
    it_emptytab TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
    wa_ekko TYPE t_ekko,
    wa_ekpo TYPE t_ekko.
    DATA: ok_code like sy-ucomm, "OK-Code
    save_ok like sy-ucomm.
    *ALV data declarations
    DATA: fieldcatalog TYPE lvc_t_fcat WITH HEADER LINE.
    DATA: gd_fieldcat TYPE lvc_t_fcat,
    gd_tab_group TYPE slis_t_sp_group_alv,
    gd_layout TYPE slis_layout_alv.
    *ALVtree data declarations
    CLASS cl_gui_column_tree DEFINITION LOAD.
    CLASS cl_gui_cfw DEFINITION LOAD.
    DATA: gd_tree TYPE REF TO cl_gui_alv_tree,
    gd_hierarchy_header TYPE treev_hhdr,
    gd_report_title TYPE slis_t_listheader,
    gd_logo TYPE sdydo_value,
    gd_variant TYPE disvariant.
    *Create container for alv-tree
    DATA: l_tree_container_name(30) TYPE c,
    l_custom_container TYPE REF TO cl_gui_custom_container.
    *Includes
    *INCLUDE ZDEMO_ALVTREEO01. "Screen PBO Modules
    *INCLUDE ZDEMO_ALVTREEI01. "Screen PAI Modules
    *INCLUDE ZDEMO_ALVTREEF01. "ABAP Subroutines(FORMS)
    *Start-of-selection.
    START-OF-SELECTION.
    ALVtree setup data
    PERFORM data_retrieval.
    PERFORM build_fieldcatalog.
    PERFORM build_layout.
    PERFORM build_hierarchy_header CHANGING gd_hierarchy_header.
    PERFORM build_report_title USING gd_report_title gd_logo.
    PERFORM build_variant.
    Display ALVtree report
    call screen 100.
    *& Form DATA_RETRIEVAL
    Retrieve data into Internal tables
    FORM data_retrieval.
    SELECT ebeln
    UP TO 10 ROWS
    FROM ekko
    INTO corresponding fields of TABLE it_ekko.
    loop at it_ekko into wa_ekko.
    SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
    FROM ekpo
    appending TABLE it_ekpo
    where ebeln eq wa_ekko-ebeln.
    endloop.
    ENDFORM. " DATA_RETRIEVAL
    *& Form BUILD_FIELDCATALOG
    Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
    Please not there are a number of differences between the structure of
    ALVtree fieldcatalogs and ALVgrid fieldcatalogs.
    For example the field seltext_m is replace by scrtext_m in ALVtree.
    fieldcatalog-fieldname = 'EBELN'. "Field name in itab
    fieldcatalog-scrtext_m = 'Purchase Order'. "Column text
    fieldcatalog-col_pos = 0. "Column position
    fieldcatalog-outputlen = 15. "Column width
    fieldcatalog-emphasize = 'X'. "Emphasize (X or SPACE)
    fieldcatalog-key = 'X'. "Key Field? (X or SPACE)
    fieldcatalog-do_sum = 'X'. "Sum Column?
    fieldcatalog-no_zero = 'X'. "Don't display if zero
    APPEND fieldcatalog TO gd_fieldcat.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'EBELP'.
    fieldcatalog-scrtext_m = 'PO Iten'.
    fieldcatalog-outputlen = 15.
    fieldcatalog-col_pos = 1.
    APPEND fieldcatalog TO gd_fieldcat..
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'STATU'.
    fieldcatalog-scrtext_m = 'Status'.
    fieldcatalog-outputlen = 15.
    fieldcatalog-col_pos = 2.
    APPEND fieldcatalog TO gd_fieldcat..
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'AEDAT'.
    fieldcatalog-scrtext_m = 'Item change date'.
    fieldcatalog-outputlen = 15.
    fieldcatalog-col_pos = 3.
    APPEND fieldcatalog TO gd_fieldcat..
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'MATNR'.
    fieldcatalog-scrtext_m = 'Material Number'.
    fieldcatalog-outputlen = 15.
    fieldcatalog-col_pos = 4.
    APPEND fieldcatalog TO gd_fieldcat..
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'MENGE'.
    fieldcatalog-scrtext_m = 'PO quantity'.
    fieldcatalog-outputlen = 15.
    fieldcatalog-col_pos = 5.
    APPEND fieldcatalog TO gd_fieldcat..
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'MEINS'.
    fieldcatalog-scrtext_m = 'Order Unit'.
    fieldcatalog-outputlen = 15.
    fieldcatalog-col_pos = 6.
    APPEND fieldcatalog TO gd_fieldcat..
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'NETPR'.
    fieldcatalog-scrtext_m = 'Net Price'.
    fieldcatalog-outputlen = 15.
    fieldcatalog-col_pos = 7.
    fieldcatalog-datatype = 'CURR'.
    APPEND fieldcatalog TO gd_fieldcat..
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'PEINH'.
    fieldcatalog-scrtext_m = 'Price Unit'.
    fieldcatalog-outputlen = 15.
    fieldcatalog-col_pos = 8.
    APPEND fieldcatalog TO gd_fieldcat..
    CLEAR fieldcatalog.
    ENDFORM. " BUILD_FIELDCATALOG
    *& Form BUILD_LAYOUT
    Build layout for ALV grid report
    FORM build_layout.
    gd_layout-no_input = 'X'.
    gd_layout-colwidth_optimize = 'X'.
    gd_layout-totals_text = 'Totals'(201).
    gd_layout-totals_only = 'X'.
    gd_layout-f2code = 'DISP'. "Sets fcode for when double
    "click(press f2)
    gd_layout-zebra = 'X'.
    gd_layout-group_change_edit = 'X'.
    gd_layout-header_text = 'helllllo'.
    ENDFORM. " BUILD_LAYOUT
    *& Form build_hierarchy_header
    build hierarchy-header-information
    -->P_L_HIERARCHY_HEADER structure for hierarchy-header
    FORM build_hierarchy_header CHANGING
    p_hierarchy_header TYPE treev_hhdr.
    p_hierarchy_header-heading = 'Hierarchy Header'(013).
    p_hierarchy_header-tooltip = 'This is the Hierarchy Header !'(014).
    p_hierarchy_header-width = 30.
    p_hierarchy_header-width_pix = ''.
    ENDFORM. " build_hierarchy_header
    *& Form BUILD_REPORT_TITLE
    Build table for ALVtree header
    <-> p1 Header details
    <-> p2 Logo value
    FORM build_report_title CHANGING
    pt_report_title TYPE slis_t_listheader
    pa_logo TYPE sdydo_value.
    DATA: ls_line TYPE slis_listheader,
    ld_date(10) TYPE c.
    List Heading Line(TYPE H)
    CLEAR ls_line.
    ls_line-typ = 'H'.
    ls_line-key "Not Used For This Type(H)
    ls_line-info = 'PO ALVTree Display'.
    APPEND ls_line TO pt_report_title.
    Status Line(TYPE S)
    ld_date(2) = sy-datum+6(2).
    ld_date+2(1) = '/'.
    ld_date3(2) = sy-datum4(2).
    ld_date+5(1) = '/'.
    ld_date+6(4) = sy-datum(4).
    ls_line-typ = 'S'.
    ls_line-key = 'Date'.
    ls_line-info = ld_date.
    APPEND ls_line TO pt_report_title.
    Action Line(TYPE A)
    CLEAR ls_line.
    ls_line-typ = 'A'.
    CONCATENATE 'Report: ' sy-repid INTO ls_line-info SEPARATED BY space.
    APPEND ls_line TO pt_report_title.
    ENDFORM.
    *& Form BUILD_VARIANT
    Build variant
    form build_variant.
    Set repid for storing variants
    gd_variant-report = sy-repid.
    endform. " BUILD_VARIANT
    Check these programs.
    e.g
    BCALV_TREE_01 ALV tree control: build up the hierarchy tree
    BCALV_TREE_02 ALV tree control: event handling
    BCALV_TREE_03 ALV tree control: use an own context menu
    BCALV_TREE_04 ALV tree control: add a button to the toolbar
    BCALV_TREE_05 ALV tree control: add a menu to the toolbar
    BCALV_TREE_06 ALV tree control: Icon column and icon for nodes/items
    BCALV_TREE_DEMO Demo for ALV tree control
    BCALV_TREE_DND ALV tree control: Drag & Drop within a hierarchy tree
    BCALV_TREE_DND_MULTIPLE ALV tree control: Drag & Drop within a hierarchy tree
    RSDEMO_DRAG_DROP_TREE_MULTI
    BCALV_TREE_EVENT_RECEIVER Include BCALV_TREE_EVENT_RECEIVER
    BCALV_TREE_EVENT_RECEIVER01
    BCALV_TREE_ITEMLAYOUT ALV Tree: Change Item Layouts at Runtime
    BCALV_TREE_MOVE_NODE_TEST Demo for ALV tree control
    BCALV_TREE_SIMPLE_DEMO Program BCALV_TREE_SIMPLE_DEMO
    BCALV_TREE_VERIFY Verifier for ALV Tree and Simple ALV Tree
    Reward all helpfull answers.
    Regards.
    Jay

  • Issue with OM relationship structure when using report RHSTRU00

    In HR, one Person (P) is attached to only one Central Person (CP). So, when we run the report with date period as of Today, we expect a Tree structure in the output with P-CP relationships displayed. However, we see that the report displays one Person attached to many CPs.
    The program fetches the 1 P to 1 CP combination. However, it deletes all Persons who are not Active as of today but does not delete the CP. It then attaches all CPs to the first Active Person it can find.
    This is a serious bug since it shows data which is different from what exists in the system. In our systems as would be in any HR system in the world, One person can be attached to only one CP and the program shows that the Person is attached to many CPs.
    I opened a OSS message but SAP refused to correct this bug.
    Has anybody else ever encountered the same issue and do you have a solution to this?

    I checked the report, and it certainly returns incorrect data, I found exactly what you say regarding active/inactive persons.
    What is SAP's reason for not looking into this? It would be interesting to hear their argumentation for this not being a bug. 
    It may be that SAP expects RHSTRU00 to be called only for active persons? This would require running another report first to get the input for RHSTRU00. This seems like a strange prerequisite for the program, and I do not understand why SAP don't see this as a bug. The error seems rather obvious and reproducable.
    I often find that I have to push to get passed first line of support to have SAP see the problem. It is tiring, but I have found this to be the fact far too often. 
    PS - we never use the program like this, so we do not face the problem ourselves.
    /Kirsten

Maybe you are looking for