HTML scrollbar issue in Smartforms
Hi,
I have a requirement to generate smartform output in HTML format and send it via email to internet users.
We are able to successfully generate the HTML output of smartform and send it via mail.
But when smartform HTML output is displayed in the mail content (i.e. in the body of the mail), it is generating vertical and horizontal scroll bar in the main window although I have defined next page with main window in smartform.
The main window has 2 tables. One for item details and second for subtotal and footer.
Current page setting is portrait and I tried to change it landscape but still it is generating scrollbars.
Is there a way to remove these scroll bars from the HTML output.
Thanks-
what is the page size that u set in form attributes?
it shud be equal to size of mail body of the mail client u are using
Similar Messages
-
Hyperlink issue in Smartform PDF
Hi All,
I am facing below issue with Smartform after it converted to PDF. The PDF file has below link
(http://www.vocakiri.co.uk/_assets/media/StandardTC3_(including_REG_31_Requirements).pdf) in footer window.
But when i am selecting the hyperlink it is getting truncated as "http://www.vocakiri.co.uk/_assets/media/StandardTC3_" .it opens window with truncated
web address which leads to error.
could you please let me know what is the problem or is there any note need to be applied.
Thanks and Regards,
Prasanna BHi Prasanna B,
See thread http://scn.sap.com/thread/1819587.
You can try using the callback method described in the following Notes:
622718 - SF Web Forms: Callback for the URL format
707931 - Web Forms: Incorrect URL address with the HTML output
You can get a different title of the link by using a kind of user exit for the URL processing, which is described in Note 622718.
You must create your own function module with the following interface:
*" CHANGING
*" REFERENCE(DATA) TYPE TTXCTOKEN
Data: i_data type STXCTOKEN,
(see note 622718; TTXCTOKEN is an internal table of type STXCTOKEN)
Now when you call the function module of the Smart Form, you should fill the parameter OUTPUT_OPTIONS-URLCALL with the name of the new function module. As a result your function module is called, when the URL is processed by the Smart Forms composer.
This method allows you to use a shorter alias for a longer URL link.
Regards,
Aidan -
my internet explorer (mac) gives me unwanted scrollbars on my
flash movie.
i read this:
http://blog.deconcept.com/2005/01/
and tried the script at the end. basically in the style tag...
html, body, div {
height: 100%;
overflow: hidden;
this solves the scrollbar issue but my movie doesnt show up,
screen is just black! (my background colour). it's fine in
safari/firefox
is there a better way of removing the scrollbars???
cheers in advance.Hi,
remove the overflow rules from the html element. The should be only applied to the document.body.
these are the interoperative idioms to calculate the width and height of a viewport in a framed window.
function getAvailHeight(){
if(document.body && document.body.offsetHeight){return document.body.offsetHeight;}
if(window.innerHeight){return window.innerHeight;}
if(document.compatMode=='CSS1Compat' && document.documentElement && document.documentElement.offsetHeight){return document.documentElement.offsetHeight;}
function getAvailWidth(){
if(document.body && document.body.offsetWidth){return document.body.offsetWidth;}
if(window.innerWidth){return window.innerWidth;}
if(document.compatMode=='CSS1Compat' && document.documentElement && document.documentElement.offsetWidth){return document.documentElement.offsetWidth;}
Regards.
to avoid confusion please include a link to your website or mashup with your questions.
Rob^_^ -
Total pages printed issue in Smartforms
Hi,
I have small issues in Smartforms,
I wm working for Check Printing in Smartforms. Here after printed the various checks i am printing the summary report, here i printede the details of total transactions and total printed pages.
If i have more than once page in single check (like overflow pages) that also need to be calculted in the count.
In the forms i declared &SFSY-FORMPAGES& but its not calculating overflow pages.
Please guide me about this issue.
Thanks.
VJ.Hi Florian,
Thanks for your response and O/P management info.
My req is after printing the cheque pages, i am printing seperate page for summary report, here i am displaying total no of transactions, amount and total pages printed.
Code Ref:
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lf_formname_s
IMPORTING
fm_name = lf_fm_name_s
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
CALL FUNCTION lf_fm_name_s
EXPORTING
control_parameters = ls_control_param
output_options = ls_composer_param
user_settings = ' '
v_file_name = v_smart_name
t_t_processed = t_t_processed " for total processed
t_check_amount = t_check_amount_t
t_tot_rec = v_tot_rec " REQUIRED FIELD..?????
IMPORTING
job_output_options = v_output_options
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Here i am getting total transactions is printed properly.. also i want to print total no of pages. (if single transaction more that one page).
Thanks in advance,.. -
Please can you help me!
Searched the web & found plently of advice but still getting formatting display issue when viewing HTML newsletter in MS Outlook.
Fully aware on the basics regarding the multiple issues when creating HTML newsletters but this is driving me crazy.
Apparently there is a image height limit within Outlook (can't find out what this is) so I have sliced my larger images into 5/6 parts which solves the display issue in Outlook.
But the gaps between the slices are now being displayed as small blank spaces within Hotmail.
I did use <br> between each slice as without caused the fixed 600px wide containing table to expand due to the slices stacking hoz.
Also still getting small gaps (like <br> spaces) between all images in Outlook when displaying perfectly (no gaps) in a browser.
This is my newsletter displaying correctly via a browser:
http://eu.shorts.tv/site-admin/modules/mod_mail/SHORTSTV_DECEMBER_2012.htm
Using Dreamweaver 4 (do have the latest version via Adobe Creative Cloud Membership but not on this system).
Hope you can help
Many thanksMany thanks David
I also found this article which is currently sitting on my desk.
Pdf would make perfect sense or even a url link to view via a browser but these guys need it contained within the email.
Thanks again for your kind advice.
Regards
ShortsTV
Date: Fri, 30 Nov 2012 18:05:08 -0700
From: [email protected]
To: [email protected]
Subject: MSOutlook HTML newsletter issues - large gaps between large images and small gaps...
Re: MSOutlook HTML newsletter issues - large gaps between large images and small gaps...
created by David__B in Adobe Creative Cloud - View the full discussion
Hey Shortstv, Not something I know much about, searched and found thishttp://robcubbon.com/create-html-email-newsletters-outlook/ Maybe create it as a PDF attachment instead? -Dave
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4888255#4888255
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4888255#4888255
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4888255#4888255. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Adobe Creative Cloud by email or at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Is Muse compatible with Email Service Providers? A colleague said Muse has html code issues as PCs struggle to display the artwork correctly when emails are delivered.
Is Muse compatible with Email Service Providers? A colleague said Muse has html code issues as PCs struggle to display the artwork correctly when emails are delivered.
-
Issue in Smartform "need to display dynamic column or cell"
HI,
I need some issue with smart form " ITEM Details"
matnr maktx menge uom
i have defined all in the inside table so that i have selected frame ?
now my issue is i should display only matnr maktx uom
i don't want display Menge column if it doesn't have vaule ( in clude cell and box also ).
i need to display Menge column if it has value .
how to resolve the issue in smartform?
replas ASAP.
ThanksHi,
Kindly check the below links.. hope this will help you.
Hide table columns in smart form?
Hiding column in table in smartform
Regards,
Booma Ganesan
Edited by: booma ganesan on Apr 28, 2010 4:05 PM -
Issue in smartform with Chinese logon
Hello all,
I'm facing a strange issue in smartform with chinese logon in Quality server.
In quality server mail generates JUNK values in place of chinese texts in SOST.
In development server its working fine.
I checked through debugging in OTFDATA structure its taking Courier font by default.
While in my development server in ZH logon its taking CNSONG font.
1 // |XSAPWIN 046C 00000000001 <
2 IN |041 form_name<
3 IN |05HDR_PAGE <
4 OP |DINA4 P 144 240 1683811906000010000100000 <
5 IN |06%WINDOW9 <
6 MT |0447102791 <
7 CP |840000001 <
8 FC |COURIER 095X 00114 SF001SF0118400001141 X <
9 UL | +0000000000000 <
10 CT |00000000 <
Can some please help me to solve this issue.
Thanks in advance.
regards,
LokeshHello,
Please follow the rules to output PDF correctly for ZF/ZH language:
(1) workprocess need run under
ZF/ZH language (logon with ZF/ZH or switch by set locale)
codepage 8300/8400 (or compatible codepages)
(2) SAPScript need include ZF/ZH version. Please verify by:
Go SE71->input SAPScript name, language key ZF/ZH -> display
(3) SAPScript need assign Chinese font for paragraph used to output
Chinese character
(4) SAPScript need open with ZF/ZH language(OPEN_FORM with ZF/ZH language)
Regards,
David -
Problem with panelbox and af:table scrollbar issue and panelstretchlayout
Hi,
<af:panelStretchLayout >
<f:facet name="center">
<af:panelSplitter orientation="vertical" positionedFromEnd="true" inlineStyle="vertical-align:inherit;">
<f:facet name="first">
<af:subform default="false" id="xyz">
<af:panelBox background="light" text="Advance Search" inlineStyle="color:InactiveCaption;" type="default">
<af:panelGroupLayout layout="scroll">
<af:commandButton text="Search" id="advSearch" actionListener="#{ADFStandardsLeftMenu.getAdvancedSearchData}"/>
<af:spacer width="20"/>
<af:commandLink text="Search Tips" id="searchtips2" inlineStyle="font-weight:bold;" partialSubmit="true" clientComponent="true">
<af:showPopupBehavior triggerType="click" align="afterEnd" popupId="advSearchPopupId"/>
</af:commandLink>
</af:panelGroupLayout>
</af:panelBox>
</af:subform>
</f:facet>
<f:facet name="second">
<af:panelBox background="light" text="Basic Search" inlineStyle="color:InactiveCaption;" type="default">
<af:spacer height="20"/>
<af:panelGroupLayout layout="scroll" >
--- some inputtext command buttion, dropdowns...selectonechoice..are there inside this
</af:panelGroupLayout>
</af:panelBox>
</f:facet>
</af:panelSplitter>
</f:facet>
</af:panelStretchLayout>
problem:
(we have 2 panels) of vertical
when i run this application it is working fine. But when we minimise the browser(half size) or if we add more no of toolbars in browser (important) obviously browser size will decrease,
that time 1 panel getting decreased second panel is maintaing fixed size, not resizing.
I tried to give fixed size (percentage) for both panels wt ever the operation does.
and 2nd issue
========
<af:panelStretchLayout>
<f:facet name="center">
<af:panelSplitter orientation="vertical"
positionedFromEnd="true" >
<af:panelBox background="light" text="Search For Standards" inlineStyle="color:InactiveCaption;vertical-align:50%;" >
<af:table value="#{ADFStandardsLeftMenu.mostCommonAgencySelectedList}"
id="t1" width="100%" var="stdURL"
emptyText="<html><b><font color='red'><center>No Records Found</center></font></center></b></html>"
disableColumnReordering="true"
columnSelection="multiple"
rowSelection="multiple"
inlineStyle="text-align:left;"
verticalGridVisible="true"
horizontalGridVisible="true">
<af:column>
</af:column>
---- we have more 8-10 columns
</af:table>
</af:panelbox>
</af:panelsplitter>
</f:facet>
</af:panelstretchlayout>
problem: that time im getting by default horizontal and vertical scrollbar, but if user add toolbars in browser (view->customize)add toolbar no of say 10-15 that time window size decreasing
so, table size is crossing panelbox size, and bottom scrollbar is not visible (hiding under site bottom layout say site is divided into 4 parts (leftmenu, body(2 panels), right, bottom) (im not using any right layout)
regards,
sandeepHi,
if minimises browser window(half) or by adding more no of toolbars, i given an option as panelgrouplayout layout=scroll.
it is working fine for 1st panel.
but 2nd panel scrollbar not coming.
thanks in adv.
regards,
sandeep -
HP LaserJet p1102w with Mac OS X10.6.8 HTML config issue
Hello,
I have been using this printer for a few years now and have moved house a few times and successfully updated the wireless settings on the printer through HTML config. Lately, in printer utilities the HTML config button does not show up where it is meant to.
I have installed / uninstalled the latest firmware, software drivers, printers and made sure they were platform specific.
This is really annoying.
Is there old software available for download? it was working fine until the recent update - which I did so I could use the eprint features.
Best regards
Costas
Printer:
HP LaserJet p1102w, Firmware datacode = 20130213
Computer:
Macbook white, late 2008 model: 2.4Ghz Core2Duo, 4G RAM with OS X 10.6.8From the name of the printer, it looks like you have it installed through a USB connection.
Here is what I would. First go into “System Preferences” and then select either “Print & Scan” or "Print & Fax".
Right click (or control + click) on the rectangle listing your printers and then select “Reset Printing System”.
NOTE: This will delete all printers.
After you have reset the printing system, let's make sure you have the most recent HP driver package installed.
You can download it here: http://support.apple.com/downloads/DL907/en_US/HPPrinterDrivers2.14.dmg
Once you have downloaded the driver package and completed the installation, go into your print settings under System Preferences > Print & Scan. To add the printer, click the plus (+) sign. You should see your printer listed here. If not, click "Add Printer or Scanner." Click the name of your printer and then click "Use:” box. Make sure that says the name of your printer and not AirPrint. Next make sure that the printer "Kind:" is set to Bonjour or Bonjour Multifunction. Click "Add" down in the bottom right hand corner.
This will add your printer back using the most recent HP print driver available through Apple. Let me know if this helps resolve your issue or not. If it doesn't, let me know I will see what else I can do.
Best of luck,
Kyle
-------------How do I give Kudos? | How do I mark a post as Solved? -------------------------------------------------------- -
Hi All..
I am working on a smartform.
While activating the form, i came across a error called "A line of I_ITEMS and WA_ITEMS is not mutually convertible. In Unicode program, I_ITEMS must have same structure layout".
But in program, i have defined both objects as follows..
Data: i_items TYPE STANDARD TABLE of ty_items.
Data: wa_items TYPE ty_items.
What to do now..???
How to resolve this issue..????
Please Help me out....
Regards
PavanThanks to everyone here...
Special Thanks to Jayanthi...
I have changed the I_ITEMS's structure in Form Interfaces of the form.
Now its working fine...
Regards
Pavan -
VL02N Error: Output could not be issued with smartforms
Hi All,
Currently I am doing some customization on existing delivery note smartforms LE_SHP_DELNOTE on ECC 6.0.
I have copied it from the above smartforms and name it as ZLE_SHP_DELNOTE. Did most of the modification according to the user's format requirement.
Manage to do the necessary settings in NACE to point to the new smartforms and also were able to print preview the report either in the standard LE_SHP_DELNOTE or the customize ZLE_SHP_DELNOTE.
But as I add more coding into ZLE_SHP_DELNOTE, the print preview starts to give me the "Output could not be issued" error.
If I were to revert back to the original LE_SHP_DELNOTE in NACE, it still works fine.
I have checked most of the issue in the forum regarding the table size or include text, but I have make sure that the table size does not exceed the window size and also i have check the checkbox that prevent any error if include text does not exist.
Hope to get help.
Thanks
DavidHi Murali,
Thanks a lot. It is due to the address that is not populating.
Currently I am reading the address from VBAK by using the following statements:
SELECT SINGLE bukrs_vf
FROM vbak
INTO lf_bukrs
WHERE vkorg = is_dlv_delnote-hd_org-salesorg
AND vbeln = is_dlv_delnote-hd_ref-order_numb.
SELECT SINGLE adrnr
FROM t001
INTO gf_bukrs_adrnr
WHERE bukrs = lf_bukrs.
gf_bukrs_adrnr is the address value.
Currently I have 2 versions of my customised smartforms. One that works and one that does not work. Both has the address node.
One funny thing is that the value from is_dlv_delnote-hd_ref-order_numb is not populating for the one that does not work.
But I thought is_dlv_delnote is an interface passed on to the smartforms regardless of any changes that you made in the smartforms.
Do you have any idea why is this so?
Thanks
David -
HTML Coding Issues with Dynamic Sites
I am trying to create a button using the sliding doors technique and I think I have the correct css, but the issue comes with the HTML.
Here is the CSS:
.Button
/* Sliding right image */
background: transparent url('../Images/button_right_02.png') no-repeat scroll top right;
display: block;
float: left;
height: 38px;
margin-right: 6px;
padding-right: 20px;
text-decoration: none;
color: #000000;
font-family: Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
.button span {
/* Background left image */
background: transparent url('../Images/button_left_02.png') no-repeat;
display: inline;
line-height: 22px; /* CHANGE THIS VALUE ACCORDING TO BUTTONG HEIGHT */
padding: 7px 0 5px 18px;
.button:hover span{
text-decoration:underline;
However the HTML is a little bit tricky. I only get the right side of the image to show up on the button. Here is the HTML:
<td colspan=2 ALIGN=center class="button">
<table BORDER=0 CELLPADDING=3>
<tr>
<td align=center><input name="Button" type=button class="Button" OnClick=submitScreen("AccountSummary") value="Back to Summary"></td>
</tr>
</table>
</td>
This is what I am ending up with:
This is what I am trying to get to:
The latter image I am able to get to with my own HTML that looks like this:
<body>
<a class="button" href="button2.css"><span>Account Summary</span></a>
</body>
But I need to incorporate that so it works in the above HTML (incorporated with an external database)
Your help is appreciated.Dude I git you ... my template in html is giving me issues also ....
how come I build it then a moth later it wont allow me to nuild pages from the template???
also how do I add my picture logo to my account?? -
Page printing issue with smartform PO
Hi Super-Techies,
I have created a z print program for my purchase order smartform. But the issue I am facing now is that when i try to view the purchase order from transaction me23n -> print preview ( with 15 items). I am getting output as a single page with 10 items on it. The rest 5 items are not being displayed. I mean the page is not getting printed from 2nd page onwards.
What could be the issue??? Can anyone suggest me.
Thanks & Regards,
VinitHi,
As said above, I have used table instead of template and the data is flowinf to next pages.
BUt now the issue is that in the last page suppose if there are only 5 items, than the window border prints after 5 items. It is not good while print preview as there is a blank space created in form (for the rest 5 items which are not being used).
I want to fix the main window border irrespective of the line items.
Whats advice on this issue.
Regards,
Vinit -
Custom page issue in smartforms
hi all,
As per requirement custom page with 11 inch X 12 inch page size.In windows in default page setting is "letter" so when i am taking print out ,system is considering that letter format and it is not printing all the data as per form developde .
if i maintained in window page setting as A3 size paper then all data is printing but in next page is skipping up 1/4 page and 2nd page is printing from there only.
Requireemnt is system should not consider the windows default setting and it should consider the paeg size what defined in SAP.The users in client orgabnisation are not allowed to change any windows settings.
Kindly guide me how we can solve the issue by doing development in SAP.
Regards
venkatHi Venkat,
I don't think there's such option available in smartforms unless you change the frontend (windows) settings.
You must change your printer default settings in windows to match smartform size.
Umakanth R
Maybe you are looking for
-
How do I use my iPad for apple tv
HI I just purchased a apple tv and I want to connect my iPad to it
-
Is there a way to reorder the Photo Stream Albums on my iOS Device?
I have been searching for a way to change the order of my Photo Stream albums on my iPhone/iPad/MacBook Air to no avail. Is there a way to change the order that they are shown within the Photo Stream in my photos? Thanks
-
Mail: Check as Read only after opening in a separate window
I would like to keep my emails unread at all times onless i manually set them as read or open them on a separete window. Is this possible? how do i do it?
-
Image mask not moving as I move camera ...
I have done a reflection by cloning a layer, adding a rectangle with greyscale gradient and adding an image mask to the clone layer. When I move the Active Camera anywhere, the image mask does not seem to go with the clone layer. As I change the angl
-
Special Pricing will not sync!
Hi all, We are trying to setup webtools pl1, and when we do the initial sync we get the following error - u201CThere are less special price records in WT than in B1. This can be due to an error in synch and can cause pricing inconsistencies.u201D I'v