Skip to Content
0
Apr 25, 2014 at 06:38 AM

How do we know table name for the parameter ref_table in field catalog for f4 help in oops alv

246 Views

Hi Experts ....

i have a doubt in oops ALV......Let me know if u have solution for that .....

CODE IS :

data : ls_fcat type lvc_s_fcat,

t_fcat type lvc_t_fcat.

if ls_fcat-fieldname = 'BSART'.

ls_fcat-edit = 'X'.

ls_fcat-f4availabl = 'X'.

ls_fcat-ref_table = 'T161T'.

ls_fcat-ref_field = BSART'.

modify t_fcat from ls_fcat.

Here they are providing ref_table = T161T for the field of BSART .....

how do we know that table is reference table for bsart field.....

i open the table EBAN table and find the check table for the BSART field it shows T161 ......

But in the example it present like T161T Table as a refference for that field....

if ls_fcat-fieldname = 'FRGKJ'.

ls_fcat-edit = 'X'.

ls_fcat-f4availabl = 'X'.

ls_fcat-ref_table = 'T161U'.

ls_fcat-ref_field = 'FRGKJ'.


modify t_fcat from ls_fcat.



Here also in EBAN table for the field FRGKJ have the check table as T161S but Here in the code they mention like ref_table as T161U...

how do we knoe that ref_field names ..

could u please any one respond this problem and give the solution for this....





Regards

Vamsilakshman.p