‎2009 Jun 08 9:32 AM
Hi all,
I have the following problem;
With the same user executing the same FM from two different programs.
In one it gives me a mistake and in other one not.
The FM does one;
CALL TRANSACTION 'SWO1' USING bdcdata
OPTIONS FROM opt
MESSAGES INTO messtab.
I have put a break-point in this point.
If I push F5 in one one executes me correctly, in other one jumps the following mistake;
"you are not authorized to use transaction SWO1."
The internal tables bdcdata and opt contain exactly the same thing in both cases.
How can it be that executing with the same user me of mistake of authorization in one and in other one not?
Thanks in Advance!
‎2009 Jun 08 9:40 AM
conatct BASIS and ask them to give authorization for SW01. they will do it . In debugging it alllows execution if there is no authority-check inside the program.
‎2009 Jun 08 9:41 AM
HI,
Can you just try running transaction SU53 after the error to check which authorisations were passed and which resulted in errors?
Regards,
Ankur Parab
‎2009 Jun 08 10:09 AM
Thank you for your answers.
Already I had executed the transaction su53 before and after the F5 in the break-point to the call transaction.
And I have seen that really does not have authorization for the transaction SWO1.
I might put on it, but what I do not understand is;
Why from a program does it work and from other one not? He is the same user and therefore he has the same authorizations.
In fact, from the program that works if I go to su53 it does not say that he lacking authorization to swo1...
This is super strange.
‎2009 Jun 10 7:33 AM