cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Unable fet TCodes of the table used.

ruchirsaxena
Participant
0 Kudos
136

I want to fetch the TCodes in which a certain table or table field has been used.

I tried using 'RFC_READ_TABLE' FM, however, for few tables, eg. /SDF/BPM_ASTAD2, it throws an exception, 'DATA_BUFFER_EXCEEDED'. I need the data of the 'TCODE' column of this table. I also tried with 'BBP_RFC_READ_TABLE' FM, but it also threw the same error.

I also came across 'RS_INFOSYSTEM_CREATE_REQUEST' FM, while surfing through other questions, but couldn't understand the usage of the mandatory parameters.

Am I missing anything here.

Is there any other FM or program, that perhaps can provide me the where-used list for a table or a table-field in whichever TCodes it has been used?

ruchirsaxena
Participant
0 Kudos

Apologies for the language mess in the question. But unfortunately, I am not getting the option to it edit/revise it.

Accepted Solutions (0)

Answers (1)

Answers (1)

FredericGirod
Active Contributor
0 Kudos

you are searching for table CROSS ??

ruchirsaxena
Participant
0 Kudos

Hi Frederic,

Thanks for responding.

I tried to input '/SDF/BPM_ASTAD2' in the Object Name, but it did not return me any values. '/SDF/BPM_ASTAD2' is a table

I basically need to find all the TCodes using the table or table field, but even if I can get the program or include names, I can extrapolate to get the corresponding TCodes as well.

FredericGirod
Active Contributor
0 Kudos

This table could be dynamicaly used, and where used list will not help you

other possibility is to used something like RS_ABAP_SOURCE_SCAN to search for the word in source code

ruchirsaxena
Participant
0 Kudos

Yes Frederic,

RS_ABAP_SOURCE_SCAN or CODE_SCANNER are the last options to use.

'RFC_READ_TABLE' FM looks like one which solves the purpose. However, do you think there is a way i can perhaps get over the DATA_BUFFER_EXCEEDED exception?

FredericGirod
Active Contributor
0 Kudos

Sorry but, I don't understand what is the link with the RFC_READ_TABLE, this table is used to extract database table remotly.

This is you real question: how to extract the data of this table ?

ruchirsaxena
Participant
0 Kudos

Apologies. I think I have been running in the wrong direction.

I just require the Tcodes of the fieldnames.