‎2015 Nov 30 3:18 PM
Hi All,
We are trying to run a SUBMIT program statement with a different USER ID, we are getting RC8 after the Statement Execution, is there any other way with which we can run SUBMIT program statement with other USER ID?
Note: User who is trying to access this SUBMIT statement doesn't have Authorization to AUTHORIZATION OBJECT S_BTCH_NAM which is actually required to perform this action...So need another way to achieve this?
Thanks in advance..!!
Regards,
Dillibabu.
‎2015 Nov 30 4:04 PM
Did you try SUBMIT <Prog > USER <User> . Here ypou can use some user which has got authorization and the program will be executed with authorization that <user> will have.
R
‎2015 Nov 30 5:38 PM
Thanks Rudra.
Yes already tried to use SUBMIT <Prog > USER <User>, but didn't get the expected result.
Our Scenario:
we have 2 Users...
USER1(dont have authorization to execute SUBMIT statement as he didnt have authorization to AUTHORIZATION OBJECT S_BTCH_NAM).
USER2( Had all the required accesses). Now we have written below statement to execute SUBMIT statement by USER1 on behalf of USER2.
DATA : w_user type sy-uname.
w_user = 'USER2'.
Note : In the below SUBMIT statement Main program in which this statemet is written will be executed by USER1, Only the SUBMIT statement will be executed by USER2(who have all the acesses).
SUBMIT zprog
WITH.....;
.........
USER w_user
AND RETURN.
But, still the statement is not working. Need an other way to resolve this.
Thanks,
Dilli.
‎2015 Nov 30 7:07 PM
You are pretty much asking how to circumvent user authorizations. And I suspect you will get no answer for that. If there was an easy way around this it would be a big security flaw. So, your best bet is to get the required authorization assigned.
‎2015 Dec 01 12:23 AM
There is a solution provided to achieve this by Using function module BP_JOB_MODIFY before JOB_CLOSE, already we tried this and didn't get the expected result as we are not sure on how to implement these function modules.
Kindly go through the above link and provide a solution on the Order of the function module how they need to be called?
I mean we already implemented in below order, but it didn't worked, can some one suggest how to use them in right order.
Job_Open
SUBMIT zprog....
WITH.....
USER ......
BP_JOB_MODIFY
Job Close
or
Any other way to SUBMIT a program other than using SUBMIT program?
Regards,
Dillibabu.