Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

script is a language how to create script ?

Former Member
0 Kudos
142

script is a language how to create script ?

3 REPLIES 3

Former Member
0 Kudos
106

Hi,

Scripts/Layouts sets are language specific and are used to create the Outgoing documents of any organization .example: sales order, Purchase order, Invoice etc.

You can create scripts from SE71 T Code.

You have to create them by giving the Language in which yopu wants create, which is country specific.

Every script is driven by a driver program, So it is must to attach the script to a Driver program and a Output type.

Hope this helps.

Regards,

Anji

0 Kudos
106

How to Start ???

Ø Goto transaction SE71.

Ø Give the name of the form you want to create starting with Z.

Ø Specify the language for which you want to have this as an output.

Ø Click on create.

You have various sub objects on the very first screen

Ø Header

Ø Pages

Ø Windows

Ø Page Windows

Ø Paragraph Formats

Ø Character Formats

Ø Documentation

Header data

The header data of a form consist of Administration data and Basic settings.

Administration data

It includes Administration information and Language attributes.

In the Administration information group, enter

Ø Form name

Ø Description

Ø Development class

In the Lang. attributes (Language attributes) group, you find

Ø Original language

Ø Current language (language key)

Ø Information on the translation of the form.

Ø Status information about the current form status (active, edited, and so on).

Basic Settings.

Ø Description - Brief description or title of the layout set

Ø Default paragraph - The base paragraph that is globally applicable to the document. This can be overridden at lower level of the layout set by using other paragraphs

Ø Tab Stop - The base tab-stop that is globally applicable to the document. These can be overridden at lower level of the layout set by using other tab stops

Ø First Page - The start page of the layout set

Ø Page Format – E.g. Dina4

Ø Orientation - The direction of printing the data on a page – P for portrait (vertical) and L for landscape (horizontal)

Ø Lines per inch

Ø Characters/inch

Ø Font Attributes - Here the various attributes and the base font applicable to the document can be defined. This font setting can be overridden at a lower level using the character strings

Before entering other header data,

Ø Define the paragraph formats of the form.

Ø Define the character formats of the form.

Return to the header and complete it.

Defining Paragraph Formats

Before entering all header data on the Change Form Header screen, you must create the form by defining paragraph and character formats. The system sends a warning if, in the header data, you specify a paragraph or a first page that has not yet been defined.

Ø Choose Goto à Paragraphs.

This takes you to the input screen for paragraph formats and their standard

attributes.

Ø Choose Edit à Create element.

A dialog box appears.

Enter the paragraph tag and a short description.

The paragraph tag is created.

The system sets line spacing, alignment, and units of measurement.

Ø Choose Attributes à Font to define the font attributes for the paragraph tags.

Enter values in the input-enabled fields in accordance with the guidelines.

You can overwrite the default font attributes.

Ø Choose Goto àTabs to specify the tab position.

An input screen appears, where you can define the required tab positions as well as the unit of measurement and the alignment. In the standard version, the alignment is set to LEFT (left-aligned).

o Choose Attributes à Outline to define the outline.

o Additional values are displayed that have been set by the system.

o Enter values in the input-enabled fields. You can change the values set by the system.

Repeat the steps above until all paragraph formats are defined.

Defining Character Formats

Character formats in forms determine how text is formatted within paragraphs. They are a refined form of text layout.

Ø Choose Goto à Character strings.

This takes you to the request screen for standard attributes of character strings.

Ø Choose Edit à Create element.

A dialog box appears.

Ø Enter a character tag and description.

The character tag is created. The system sets all standard attributes to * . You can overwrite this setting.

Ø Choose Attributes à Font to define the font attributes for the character format. Font attributes provide a more detailed definition.

Ø Enter values in the input-enabled fields.

The fields Bold, Italics, and Underlined are automatically displayed with * . You can overwrite this with your entry.

Ø Repeat the definition of character tags and their standard and font attributes until all required character formats have been defined.

Ø Save the character formats.

Defining Pages

You must define at least one logical page for every form. Otherwise it is not possible to format texts. To define a page, assign a name and specify attributes.

Ø Choose Goto à Pages.

Ø Choose Edit à Create element.

Ø Enter a page name and a short description in the fields Page and Description.

Ø Input-enabled fields are displayed in the lower screen area.

Ø Enter values in accordance with the guidelines for page definition.

You can overwrite the default values set in the fields Mode and Numbering type.

Ø Repeat these steps until all pages are defined.

Ø Save your entries.

Ø

Completing the Header Data After Defining the Attributes

Ø Choose Goto  Header.

The Change Form Header screen appears.

The Basic data include the groups Set up page and Default values for text formatting.

– In the group Set up page, set defaults such as page format and page orientation.

– In the group Default values for text formatting, set a default paragraph, default font, and so on.

– Enter values in accordance with the guidelines. The fields Tab stop, Page format, Orientation, Lines/inch, and Characters/inch are assigned default values by the system.

– Enter the format of the pages in the header data of the form. This format can be taken from the spool administration table using the transaction SPAD.

The system always uses these values defined in the form header if no other values are specified for the paragraph and character format definition.

Ø To activate the form, you must enter the First page and the Default paragraph as Basic settings.

To start with this is good..

For further help you can revert back.

Regards,

Suruchi

Former Member
0 Kudos
106

Hi

Use transaction code : SE71.(For script language)

and SE38: For diven program.

Thanks

Sasmita