2007 Dec 12 5:05 PM
HI all,
I have a parameter in selection screen i.e user id.
what ever the user id the clint will give that ID will be displayed as COLUMN TEXT in ALV output.
please help me..
sachin.
HI all,
I have a parameter in selection screen i.e user id.
what ever the user id the clint will give that ID will be displayed as COLUMN TEXT in ALV output.
please help me..
sachin.
2007 Dec 12 5:09 PM
You can set that value to the fieldcatalog of that perticular field
Like:
PARAMETERS: P_USER(12).
LS_FCAT-FIELDNAME = 'USER'.
LS_FCAT-reptext_ddic = P_USER. " < will come as column textRegards,
Naimesh Patel
2007 Dec 12 5:32 PM
2007 Dec 12 6:28 PM
populate ur table with the one given in the parameter <b>User id</b>
in the field catalog check the structure...
afield-fieldname = 'UNAME'.
afield-seltext_s = 'User Id'.
afield-ref_tabname = 'SYST'.
APPEND afield TO xfield. CLEAR afield.
Xfield is ur field catalog table.