Application Development 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: 

Exit or BADI for AC03 t-code

Former Member
0 Kudos

Hi All,

I have one requirement, when u double click on activity no. in AC03 T.code

it shld call one another t-code . Plz tell the exit name or BADI.

Or Any other method to do this, i.e. can we creat one push button on application toolbar, if yes plz send the procerdure. Its very urgent.

Thanks & Regards,

Amit.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Amit,

these are the enhancement names

BAS00001,

SRVASMD

SRVASMD

SRVASMD

please check these exits it will work out the your requriments.

<b>reward is usefull</b>

2 REPLIES 2

Former Member
0 Kudos

Hi,

Amit,

these are the enhancement names

BAS00001,

SRVASMD

SRVASMD

SRVASMD

please check these exits it will work out the your requriments.

<b>reward is usefull</b>

Former Member
0 Kudos

Create the field exit on field BKLAS.

and write the below code in the field exit.

DATA: i_dynpread TYPE STANDARD TABLE OF dynpread WITH HEADER LINE.

DATA: V_MATKL TYPE ASMD-MATKL

V_BKLAS TYPE ASMD-BKLAS.

i_dynpread-FIELDNAME = 'ASMD-MATKL'.

append i_dynpread.

clear: i_dynpread.

CALL FUNCTION 'DYNP_VALUES_READ'

EXPORTING

DYNAME = 'SAPLBAS0'

DYNUMB = '0300'

TABLES

DYNPFIELDS = i_dynpread.

IF SY-SUBRC = 0.

loop at i_dynpread.

SELECT SINGLE BKLAS

FROM ASMD

INTO V_BKLAS

WHERE MATKL = i_dynpread-fieldvalue.

IF SY-SUBRC = 0.

output = v_hkont.

ELSE.

error message.

ENDIF.

endloop.

ENDIF.

Regards