Decision Point change status
Dear Experts,
I'm trying to develop a report to modify the status of a decision point.
I have tried to use the standard function /RPM/DECISION_POINT_MODIFY and I've tried the method set_attributes of the standard class CL_RPM_DECISION.
In both cases, the return code is OK and apparently the status changed (looking the variables in debug mode) but once the report ends, the old status remains in the database (table /RMP/DECISION).
I paste the both ABAP code through I'm trying to change the DP status.
Please, could you tell me if I missed something or if there is something wrong?
thanks a lot.
Aupa.
ABAP Code:
When I'm calling the function /RPM/DECISION_POINT_MODIFY , I do:
ls_context-object_guid = wa_decision-guid.
ls_context-portfolio_guid = lv_porf_guid.
ls_context-parent_guid = wa_decision-guid.
CALL FUNCTION '/RPM/DECISION_POINT_MODIFY'
EXPORTING
is_context = ls_context
iv_language = lv_lang
iv_change_mode = lv_chg_mode
it_comments = it_item_desc_comments
IMPORTING
ev_rc = lv_rc
TABLES
it_attributes = it_item_desc_attr_ins
et_msg = lt_msg.
and when I've tried to use the standard class, I do:
DATA: lr_decision TYPE REF TO cl_rpm_decision,
ls_attributes TYPE rpm_ts_decision_int,
ls_decision_int TYPE rpm_ts_decision_int,
lv_rc TYPE i.
DATA: lr_object_manager TYPE REF TO cl_rpm_obj_manager,
lr_common TYPE REF TO if_rpm_common.
lr_object_manager = cl_rpm_obj_manager=>get_instance( ).
CALL METHOD lr_object_manager->get_appl_object
EXPORTING
iv_project_guid = i_item_guid
iv_appl_obj_id = i_decision_id
iv_appl_obj_guid = i_decision_guid
iv_appl_obj_ot = 'EPO'
RECEIVING
rr_object = lr_common.
lr_decision ?= lr_common.
CALL METHOD lr_decision->get_attributes
IMPORTING
es_attributes = ls_attributes.
Make sure that decision point is in edit mode
lv_rc = lr_decision->if_rpm_entity~set_edit_mode(
cl_rpm_co=>sc_edit_mode_change ).
IF lv_rc IS NOT INITIAL.
RAISE error.
ENDIF.
Update status
ls_decision_int = ls_attributes.
ls_decision_int-status = i_status.
ls_decision_int-active = 'X'.
Set the DP attributes
lr_decision->set_attributes( ls_decision_int ).
Read new atrributes
clear ls_decision_int.
CALL METHOD lr_decision->get_attributes
IMPORTING
es_attributes = ls_decision_int.
e_status = ls_decision_int-status.
When you are using function module to change the decision point status, you must use /RPM/SAVE_CHANGES function module after /RPM/DECISION_POINT_MODIFY function module otherwise the changes will not be committed to database.
When you are using the classes , then you should use object manager ( cl_rpm_obj_manager) instance method do_save.
Similar Messages
-
This is what I'd like to achieve. Thanks in advance.
Status of Decision Point in PPM of the Portfolio Item updated to “QA Clear” when the Product Specification is “Retail-Ready."Hi Shi,
Can you please elaborate the issue with some more details.
Regards,
Nishit Jani -
Item search based on decision point status
hi,
i am trying add items to a review. i want to add only those items which are in a particular status of a decision point. Currently, i could not find any option in Add-> search when i am in review screen. Can there be any configuration through which i can get this or is this going to be a development.
Pls suggest.I don't think there is any configuration to achieve this. Alternatively you can create a custom search help and configure it.
Regards,
Ravikanth -
Authorization to change status
Dear experts,
We have a requeriment related to decision point status. We need only a user group can change decision point status from A to B. Is this possible by authorizations?
Thanks for your help,
SaraHi Sara,
no. Not by standard means. Easiest way would be to implement a customer-specific check during save. This could be based on either
a) a customer-specific authority object
or b) an additional ACL activity (will allow you to define this per portfolio item, but the user-exit will probably be a bit more complicated compared to option a)
Best regards
Thorsten -
Initiative Item Decision Point
Hi PPM Guru,
Is any way can we use Decision points on Initiative or Item approval process either similar to cProject Phase approval process or regardless of Decision point status management process?
Thank You.
Regards, DianaHi Diana,
Yes. You can approve (change the status) a Decision Point, similar to the Phase approval process. This can be done by DFM - Decision Flow Management. Once this is switched on for 'Status Synchronization' , each and every status change in the Phase can in turn trigger the corresponding status change in the Decision Point.
Regards,
Mohan Kumar D. -
DFM Setup - Project Phase to Item Decision Point
Hi Folks,
I am trying to setup a one way status sync from Project Phase to Item DP (i.e. status is only managed in cProjects and should sync to Item DP).
I have done the following config.
1. Defined Portfolio Item Types and mapped Item DP to Template Phases
2. Maintained Phase to DFM business transaction in IMG Map Project / Initiative Business Transaction to DFM Business Transaction
3. Maintained DFM to Item DP mapping in IMG Map DFM Business Transaction to Portfolio Management Status
4. Under IMG Map Business Transactions for Synchronization I added a couple additional business transactions that I needed for Source PPCP and Target PPODP.
Examples entries of the above config for are as follows. This is to change the mapped DP status to 'For Approval' when clicking "Begin Approval" in cProjects phase
Map Project / Initiative Business Transaction to DFM Business Transaction
Source Grouping - PPCP Project Phase
Target Grouping - PPODP Portfolio Item Decision Point
Source Bus Transacction - DX11 Begin Approval of Phase
DFM Bus Transaction - IX05 Set 'To Be Approved'
Map DFM Business Transaction to Portfolio Management Status
Target Grouping - PPODP Portfolio Item Decision Point
Source Grouping - PPCP Phase (Project Management)
DFM Bus Transaction - IX05 Set 'To Be Approved'
Portf Mgmt Status - Z0006 For Approval (custom status that I created for Item DP)
With the above config when I begin the approval in cProjects, the mapped item DP is not updated. I have ensure that the next status of the DP is configured accordingly.
Appreciate any ideas on how to get this working.
Thanks,
LashanIt looks like the issue is because when "beginning approval" cProjects status is "For Approval - Released",which means 2 status are active and the DFM business transaction does not trigger.
Wondering if anybody has the issue where cProjects has 2 active status and the subsequent statuses does not trigger DFM transaction.
Appreciate any help.
Thanks -
How to restrict user to change status.
Dear All,
we want to restrict users to change the status from set to assign to released status.
is there any authorization object to restirct user to change status?
i was trying with object CPRO_DPO Create Project Definition with activity 43 release ,but unable to do so.
Please do need ful
Regards
RavindraHi Ravi,
probably you need to create user status profile.
Use TA BS02 to create status profile
here you have to add authorization key which needs to be defined in BS52
use b_user_stat auth object to give profiles in custom roles in PFCG
Thus you can block access to change status
Niranjan
Let me know if it helps
Points welcome
Thanks Mathias
Edited by: Niranjan Dandekar on Apr 2, 2009 1:21 PM
Edited by: Niranjan Dandekar on Apr 2, 2009 1:21 PM -
Changing Status of preceeding document in CHARM
Hi Experts ,
I need to change the status of a preceeding document in CHARM.
I created a YDAD document from YDCR.
When i change status of YDAD to cancelled i need to change status of YDCR to Cancelled.
Steps i followed :
1 . While changing status of YDAD to cancelled i added a new parameter PREDOC_STATUS and given status of YDCR as E0009.
2. In "Assign actions" for status "cancelled" of YDAD i hve given a action SET_PREDOC .
3.In "Specify Status Attributes" for status "cancelled" of YDAD i hve given YDCR YDCRHEAD E0009.
But still it is not working . Please help me on this .
Thanks , VijayHello,
please take a look to this Re: Change status of previous document
If solution is not provided; please put break points as stated lines and tell us what you see
Regards
Khalil -
CProjects- Customizing New Status in "Change Status"
I need to customize new status in "Change Status" drop down of cProjects tool. Now the status available are "Created, Released, Locked etc" as we all know. But i need to customize my own status for "Projects Phases and Tasks" I create. Can i do that. Please help me on the same. It is urgent.
Edited by: Visvesh Ramanathan on Jan 10, 2008 4:00 PMHi
As Vivek already explained, you can have user status in bs02
now here you can maintain the status as one maintains in R/3 or ECC
create an auth Key in BS52 for status which needs approval
maintain the same auth key in bs02 against status
what you have to do is create a role using pfcg and assign that key in that role
assign the role to user which ll approve the status to next status.
Select object type which will give you the applicability of status profile.
e.g the status profile is to be used for project / task / checklist etc etc...
The user statusses are visible once you select the status in 3rd tab of project
Niranjan
Award points if useful -
Hi All,
We have a tab called 'Phases and Decisions' in an item screen. There a table is getting displayed with decision point name, ID, Status and few more fields. I need to find out the corresponding webdynpro for that screen. When i right click and click on more field help, it is giving the component name as SALV_WD_TABLE. But this component can be used for any ALV, now i need to know how the data is getting populated into these fields and possibly how the screen is getting generated. Can anyone help me?
Many Thanks,
HarithaHello Haritha,
There is generic WD component for all Dashboards,which is identified by the context and the object type. For 'Phase and Decision Point' Dashboard Object Type is PDP and the Parent Object can be RIH (Item) or IPO (Initiative). The WD Component for the same is /RPM/UI_DASHBOARD.
Thanks and Regards,
Piyusha -
Distribution Point Group Status Pie Chart Incorrect
In my SCCM 2012 R2 environment, I have only one Distribution Point Group, which contains all 20 of my DPs.
All packages have been distributed successfully to this DP group (verified via the Content Status node and checking each package, as well as the Distribution Point Configuration Status showing all 20 DPs with the green check-mark.
However, when I look under the Distribution Point Group Status, I see my DP group ("All DPs"), showing 20 members, but an Overall Distribution Status of "Error". The pie chart for that group shows package status as Success: 106
/ In Progress: 0 / Failed: 163. The pie chart for "Distribution Point Group Status" for the "All DPs" group shows the colors appropriate to these (incorrect) numbers. If I click the "View Status" link next to the pie
chart, the different tabs (Success, In Progress, Error, Unknown) show:
Successfully distributed content: 20 (269 Content Items) (last status time: today)
Successfully processed content on distribution point: 19 (263 Content Items) (last status time: yesterday)
Nothing in the In Progress, Error, or Unknown tabs.
So my question... Why is my Distribution Point Group Status showing the group with 163 Failures, but all Distribution Points showing 100% success on all packages? Is there a bug that causes the Distribution Point Group Status to not update?
I've restarted the server a couple of times, and still no change.Hello all together!
I've the same issue in my SCCM R2 environment.
Has everybody an idea, how to correct this issue?
Thanks for your reply.
Regards Luke -
URGENT: Changing status at Header level in Service Ticket in Webclient
Hi All
Please reply ASAP.......
I am changing status for service ticket in webclient at Header level.
But at item level system status is not changing.
Is there any config in CRM where user status or system status is copied from header to item level
Basically need is to trigger item status when header status is trigerred....
Can anyone help me in resolving this issue.
Regards
Pankaj VisputeThanks Bhanu,
I solved my problem with your answer.
Thanks,
Praveen -
Change status(Active/Inactive) of file adapter by the external command
Hi, all.
Is it possible to change status(Active/Inactive) of file adapter by the external command?
Let's say, like
"$ switch_file_adapter_status.sh <File Adapter name> <active|inactive>"
or something like that.
Actually, we have the following requirement for the file adapter.
For example, we have many "file adapter to R/3" scenarios and we only want to allow data transfer between 9:00 a.m. to 9:00 p.m.(R/3 service time).
In order to achieve this requirement, one option would be to switch file adapter status between active and inactive by external command line.
And this command will be controlled by the job scheduler(like Tivoli).
Does XI(3.0 or above) have this kind of feature?
Best Regards.Hi,
I don't think that this is possible.
But one Solution for your problem could be a job on xi who execute the Queue.
So that Adapter work the hole time and send the Message to XI Queue which process them not automatically.
And the XI Queue you can trigger with a Job like normal R/3 Jobs.
Hope that helps,
Regards,
Robin -
Service Request disappears from the list of My Service Requests after changing status to In process
Service Request disappears from the list of My Service Requests after changing status to In process
Incident manager (resp.) > Agent DashboardHi,
As far as I know, this is a new feedback, Please vote this customer voice, here is the link:
http://feedback.azure.com/forums/216926-service-bus/suggestions/6062851-batching-in-rest-api, or create a new voice at azure feedback forum:
http://feedback.azure.com/forums/34192--general-feedback
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
In Firefox 2.0+ you can go to Advanced JavaScript Settings and check a box to allow scripts to change status bar text. How do I do this is Firefox 10.0.1?
Two items in the Advanced JavaScript window were removed as of the Firefox 4.0 version, but they are still available thru about:config .
Type '''about:config''' in the URL bar and hit Enter. <br />
''If you see the warning, you can confirm that you want to access that page.''
Filter = '''dom.disable_window_status_change''' = double-click to toggle to '''false''' to allow websites to mess with status text.
Maybe you are looking for
-
How to send background program output to a printer
Hi ! I created a background report,running via a job in background. I need to display the output of the background report via two channels : a printer and an e mail. I created the output of the report by using the command Write, and the output is pri
-
Hello Friends, I am trying to write a balance sheet report. I was adviced to read figures from FAGLFLEXT instead of BSIS and BSAS. But I can not figure out which field is what. Is there any documentation on how to read from this table based on fiscal
-
Work flow mails not processing from SAP Outbox to Approvers
Hello, We are working on the implementation of Work flow for Purchase orders. Work flow customization is completed and even work flow is triggering when ever I create Purchase Order. Even Agent assignment also completed for work flow tasks via T code
-
CJS-30022 error followed by FCO-00011 in SOLMAN instalation
Hello I try to install solution manager (the latest one) on SLES 10 with Oracle 10.2 (64bit environment) First I tried to install it on the machine with 1,7GB RAM and see the error CJS-300022. Because I have found somewhere advise that 2GB was minimu
-
friends help me plz my iphone is crashed and go to bloue screen i conect it to pc and try to restore but erroe 40 is display and cant continue restore what i do now? im in iran