‎2009 Apr 02 4:58 PM
Hi,
I have requirement in which for particular user has not given authorisation for MIGO transaction.
But he has authorisation for 1 z program in which MIGO is called by call transaction. at that time he is able to go in MIGO.
How i can resolve?
thanks in advance.
‎2009 Apr 02 5:07 PM
before calling the MIGO from Z program perform check on authority object S_TCODE
AUTHORITY-CHECK OBJECT 'S_TCODE' ID 'TCD' FIELD 'MIGO'.
‎2009 Apr 02 5:00 PM
you need to check the authorization for migo using authority-check.. key word and them proceed calling or blocking based on authority result
‎2009 Apr 02 5:06 PM
As per my knowledge, granting the authority is only the solution.
thanq
‎2009 Apr 02 5:07 PM
before calling the MIGO from Z program perform check on authority object S_TCODE
AUTHORITY-CHECK OBJECT 'S_TCODE' ID 'TCD' FIELD 'MIGO'.
‎2009 Apr 02 6:28 PM
Create a z-transaction for your z-program, and then take a look at SE97.
For MIGO you can create an entry for your z-transaction and set the "Check Indicator" flag to "Yes".
It is advisable to check the authority in the Z-transaction before you call it => function module AUTHORITY_CHECK_TCODE.
Cheers,
Julius