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

related to smartforms

hi all,

here is my code

count = 0.

loop at it_main10 into wa_main10 from cnt to a .

AT NEW zzvendor.

COUNT = 1.

ENDAT.

endloop.

a = a + 1.

this code...i have written in program lines of smartform.

but even if the vendor is same the count value is getting incremented to 1.

please solve this problem for me........

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 01:20 PM

    Hi,

    I think you are trying find out total number of vendors, am i right?

    Delete adjacant duplicates from it_main comparing vendor.

    describe table it_main lines lv_lines.

    Lv_lines is the total number of vendors.

    Regards,

    Satish

    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.