‎2009 Feb 13 8:57 AM
Hi Guru,
I am displaying one ALV using class.
I am displaying F4 help but UAER wants like transaction MM03 for MATNR.
Is there any filed in fieldcatalog so that I can pass that filed as match code.
I am using fieldcatalog of type LVC_S_FCAT.
Thanks,
Sandeep Garg
‎2009 Feb 13 9:06 AM
hi Try this,
DATA: fieldcat TYPE lvc_t_fcat WITH HEADER LINE.
fieldcat-ref_field = 'MATNR'.
fieldcat-ref_table = 'MARA'.
Regards,
Madhu
‎2009 Feb 13 9:06 AM
hi Try this,
DATA: fieldcat TYPE lvc_t_fcat WITH HEADER LINE.
fieldcat-ref_field = 'MATNR'.
fieldcat-ref_table = 'MARA'.
Regards,
Madhu
‎2009 Feb 13 9:30 AM
MM03 use the MAT1 search help which is associated with the MATNR data element (and many others) so you need to link to a table/field which has this data element like MARA-MATNR, fill the LVC_S_FCAT fields REF_TABNAME and REF_FIELDNAME if different from FIELDNAME.
NB: In some case it is not so easy and you need to manage a HANDLER for event ONF4.
Regards