on 03-17-2009 5:16 AM
Hi,
In smartforms i have one window which display's invoice date and invoice no. to display this data i have used loop. and i also have used table in the main window where a loop is used.
both the internal tables are the same.
my prblm is when i select 2 rows from reports and go for display, it displays me 4 records.
and also the invoice no and invoice data im getting 2 records.
Please tell me whats going wrong here.
Hi Poonam,
Delete the loop node from the main window check if it is printing only 2 records as per your requirement
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi.
as u told both the internal tables are same.
i think may be it is due to same name of tables. plz change the names of table and once u have
print the record , then also clear ur work area.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you have created the table....
Give the header details in the header part itslef...
And give the work area looping detals in main window.
I think you would have given the same details twice and that is the reason you are getting the records displayed twice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey you got the output????
Let me explain you clearly
When you create a table...it triggers looping by itself.What you need to do is just creare a line in the main area of the table and give the work area fields. Before doing this, you need to assign the looping internal table details and work area details in the DATA section of the table created node.
Try this, you will get the output perfectly as u needed.
Hope the explanation is clear
I am sorry. I didnt read ur quest perfectly.
Anways now I got the question.
Do one thing. Debug the smartform.
Put the following statement by creating program lines before the place where two internal tables are used.
BREAK <USERNAME>.
Atleast you would be able to get some clue whats happening to the internal table data and why they are getting displayed as duplicates.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.