Skip to Content
avatar image
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 28, 2008 at 08:19 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Unfortunately for you, I never encountered that problems.

      However, don't forget my issue. I need a solution for reset authorization in private area not to interfere with public area...

      Regards