Archive

Archive for the ‘Forms’ Category

How to Send Smartform in PDF by Email – Configuration

September 5th, 2011 No comments

The smartform is often printed out directly in the company daily process. But in some cases, the business requires to convert the smartform into PDF and will be sent by email. For example, if one customer wants to receive the billing form by email, this requirement can be done by SAP output control. Below gives a step by step tutorial and analysis.

Step 1. Set up a customer master with email address.

Go to transaction XD01 and create a new customer with email address. Save the customer and record the customer number.

Read more…

Remove Shadow of SmartForms picture’s Background color

May 23rd, 2011 No comments

sometimes,when we upload some picture to SAP and take use of it in SMARTFORMS,we will found the background color of the picture is gray not white(orginal is white).This is because SE78 is not well supported the picture format,you should change the picture to 256 bit BMP.With the help of Windows Painting Tool ,we can recorrect the background color of picture.

SAP Interactive Forms by Adobe – Introduction

March 11th, 2010 No comments

Application Area – BC

Overview

SAP Interactive Forms by Adobe is the lastest form technology which is rendered by SAP and Adobe. It aims to automate and streamline forms-based communication to support customers who create reusable forms for their business processes. This solution uses Portable Document Format (PDF) and software from Adobe Systems Inc. that has been integrated into the SAP environment.

You can create interactive forms in PDF format that allow users to fill out the form on the screen and save their entries in XML format in the form. When the SAP system receives the PDF form, it extracts the data saved in the form, and can process it further. You can also merge a form template with current system data to generate a PDF document that can then be printed or sent by e-mail. If the form is not interactive, it can also be called PDF-Based Print Forms.

Software Requirements

Server Requirements

a) Netweaver Java stack installed
b) Adobe Document Service(ADS) installed on the Java stack and configured

Read more…

Form Output Format

January 8th, 2010 No comments

You want to send your form to an output medium. This can be a printer, a fax, e-mail, or even output as an XML document. For these output medium, SAP provides different output formats, such as OTF, XSF, and HTML.

1. OTF (Output Text Format)

In classical form output, you print forms on the printer. SAP Smart Forms provides the form in the Output Text Format (OTF). The Output Text Format (OTF) is the established SAP output format for printing forms. It consists of a number of simple, device-independent commands, thus allowing output to be directed to different output devices such as line printers and laser printers, or as an on-screen print preview. OTF is an explicit output format, which means that once SAP Smart Forms has generated an OTF output, no modifications can be made.

OTF is set as the default in the Form Builder. OTF is usually output using spool processing. For this output, a printer must be set up in the system with a device type that understands OTF.

2. XSF (XML for SAP Smart Forms)

XSF stands for XML for Smart Forms and is an XML schema designed for the output of form contents. XSF output does not contain any layout information. Using XSF output, external applications outside the SAP System can access and process the contents of forms.

To output XSF using spool processing, at least one printer of type ‘XSF’ must be set up in the system.

Read more…

Smartforms – a simple example

December 7th, 2009 2 comments

If we need to print the ALV report out with certain font size and some decorate requirement, I think we need to utilize smartform to achieve this. I recorded some important steps in this post.

1. Create a new GUI status.
A new GUI status is needed as I need to a button in the toolbar to support print ALV out. You can copy the standard ALV GUI status out and add a new function code like ‘Print’ or something like that.

gui_status

Standard GUI status locates in program ‘SAPLKKBL‘ and with name ‘STANDARD_FULLSCREEN‘.

Read more…

Print smartform directly

September 17th, 2009 No comments

This is a brief post about how to print a smartform without print preview.

Step 1. use below code snip to set up data.

  DATA: gs_control    TYPE ssfctrlop,
        gs_options    TYPE ssfcompop.
 
* build the print parameter
  gs_control-device    = 'PRINTER'.
  gs_control-langu     = 'E'.
  gs_control-no_dialog = gc_charx.
 
  gs_options-tddest    = p_pdest.
  gs_options-tdnewid   = gc_charx.
  gs_options-tdimmed   = gc_charx.

Step 2. Call the smartform function module using above parameter.

*   Call smartform
  CALL FUNCTION lv_fm_name
    EXPORTING
      user_settings      = space
      control_parameters = gs_control
      output_options     = gs_options
      is_spras           = gv_spras
    EXCEPTIONS
      formatting_error   = 1
      internal_error     = 2
      send_error         = 3
      user_canceled      = 4
      OTHERS             = 5.