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: 

Transaction Codes linked with the BAdI

Former Member
0 Kudos

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

7 REPLIES 7

michael_kozlowski
Active Contributor
0 Kudos

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

0 Kudos

Actually but I would like to know transaction codes associated with BAdIs. I tried to search Program names where BAdI is used, But I could not get any information in TSTC.

0 Kudos

Find out the main programs of the program names and search in TSTC for main programs name.

Chintu6august
Contributor
0 Kudos

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!!

kiran_k8
Active Contributor
0 Kudos

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.

raymond_giuseppi
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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