Quantcast
Channel: ABAP Development
Viewing all articles
Browse latest Browse all 948

SAP Jet forms : Step-by-step Process for designing and generating a PDF

$
0
0

This blog gives you a brief overview about Jet forms used in SAP through a third-party software and followed with an example on it.


I do accept Jet forms is an old concept. But, when you get any objective on this and when any client you are working with have a requirement on it, I hope this document will be helpful. Because, I underwent this kind of situation where the client I am working with gave his business requirement on Jet forms. I searched everywhere in SCN and Google but, the information I gathered was quite insufficient and I have striven in delivering the object.

So I am writing this blog for all who are new to Jet forms and if they get any business requirement on this, I am sure that this blog will definitely help.

 

Jet Form Definition:

Organizations require e-document presentment solutions that enable them to output documents from a single system, in a variety of formats for delivery via multiple channels including mail, e-mail, fax, and the Web.

With an effective end-to-end solution delivery, organizations can also offer customers flexible alternatives for receiving information. An organization can automatically send information to its customers, and at the same time, its customers can actively seek out up-to-the-minute information.

This can be achieved through Jet forms-the times when, smart forms/adobe forms weren't existing.

There is a misconception that, Jet forms are supplants of Scripts in SAP. Jet forms are completely different from SAP Scripts.

 

How does a jet form synced with SAP Scripts:

From SAP the data comes out in the form of RDI (Raw Data Interface), the sap scripts have to be set to print to RDI. This is then sent to a specific server set on the sap script, with details of the end printer. Jet form then processes this data into a more reasonable format, and then processes this against the jet form.

The result is then sent to the printer.

 

Pros and Cons:

Jet Form Design is a full “What You See Is What You Get” (WYSIWYG) program. As you draw a form design, you can see it take shape on the screen. All the features, such as text, fields, lines, boxes and logos, and their attributes, such as fonts and shading, appear on-screen as they will print on the target printer.

In Jet Forms, you can incorporate graphical objects, such as lines, boxes, circles and arcs. You can choose attributes such as line widths, line styles, and shading patterns. The product supports the most popular graphic formats for logos, such as .BMP, .PCX, .TIF and .WMF. As well, you can include bar codes printed in many of the common formats.

You can establish a tabbing sequence that specifies the order in which Filler prompts for data entry. You can designate fields as mandatory, or as protected, where the user can see the data values but cannot modify them.

Alongside, there are few disadvantages with them as they cannot be tested with our design before sending it to SAP system which is a main drawback.

After the existence of smart forms/adobe forms, jet forms became obsolete as it could not meet many of the requirements and features that the present forms are providing.

Also as the jet forms are designed by a third-party software, they became the least opted choice.

 

Software Used:

Jet forms are developed by a third-party software which is provided by Adobe. The software is named as “Adobe Output Designer”.

 

 

 

Step-by-step Process of creating a Jet form and generating a pdf:


Jet form is created in .IFD format and compiled to .MDF (cannot open; raw format) format which has to be uploaded to UNIX server of the client.

Now, we will see how to create a simple jet form and generate its pdf file through a script in sap.

 

We shall create a jet form design for the below pdf:

 

2.png

 

In the above pdf we can see, there is a Title field, Date box field, and three box fields for demo purpose.

Now we shall design a Jet form which meets the above sample requirement through Adobe Output designer software.

 

 

After installing the software – Adobe Output Designer, you will see a blank screen as shown below after opening it.

 

3.png

 

Now, we can create a design on the blank page with which ever fields we require. Select the field box in the Toolbox and click on the page.

 

4.png

 

5.png

 

Double click on the box and you can use options like field name, width, height, font alignment, etc. according to your requirement.

 

6.png

 

 

7.png

 

As shown above we can design a page which consists of few field boxes of the required fields and logo if we need. To know more about the tools provided and used in the jet forms, we can place the cursor on the particular box and see why it is used for.

 

8.png

 

Like this, we can create three field boxes and place them accordingly on the page.

 

9.png

 

We can utilize the outline box tool to highlight the field boxes if needed.

 

10.png

 

Now, we create various field boxes for Invoice number, Date, Total amount, etc. and arrange them in an order.

 

11.png

 

As shown above, If we are using a particular field for Invoice number (in the case of invoice pdf), we have to name it as Invoice Number as shown above. Same with Date field, Amount field and whichever field we are using.

 

After arranging the field boxes in an order, we highlight all of them as discussed earlier.

 

12.png

 

We can even create a Title for our pdf by placing few more data field boxes on the top of the page.

 

13.png

 

We can place a logo of the respective company by clicking on Logo tool and placing it wherever we need. In this scenario, I am placing a logo on the top left corner of the page.

 

14.png

 

 

15.png

 

Select OK and place the Logo in the required place on the page.

 

16.png

 

 

And now we have completed our first design in Jet Forms. Press the Save 17.png  button and you can test present your design.

 

Go to menu options -> File -> Presentment targets. Here, select the default printer as PDF, so that you can view the test pdf of your design.

 

18.png

 

Now go to menu options -> File -> Test Presentment.

 

19.png

 

The design which you have created will be generated in the form of PDF as shown below:

Output:

20.png

 

You have successfully created your first Jet form.

 

As the SAP system cannot read .IFD format (the format your design is in), we have to compile the Jet form and convert it to .MDF format. As I earlier told you - “From SAP the data comes out in the form of RDI (Raw Data Interface), the sap scripts have to be set to print to RDI. This is then sent to a specific server set on the sap script, with details of the end printer. Jet form then processes this data into a more reasonable format, and then processes this against the jet form.

The result is then sent to the printer.”

 

The .MDF file which you have generated will be uploaded by BASIS team in the clients UNIX server.

 

The .MDF file is generated as shown:

 

Go to menu options -> File -> Presentment Targets and select the list of printers as per your client requirement and click OK.

 

23.png

 

Now go to File -> Compile and give the path where you want to place the .MDF file on your system.

 

24.png

 

In colossal designs where a jet form contains 2 or more pages, there is a necessity of “Preamble”, in which we have to write few commands and mention the field names. In few cases, the preamble file will be generated automatically once we compile the design to .MDF format.

 

You can see the preamble file in menu options-> Format -> Template Preamble

 

25.png

 

 

Many of us might have this doubt whether, if the preamble file is created automatically by Jet Form design or whether it’s created manually?

Well, it’s half and half. As long as you have a newer version of Output Designer, it will create the JFPREAMBLE_1 (and _2, _3 and so on as needed) and also make a stub JFPREAMBLE for you.

If you want to change the way it’s doing things, you need to edit the JFPREAMBLE. You can’t edit the others as they will be overwritten every time you recompile the form. Making edits in the JFPREAMBLE, you should put them *after* the ^FILE lines that pull in the other preambles, so that they override whatever might have been in those. Often you’ll find yourself copying lines from JFPREAMBLE_1 to JFPREAMBLE and making only minor changes.

 

This blog will be continued and I will post again on How to associate the Jet Forms with SAP Scripts in a short period.


Viewing all articles
Browse latest Browse all 948

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>