‎2007 Jan 16 9:45 AM
Hi.
Let me know how to set a starting t-code when user logging.
No using set start transaction.
I did it through updating a table related with an User. (not agr_dateu table)
But so sadly, there is no in my memory about the table.
What is the table?
Best regards.
Kil Nam.
‎2007 Jan 16 2:53 PM
Hi,
This will also done bya User exit.
Activate the use exit <b>SUSR0001</b>, and write the code in side of the Exit. just write a line Call Transaction 'T_CODE'.
Regards
Sudheer
‎2007 Jan 16 9:49 AM
goto Se11 and search for USR* in table name..
u wil find lot of tables related to USer data
‎2007 Jan 16 9:53 AM
Hi,
You find it in AGR_DATEU.
I Update it with the FM:
CALL FUNCTION 'NAVIGATION_SET_START_TCODE'
EXPORTING
UNAME = P_UNAME
START_TCODE = P_TCODE.
Hope it helps:
regards, Dieter
‎2007 Jan 16 2:29 PM
‎2007 Jan 16 2:49 PM
‎2007 Jan 16 2:50 PM
HI,
When I debugged the standard SAP program, I found a call to a FM:
call function 'NAVIGATION_GET_START_TCODE'
exporting
uname = sy-uname
importing
start_tcode = start_tcode.
Inside that FM the stmt is as follows:
SELECT SINGLE * FROM AGR_DATEU WHERE ID = 'START_TCD' AND
UNAME = UNAME .
IF SY-SUBRC <> 0 .
start_Tcode = SPACE.
else.
start_Tcode = AGR_DATEU-reports.
ENDIF .
or use FM:
call function 'NAVIGATION_SET_START_TCODE'
exporting
uname = sy-uname
start_tcode = start_tcode.
to set the start tcode.
Does this help?
Regards
Subramanian
Message was edited by:
Subramanian PL
Message was edited by:
Subramanian PL
‎2007 Jan 16 2:53 PM
Hi,
This will also done bya User exit.
Activate the use exit <b>SUSR0001</b>, and write the code in side of the Exit. just write a line Call Transaction 'T_CODE'.
Regards
Sudheer