on 07-08-2011 8:31 AM
Hi ABAPers,
Need help...
Th issue is like when i print preview my smartform output the line items are 7, now when I go back and click on print preview the line items are doubling to 14. this is going on and on.
Kindly help me resolve this issue.
Regards,
Dep.
Hi,
Refresh the internal table that you pass to the smartform.
Jshree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes exactly its correct.Here u need to refresh the item table data.As an temporary alternative u need to come from taransaction level again,that is for preview go with /n<tcode> and again go with preview.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this is a typical CLEAR problem in your driver program.
I strogly suppose when doing it for the second time you pass an itab of items with 14 items instead of 4. This happens since you didnt clear the table before populating the items in it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I believe you have forgotten to refresh teh table being passed to the smartform.
Refresh it,should solve the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dep,
Check if the table parameter that passes the line item to the form, is being refreshed after the smartform is being called.
It is a good practice to initialize any/all variables before they are used.
Regards,
Chen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.