cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Text Element in SAP-Script and Box

abhibrave2002
Explorer
0 Kudos
7,098

Hi Gurus

Q1.what is the meaning of text element's in sap-script.e.g.

/E INSPECTION_STATION_INFO

/E SAMPLE_INFO

/E PHYS_SAMPLES_HEADLINE..

I have to use these elements in my script.i am not able to understand what does it mean?

Q2.how we can draw a Tabular format in Script?

Q3.How we can draw Box?

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Text Elements

You can define text elements (window texts) for each window. On the Form: Request screen, choose Edit ® Text elements.

The print program accesses text elements by name, formats them and prints them in the respective window. That is, the program can decide which text elements should be printed in a particular window. It calls these text elements by name to print them. You must therefore change text element names in the print program if you make any changes to text element names in a form.

In the layout of a text element, you can use only the paragraph and character formats defined in the form.

Example of a text element in an order confirmation:

/E ITEM_LINE

IL &VBDPA-POSNR&,,&VBDPA-MATNR&,,&VBDPA-ARKTX&

/ &'Customerarticlenumber 'VBDPA-IDNKD' '&&'Position

/ 'VBDPA-POSEX&

This example shows a section of a main window of a form, with an item line of an order confirmation. The /E in the tag column is used to identify the text as a text element, ITEM_LINE is the name of the text element.

Default Text Element

At the start of a window, you can define a text element without the /E command in the paragraph format column. This text is always printed at the start of the window. It is not necessary to insert this text explicitly via a print program.

For more go to this link: Character formats and attributes

http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm

Boxes:

Use the following code

/: BOX XPOS 1 MM YPOS 2 MM WIDTH 20 MM HEIGHT 40 MM FRAME 10 TW.

Box is the command used for printing box in script.

XPOS - x- axis position

ypos - y axis position

http://help.sap.com/saphelp_470/helpdata/en/d1/802ec5454211d189710000e8322d00/content.htm

Regards,

Omkaram.

Answers (1)

Answers (1)

Former Member
0 Kudos

Check...

[www.revver.com/video/650256/abap-text-elemens]

[www.revver.com/video/605386/create-a-text-box-from-existing-text]

[sap.ittoolbox.com/groups/technical-functional/sap-abap/sap-script-printing-1753129]

[www.revver.com/video/650256/abap-text-elemens]