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 ABAP - BDC SESSION METHOD IN BACKGROUND

cfahad483
Explorer
0 Likes
1,110

I'm running BDC in Background through SM35 But it's giving error but I'm running the same in foreground it's working absolutely fine.

Can anybody help.

1 ACCEPTED SOLUTION
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
1,033

Hello cfahad483

Examine "Authrizat." column of SM35 - whichever way you've created the BDC sessions you somehow managed to put "SY-UNAME" there. Obviously user SY-UNAME doesn't exist in your system, hence your problem.

  1. Process the erroneous sessions in foreground.
  2. Examine the program that creates BDC sessions - it should use a value of SY-UNAME field not "SY-UNAME" literal itself!

Best regards

Dominik Tylczynski

I'm running BDC in Background through SM35 But it's giving error but I'm running the same in foreground it's working absolutely fine.

Can anybody help.

2 REPLIES 2
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
1,034

Hello cfahad483

Examine "Authrizat." column of SM35 - whichever way you've created the BDC sessions you somehow managed to put "SY-UNAME" there. Obviously user SY-UNAME doesn't exist in your system, hence your problem.

  1. Process the erroneous sessions in foreground.
  2. Examine the program that creates BDC sessions - it should use a value of SY-UNAME field not "SY-UNAME" literal itself!

Best regards

Dominik Tylczynski

Read only

1,033

Hi Dominik,

you were right it should be SY-UNAME not "SY-UNAME".

Thanks for the help.