Skip to Content
author's profile photo Former Member
Former Member

Exit or BADI for AC03 t-code

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 06:34 AM

    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>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 07:31 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.