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

Infoset Output Problem

Hi,

I've created the an Infoset with selection screen fields as ekko-aedat and ekko-ernam....Now i've created a custom field Zcount which has to count the number of PO's created by each ekko-ernam.....

for this i've wrote the logic in ZCOUNT........and populated the output its working fine but i need to have only single output for each aedat,ernam and zcount........like...........

In ekko we have entries like each user will be creating any number of PO's on the same day based on this i need to count how many PO's he created on the same day and display it as count,username and date....but my output shows the 10 entries and the zcount for all the 10 entries is 10.....i should not get this kind of output but should be single..............

Example:

DB entires

Ebeln--


aedat--


ernam

12345--


10/10/2008--


zyx

2345--


10/10/2008--


zyx

4567--


11/10/2008--


xxx

Now i should get the output of my Infoset as

Zcount--


aedat--


ernam

2--


10/10/2008--


zyx

1--


11/10/2008--


xxx

Please suggest for help............logic wise i'm getting the count correctly but the output shows like this

zcount--


aedat--


ernam

2--


10/10/2008--


zyx

2--


10/10/2008--


zyx

1--


11/10/2008--


xxx

Plese come up with solutions....

Thxxxxxxxxxx

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 31, 2008 at 08:36 AM

    hi,

    in the event END-OF-SELECTION (BEFORE LIST)

    write the code to delete the duplicate records.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 31, 2008 at 09:02 AM

    hi,

    first sort ur ztable with field Zcount and then use

    delete duplicate entries from tab_name comapring Zcount.

    thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 31, 2008 at 09:47 AM

    hi,

    Infosets does not contain data physically.It's works like a interface to collect data from different data providers for your reporting.

    So it does not have a table.You must be getting data form different tables into an internal table, so delete from it ...

    thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 17, 2009 at 09:48 AM

    I've resolved it myself

    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.