on 08-12-2009 1:18 PM
Hi All,
In smartfroms item is repating twice when ever page is triggering.please tell me what might be the problem
Eg:
in internal table 12 records are there , first 3 records are printing in first page and in second again 1 line item is repating and again in 4th page also first line item is repating
1st page
10
20
30
2nd page
10
50
60
70
3rd page
80
90
100
4th page
10
120
but this is wrong in 2nd page 40 has to come and in 4th page 110 has to come.
in debugging i found where it is changing ,the item text has decalred has newline and assigned the line type.
the corresponding coding in function module is
CALL FUNCTION 'SSFCOMP_TABLE_NEXT_ROW'
EXPORTING I_LINE_TYPE = 'IT_KOND_WA'
EXCEPTIONS NON_MAIN_OVERFLOW = 1
OTHERS = 2.
before the iitem no. is 40
after control going to above function module the item no is changing to again 10,please help me what might be the problem.
Thanks in advance...
DEAR,
YOU ARE DOING IN IDES SERVER OR IN DEVELOPMENT SERVER.
AND WHAT IS YOUR SMARTFORMS NAME.
REGARDS
NAVIN MAHINDRA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
This is may be because of the variable, which is printing the required information on to the smartform, is definetely present in the loop. So I would suggest plz remove that variable which is present in the text notepad of the smartform and declare it seperately (out of the loop). It will solve your problem & hope it would give the desired results.
Regards,
Akg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satia
How do you fix this problem? I have the same problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Little bit difficult to understand .
Debug the Driver program
Check the internal tale data before calling the smartform..
clear the workareas in processing the final internal table data.
Regards,
Lokesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Satya,
Use the Event on sort begin in the table for the field and display the line items.
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 Satya,
May be u you are nt clearing any work area, try clearing workareas wheerever necessary.
Sripal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check your internal table values in debug mode whats the value for all the item? I don't think any problem in smartform but the records might be the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.