Assigning authorization to status in cFolder status profile

Working with cFolders, I've written a function module that creates a status profile with statuses for use in a collaboration.  The status profile, several statuses and status transitions are being successfully created.  I am adding user group and role authorizations to the status profile using cl_cfx_api_authorization->set_authorization. 
I am trying to add user group and role authorizations to a couple of the statuses as well but that isn't working for me.  I'm trying the same set_authorization call as above but I get an error back saying the object doesn't exist.  The message gives me the ID for the status which does exist in the cfs_status table. In stepping though the code it doesn't appear that this method works with statues.  I have used it successfully with collaborations, work areas, and status profiles that I've created.
Does anyone know how to add user group and role authorizations to a status? Or could someone point me to some documentation?  I'm having trouble finding anything on the cFolder related classes and function modules.
Thanks
Terry

Hello Everyone,
The statement that,
According to SAP at this time there is no api call for adding authorizations to the status or status transitions of a status profile.  This has to be done through the user interface.
still holds good? Has anyone tried setting authorizations for cFolder?
Ganapathi

Similar Messages

  • Profile assigning authorization

    Hi gurus,
    I have a problem using function CFX_API_STATUS_PROFILE_ASSIGN.
    This is my scenario:
    I want to assign a status schema to an area during area automatic creation.
    I am in BADI BBP_CFOLDER_BADI method COL_WORKAREA_CREATE_POST, SRM 6.0.
    The user (bidder that create a response to a Bid Invitaion) that performs this operation haven't administration auhtorization in cFolder, so the above function returns an error.
    How I could move around this limitation?
    Is There a work around in order to assign a status profile to an area without having administrator authorization?
    Thanks,
    Regards,
    Angelo.

    Have you tried with an RFC ?
    Users RFC usually have all permission.
    You can also use methods to assign authorization:
        call method area->if_aco_common~get_authorization
          receiving
            rr_authorization = auth.
        call method auth->set_authority_for_user
          exporting
            iv_user_id       = auth_user
            iv_activity      = cl_aco_constants=>sc_authorization_own
          exceptions
            not_authorized   = 1
            change_forbidden = 2
            others           = 3.
    I'm working in the same area. Have you read my post about authorization in cFolders. Could you please help me?
    Regards
    Leonardo

  • How to Control authorization for users with certain status for level 2 WBS Element

    Dear All,
    Is there any standard way or enhancement available to control authorization for users with certain status for WBS Element i.e. for example
    Pre-requisite:
    There is only 2 level of project i.e.
    Lev_ WBSE_______Description
    1___ 7-14.E_______summay outage controller
    2___ 7-14.E.2310__ Plant/unit # 2310
    2___ 7-14.E.2310__ Plant/unit # 2220
    Project Controller  (authorization role assigned "Z_PS_OP7_OTGCON_C") have all project level authorization
    Plant/Unit Controller (authorization role assigned "Z_PS_OP7_PLNTOTG_C_2310") have only level 2 authorization with enhancement that we did in system by Z table.
    User ID_ Plant #
    123345_ 2310
    122455_ 2220
    Issue:
    After System Status released and User Status approved the WBS basic date for Plant/Units should be restricted from updating/changing by Plant/Unit Controller level and only project controller should have this authority.
    Solution required: 
    Can any one tell how to control this scenario either by standard or enhancement available to control authorization
    BR
    Saqib Usman   

    Hi,
    Did you explore SAP Enhancement CNEX0002 Using Transaction CMOD?
    Thank you and regards,
    Varshal Kachole
    The SCN Rules of Engagement

  • In Service Orders - Adding addition status in User Status Profile

    Hi Guyds,
    I have a question.
    Customer have a requirement where, in repair process when they receive the defective device (equipment) thru return delivery they want to put the device in contamination. And once the contamination is done they want to stage the device for repair. They are asking how can this requirement be met or mapped in SAP system? I suggested we can define additional user statuses in user status profile. Like when the device is received the user can manually set the user status as "Put to decontamination" status in service order. And once the decontamination is complete, then user can manually set another user status as "Decontamination complete" (just as an example). Customer has agreed with this suggestion.
    Now, my question is I can meet this requirement by adding addtional statuses to the user profile and then assigning the user profile to service order right? And as customer has agreed that user will have to manually set these statuses in service order, so customizing/configuring the status profile should suffice right? Or do I have to perform any enhancement? Please advice but remember that the customer has agreed to setting the user status manually, automation is not required. So, in this case do I still have to go for any enhancement to meet this requirement or can I do it just by defining extra statuses in user status profile.
    Please guide me. Appreciate your help.
    If you have any questions or need any clarifications, please let me know.
    Best regards,
    Abdul Rafey

    Hi
    As you correctly pointed out user status will be straight answer. there is no enhancement required. you have to create the user status and assign the same for the order type .
    also you can automate to some extent ex while order created you can make the "Put to decontamination" as initial and while releasing the order you can automate that "device for repair" will be set on releasing
    regards
    thyagarajan

  • How to add a new status to the Status drop down menu in CRM

    Hi All,
    Help me guyz i am new to CRM,
    i have to add a new status to the Status drop down menu in CRM Sales Area.
    Please help me for steps.
    Thanks
    DST

    Hi,
    You can add New status to the Drop Down menu by defining a catalog,codegroups & code group profiles to that...... Once assigned assign them to the Subject profiles and assign this subject profile to the transaction type that is assigned.
    This would populate all the profiles that u have mentioned in the subject profile.
    Award points if this answer helps you.
    Regards,
    Ravi

  • Object Status button in Status tab of Item

    Hi All
    How can i configure to see Object status button in Status tab of item in the Sales order data.
    Please list down the steps.
    Right now i dont have Object status button.
    Thanks in advance
    Sonali

    Dear Sonali
    Create a Profile in BS02, maintain the required controls there and save.  Now go to VOV8, select your sale order type and execute.  There you can see the field "Status profile"  under the tab "Transaction flow".   Assign the profile here and save.
    Now create a sale order and check whether you could see the status profile.
    thanks
    G. Lakshmipathi

  • 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 PM

    Hi
    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

  • IO system status and user status

    Hi all,
    Could you please tell me where the link between IO sys and user status.
    Thank you.

    Hi
    System status and User status:
    System Status
    o        The system sets a system status informing the user that the system has executed a certain business transaction for an object.
    o        You can only influence this status by executing a business transaction that changes the system status.
    o        If you release an internal order, the system automatically sets the Released system status.
    User Status
    o        You can set a user status in addition to the existing system status.
    o        You specify the user status in a status profile, which you create for each order type in Customizing.
    o        You can specify and activate any number of user statuses.
    o        In a production order you can simultaneously
    The system status and the user status influence the business transactions in the same way.
    The status profile allows you to:
    o        Define the user status and document its functions with a corresponding long text.
    o        Assign a status number that specifies the order in which the system reaches the user statuses.
    o        Define an initial status, which is then automatically set when an object is created.
    o        Determine that a user status is automatically set when you execute a business transaction.
    o        Permit or forbid specified transactions, if a status is active.
    VVR

  • System Status Vs User Status updates from ECC to CRM

    Hi Frnds,
        Am facing a problem in Status Management , We have ECC as Backend , When ever we save the order in CRM it is Relicated to ECC thrgh CRM Middleware.
       (I) I have created User Status 'Z' Status Profile in CRM and Assigned that Profile to Status Triggering Business Transaction and to the Transaction Type.
              I have assigned this Status to INProcess and Released , with my 'Z' Status.
    I have Maintained the Same User Status Profile in ECC also.
    My questions are
    1) How can i Maintain the System Status with User Status in ECC (For example in CRM we maintain thrgh Business Transaction ,last field in Status Profile.) ?
    2)When ever i change the status in ECC that Status as to be update in the CRM?
            But here Order in CRM is not updated , For example , if i change the status to "COMPLETED" in ECC ,the Status "COMPLETED" is not triggered in CRM.  
            Here i need write a BadI or is there any Config settings that i need to Mainatain ??? or anything different approach ??
       Helpful Answer will be Rewarded with Points .
    Thanks in Advance
    Reagards
    Ram

    Hello Charitha,
    In txnn:R3AC4 of CRM , check INACTIVE flag for object MATERIAL (and any other objects whose data is not required in CRM)
    for your RFC destination (ECC).
    This would prevent any automatic data flow for this object from R/3 to CRM.
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • System Status and User Status

    HI Team,
    Is there any way by which i can hide or make in display mode my user and system status icon in PM order, which i can do in notification.
    Thanx in advance

    To the best of my knowledge, you can not hide the Icon. But you can restrict the user not to change the status by Authorization key.
    For User status:-
    Create keys by
    SPRO setting
    Plant Maintenance and Customer Service >Master Data in Plant Maintenance and Customer Service>Basic Settings-->Create Authorization Keys for User Status Authorizations
    Assign this keys to your user statuses. Basis will use it for user roles.
    As the System statuses changed by the business transactions, need to find the authorization object (BASIS) and restrict the user.
    [Useful Info|http://www.sapfans.com/forums/viewtopic.php?p=823900].
    Babu

  • User Status and system status

    Hi PS Gurus,
    As per client requirement
    a)no finance posting
    b)no cost planning
    c) no budgeting
    only project ,wbs and network(no activity) should be created .
    These all transection should be carried out after releasing of particular WBS,Network (System status REL ).
    We have created user status profile in ok02 and assigned in project profile
    Data maintained in status profile
    St NO Status   StatusShort Text                   Lowest   Highest  Posit    Prior      Auth. cod    
    1    CRET  CREATED                                     1           2         1          1                 
    2    REL   STOP DATA UNLESS REL               2          2         1           1                 
    In status CRET  we have forbidden all business transection which client don't require.
    But when we are relasing the WBS (system status REL) ,user status is remain CRET .
    We want that after releasing WBS ,user staus should change to REL. which allows the all busness transections.
    Kindly help
    Regards
    Project Team 1

    Hi Experts,
    Actually, I have done as suggested over here like creating a NREL user status and it is working fine, but for my client, I had to ensure that the "Release" is allowed only after the  budget is released ( after CJ32). This is working till the time it gets the Sys. status "BUDG" and BUDG gets assigned immediately when we give the budget through CJ30. How to do this ?
    Also, I want this to get only assigned to the topmost WBS whereas as I had assigned this Status profile in the Proj. profile, it is getting assigned for all the WBS... how to overcome this problem ?
    thanks in advance,
    Vinodh.

  • Fetching the sales order data using both system status and user status

    Hi,
    Could any one tell me how to fetch sales orders using both system status and user status.
    My requirement is to fetch sales order data in a report where the user enters the system status and user status in the selection screen fields.
    For example i need sales orders where the system status is I1002 i.e. OPEN and user status is E0002 (status profile CMSCON0) that is In Process
    Early replies are appreciated.
    Thanks
    Tanveer

    Hi,
    The system status and user status are stored in CRM_JCDS & CRM_JEST tables you can get the all the order GUID on particular status further pass the order GUID in table CRMD_ORDERADM_H to get transaction ID.
    Regards,
    Dipesh.

  • System statuses in the Status Tab

    Hello everyone,
    I have problem with status tab in the Student File. When I create Admission application (also execute/reject application) there are no system statuses like as Applicant, Admitted/Rejected Appl. But after creation of registration there is a system status "Student". I can't understand what's wrong. Object Student has relationship with CS object, and in IT 1728 records are exist.

    Hi,
    Just two guesses:
    Did you check authorizations of your user? Since the Status are subtypes of infotype 1728 maybe you do not have basic authorization for all subtypes of IT 1728 but only for some of them.
    or maybe there is a filter in the default layout for the ALV which shows the status in the status tab?
    Regards,
    Dirk

  • System status and user status Priority

    Hi All,
    We have system status and user status for the production order, I would like to know which has higher priority.
    E.g In system status some business activity are not allowed but at the same time for user status those activites are active, then which status has high priority.
    Regards,
    Ranjan

    Hi,
    As per my understanding both the status work together. If User status forbids a business transaction and system status allows it, then also the business transaction cannot be carried out.
    Also if system status forbids a business txn and user status allows that, then also you wont be able to carry out the txn.
    Both work with "AND" condition.
    Regards,
    Rohit.
    Added: you can try it by creating a User status profile. Allow Goods Movement to CRTD status. Now dont release the production order, only save it. Then try issuing goods (261), the system will block you.
    Now, other way round, forbid GR without confirmation. Though System Status allows GR without CNF or PCNF status, but the user status will forbid the transaction.
    Hope the example helps.
    Regards,
    Edited by: Rohit Chauhan on Jun 5, 2009 9:09 AM

  • 0NOTIFICATN Status - Newly defined status does not get extracted?

    Hi All,
    There are few status defined in the SBIW under NTF1 and when extracting 0NOTIFICATN all these status are showing up. I need a new status need to be brought in from ECC. I went and added the status DLFL in the status maintenance of SBIW and when extracting 0STATUSNTF1_TEXT, I see the newly added status shows up, but However when I extract 0NOTIFICATN_ATTR, the new status does not come for any of the notifications.
    Does any one know why it is not picking up the new status that I defined? Is there any other steps missing to get the status?
    Any help is appreciated.
    Thanks,
    Alex.

    Dazed,
    I think you can assign any status to any STATUS* field. If you look closely you can see same status such as 'DLT' etc is assigned to multiple status. I am thinking more in line with order of status may be working here.
    01 - OSNO
    02 - NOPO
    03 - NOPR
    04 - NOCO
    05 - DLFL
    but the record has status in the following order
    NOCO OSTS DLFL. Since it finds NOCO before DLFL and the value of NOCO is given 04 and DLFL is given 05. NOCO seems to be taking the priority. I just want some one to confirm the way it behaves. Because the system is already defined with first 04 values and has been running the process for the past 2 years, and now I want to introduce the 05 as a new status.
    Does it makes sense?
    Alex.

Maybe you are looking for