on 02-23-2010 1:37 PM
Hi,
i have one quey, i.e. suppose if the number of records in the internal table are more than 100. don go for form (or) script output display. how t possible
Hi ,
at the time of printing in form u have toput the loop for printing the data in dynamically ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Describe the no of lines of the Internal table into a variable, then write the condition b4 calling the Smartform FM or OPEN_FORM FM.
eg:
data : lv_no_lines type i.
describe table itab lines lv_no_lines.
if lv_no_lines LE 100.
call function 'SSF_FUNCTION_MODULE_NAME'. (if its a smartforms)
call fucntion 'OPEN_FORM'. (If its a Script)
call function 'CLOSE_FORM'.
endif.
Hope it helps!!
Rgds,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
DESCRIBE TABLE itab LINES lv_count. <--- this will give u total number of records in the internal table.
Code your condition to only execute the print function module if records are less than 100.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.