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

alv report

hi all,

when looping i get values i want add that values store it in variable how to do it\

its urgent..................

thanks advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 12:15 PM

    hi use the modify statement..in the loop ..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 12:16 PM

    loop at itab.

    v_amount = v_amount + itab-amount.

    endloop.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 12:16 PM

    Hi

    declate one variable

    Data : t type i .

    loop at itab into wa_itab .

    t = t + wa_itab-value .

    endloop .

    use this t anywhere it contains total

    .

    Regards

    Hitesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 12:16 PM

    Hi Santhosh,

    Could you please explain it with a piece of code. Otherwise it would be difficult to suggest.

    Thanks & Regards,

    Nagaraj Kalbavi

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi,

      loop at it_cdtl into WA_cdtl

      wa_final-menge = wa_cdtl-menge.

      wa_final-menga = wa_cdtl-menga.

      endat.

      i getting value wa_final-menge & wa_final-menga i want to store this value what getting in each loop and add that values... its urgent....

      thanks advance

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 12:17 PM

    LOop at table1.

    table1-matnr = table2-matnr.

    modify table2/ append table2.

    endloop.

    reward if useful.

    Edited by: Anshuman Singh on Jul 24, 2008 2:17 PM

    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.