Problem modifying result list.

I want to achieve that a rerun teststep in a sequence overwrites the result of the previous execution.
So I created a SequenceFilePostResultEntry callback which does
- If there is a step in the resultlist which has the same StepID as the last Step copy the result list entry of the latest step over that step
-remove result list entry for latest step.
Unfortunately the statement for copying the result:
Runstate.Caller.Locals.Resultlist[Locals.Index] = Runstate.Caller.Locals.Resultlist[Locals.LastIndex]
creates a runtime error saying that subproperty TS being not of same type.
Indeed the TS structure of Runstate.Caller.Locals.Resultlist[Locals.LastIndex]  is missing the fields
SequenceFilePostResultListEntry and ProcessmodelPostResultListEntry which are available for any older Resultlist entry.
Is there a workaround for that ?

I use an older version of teststand 2.0.1f
In SequenceFilePostStepFailure
I have to look at Parameters.Step.TS.StepFCSeqF
I set Step Fail Causes Seq Fail to false on my calling steps otherwise I always get a fail even retesting the step.
if !Parameters.Step.TS.StepFCSeqF then :-
Reduce the result list size by 1, then
RunState.Caller.RunState.NextStepIndex = RunState.Caller.RunState.StepIndex
Message Edited by Rupert Hewitt on 07-10-2006 09:13 AM

Similar Messages

  • Add Contact's Email and Phone to the Lead result list on WEB UI

    Hello All,
    My requirement is to add Contact's Phone number and Email on Lead result list.
    Technical details:
    BT108S_LEA(Comp)
    BT108S_LEA/Result (View)
    RESULT (CN)
    I have enhanced context node ' Result ' and added new field through wizard (Ex: ContactPhone) using following details.
    add model attribute:
    BOL entity: BuilContactPerson
    BOL Attribute: TEL1_NUMBR
    After the successful creation, i added ContactPhone field from available fields to display fields.now i could able to see the newly added field on Lead result list.i see message 'BTPARTNER not bound' under telephone colomn for each record.
    Can we add these two fields from standard BOL structure and use it , so that no coding required, system will take care of data retrieval?
    or should i go with adding custom fields and write logic to get the data for each lead's contact?
    please help me with  approach and on above error.
    Thanks
    Gangareddy

    Hi Ganga,
    Since these fields are in a table view, its not possible to bind them with the standard BuilHeader BOL Object. Hence, we need to write the custom logic for these methods.
    You have two options here.
    Option 1:
    Add the fields in the result structure and modify the Genil Search class logic and replace the standard GENIL class with custom class.
    Option 2:
    Create the custom attribute directly in the BOL structure and write the custom logic in getter method.
    Hope this helps.
    Thanks
    Vishal

  • Add hyperlink on the field txt in Search Result List to access Detail View

    Hi, SDN fellows.
    I have a PCUI requirement stated the following:
    1) In the line item of the Search Result List (table), there is one hyperlink in field 1.
    2) When click on the hyperlink, it will trigger the action to open up Detail View (Object Data Pattern 1 - ODP1) of the line item.
    3) Problem: When the value of the field is null, there will be no hyperlink to open up the Detail View.
    4) For work around, my requirement is to make the other fields (i.e. field 2) to have a hyperlink to trigger the action for opening the Detail View of the line item.
    I am not strong in PCUI. Please advise how to do so, while I am exploring the guide in the PCUI Book.
    Thanks,
    Kent

    Hello Kent,
    check out the settings of the Field Group element where the link is already active. Copy that settings to the Field which you want to be linked too.
    Regards
    Gregor

  • Adding columns to result list in inbox view of web client

    Hi,
    I have a requirement to display custom columns in result list of inbox view of web client. I copied the view and controller to custom name space. In BSP_WD_WORKBENCH , for AUIITEM view, there are two context nodes . AUIITEMTREE is one of thena and has tree structure and under it tree node proxy. Tree node proxy has attributes, I can not add more attributes to Tree node proxy in work bench. Would you please any one suggest the approach to solve this problem.
    Thanks in advance.
    With regards,
    Ravi Kumar

    Hi Ravi,
    Have u got solution for ur problem.I have got same requirement.
    As per my requirement I need to search for Sold To Party for all category and display it in AUIITEM.
    Please provide with some inputs .
    Regards,
    Vikas

  • Fix and Fix All buttons greyed out in Analyzed Results List

    The Fix and Fix All buttons are greyed out in the Analyzed Results List. This was working preTiger at least. Perhaps after my initial clean install of 10.4.1. Now running 10.4.3. Things I've tried to no avail:
    Reading the documentation and "Late Breaking News".
    Repaired permissions.
    Repaired disk. (found no problems)
    Ran Disk Warrior (found no problems)
    Trashed SountrackPro prefs file.
    Tried several existing and three new Audio File Projects on the internal and an external firewire drive.
    Searched for a similar topic in this forum.
    TIA for any help, Ken

    It works for me.
    First you have to select what you want to fix (e.g.
    clicks and pops) then press the analyze button to get
    a list of things to fix.
    Right after the analysis is done, if at least one
    thing was found to fix,you should see the "fix all"
    button not greyed out, but the "Fix" button will be
    greyed out until you actually click on one or more
    of the items in the analysis result list.
    Are you seeing something different from the behavior
    I've described?
    My experience and information is that Soundtrack Pro only finds clipped samples. Have you been able to fix them as well?

  • Export to spreadsheet from program result list (ALV Grid) via the web

    Hello alles!
    When executing a program (a report) using SAP WebGUI or the portal (Manager's Desktop/Launchpad etc.), exporting the result list to a spreadsheet doesn't seem to work. No error message, browser doesn't really hang, but nothing happens. Neither Excel, nor XML export, nor anything works.
    Export from the same program works just fine in SAP GUI.
    (SAP Note 314568 has some information about ALV Grid export limitations, but I can't make the XML export work either...)
    Could this be a configuration error in ITS? In that case, where..?
    Or is it something we just need to live with?
    Thank you in advance!
    Brgds, Caroline

    There is a known problem regarding exportation to Excel.
    Try the following path :
    Tools --> Macro --> Security
    Then go to the "Trusted Publishers" tab and tick the "Trust acess to Visual Basic Project" option.
    This should do the trick.

  • Who's Who - Restrict Result List

    Dear,
    My problem today is that my Who's Who displays all the positions from the backend in the result list.
    For example, if Mr X was in entity A til end of Dec07 and then he changed position and was in entity B. Then Who's who displayed all the results.
    That is to say, i have two records for Mr X in SAP so both records are displayed in my who's who.
    > My question is then the following: how to restrict who's who result? So that i can have only the current record in my result list and NOT ALL the records???
    Thanks a lot
    Regards,
    Cyrielle

    Tim is correct with one rider. If you add a group to the list it will unpack the group membership EXCEPT where the users are members by virtue of it being their primary group.
    Therefore, you can give read and/or write permission to a large group of individuals without including them in the mailing list.
    Note, Apple defaults to putting everyone into GUID 20. So you have to make changes to the users if you want any selectivity, but it works.

  • Multiple Selection in Search Result List in PCUI

    Hi,
    Our requirement is to allow creation of new records in list view of the PCUI application CRMM_ACCOUNT. I'm using old floor plan CRM 4.0 to meet this requirement. But this is causing a problem. It's not allowing multi select in the search result list (Event INIT, Screen Element SRMS). If I change the screen element to SRME, it allows multiple selection (thru selection checkboxes) but does not allow creation of new records in list view.
    Also, how to activate the multi-valued search on certain fields. I've already checked the "Multi-Value" check box for the relevant field.
    Any help on this will be much appreciated.
    Regards,
    Vishal

    a®s wrote:
    Hi,
    You can find lot of thread in this for forum for your query.
    example
    a®s
    Thanks ! it's helpful!   But my requirement is a little bit different. (Sorry I didn't make it clear)
    I created a table maintenance (SM30) for a table. The F4 Search help should be applied to a field of the table when a user creates a new entry. I hope it makes clear.
    btw: I have awarded some points! Because it's also good to know some other ways:)

  • Unable to sort result list in a search crm 2007

    Hello everyone,
    I am facing a problem in CRM 2007, Iu2019m going to describe it.
    When I try to sort or filter a result list in the webclient, It is done by clicking on the header of the result list, well when i click on it instead of appearing the options ( such as ascending , descending or any value of the selection) there is a error in the web page ( so a sign of error appears in the left bottom corner of the screen)
    For instance if i search an account with a * then many possible accounts will appear in the result list, but i can not sort them by clicking on the header of the result list.
    Any help?
    Thanks in advance.
    Luis Angel Fiel

    Hi Masood,
    You understand it correctly, but in the result list We have more that one column. No header of any column is working.
    For instance when I am searching for an account in the result list will appear several accounts ( in lines ) and several columns in the columns there are  fields (STRUCT.ACT_DATE     STRUCT.CREATE_BY      STRUCT.DESCRIPTION     STRUCT.STA TXT) but no one of those headers are working.
    Thank you very much for your answer.
    Luis Angel Fiel

  • SORTING Partner Result List with value Attributes

    Hi Gurus,
    I have added two value attribues in partner result list component and trying to sort the same in WEB UI, but is not working alothough I have logic in get_p and on_sort even.
    Please help if anyone knows how to sort by value attributes.
    Regards.

    Hi Ginger,
    the problem is because you have no real BOL attribute for your firstname and lastname that the values are not stored.
    what you need to do is sort via an internal table.
    here is how we did it:
      TYPES: BEGIN OF ltyp_cp_sort,
               sort_key1           TYPE string,
               sort_key2           TYPE string,
               sort_key3           TYPE string,
               bp_partner_guid     TYPE bu_partner_guid,
               entity              TYPE REF TO cl_crm_bol_entity,
             END OF ltyp_cp_sort,
             ttyp_cp_sort     TYPE TABLE OF ltyp_cp_sort.
      DATA: lt_cp_sort            TYPE ttyp_cp_sort,
            lt_cp_as_sort         TYPE ttyp_cp_sort,
            ls_cp_sort            TYPE ltyp_cp_sort,
            lr_entity             TYPE REF TO cl_crm_bol_entity,
            lv_wrapper            TYPE REF TO cl_bsp_wd_collection_wrapper,
            lv_value              TYPE string,
            lv_firstname          TYPE bu_namep_f,
            lv_lastname           TYPE bu_namep_l.
      DATA: lv_bp_partner_guid    TYPE bu_partner_guid,
            lv_partner            TYPE bu_partner.
      DATA: lv_archived            TYPE bu_xdele.
      FIELD-SYMBOLS:
            <cp_sort>             TYPE ltyp_cp_sort.
      FIELD-SYMBOLS:
            <lv_guid>             TYPE crmt_object_guid.
      DATA: ls_data_person        TYPE bapibus1006_central_person,
            lo_iterator           TYPE REF TO if_bol_bo_col_iterator.
      DATA: lv_number_cp          TYPE i.
    Fill up a table with the value of the sort attribute, the entity and its treenode attributes
      lv_wrapper = typed_context->result->get_collection_wrapper( ).
      lo_iterator = lv_wrapper->get_iterator( ).
      lr_entity ?= lv_wrapper->get_first( ).
      WHILE lr_entity IS BOUND.
        CLEAR ls_cp_sort.
        CLEAR: lv_value,
               lv_firstname,
               lv_lastname.
        CALL METHOD lr_entity->if_bol_bo_property_access~get_property_as_value
          EXPORTING
            iv_attr_name = 'CONP_GUID'
          IMPORTING
            ev_result    = lv_bp_partner_guid.
    here read the firstname and lastname of the BP again in variables
        CALL METHOD lr_entity->if_bol_bo_property_access~get_property_as_value
          EXPORTING
            iv_attr_name = 'ZFIRSTNAME'
          IMPORTING
            ev_result    = ls_cp_sort-sort_key1.
        CALL METHOD lr_entity->if_bol_bo_property_access~get_property_as_value
          EXPORTING
            iv_attr_name = 'ZLASTNAME'
          IMPORTING
            ev_result    = ls_cp_sort-sort_key2.
        TRANSLATE ls_cp_sort-sort_key1 TO UPPER CASE.
        TRANSLATE ls_cp_sort-sort_key2 TO UPPER CASE.
        ls_cp_sort-bp_partner_guid = lv_bp_partner_guid.
        ls_cp_sort-entity          ?= lr_entity.
        INSERT ls_cp_sort INTO TABLE lt_cp_sort.
        lr_entity ?= lv_wrapper->get_next( ).
      ENDWHILE.
      lv_wrapper->clear( ).
    Now you are sorting the way the user wants to sort is, so change this code according to your needs and the users input..
      SORT lt_cp_sort BY sort_key1 sort_key2.
      UNASSIGN <cp_sort>.
    After having sorted the list, add it back to the collection wrapper...
      LOOP AT lt_cp_sort ASSIGNING <cp_sort>.
        lv_wrapper->add( <cp_sort>-entity ).
      ENDLOOP.
    Hope this helps a bit...
    KR,
    Micha

  • Pager Element in PCUI result list

    Hi,
    Am facing a very peculiar issue(s) described below, if anyone has faced this issue or has a solution i look forward to their replies on the same
    The pager element on the result list screen of the PCUI application seems to be resetting to 1.
    When we navigate to a page say 5 of 8 and select a row in the result list. The pager element index is automatically set to 1 of 8, the displayed result list how ever is the same as it was on page 5.
    These application(s) was working fine before the application of patch SAPKA70007 which updated some of the PCUI framework elements.
    The other problem being that for the initial display detail level 1 layout comes up as soon as the application is started, it should ideally not come up till a row in the result list is selected.
    Thanks and Regards,
    Aniruddha Gargya

    Yes, as the element can be empty for new records (as long as you didn't choose anything), this empty element has to be part of the elements as long as you didn't choose anything.
    The only way to remove it completly is to define a Initial value for the element. But, because your list is dynamic, you cannot use the property "Initial value". Use a WHEN-CREATE-RECORD-trigger to assign the default value.

  • Trex Search Result List

    Hello,
    i would change the Search Results from Trex.
    Goal: I have some Files that have the name "_de". When i found one of this file i would display in the Search Result List the name of the Folder where this file was found.
    So i want to add a function like this:
    String nameForDisplaying = displayname;
    if (displayname.equals("_de)) then
    nameForDisplaying = getNameOfRootFolder(displayname);
    I am not sure what is the best place to store this function. Is to write an own Ressource Renderer a good way?
    Best regards,
    Patrick

    Hey Patrick,
    did you find any answer to this question? I have a similar problem, i would like to change the displayed name for some results.
    Many thanks in advance
    Steffi

  • Pre defined personlize setting of result list OC3 and/or OC4 (Products)

    Hallo Gurus
    I could set up the result list of level C1 but I have problems to personalize the 3rd and 4th level in the Opportunity, Product level.
    technical info:
    CRM 4.0 - CHM, EP6.0
    Try to personalize field structure: OPP_CHM_ITEMS_LIST = but I could not find where I can set up the personalization of the result list like I have done for level 1- result list. Do you have an idea if this is also possible and how?!
    Regards, Anja

    Find the solution by myself!

  • Get result list in TS2013

    I want to get the TS2013 result list to custom the report in labview vi, but it error at get the property object of "MainSequenceResult->TS", please help me ,thanks
    Solved!
    Go to Solution.
    Attachments:
    get value.jpg ‏49 KB

    I' m sorry, Because my English is not very good, so it may not very clear presentation
    I use windows7 and TS2013, The attachment"get result list size.jpg" is looking at the variables in the sequence editor while at a breakpoint, attachment"Error.jpg" is error information when access variable "TestSocket.MainSequenceResult->TS.SequenceCall.ResultList", Why I want to get the ResultList,because it include all step's result and other information
    Now the problem I encountered was I don't know what is the "Referenced Object", When I use the mouse to click on it, it goes blank, I copy the "ResultList" and paste it in a string, it show like this "TestSocket.MainSequenceResult->TS.SequenceCall.ResultList"
    Attachments:
    get result list size.jpg ‏51 KB
    Error.jpg ‏175 KB

  • Problem In Awt List

    I am Having problem with Awt List component
    setSize
    setPrefferedSize
    setMaximumSize
    None is working I have limited screen are to use in applet Hence I want to limit the width of List
    Below Is My code I am using in Devloping Some Applet.
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.Frame;
    import java.awt.List;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    public class ListSizeProblem extends Frame {
         public List list1;
         ListSizeProblem (String t) {
              this.setTitle(t); // setting up the main window
              this.setSize(500, 400);
              this.setLocation(50, 50);
              this.setLayout(new BorderLayout());
              addWindowListener(new WindowAdapter() { // application will exit if window is closed
                 public void windowClosing(WindowEvent e) {
                      System.exit(0);
              list1 = new List(15, false);
              //list1.setSize(new Dimension(40,200));
              list1.setPreferredSize(new Dimension(40,200));
              //list1.setMaximumSize(new Dimension(40,200));
               for (int i = 1; i < 21; i++) {
                 list1.add("But"+i);
              this.add(list1,BorderLayout.WEST);
              this.pack();
              this.setVisible(true);
         public static void main (String [] args) {
              ListSizeProblem mainframe = new ListSizeProblem("List Size");
    }can somebody help me

    It is indeed a bug. Once your List has data in it, the getPreferredSize method starts calling preferredSize(int rows) method. This method in turn asks the list's peer for the size. The result is that the preferred size you set is completely ignored (hence a bug). Quick fix would be to override the getPreferredSize method like so.
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.Frame;
    import java.awt.List;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    public class ListSizeProblem extends Frame {
        public List list1;
        ListSizeProblem(String t) {
            this.setTitle(t); // setting up the main window
            this.setSize(500, 400);
            this.setLocation(50, 50);
            this.setLayout(new BorderLayout());
            addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent e) {
                    System.exit(0);
            list1 = new List(15, false) {
                Dimension size = new Dimension(40, 200);
                public java.awt.Dimension getPreferredSize() {
                    return size;
            for (int i = 1; i < 21; i++) {
                list1.add("But" + i);
            this.add(list1, BorderLayout.WEST);
            this.setVisible(true);
        public static void main(String[] args) {
            ListSizeProblem mainframe = new ListSizeProblem("List Size");
    }The list is not 200 pixels high, but this just comes from the fact that you don't have a BorderLayout.NORTH or BorderLayout.SOUTH object yet, so the BorderLayout is alowed to extend the height of the list.
    And you seem to havea pretty exact idea on the size you want your components to be. If the frame is not going to be resizable, then you can use no layout manager if you want. This would require you to set the exact bounds of every component you add to the frame.

Maybe you are looking for