Hierachy display at own Dynpro

Hi Freinds,
I would like to display my list (master / slave) using my own dev. dynpro screen. I have used the FM: HU_DISPLAY_STANDARD alternative to class method CL_SALV_HIERSEQ_TABLE-->Factory
The display is coming up on SAP standard screen. But htis isnot what I want. I intend to dev, buttons on my dynpro. So this is why I would like to the display on my dynpro and not on the SAP Standard.
Question:
Can someone please  help and show how to do it. I mean, if I use either the FM or Class method and I want the display on my own Dynpro.
Thanks.
Blacky.

look for examples in SAP Demo Center (transaction DWDM)

Similar Messages

  • Umlaut characters getting distorted while displaying in Web dynpro java

    Hi All,
    I have a scenario where I am reading some string values from  a properties file placed in java DC.
    The values read from properties file are to be displayed in  Web Dynpro application.
    The string values contain some umlaut characters eg (ü,ä).
    While displaying in web Dynpro application the umlaut characters  are getting  distorted.
    Any pointers for the same?
    Regards
    Radhika Kuthiala

    Hi Radhika,
    Solution1> you can convert the property file in the encoded format, in the DC having the pr0perty file.
    use this command in the command line:-->native2ascii -encoding utf8 file.txt file2.txt
    Are we renaming hte files after changing the format?
    In one of my previous project we have property file with the french character so we got error, to avoid this we have manually transtaled the file and utilized in the application and used the command in dos promt:-
    native2ascii -encoding utf8 source.txt destination.txt ,
    here if you want to replace the existing file u have to give same name source and destination file. But we have created 2 seprate file. after translation you will something like Fre/uooch king of output.
    Solution3> you can read the file and save in the Strign format and use java package import java.nio.charset.; and encode the string. ---
    Pls refer the below link:-
    http://mindprod.com/jgloss/encoding.html
    Hope this may help you.
    Deepak!!!

  • Can users display only own documents in Web CRM?

    Hello
    is it possible to have a limitation for users in diplaying documents (sales order, quotes, tickets, and so on) in web CRM?
    Each user can access to own documents with a super user able to display all.
    We are in the situation where sales reps do have to displays only own orders, while the Sales Manager can display all.
    Thanks
    Paolo

    As a default, users with the Sales Rep Role will only see their own assigned customers and assigned customer documents in the Sales View.  However, they could still search for customers assigned to other reps in any of the search fields. 
    If you wanted to go further than that you could create a custom role that keeps them from accessing pages or components that allow searching but I doubt you could disable them all without seriously affecting some pages and functions (like searching for a customer's name and contact when creating an activity).
    I suspect it would take some custom work to truly isolate every rep and his/her customers and documents from every other rep in every situation.

  • Prevent iViews from displaying their own scrollbars

    Hi,
    does anybody know how to allow vertical scrolling in pages exclusively by using the browser's vertical scrollbar (e.g. as it is realized in the SDN portal) respectively how to prevent iViews from displaying their own scrollbars?
    Regards,
    Christoph

    Hi Christoph,
    to turn off scrolling has certainly something to do with setting the height and height-type of an iView. But as discussed in this thread Automatic Height of iView/Page & Footer in Framework page
    there is probably a bug in the EP. I have tried some combinations and had no luck either. In the forum thread is some javascript proposed. I haven't had time to check it out. But maybe it is some help to your problem.
    regards,
    Ulli

  • How to Change a Default Value from Drop Down Box displayed in Web Dynpro?

    Hi,
    How to Change a Default Value from 'High' to 'Low'  in a Drop Down Box for RANGE field displayed in Standard Web Dynpro Component.  I saw a Default Value set for a RANGE field  in View Context When I select that field and click on Display. I am seeing Default Value set it to 'HI'. Please let me know how to change from HIgh to Low.
    I appreciate your help!
    Thanks,
    Monica

    hi,
    use the set_attribute( ) method now to set the attribute with a particular key eg HIGH in ur case
    // u can use the code wizard( control +f7) this code will be auto generated when u select the
    //radio button to read the context node
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
      DATA ls_cn_node TYPE wd_this->element_cn_node.
    * navigate from <CONTEXT> to <CN_NODE> via lead selection
      lo_nd_cn_node = wd_context->get_child_node( name = wd_this->wdctx_cn_node ).
    * get element via lead selection
      lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    * set single attribute
      lo_el_cn_node->set_attribute(
          name =  `ATTribute name.`
          value = 'LOW' ).
    it will solve ur query ..
    also refer to this component
    wdr_test_events -> view dropdownbyidx and dropdownbykey ->method name onactionselect.
    regards,
    amit

  • Error message display in web dynpro application?

    Hi All,
    In my web dynpro application I am displaying error messages but the focus does not go to the field where error occured and also if I click on the error message it does not lead to the place of error.
    And also when I navigate to another view the error message does not go.
    Below is my code:
    *    report message
          DATA err1_text TYPE syst-msgv1.
          err1_text = wd_assist->if_wd_component_assistance~get_text( key = '002' ).
          CALL METHOD lo_message_manager->report_t100_message
            EXPORTING
              msgid      = 'ZAA'
              msgno      = '005'
              msgty      = 'E'
              p1         = err1_text
            RECEIVING
              message_id = lo_text.
    Please suggest me the way to do it.
    Thanks & Regards
    Archana

    Hi,
    I got your point.. in the BIND_TABLE( set_intiail_elemts = abap_true) change this to ABAP_FALSE.
    Because of this you are gettng the intiial values. Eventhough your table has no BALNK/space records.
    bind a single element
      node->bind_table(
        new_items             =  lt_year_list
        set_initial_elements = abap_true ).
    change as
    bind a single element
      node->bind_table(
        new_items             =  lt_year_list
        set_initial_elements = abap_false ).
    You can use this code - I have tjhe dropdwon for projects event I'm doing the same.
    navigate from <CONTEXT> to <PROJECT> via lead selection
      lo_nd_project = wd_context->get_child_node( 'PROJECT' ).
    ***Gets the selected project id from drop down
      if lo_nd_project is not initial.
        CALL METHOD lo_nd_project->GET_LEAD_SELECTION
          RECEIVING
            ELEMENT = lo_el_project.
    get all declared attributes
        if lo_el_project is not initial.
          lo_el_project->get_static_attributes(
            IMPORTING
              static_attributes = ls_project ).
    change your code to 
    lo_nd_year_list = wd_context->get_child_node( name = wd_this->wdctx_year_list ).
    ***Gets the selected project id from drop down
      if lo_nd_year_list is not initial.
        CALL METHOD lo_nd_year_list->GET_LEAD_SELECTION
          RECEIVING
            ELEMENT =  lo_el_year_list .
      IF lo_el_year_list IS NOT INITIAL.
        get single attribute
        lo_el_year_list->get_attribute(
          EXPORTING
            name =  `YEAR`
          IMPORTING
            value = lv_year ).
    Regards,
    Lekha.

  • How to display our own selected data in a search help using a exit

    Hello,
    I had created a Search Help Exit to restrict the values to be displayed in the search help. This code was written under the event 'DISP' in the exit. But it is not giving the desired result. So I want to replace the RECORD_TAB of the exit with my own selected data. For this I had written code for selection under the event 'SELECT'. But when I try to overwrite RECORD_TAB with this, this create errors.
    What should I do to overwrite the values of the RECORD_TAB field with my own values?
    Regards,
    Abijith

    Hi,
    This is how we implemented the code modify the values in search help exit.
    Check if display process button is pressed
      IF callcontrol-step = 'DISP'.
    Read the parameter ID for company code.
        GET PARAMETER ID 'BUK' FIELD lv_bukrs.
        IF sy-subrc EQ 0.
          lwa_bukrs-sign   = 'I'.
          lwa_bukrs-option = 'EQ'.
          lwa_bukrs-low    = lv_bukrs.
          APPEND lwa_bukrs TO lr_bukrs.
        ENDIF.
      Check if any entry is made in Test account/Testity account name
        LOOP AT shlp-selopt INTO lwa_selopt.
          CASE lwa_selopt-shlpfield.
            WHEN  'ZZTEST'.
              lwa_roy-sign = lwa_selopt-sign.
              lwa_roy-option = lwa_selopt-option.
              lwa_roy-low = lwa_selopt-low.
              APPEND lwa_roy TO lr_roy.
            WHEN 'ZZTEST_NAME'.
              lwa_roy_name-sign = lwa_selopt-sign.
              lwa_roy_name-option = lwa_selopt-option.
              lwa_roy_name-low = lwa_selopt-low.
              APPEND lwa_roy_name TO lr_roy_name.
          ENDCASE.
        ENDLOOP.
      Get customer in entered for a company code
        SELECT kunnr
               bukrs
          FROM knb1
          INTO TABLE lt_knb1
          WHERE kunnr IN lr_roy
            AND bukrs IN lr_bukrs.
        IF sy-subrc EQ 0.
          SORT lt_knb1 BY kunnr.
        Get customer name for  the customer.
          SELECT kunnr
                 name1
            FROM kna1
            INTO TABLE lt_kna1
            FOR ALL ENTRIES IN lt_knb1
            WHERE kunnr EQ lt_knb1-kunnr
              AND mcod1   IN  lr_roy_name.
          IF sy-subrc EQ 0.
            SORT lt_kna1 BY kunnr.
          ENDIF.
        ENDIF.
      Get Values for Testty account selected by standard search help
        CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'
          EXPORTING
            parameter   = 'Ztest'
            fieldname   = 'Ztest'                                    " Reference to search help parameter
          TABLES
            shlp_tab    = shlp_tab                                    " Reference to field of Seatinfo
            record_tab  = record_tab
            results_tab = lt_test_help
          CHANGING
            shlp        = shlp
            callcontrol = callcontrol.
      Get Values for Testty account Name selected by standard search help
        CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'
          EXPORTING
            parameter   = 'Ztest1'
            fieldname   = 'Ztest1'                                    " Reference to search help parameter
          TABLES
            shlp_tab    = shlp_tab                                    " Reference to field of Seatinfo
            record_tab  = record_tab
            results_tab = lt_roy_help
          CHANGING
            shlp        = shlp
            callcontrol = callcontrol.
        LOOP AT lt_knb1 INTO lwa_knb1.
          CLEAR lwa_kna1.
          READ TABLE lt_kna1
                INTO lwa_kna1
                WITH KEY kunnr = lwa_knb1-kunnr
                BINARY SEARCH.
          IF sy-subrc EQ 0.
            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
              EXPORTING
                input  = lwa_kna1-kunnr
              IMPORTING
                output = lv_kunnr.
            lwa_roy_help-ztest1 = lv_kunnr.
            lwa_roy_help-ztest = lwa_kna1-name1.
            APPEND lwa_roy_help TO lt_roy_help .
          ENDIF.
        ENDLOOP.
        SORT lt_ztest_help.
        DELETE ADJACENT DUPLICATES FROM lt_roy_help COMPARING ZTEST1.
    Finally transport the computed numbers into the search help data.
        CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
          EXPORTING
            parameter   = 'ZTEST1'
            fieldname   = 'ZTEST1'" Reference to search help parameter
          TABLES
            shlp_tab    = shlp_tab                                    " Reference to field of Seatinfo
            record_tab  = record_tab
            source_tab  = lt_roy_help
          CHANGING
            shlp        = shlp
            callcontrol = callcontrol.
    Finally transport the computed numbers into the search help data.
        CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
          EXPORTING
            parameter   = 'ZTEST''
            fieldname   = 'ZTEST''                                  " Reference to search help parameter
          TABLES
            shlp_tab    = shlp_tab                                    " Reference to field of Seatinfo
            record_tab  = record_tab
            source_tab  = lt_roy_help
          CHANGING
            shlp        = shlp
            callcontrol = callcontrol.
      ENDIF.
    Nabheet

  • HOW TO DISPLAY MY OWN PF STATUS  IN ALV LIST DISPLAY

    Hi All,
    i am developing one program in this program i am displaying output by using alv list display. after displaying the out SAP predefined pf status is coming. here i need my own pf status. any body can send me the sample code ir modify my code if possible.
    i am sending my code below.
    report zmahi6.
    type-pools : slis.
    tables : zuser_secobjects.
    data : it_secobjects like zuser_secobjects occurs 0 with header line.
    data : i_field type slis_t_fieldcat_alv with header line.
    data : w_field like line of i_field.
    data : i_sort type slis_t_sortinfo_alv.
    data : w_sort like line of i_sort.
    data : it_filt1 type slis_t_filter_alv with header line.
    data:
    i_tabname type tabname,
    i_repid like sy-repid,
    is_lout type slis_layout_alv.
    data : chk_box type slis_fieldname.
    selection-screen: begin of block b1 with frame title text-t01.
    parameters : p_appln type zuser_secobjects-appln.
    parameters : p_user type usr02-bname, "zuser_secobjects-appln_user,
    p_partnr type zuser_secobjects-appln_partner,
    p_ptype type zuser_secobjects-partner_type default '02',
    p_upostn type zuser_secobjects-user_position,
    p_sdate like likp-erdat default sy-datum,
    "type zuser_secobjects-start_date
    p_edate(10) default '12/31/9999',
    type zuser_secobjects-end_date,
    p_revnum type zuser_secobjects-revnum,
    p_cted type zuser_secobjects-created_by,
    p_cdate type zuser_secobjects-creation_date,
    p_ctime type zuser_secobjects-creation_time,
    p_chnby type zuser_secobjects-changed_by,
    p_cdate1 type zuser_secobjects-changed_date,
    p_ctime1 type zuser_secobjects-changed_time.
    selection-screen: end of block b1.
    start-of-selection.
      perform get_data.
      check sy-subrc eq 0.
      set pf-status 'ZMAHEE'.
      perform prepare_fieldcatalog.
      perform alv_list_display.
    *& Form PREPARE_FIELDCATALOG
    text
    --> p1 text
    <-- p2 text
    form prepare_fieldcatalog.
      clear: w_field,i_field.
      refresh:i_field.
      i_field-key = 'X'.
      i_field-col_pos = 1.
      i_field-ddictxt = 'S'.
      i_field-seltext_s = '@11@'.
      i_field-checkbox = 'X'.
      i_field-input = 'X'.
      i_field-fieldname = 'HEADER'.
      i_field-outputlen = 0.
      append i_field.
      clear i_field.
      w_field-fieldname = 'APPLN'.
      w_field-tabname = 'IT_SECOBJECTS'.
      w_field-seltext_l = text-m01.
      w_field-outputlen = '10'.
      w_field-col_pos = 1.
      append w_field to i_field.
      clear w_field.
      w_field-fieldname = 'APPLN_USER'.
      w_field-tabname = 'IT_SECOBJECTS'.
      w_field-just = 'C'.
      w_field-seltext_l = text-m02.
      w_field-outputlen = '7'.
      w_field-col_pos = 2.
      append w_field to i_field.
      clear w_field.
    endform. " PREPARE_FIELDCATALOG
    *form pf_status_set using rt_extab type slis_t_extab.
    set pf-status '0001'.
    *endform.
    *& Form ALV_LIST_DISPLAY
    text
    --> p1 text
    <-- p2 text
    form alv_list_display.
      call function 'REUSE_ALV_LIST_DISPLAY'
      exporting
      i_callback_program = i_repid
      i_callback_pf_status_set = 'PF_STATUS_SET'
      i_callback_user_comomand = 'USER_COMMAND'
      is_layout = is_lout
      it_fieldcat = i_field[]
    it_sort = i_sort
    it_events = it_evts[]
      tables
      t_outtab = it_secobjects.
    endform. " ALV_LIST_DISPLAY
    *& Form GET_DATA
    text
    --> p1 text
    <-- p2 text
    form get_data.
      select * from zuser_secobjects
      into table it_secobjects.
    endform. " GET_DATA
    thanks,
    maheedhar.t

    Follow this steps.
    I ahve done it once and hope wuld work for you as well.
    Go to SE80. Open a a standard ABAP program - SAPLKKBL. diasplay object.
    This program has many standard GUI status. Copy the one which suits you the best. May be any one standars status. Right click it and copy to your custom report. Now open your Z-Program in SE80. You will see the GUI status and when you open it you see the name of the status that you have copied from.
    Now you can go and do any modifications in the screen.
    Remember you have to use the same status in the program as well.
    Please check this piece of code.
    call the ABAP list viewer                                            *
    FORM list_display TABLES a_output.
      pgm = disvariant-report = sy-repid.
      disvariant-variant = variant.
    call list viewer
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program       = pgm
          i_callback_pf_status_set = 'SET_PF_STATUS'
          it_fieldcat              = fieldcat
          is_variant               = disvariant
          is_layout                = layout
          is_print                 = print
          i_save                   = 'A'
          it_events                = eventcat
          it_sort                  = sortcat
          i_callback_user_command  = 'USER_COMMAND'
        TABLES
          t_outtab                 = a_output
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
    ENDFORM.                    "LIST_DISPLAY
    FORM SET_PF_STATUS *
    FORM set_pf_status USING extab TYPE slis_t_extab.
      SET PF-STATUS 'STATUS1'.
    ENDFORM.                    "set_pf_status
    FORM USER_COMMAND *
    FORM user_command USING ucomm LIKE sy-ucomm
    selfield TYPE slis_selfield.
      DATA t_difference TYPE i.
      CASE ucomm.
        WHEN 'ENT1'.<----Function code
    D0 your processing.
      ENDCASE.
      selfield-refresh = 'X'.
    ENDFORM.                    "user_command
    HOpe this helps.
    Shreekant

  • Blank adobe form displayed in  web dynpro application

    Hi,
                 I have created an Interactive Adobe form using web dynpro Java. When I run the form (in IE), a blank page is displayed.
    If I keep the Adobe reader open and run the form on IE, the form is opened in reader and it's working.
    When I access the same form on a different system, there is no problem.
    Does this have anything to do with the IE settings or Adobe Reader version/ updates.
    I have checked the adobe reader version and it's the same on both the systems.
    Version:
    Adobe Reader Version : 8.1.2.
    Adobe Designer 7.1
    SAP NW 2004s - SP 15
    Thank you,
    Vasu

    Not sure what the problem could be, here are some suggessionsu2026
    Check whether you have enabled the option Display PDF in browser in the Adobe Reader.
    I should be under:   Edit > Preference > Internet
    Also, in your Web Dynpro Application, try to set the u201CdisplayTypeu201D property of your Interactive form to ActiveX
    Else, just try upgrading your Adobe Reader to latest version!
    Hope this helps,
    Harman

  • CSV file display in web dynpro abap

    Hi,
    Can any one tell me , it is possible to display data in CSV format in web dynpro abap & if yes please tell the steps of doing this.
    thanks,
    amishra

    >
    A.MISHRA wrote:
    > Hi,
    >
    > Can any one tell me , it is possible to display data in CSV format in web dynpro abap & if yes please tell the steps of doing this.
    >
    > thanks,
    > amishra
    Hallo Mishra,
    Do You want to show data in excel ? or you want to show data in Table UI or ALV
    If it is excel then you can use Office Control UI and bind XSTRING for the dataSource property.
    if you have to choose between Table UI and ALV then i would choose ALV.

  • How to Restrict Subscriber from displaying his own Stream?

    How to pass opponent UserID to Subscriber ???
    private function displayExistingStreams():void   
    {     var publishers:Object = _streamManager.getStreamsOfType(StreamManager.CAMERA_STREAM);
        //status_txt.text += "displayExistingStreams";
        for (var publisherID:String in publishers) {
            if (publisherID !=_userManager.myUserID) {   
                setUpSubscriber(publisherID);       
    protected function setUpSubscriber(p_publisherID:String):void {
        currentSubscriber = new WebcamSubscriber();
        currentSubscriber.displayUserBars=true;
        currentSubscriber.connectSession = cSession ;
        currentSubscriber.subscribe();
         // publisherIDs  used for restricting the list of publishers     that this subscriber should display videos for.
        currentSubscriber.publisherIDs = [p_publisherID];

    Hi ,
    You need to loop over userIDs from userManager.userCollection and get all userIDs and set webcamSubscriber.publisherIDs to all IDs except your own. And you  need to update this everytime an user enters or leaves the room ( by listening to UserEvent.USER_CREATE and UserEvent.USER_REMOVE from UserManager, if you want to dynamically maintain this publisherIDs list)
    I have replied this in other forum messages earlier.
    Hope this helps
    Thanks
    Hironmay Basu

  • Role composition for ESS to display only own data.

    Hi all,
    I am trying to compose a role for Employee Self Service for employees to display their payroll, but i couldn't manage to structure it to display only their own personnel data. I had to put the personnel area in P_ORGIN however in that case they become authorised to display all employees' data in that personnel area. Can i use P_PERNR object for this operation? Please advise.
    Regards,
    Sezin

    You can give I in PSIGN field for the infotypes that you want to 'Include' for an employee, and E in PSIGN field for the infotypes that you want to 'Exclude' for an employee.
    Whether those Infotypes will be Read or Maintain will be dependent on the value in the AUTHC field.
    Hope this helps.
    Regards,
    Vikas

  • How to display the rows dynamically in the table display in web dynpro abap

    Hi experts,
                   There is a visible row count tab where you can give the no of rows to be displayed in the output table, but i want it to be done dynamically as the row count of my table may change dynamically at runtime.
    And i want to know how to reduce the width of a column as my table display is taking the length as per the binded table specifications.Can anyone please help me out in this issue.
    Thanks in advance,
    Anita.

    Hi Anita
    You can bind the visiblerowcount property to the a context attribute. and at runtime you can set the context attribute to the no of rows you want in your table,
    Regards
    Naresh

  • Lync Won't Display My Own Photo

    Hello,
    From a Lync client every user can see everybody else's AD photo but the person cannot see their own.   This is true for every user in our Lync network.  My picture is set to 'Show my picture'.  Since
    I've installed Lync I've seen this issue, but it's been put on the back burner until now.  Any thoughts on what I should check?  I've scoured the internet but every suggestion I've found does not seem to resolve the issue.
    Mark Kubiak

    Hi mdkubiak,
    I understand the inconvenience caused by this issue.
    Have you tried deleting the following registry information?
    HKCU\Software\Microsoft\Office\15.0\Lync\[email protected]
    You should see a subfolder with your Lync sign-in address, delete the whole Lync folder in the registry.
    Restart Lync and log back, it will rebuild the information in the registry.
    Best regards,
    Eric

  • Issue with Hierachy display

    Hi Friends,
    I have a report in which there is  0RGUNIT (hierarchy), thats the only IO in the rows rest all are in free chars.
    When i run the report and drag on of the free chars it should be available in the next row i.e next to 0orgunit, but strangley it is displaying under the hierarchy of 0ORGUNIT. can someone please tell me how to correct this? is there a setting which i need to change?.
    Your help is appreciated.
    Thanks in adv
    Regards
    BN

    Hi Suman,
    There were no patched upgraded recently. I did notice something, if i run the query using analyzer and on the ouput if i select the options
    1) Query Properties
    2) Data Formatting
    3) Display as (Select radio buttion Multi dimensional View)
    4) tick the check box  " Display Columns Hierarchically and Expand To"
    Then this works the way I want, but strangely i cant find this setting in Query Designer. If i want to change the query in the Analyzer I dont have authorization to change it in the analyzer.
    Regards
    BN

Maybe you are looking for