Skip to Content
avatar image
Former Member

Auto navigation to SPRO using BDC call transaction method.

Dear Abapers,

I have a small custom requirement. As soon as I log into sap, I should have the SPRO tree opened with the 'Enterprise Structure' sub menu opened.

For this I've developed a sample code shown below. The problem is, the program navigates only till the first screen of SPRO. Further drill down is not possible. Could anyone please help me on this?

Code Snippet:

CLEAR LS_BDCDATA.
REFRESH: LT_BDCDATA[].
LS_BDCDATA-program = 'SAPLS_IMG_TOOL_5'.
LS_BDCDATA-dynpro = '0100'.
LS_BDCDATA-dynbegin = 'X'.
APPEND LS_BDCDATA TO LT_BDCDATA.

LS_BDCDATA-fnam = 'BDC_CURSOR'.
LS_BDCDATA-fval = 'D0100_FAVORITES_1-PROJECT_ID(01)'.
APPEND LS_BDCDATA TO LT_BDCDATA.
*
LS_BDCDATA-fnam = 'BDC_OKCODE'.
LS_BDCDATA-fval = '=REF_IMG'.
APPEND LS_BDCDATA TO LT_BDCDATA.

CALL TRANSACTION 'SPRO' USING LT_BDCDATA MODE 'A'.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers