Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change login user id to WF_BATCH in ABAP Program

Former Member
0 Kudos

HoW to change login user id to WF-BATCH and excute next statements in ABAP program

5 REPLIES 5

pokrakam
Active Contributor

Sounds like a bad workaround, try fix the real problem.

former_member564522
Active Participant

Hi ,

This is not advisable at all to change the sy-uname .

better to work on fix from other way around.

ArthurParisius
Contributor
0 Kudos

It really depends on what you want your reason is for doing this, otherwise I would suggest creating a different program which you can submit to run as a background job and have that using the WF-BATCH user.

0 Kudos

Thanks for your reply,

I also suggested the same solution to client, but some of the users do not have authorization to submit job

0 Kudos

I don't think it would be problem if you perform the submit in your ABAP. As far as I know you can submit pretty much any program/job from your own code as long as the program/job doesn't perform its own authorization checks.