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

Transaction Codes linked with the BAdI

Hello,

I have implemented BAdI DOCUMENT_AUTH01 and DOCUMENT_MAIN01 for CAD Desktop And for CV02N and CV03N transaction code.

But some how it is also called from QM03 and QM02 T codes.

I would like to know which are other t codes affected when I implement this BAdIs ..

Is there any way to check transactions linked with BAdI.

I have performed 'where used' on BAdI but I only get program names.

When I am calling using CV02n or CV03n I can restrict its call using fields Sy-code. But as I am calling these BAdIs methods from CAD desktop also So I could not restrict BAdI calls using Sy-tcode.

So I would like to know what are the other transaction codes which are associated with BAdI.

Regards,

GW

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Dec 18, 2015 at 06:24 AM

    Trx SE16 table TSTC. Provide the program names and you will get the transaction codes for.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 18, 2015 at 06:37 AM

    Hi,

    if you have program names then use table TSTC >>> give program name and get Tcodes 😊

    In the BADI's method you can restrict your coding part specific to a Tcode or Program name(SY-CPROG).

    Hope this will help.

    thanks!!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 18, 2015 at 07:19 AM

    GW,

    Did you try using FILTER-DEPEN/Filter type as TCODE ?

    You can even check BADI* tables but even here you will be able to get only the program names which you have to use in the table TSTC to get the tcode.

    K.Kiran.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 18, 2015 at 07:46 AM

    I guess (at least) some dozen of transactions using document may call those BAdI ?

    Could you add a criteria on program name (got from SYSTEM_CALLSTACK) to identify call from CAD thru some connector, or could you filter with some DRAW fields?

    You could also browse for your actual system in change document header CDHDR for objects DOKUMENT or DOK_AUDIT to identify currently used transactions that actually update documents and may trigger your BAdI implementations.

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2015 at 08:49 AM

    I am calling this BAdI from CAD Desktop. So in SY-tcode I do not get anything......

    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.