Skip to Content
author's profile photo Former Member
Former Member

copy the data

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 29, 2007 at 06: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 29, 2007 at 06: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!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.