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: 

Structure to Table

Former Member
0 Kudos

Hi,

If we want retrive a table name from structure there is one function called as NAMETAB_GET but this function is Obsolute in 4.6c  so any one can help me out on this. pls.

Ex:. I have a structrue called CAUFVD,

I want retrive all table name inculded in this structrue.

3 REPLIES 3

Former Member
0 Kudos

Hi

I don't understand that you can't use FM: NAMETAB_GET...

We are also using 4.6c, and I have just tried that FM, and it do function....

Best regards

0 Kudos

Hi,

if you want to read all components of a structure

used in a table, and you have an Web AS 6.20 System or later

at your disposal, you can use

the extended computer aided test tool: eCATT.

Create an eCATT script. Add your 4.6C system

as a target system with transaction sm59.

Define a parameter in your eCATT script of the table type.

Double click on the parameter.

In the eCATT script, a structure editor opens. You can see

all the components of your structure there.

eCATT documentation:

http://help.sap.com/saphelp_470/helpdata/en/20/e81c3b84e65e7be10000000a11402f/frameset.htm

Regards,

Marc

Former Member
0 Kudos

this FM seems to work in 6.20 also! It returns a list of structure components and their attributes in the table NAMETAB... I don't know what you mean by retrieving "table names" from a structure, though. The structure CAUFVD does not exist in CRM 4.0/6.20