Application Development and Automation 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: 
Read only

ALV

Former Member
0 Likes
650

Hi All,

What is the use of the attribute 'cfieldname' and ' ctabname' of fieldcat. Please explain with examples.

BR,

Deb

Hi All,

What is the use of the attribute 'cfieldname' and ' ctabname' of fieldcat. Please explain with examples.

BR,

Deb

4 REPLIES 4
Read only

Former Member
0 Likes
612

Hi,

they are currency field name and currency table which we will refer in table.

rgds,

bharat.

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
612

Hi,

If you are talking about

slis_fieldcat_alv

Then CFIELDNAME is used only to provide the reference field for currency fields of your table.

And CTABNAME for table of the referenced field.

If you are asking for LVC_S_FACT

Then CFIELDNAME is used only to provide the reference field for currency fields of your table.

There is no ctabname in LVC_S_FCAT but there is tabname.

Regards,

Sesh

Read only

Former Member
0 Likes
612

Hi,

Refer below therd then u can know how the fields are used.

https://forums.sdn.sap.com/click.jspa?searchID=4333528&messageID=977935

Regards

Read only

Former Member
0 Likes
612

cfieldname --> field with currency unit

ctabname --> table

reward if useful

anju