Application Development and Automation 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: 
Read only

SAP BG USER in debug

Former Member
0 Likes
1,088

Good day Gurus,

I would like to confirm - what will be the user name in DEBUG when it was executed as Back ground job?

The situation is:

Business created a JOB with steps:

The "JOB created by" is assign to a USER.

While its STEPS is assign as BG-USER.

I've debug it and the SY-UNAME appear to be the JOB CREATED not the BG-USER.

I've check most of the forum here - but i can't find any proof on my findings.

Your help on this query is really appreciated.

Thanks in advance

Good day Gurus,

I would like to confirm - what will be the user name in DEBUG when it was executed as Back ground job?

The situation is:

Business created a JOB with steps:

The "JOB created by" is assign to a USER.

While its STEPS is assign as BG-USER.

I've debug it and the SY-UNAME appear to be the JOB CREATED not the BG-USER.

I've check most of the forum here - but i can't find any proof on my findings.

Your help on this query is really appreciated.

Thanks in advance

2 REPLIES 2
Read only

ArcherZhang
Product and Topic Expert
Product and Topic Expert
0 Likes
854

Hi Marky,

But in my test case, it`s BG-USER,

Job creator is A, step user is B. Then i go into debugging, sy-uname shows B.

my system component 'SAP_ABA' is 700 sp25.

Merry Xmas,

Archer

Read only

Former Member
0 Likes
854

Hi,

it should be the BG-USER.

if you're unclear on behaviour of certain parameters during background processing you can simply use messages of type X to force a shortdump to see what the content of those parameters were, for instance

message x016(RP) with sy-uname.\

Kind regards, Rob Dielemans