cancel
Showing results for 
Search instead for 
Did you mean: 

Change Cost Center in Functional Location: bypass check authority

nunzio_cassano
Explorer
0 Kudos
610

Hi everyone,

i need to find a solution to change/update the cost center in more functional locations at the same time. I used the BAPI BAPI_FUNCLOC_CHANGE; the BAPI make the check authority on the authorization group of the functional location. These functional locations have different "AuthorizGroup" and the user is not authorized to all of possible AuthorizGroup and I can't authorize him at all AuthorizGroup.

So can you help me to find a possible solution to change the cost center without any check authority ?

Thanks,

Nunzio Cassano

Accepted Solutions (1)

Accepted Solutions (1)

peter_atkin
Active Contributor
0 Kudos

Nunzio Cassano,

Try running the BAPI with "destination = 'NONE'.

I seem to remember that this might bypass the authority checks.

.

PeteA

nunzio_cassano
Explorer
0 Kudos

Hi Peter,

thanks for your answer.

Where is the parameter destination you're referring to?

I didn't find it in the bapi structures.

Thanks,

Nunzio


peter_atkin
Active Contributor
0 Kudos
CALLFUNCTION'YOUR_FUNCTION_MODULE'
  DESTINATION'NONE' <<<<-----
    EXPORTING....

nunzio_cassano
Explorer
0 Kudos

Dear Peter,

unfortunately it doesn't work. The authorization checks still start.

Nunzio
nunzio_cassano
Explorer
0 Kudos

Hi Peter,

we solved the problem by creating an outgoing RFC that came into the same system, prior to the call to BAPI, with a specific user with all the necessary permissions. Unfortunately, with destination NONE the problem had not been solved.

Thank you for your time.

Best regards.

Answers (0)