2009 Jan 10 9:47 AM
hai abapers,
one internal table contains some records.
the table contains gl account num, lifnr, kunnr, debit,credit values.
gl account num has two types.
one is normal account and second is advance account.
loop the internal table normal account kunnr, lifnr matches the advance account , at that time modify the internal table.
please exolain.
hai abapers,
one internal table contains some records.
the table contains gl account num, lifnr, kunnr, debit,credit values.
gl account num has two types.
one is normal account and second is advance account.
loop the internal table normal account kunnr, lifnr matches the advance account , at that time modify the internal table.
please exolain.
2009 Jan 10 12:52 PM
Hello
data: begin of itab1 occurs 0,
* declare fields
end if itab1.
data: itab2 lile itab1 occurs 0 with header line.
* fill table here
itab2[] = itab1[].
delete itab1 where account = advance account.
delete itab2 where account = normal account.
loop at itab1.
read table itab2 with key lifnr = itab1-lifnr kunnr = itab1-kunnr.
if sy-subrc = 0.
* do anything here in itab2
modify itab2 index sy-tabix.
endif.
endloop.
append lines of itab2 to itab1.
sort itab1.
2009 Apr 10 1:12 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |