12-02-2011 9:38 AM
I was wondering if we could call the BDC using some BATCH user to avoid the authorization issue while running a particular transaction in PRD. So instead, the user will perform the 309 transaction and create the output. A separate background program running for the batch user will then actually process the output, triggering the program.
More details:
I have written a program, where in there is a BDC on the transaction MSC1N. Problem is the user who is gonna run it in PRD may not have authorization for this particular transaction. So what i am thinking is, when the user runs the porgram in PRD, the program will check if he has authority over this. If he doesnt. Then a background job should be triggered, with BATCH user ID, so that it then processes the BDC part, and carry it on.
Can I process this as a background task with some other user's ID?
Any help on this is appreciated.
Thanks,
Ajay
Edited by: ajayvarghese23 on Dec 2, 2011 10:46 AM
Edited by: ajayvarghese23 on Dec 2, 2011 11:04 AM
12-02-2011 2:13 PM
Hi,
Try to create one more program with the BDC part with batch user id and call the program in this current program using SUBMIT statements. Not sure whether it will satisfies your requirement but it's worth trying if you haven't tried this.
12-02-2011 2:47 PM
I really dont understand the problem here. If an user is supposed to work on a transaction then he should be given access to it.