2006 Dec 22 2:19 PM
Hi,
I have that for show in ALV :
CLEAR lwa_fcat.
lwa_fcat-fieldname = 'SDATA'.
lwa_fcat-ref_tabname = 'EDID4'.
lwa_fcat-seltext_l = 'Organización Ventas'.
lwa_fcat-outputlen = 30.
APPEND lwa_fcat TO p_it_fcat.
How I can show the field SDATA from the third position?
thanks
2006 Dec 22 2:21 PM
lwa_fcat-fieldname = 'SDATA'.
lwa_fcat-ref_tabname = 'EDID4'.
lwa_fcat-seltext_l = 'Organización Ventas'.
lwa_fcat-outputlen = 30.
lwa_fcat-col_pos = '3'.
APPEND lwa_fcat TO p_it_fcat.
Regards,
Santosh
2006 Dec 22 2:21 PM
lwa_fcat-fieldname = 'SDATA'.
lwa_fcat-ref_tabname = 'EDID4'.
lwa_fcat-seltext_l = 'Organización Ventas'.
lwa_fcat-outputlen = 30.
lwa_fcat-col_pos = '3'.
APPEND lwa_fcat TO p_it_fcat.
Regards,
Santosh
2006 Dec 22 2:29 PM
I explain not very well...
The sdata is a char(1000). I want to show only from the 3 position ( no show the firsts 3 chars)
thanks
Message was edited by:
Mpm
2006 Dec 22 2:32 PM
If i have understood your question correctly is this what you are looking for ???
data : lv_char(100).
lv_char = EDID4-SDATA+2(100)
lwa_fcat-fieldname = LV_CHAR.
lwa_fcat-ref_tabname = 'EDID4'.
lwa_fcat-seltext_l = 'Organización Ventas'.
lwa_fcat-outputlen = 30.
lwa_fcat-col_pos = '3'.
APPEND lwa_fcat TO p_it_fcat.
regards,
Santosh
2006 Dec 22 2:45 PM
2006 Dec 22 2:47 PM
hi,
run this report.
report test.
data : SDATA(100) type c value '12345',
VAR (100) type c.
VAR = SDATA+3(2).
Write : var.
Output 45.
In a similar fashion cake your logic too ...
Regards,
Santosh