on 10-07-2010 6:45 AM
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
Need to call:
Entity->reread( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Friends,
in the above requirement if:
I enhance the Component BT126S_APPT and enhance the view ApptSR. Here i added the button Change Partner, like the Change Status & Priority. Defined my own method for updating the partners and followed the same approach like the Status & Priority, but no luck.
1. I tried to chnage the 'PARTNER_NO', but it is not changing.
has any body has implemented the similiar scenerio?
IS it possible? means changes in the partners here in the Search Result screen?
Dave
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
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.