on 11-29-2007 10:35 PM
Hi guys!
How can i change the "format page" without having to enter the transaction SMARTFORMS?
I cant figure it out! is it posible through the FM?
Regards
Alexandre
Hi,
Goto that smartform->global settings--> form attributes ---> select output options tab -
> chage the page format
Regards,
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I may have a way. If you know the name of the printer I believe that this FM will help.
RSPO_MAP_PAGEFMT_FOR_DEVICE
If you run this (in my perfect world) it will override the setting in the SF. I hope it helps you. I'm still looking though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The field in the ABAP code is output_options-tddest (that gets filled with the 4 character printer code) and the following (it gets passed to the FM):
output_options-tdimmed = 'X'. "Print immediately
output_options-tddelete = 'X'. "Delete after printing
In the Smartform I went to the Form attributes page and selected the page format on the output options tab. Then when I created the batch job in SM36 I added a step (an ABAP program) and assigned a printer to that step.
EDIT:
If you are asking about how to change the page format, as I just realized you are, I do not know how to do it. I could not find a field for it in any structure passed to the FM. If I find anything I'll let you know.
Regards,
Davis
Message was edited by:
Davis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.