Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Function Module to check if a table exists in DB which is entered by user.

HI all,

Can anyone please help me, in finding the name of the function module, which checks, if a table exists in DD02L. But the output should be only in the form of sy-subrc. I mean, if such a table exists, sy-subrc should be 0.

I am entering the table name in selection screen. So, I have to check if it exists or not. If it does, sy-subrc should be 0, else i'll display a popup.

I tried with RS_TABLE_LIST_CREATE. But it navigates directly to SE16 , if a table exists (Which is what I dont want).So, for this, which function module should I use ?

Kindly Suggest.

Regards ,


Former Member
Not what you were looking for? View more on this topic or Ask a question