on 01-11-2008 11:26 AM
Hello,
I have a smartform that has a FAX_PAGE, i want to be able only pull this page out of the smartform.
So i put the startpage to FAX_PAGE but the FM produces an error and the page does not come out.
I debugged my way through and found that at some point its checks a table for the word FAX_PAGE but finds nothing. I looked to see what was in this table and the only entrys were FIRST_PAGE 4 times.
What am i doing wrong? Or does someone have the code i should use to pull this out?
Best Regards
rajesh
Hi rajesh
Here is what you can do.
Whether or not u require ur fax page we will call the smartofrm only once.
Since you require the fax page, only when sending faxes.
Make the fax page the first page in the list.
Set the next page of the fax page to the remaining page(s).
Now in your abap program.
Set the following logic.
if print_fax_page = yes.
tdpagesselect = '1-'.
else.
tdpagesselect = '2-'.
endif.
This way the fax page will print only when u need it.
i dont remember the exact spelling of tdpagesselect variable.
remember that fax page must be the first page in ur smartform list
This will solve the issue.
Reward points if useful
thanks swaroop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
Are you passing the FAX_PAGE in the smartform interface parameter CONTROL_PARAMETERS-STARTPAGE? If so this should work, try something like this;
DATA: ls_control_param TYPE ssfctrlop.
ls_composer_param-startpage = 'FAX_PAGE'.
Then pass this structure to the CONTROL_PARAMETERS import parameter of the form, the structure may be in use already in your program, if so just add to it.
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.