2008 Apr 03 5:39 AM
Hi all,
can anybody help me on how to insert space into intenal table field. for your info i just only want to insert space ni my internal table without data..PLSSS..
Hi all,
can anybody help me on how to insert space into intenal table field. for your info i just only want to insert space ni my internal table without data..PLSSS..
2008 Apr 03 5:46 AM
Hi
see this program it will give one line as space and next line as values
data : begin of itab occurs 0,
f1 type c,
f2 type c,
end of itab.
itab-f1 = ' '.
itab-f2 = ' ' .
append itab.
clear itab.
itab-f1 = 'w'.
itab-f2 = 'd'.
append itab.
clear itab.
loop at itab.
write 😕 itab-f1, itab-f2.
endloop.
2008 Apr 03 5:49 AM
Hi,
just do like the code below
TYPES : BEGIN OF zmr_tc_cert_header,
lfimg TYPE lfimg,
meins TYPE meins,
END OF zmr_tc_cert_header.
DATA : zmr_tc_cert_header TYPE zmr_tc_cert_header.
DATA : it_try TYPE STANDARD TABLE OF zmr_tc_cert_header.
START-OF-SELECTION.
zmr_tc_cert_header-lfimg = ' '.
zmr_tc_cert_header-meins = ' '.
APPEND zmr_tc_cert_header TO it_try.
revert back if not clear
reward if helpful
2008 Apr 03 5:54 AM
Hi,
Do you wnat to add space for all records of innternal table OR single field.
For all records.
DO 10 times.
APPEND itab.
ENDDO.
For sigle field:
While passing the data to that field make field value empty.
2008 Apr 03 5:58 AM
Hi,
Just do APPEND ITAB whenever you want to insert empty entry in the internal table(space)
Reward points if useful
Lakshmiraj.A
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |