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

Changing Initial transaction after SAP Logon

venkat_raman
Associate
Associate
0 Likes
5,906

Hi Experts,

Once we logon to SAP, an initial transaction is executed (SESSION_MANAGER).

I would like to execute my 'Z' transaction, whenever a user logs on to SAP.

Where can I assign my transaction.

Thanks and regards,

Venkatraman.N.

1 ACCEPTED SOLUTION
Read only

Former Member
2,273

hi,

After Logon

EXTRAS --> Set Start Transaction --> Give your transaction

Else.

SHift + F7

Regards

Shiva

5 REPLIES 5
Read only

MarcinPciak
Active Contributor
0 Likes
2,273

Don't know if you can set that globally, but for local usage (yourself) you can create a SAP shortcut with default transaction using SAP Logon pad.

Alternatively create a shortcut for C:\Program Files\SAP\FrontEnd\SAPgui\SAPSHCUT.EXE with different options like -sysname , -command etc. Full list of ptions you can see with following steps:

- START -> RUN

- CMD

- CD C:\Program Files\SAP\FrontEnd\SAPgui

- SAPSHCUT.EXE /?

This way you can set any predefined login options even provide user and password by default.

Regards

Marcin

Read only

Former Member
2,274

hi,

After Logon

EXTRAS --> Set Start Transaction --> Give your transaction

Else.

SHift + F7

Regards

Shiva

Read only

awin_prabhu
Active Contributor
0 Likes
2,273

We can do it globally for all users.

Check Function module exit EXIT_SAPLSUSF_001.

Simply use CALL TRANSACTION 'ZTEST'. inside it and assign it to a project.

Follow below steps:

Goto -> Tcode SMOD ->Enter SUSR0001 -> Click display -> Click Components -> Double click on EXIT_SAPLSUSF_001 -> Double click ZXUSRU01 -> goto change mode -> Enter code CALL TRANSACTION 'ZTEST'. (Your 'Z' transaction) -> Activate.

Now Goto -> Tcode CMOD ->Enter Project name -> Click create ->Enter Short text ->Click Enhancement assignments -> Enter SUSR0001 -> Save -> Click Components -> Click activate.

Log off and login again.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
2,273

In the session manager screen->extras menu->set start transaction ....set it there

Read only

Former Member
0 Likes
2,273

If a Tcode is set in EXTRAS --> Set Start Transaction this can also prevent a user from opening any item from the SAP Portal. We had this problem with a user trying to open a workflow item but instead the portal was opening this specified transaction.