Skip to Content
author's profile photo Former Member
Former Member

Activity Management in UI

HI All,

I have a requirement and here is the scenario:

After searching Activities via Activity Search, we have the options to change the Status & Priority of the selected Activity.

In the same way I need to change the Employee responsible of the selected Activities(Could be more then one).

Does any body implemented this scenario?

I followed this approach:

1. I place a New button in the Search Result

2. on its Click called a popup for BP Search

3. Select a BP.

4. Now Update the Activity.

I am reached till Step 3 and got the BP No. Now I want to save the Activities an struggling here. Any input can be help full

Dave

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2010 at 02:00 PM

    HI All,

    in addition of the above, for saving all the activity:

    I reached to the the BTParner node. It contain 4 entries. Namely Account holder, Employee, etc.

    I have selected the role of Employee, here i need to change the value of field 'BP_PARTNER_GUID' to the new one.

    But the problem is this system is giving error "READ-ONLY_VIOLATION".

    I used following code:

    lv_flag = lo_partner->switch_to_change_mode( ).

    CALL METHOD lo_partner->if_bol_bo_property_access~set_property

    EXPORTING

    iv_attr_name = lv_attr_name "#EC NOTEXT

    iv_value = iv_BP_GUID.

    Any body know how to resolve this ?

    Dave

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      HI friends,

      I am managed to solve the problem on my own, but i have a small doubt:

      after my Person Responsible is getting changed, its not getting updated in the search Result, like in the case of Change Status.

      Means, When i change the status, it is reflected in the search result view immediately, but when my partner is updated in the activity, it is not reflected in the search result, i need to redo the search, then only i can see it.

      How do i refresh the search result.

      any idea ?

      -

      Dave

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2010 at 09:26 AM

    Need to call:

    Entity->reread( ).

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.