$Context/?$Id$? for related object. Is it possible?

Hi everybody!
I have Notification Template based on 'System.Reviewer' class. 
How can I get parent Review Activity GUID?
Can I use something like $Context/?$Id$? but for source object of  'System.ReviewActivityHasReviewer' relationship?

Hi Petr,
Try 'Reviewers':
$Context/Path[Relationship='CoreActivity!System.ReviewActivityHasReviewer' SeedRole='Target' TypeConstraint='WorkItem!System.WorkItem']/Property[Type='WorkItem!System.WorkItem']/?$Id$?
Cheers,
Marat
Site: www.scutils.com  Twitter:
LinkedIn:
Graveyard:

Similar Messages

  • Drop table- is it done in cascade-way for related objects

    If i drop database table, then will everything related to that table be dropped/erased?
    I mean will the table constraints be removed from system tables, wil lthe grants be revoked/deleted from schemas that had grant on that table, and so on?

    Yes,
    drop the table directly but take care of dependencies!
    if you are not 100% sure, you can rename the table:
    alter tabletodrop rename to ifwheredropped;and check all invalid objects:
    select * from all_objects where status!='VALID'and recompile them .. and check if you'll still have dependencies (errors)

  • Using Static Variable against Context Attribute for Holding IWDView

    Dear Friends,
    I have a method which is in another DC which has a parameter of the type IWDView. In my view, I will have an action which will call the method in another component by passing the value for the view parameter. Here, I can achieve this in 2 types. One is - I declare a static variable and assign the wdDoModifyView's view as parameter value and I can pass this variable as parameter whenever calling that method or the second way - create an attribute and assign the same wdDoModifyView's view parameter as its value. Whenever I call this method, I can pass this attribute as parameter. What is the difference between these two types of holding the value since I am storing the same value i.e., wdDoModifyView's view parameter. But when I trigger the action from different user sessions, the first type of code (using static variable) prints the same value in both the sessions for view.hashCode() and View.toString(), but the same is printing the different values when I pass the attribute which holds the view parameter.
    Clarification on this is highly appreciated
    The problem I face is when I use static variable to get the view instance and export the data using the UI element's id, the data belonging to different user sessions is mixed up where as when I use Context Attribute, the same problem doesn't arise. I want to know the reason why it is so. Is there any other place or way where I can get the current view instance of each session instead of wdDoModifyView?

    Hi Sujai ,
    As you have specified the problem that we face when we use  static attributes, when end users are using the application .
    Static means i  have n number of objects but the static variable value will remain same every where.
    when it is context attribute for every object i.e nth object you have a nth context attribute i mean nth copy of the context attribute.
    so every user has a unique Iview parameter , when context is used and
    when static is used  , assume you have userA , his iview is set this intially  and u have another user B , when he is using  , since the variable is static and when you access this variable you will get the value of userA.
    Regards
    Govardan Raj

  • EDD Context Rules for a parent element possible?

    Hi all,
    I understand the use of {first} when identifying the context of an element, such as:
    If context is: {first}<Section
    But what if I want to set whether Section is first inside its parent?
    For instance, for this hierarchy:
    <chapter>
      <section></title></section>
      <section></title></section>
    </chapter>
    I want to say that if <title> appears in the first <section> element within a <chapter>,  then apply a particular format.  Otherwise, apply a different format if <title> appears in a <section> that is not first within a <chapter>. -- i.e. a parent element context, if you will.
    The syntax to do this is eluding me.  My EDD has a series of context rules for a <title>, including for when it appears within a <section>, like this:
    Else, if context is: Section < Chapter
         If context is: <{first}<Chapter
            Use paragraph format: Heading1NoNewPage
         Else
            Use paragraph format: Heading1
    Whatever syntax I try for the context rule above (that the section be first within the chapter), I get parsing errors or the rule is not read.  I've tried:
    If context is: Section<Chapter{first}
    If context is: <{first}<Chapter                   // invalid
    If context is: Section{first}<Chapter          // applies only Heading1; never reads this
    If context is: Section < {first} Chapter       // invalid
    Any ideas if there is a syntax that allows you to set a context for  the parent element, and not just for the element in question?
    Thanks for anyone's help on this.
    Shelley
    Shelley Hoose
    Rogue Wave Software
    Senior Documentation Developer

    Shelley,
      A few minutes ago, I suggested you use a context specification such as:
          Section{after Title} < Chapter
    That's fine, but if in fact the first Section in a Chapter can follow many possible types of elements (Title, Paragraph, List, Figure, Table, etc.), you do not want to have to test for all of them. If a Section's only possible following sibling is another Section, you can use that fact to distinguish the first Section from others:
         1. If context is: Section{after Section} < Chapter
               Use paragraph format: Heading1
            Else, if context is: Section < Chapter
               Use paragraph format: Heading1NoNewPage
    My own preference in such a situation is to use level rules instead of context rules. Furthermore, instead of defining a new paragraph format to suppress the page break, I would use hierarchical styles:
          1. Count ancestors named: Section
             If level is: 1
                Use paragraph format: Heading1
              If level is: 2
                Use paragraph format: Heading2
             Else
                Numbering properties
                    Autonumber format: *** Only 2 section levels supported ***
         2. If context is: Section{after Section} < Chapter
                No additional formatting.
             Else
                Pagination properties
                  Start position: Anywhere
             --Lynne

  • SMS_AD_SECURITY_GROUP_DISCOVERY_AGENT - Active Directory Security Group Discovery Agent reported warnings for 524 object(s). DDRs were generated for 0 object(s) that had warning(s) while reading non-critical properties.

    Hi, can anyone help me troubleshoot the following please:
    Active Directory Security Group Discovery Agent reported warnings for 524 object(s). DDRs were generated for 0 object(s) that had warning(s) while reading non-critical properties. DDRs were not generated for 524 object(s) that had warnings while reading
    critical properties.
    Possible cause: OU name or Security Group name may contain at least a Unicode character which has conversion problem between Unicode and your system ANSI locale(e.g. Korean characters in English System Locale). The site server might not have access to
    some properties of this object. The container specified might not have the properties available.
    Solution: Please verify the Active Directory schema for properties that are not replicated or locked. Refer to the discovery logs for more information.
    Does the error relate to 524 security groups? There are several invalid search paths listed in adsgdis.log, are these related?
    Thanks,
    Dale

    You'll have to examine the log to determine exactly which objects its referring to. Although this is in the context of group discovery, group discovery still creates DDRs for computer objects within those groups so it could be either groups or computers.
    This is not a search path issue though as it's clear that the discovery process found 524 different objects, but as stated, it could not properly read criticial properties of those objects and thus did not create DDRs for them.
    As mentioned, reading the log in detail will list the objects individually and the reason it could not create a DDR for it.
    Jason | http://blog.configmgrftw.com

  • Context menu for customized selfwritten VI

    Hallo!
    Maybe someone knows and has time to share: is it possible to create a customized popup/context menu for a customized - self written VI (vide .jpg)? And as working with LV 2011 I have realised it's impossible to create a polymorphic VI out of other polymorphic vi-s right?  If anybody knew any walk through, I will be thankfull
    A.

    Dear Aleph,
    information about creating run time context menus can be found here: http://www.ni.com/white-paper/3171/en/
    Another soultion, is to create your own VI that will po up when a user uses his RMB on a specific object. This can be achieved by properly using the Event Structure. Let me know if you need more information.
    What do you mean by creating a polymorphic VI from a polymorphic VI?
    Best regards,
    Mateusz Stokłosa
    Applications Engineer
    National Instruments

  • Why related objects with indirection are selected when deleting an object

    myCompany object is related to one-to-many addresses through indirection.
    Using uow.deleteObject(myCompany) shows that when commiting, before actually removing the object and its privately owned related objects, toplink select these related objects from database (SELECT FROM ...) . Why is it necessary to perform this latter operation ?
    Thanks in advance for your reply,
    Chris

    This could be possible, but TopLink would also need to update its cache. In addition, there are a number of other things TopLink must do on each of the individual objects - such as search them for privately owned relations, delete ordering, firing any events and including them in changesets for cache synchronization and auditing purposes. There could be more, but they all require that TopLink find the privately owned objects before it attempts to delete them.
    I will enter a feature request though so that this option can be configured, as it might improve performance for users who do not use other options mentioned above.
    Best Regards,
    Chris

  • Creating Context Menus for reports

    Hi All,
    I have a classic report with some fields. Whenever I right click on any of the values in the report column, a context menu should appear with the options I define.
    Any idea abt how to do this?
    Regards,
    Sushma.

    Hi,
    <u><b>Context Menus for Lists</b></u>
    As with normal screens, the system creates a standard context menu when you use a dialog status in a list. You can call this standard context menu using the right-hand mouse button (Shift + F10). It displays all of the functions assigned to function keys.
    You can define context menus for list lines in the same way as for screen elements. To do this, you must assign a special function code to the function key Shift+F10 in the dialog status of the list. To define context menus for a list, you must first have defined a dialog status for the list and set it using SET PF-STATUS.
    In this dialog status, which you will normally create using the List status template, the List with context menu option must be selected in the function key setting attributes. To do this, place the cursor on a function key setting in the Menu Painter and choose Attributes or Goto   Attributes   F key setting. The function code %CTX is assigned to function key ShiftF10. Since the introduction of context menus on lists, it is no longer possible to assign ShiftF10 freely to any
    function in the Menu Painter. In any existing dialog status where a function code was assigned to ShiftF10, it has been reassigned to ShiftCtrl+0. You must activate the function code %CTX manually before it has any effect in the dialog status.
    As on screens, context menus on lists are generated dynamically in ABAP programs as objects of the class CL_CTMENU.
    For context menus on lists, you must program a callback routine in the ABAP program:
    FORM on_ctmenu_request USING <l_menu> TYPE REF TO cl_ctmenu.
    ENDFORM.
    In this subroutine, you can define a context menu using the object reference <l_menu> as described in the Context Menus [Page 639] section. To define a specific context menu, for example, you could get the cursor position on the list using GET CURSOR. If required, you may need to find out the current list level from the corresponding system fields (for example, SYLISTI).
    When you right-click a list line (or choose Shift+F10), the callback routine is executed, and the context menu defined in it is displayed. If the user chooses a menu item, the system carries on processing according to the function code assigned to it. The function is either executed by the runtime environment, or the corresponding event is triggered (in which case, the function code is placed in the system field SY-UCOMM).
    If you right-click outside a list line, the system displays the standard context menu.
    Ex.
    REPORT demo_list_context_menu .
    DATA: wa_spfli TYPE spfli,
    wa_sflight TYPE sflight.
    START-OF-SELECTION.
    SET PF-STATUS 'BASIC'.
    SELECT * FROM spfli INTO wa_spfli.
    WRITE: / wa_spfli-carrid,
    wa_spfli-connid,
    wa_spfli-cityfrom,
    wa_spfli-cityto.
    HIDE: wa_spfli-carrid, wa_spfli-connid.
    ENDSELECT.
    CLEAR wa_spfli.
    AT USER-COMMAND.
    CASE sy-ucomm.
    WHEN 'DETAIL'.
    CHECK NOT wa_spfli IS INITIAL.
    WRITE sy-lisel COLOR COL_HEADING.
    SELECT * FROM sflight INTO wa_sflight
    WHERE carrid = wa_spfli-carrid
    AND connid = wa_spfli-connid.
    WRITE / wa_sflight-fldate.
    ENDSELECT.
    ENDCASE.
    FORM on_ctmenu_request USING l_menu TYPE REF TO cl_ctmenu.
    DATA lin TYPE i.
    IF sy-listi = 0.
    GET CURSOR LINE lin.
    IF lin > 2.
    CALL METHOD l_menu->add_function
    EXPORTING fcode = 'DETAIL'
    text = text-001.
    ENDIF.
    CALL METHOD l_menu->add_function
    EXPORTING fcode = 'BACK'
    text = text-002.
    ENDIF.
    ENDFORM.
    In the dialog status BASIC for the basic list, %CTX is assigned to Shift+F10. In the
    callback routine, a context menu is defined. The definition depends on the cursor
    position and the list currently displayed.
    If the user right-clicks the two-line default page header on the basic list, the system displays a single-line context menu. The Back function is executed by the runtime environment. If you right-click a list line, a two-line context menu is displayed. The Detail function triggers the event AT USER-COMMAND.
    Regards,
    Bhaskar

  • How to set change mode as default for workbench objects

    Hi experts
    I've always wondered if there is a configuration option in NW BW 7 where it can be set whether double clicking a workbench object will show the maintenance screen for that object in change or display mode (default is display). Because is annoying to have to set edit mode every time one double click a workbench object in the development system, and as it is a development system, it would make sense to have edit mode by default instead of display
    I was thinking that it may be related to the client role, but who knows...
    I appreciate your help
    regards

    Not sure where this can be set...if anywhere.
    But how about this for a workaround: Right click the object in RSA1 and the select Change instead of Display.
    That would save you a click if I counted correctly

  • Text ID  for text object MATERIAL does not exist - MM01

    Hi All,
    I am getting below error message when trying to save Material Master in MM01.
    Text ID  for text object MATERIAL does not exist
    Message no. TD603
    Diagnosis
    You want to edit a text. However, the text ID (text type) of the specified text object does not exist.
    Procedure
    You can display a list of valid text IDs (text types) using F4=Possible entries. You can select the required text ID from this list with F2 or a double click.
    The valid text objects are listed in table TTXOB. The valid text IDs (text types) for an object are specified in table TTXID.
    I have searched the forums but couldn't get relevant message.
    Please assist.
    Thanks,
    Raj

    Hi Jurgen,
    This is the complete message i am getting.
    Text ID for text object MATERIAL does not exist
    Message no. TD603
    Diagnosis
    You want to edit a text. However, the text ID (text type) of the specified text object does not exist.
    Procedure
    You can display a list of valid text IDs (text types) using F4=Possible entries. You can select the required text ID from this list with F2 or a double click.
    The valid text objects are listed in table TTXOB. The valid text IDs (text types) for an object are specified in table TTXID.
    If I enter MM02 and without changing anything if i save still i get this error message.
    Thanks & Regards,
    Raj

  • Text ID for text object BUT000 does not exist

    Hi Experts.
    I am doing data migration using LSMW with IDoc. I have this error message "Text ID for text object BUT000 does not exist" when processing the IDoc.
    Can anyone tell me what is this error about and how could i fix it. A step by step guide would be nice. Really need advice urgently.
    I'll definitely rewards points.
    Regards,
    Julianna

    for this u need to maintain the text object and its related text id using the TC: SM31 in rel. view of  ur tcode( like MM01, Va01 etc).
    first get the view names(1 for text object and 2 for text id) from fun. people.
    then go to sm31 with 1 view, create BUT000 .
    then go to sm31 with 2 view, maintain text id for the text object:BUT000.

  • Access via 'NULL' object reference not possible   - GET_RANGE_TABLE_OF_SEL_

    Hi Guru's,
       i am new for WebDynpro programming.I am trying to use select-options tutorial.
    System showing select options and table binding on screen when i test the application.
    I have using search button to get the value which user will i/p.for that onaction method created, i have writen the code to get the values which user will input.
    Method  given below is of componentcontroler
    method wddoinit .
      data: lt_range_table type ref to data,
            rt_range_table type ref to data,
            read_only type abap_bool,
            lt_range_table1 type ref to data.
      data: lr_componentcontroller type ref to ig_componentcontroller,
            l_ref_cmp_usage type ref to if_wd_component_usage.
    create the used component
      l_ref_cmp_usage = wd_this->wd_cpuse_select_options( ).
      if l_ref_cmp_usage->has_active_component( ) is initial.
        l_ref_cmp_usage->create_component( ).
      endif.
      wd_this->m_wd_select_options = wd_this->wd_cpifc_select_options( ).
      wd_this->m_handler = wd_this->m_wd_select_options->init_selection_screen( ).
      wd_this->m_handler->set_global_options(
                              i_display_btn_cancel  = abap_false
                              i_display_btn_check   = abap_false
                              i_display_btn_reset   = abap_false
                              i_display_btn_execute = abap_false ).
      lt_range_table = wd_this->m_handler->create_range_table( i_typename = 'S_CARR_ID' ).
      wd_this->m_handler->add_selection_field( i_id = 'CARRID'
      it_result = lt_range_table i_read_only = read_only ).
      call method wd_this->m_handler->add_horizontal_divider
        exporting
          i_id = 'LINE'.
    endmethod.
    Method  given below is of VIEW.
    method ONACTIONSEARCH .
      DATA: NODE_FLIGHTS TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA: RT_CARRID TYPE REF TO DATA.
      DATA: ISFLIGHT TYPE TABLE OF SFLIGHT.
      DATA: WSFLIGHT TYPE SFLIGHT.
      FIELD-SYMBOLS: <FS_CARRID> TYPE TABLE.
    Retrieve the data from the select option
      RT_CARRID = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
    Assign it to a field symbol
      ASSIGN RT_CARRID->* TO <FS_CARRID>.
      CLEAR ISFLIGHT. REFRESH ISFLIGHT.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE ISFLIGHT FROM SFLIGHT
                           WHERE CARRID IN <FS_CARRID>.
      NODE_FLIGHTS = WD_CONTEXT->GET_CHILD_NODE( NAME = `FLIGHTS` ).
      NODE_FLIGHTS->BIND_ELEMENTS( ISFLIGHT ).
    endmethod.
    while executing appln. error is trigger on line given below
    RT_CARRID = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
    Err: The following error text was processed in the system BCD : Access via 'NULL' object reference not possible.
    please help me out on this issue.
    Thanks and Regards
    Vinayak Sapkal

    hi ,
    The attribute M_HANDLER is an attirbute of component controller (as told by your post) and so you cannot access it as you have done it.
    You will have to access it as .
    WD_COMP_CONTROLLER->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD(I_ID = 'S_CARR_ID' ).
    Try doing it.
    Or else , if you have created a similar attribute in your view itself , then it is "INITIAL" and hence you are getting the dump.
    You will have to assign the view attribute "M_HANDLER" with the value of your component controller attribute "M_HANDLER" ,because all the initializations are done in WDDOINIT of comp controller and on component controller atribute "M_HANDLER".
    Thanks,
    aditya.

  • Issue in Hierarchy data upload from R/3 for info object Product Hierarchy.

    Hi,
    I am trying to upload the hierarchy data from R/3 system for Info Object Product Hierarchy.
    Insted of business content info objects (0PRODH, 0PRODH1, 0PRODH2, 0PRODH3, 0PRODH4, 0PRODH5, 0PRODH6), we are using customized objects (ZPRODH, ZPRODH1, ZPRODH2, ZPRODH3, ZPRODH4, ZPRODH5, ZPRODH6).
    In transfer rules the mapped is as specified below
    Fields        =>  Info Objects.
    0ZPRODH1 => ZPRODH1
    0ZPRODH2 => ZPRODH2
    0ZPRODH3 => ZPRODH3
    0ZPRODH4 => ZPRODH4
    0ZPRODH5 => ZPRODH5
    0ZPRODH6 => ZPRODH6
    Now, when I schedule the Info Package, it is ending with an errors
    "Node characteristic 0PRODH1 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH2 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH3 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH4 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH5 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH6 is not entered as hierarchy charactersitic for ZPRODH".
    when i tried to load by flat file, there is no issues. But, flat file loading is not allowed for us.
    Please let me know any possible solution to handle this issue.
    Thanks.
    Regards,
    Patil.

    Hi voodi,
    Insted of using the info object 0PRODH1, we should use customized info object ZPRODH1 which I added already in the external characteristic in Hierarchy.
    Regards,
    Patil.

  • EMIGALL performance for migration object OBJCLASS

    Hi all,
    my previous question, was Classification of IFLOT & EQUI via CLB2 / CLB1  & was focused on improving performance of classification of IFLOT & EQUI objects.
    Testing EMIGALL for migration object OBJCLASS I am seeing no performance gains between a single thread update & parallel update threads.  IE the single thread throughput is reported as ~the same as the parallel threads throughput combined.
    I note in the job logs of my various tests;
    for a single thread, that no messages are logged between the start & end of the migration.
    for parallel threads, that message C4 200 'Class "CLASSNAMEHERE" is locked' appearing many times.
    I don't see any unexpected migration errors in ether case.
    Are there any insights on how I might improve over all throughput using this method? I cant see any control parameters for this object, nor does the Guideline have much information on OBJCLASS.
    First world problems :-/

    Hello Daniel,
    Without having much insight into your system and infrastructure details or the volume that you are working with, I suggest for you to try below for performance improvement.
    1. Run DB Statistics on functional location and Equipment related tables such as EQUI, IFLOT, ILOA, etc. (these are HLO objects that you are updating by way of classification). Also update classification table such as AUSP. These tables mentioned here as a starting point.
    2. Also strongly suggest that a performance trace be done on this job to analyze and identify another table or steps that may be a performance bottleneck and maybe a candidate for DB statistics refresh Or some other corrective action.
    3. The locks maybe occurring due to a mass update which is as expected. Perhaps to get by that you may want to use "commit buffering allowed" option for this migration object and set to say a number "10" or "20" to start with and see if it helps better the performance. As you would have noticed, locks will also impact performance.
    4. Please also refer to Cookbook for ISUMIG Performance and refer to sections for DEVICE, CONNOBJ and DEVLOC. These are HLO objects for classification and there may be some useful insight in that document too.
    Hope this helps.
    Ash

  • How to create a context node for "IBHeader" at the view "BuPaIBaseDetail"?

    hi, experts
    for the requirement, i have to get data from a root BO-IBHeader in the view of "BuPaIBaseDetail".But the view already has IBHeader's child object-"IBComponent", whose controller class is "CL_CRM_IC_BUPACONTROLLER_CN08", how can i create the context node for "IBHeader"?
    angerly wait for the answer. thanks a lot

    If you right click on an empty container or a container with an object in it, it has the same available choices to select. However, if you create a blank property node on the block diagram, and wire up the .net object to it, you will see a much different list of properties.
    So, the property node created from right clicking a .NET container will be for that container, even if there is an object inside. To create a property node for the object, you must wire the .NET object to an empty property node on the block diagram.
    Chris Van Horn
    Applications Engineer

Maybe you are looking for

  • How do I get my music form my external hard drive to show up in iTunes?

    I have a five hundred GB hard drive with over 30000 songs on it that I would like to show up in Itunes. I don't have enough space for all of the songs on my computer though. I've gone through all the advanced setting and clicked the right files but t

  • Output type for Purchase order Plants

    Hi Gurus I need your help with the following issue. I have created 2 new Plants in our Purchasing module and we are able to create PO and enter invoice for the same. The issue that I have encountered is that when the PO is saved, vendor does not get

  • How many bits does my macbook pro retina have

    I am trying to download anti-virus program but it requires me to know if my Mac is 32 bit or 64 bit and I honestly have no idea. Can someone please help?

  • How do I Print Wireless from iMac G5 to Canon MP610?

    Hi, I have an iMac G5 that is located on the main floor in our home. I connect to the internet from my iMac G5 wirelessly. (Our home has an AT&T DSL set-up). The problem I am having has to do with printing from my iMac G5. The printer that I currentl

  • Wma conversion to use iTunes for Mac

    Does anyone know of freeware I can download to comletely convert my wma music files to mp3 so that I can use it in iTunes for mac? ( Switched from PC to mac, now i'm just struggling with my wma files i transferred from my PC - tried the new Windows M