06-29-2007 7:31 AM
hi friends.
i have doubt about i am copying the value from the function module internal table
and displaying the output as report.
i have to filter the result regarding some conditions.
i declared
data: CRITICAL_STATEMENTS type standard table of bamstatem with header
line.
from this internal table i want to copy to another table with some conditions.
please reply as soon possible.
thanks in advance.
06-29-2007 7:42 AM
Hi
Declare another internal table ITAB into which you wants to move records based on some condition
Loop at CRITICAL_STATEMENTS .
If CRITICAL_STATEMENTS-f1 < condition>
move fields from CRITICAL_STATEMENTS to ITAB.
Append ITAB.
endif.
clear ITAB.
endloop.
Reward points for useful Answers
Regards
Anji
06-29-2007 7:35 AM
Hi,
As per my understanding you want CRITICAL_STATEMENTS to be copy into other table by filtering the data.
Tehn
loop at CRITICAL_STATEMENTS where <condition>.
append CRITICAL_STATEMENTS to itab.
endloop
Show it in output.
Reward if useful!
06-29-2007 7:42 AM
Hi
Declare another internal table ITAB into which you wants to move records based on some condition
Loop at CRITICAL_STATEMENTS .
If CRITICAL_STATEMENTS-f1 < condition>
move fields from CRITICAL_STATEMENTS to ITAB.
Append ITAB.
endif.
clear ITAB.
endloop.
Reward points for useful Answers
Regards
Anji