on 09-26-2008 12:55 PM
My internal table is:-
DATA: BEGIN OF o_list OCCURS 0,
output(1500) TYPE c,
END OF o_list.
so data store like :-
-
<
|Material Material Description Plnt Name 1 <
|MvT S Mat. Doc. Item Pstng Date Quantity in UnE EUn Reference D<
-
<
|MvT S Mat. Doc. Item Pstng Date Quantity in UnE EUn Reference D<
-
<
|G4507 Juice-Diet (E) 1501 NPIL Vas<
|351 4901728815 2 12.01.2008 3,000 PC <
now how to split this data i want this data columan wise (field wise)
Edited by: krupa jani on Sep 26, 2008 1:55 PM
close thread
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try like this:
data: begin of o_list occurs 0,
output(1500) type c,
end of o_list.
data: begin of i_list occurs 0,
fld1(20) type c,
fld2(50) type c,
end of i_list.
i_list-fld1 = o_list-output+0(20).
i_list-fld2 = o_list-output+20(50).
append i_list.
loop at i_list.
write:/ i_list-fld1,
/ i_list-fld2.
endloop.
Regards,
Bhaskar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Split the obtained values at the space.... and pass them into the internal table fields one by one before that internal table of having fields upto 20 them pass them to 20 fields and concate nate required ones by looping then declared internal table.
cheers,
bahma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This below data stored in some structure format.
Same structure formal your have to refer and just move work are to internal table and append it.
like the below
Types: Begin of t_type,
bwart type mkpf-bwart,
mblnr type mkpf-mblnr,
posnr type...,
end of t_type.
DATA : wa type t_type,
itab type standard table of t_type.
wa_type = "|Material Material Description Plnt Name 1 "
append wa to itab.
Regards,
Nandha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Krupa
This is not possible...
Thanks
Amol Lohade
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.