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: 
Read only

Printing Label In SAPScript

Former Member
0 Likes
2,268

Hi All,

I am facing a problem in Printing a Label in SAPScript.

Kindly find the following code snippet.

Request to give the explaination of the below code.

FO40,37A0N,30,35FRFDSHIP FROM:^FS

FO40,87A0N,30,35FRFD&SHIP_POINT-LINE1&^FS

FO40,137A0N,30,35FRFD&SHIP_POINT-LINE2&^FS

FO40,187A0N,30,35FRFD&SHIP_POINT-LINE3&^FS

FO40,237A0N,30,35FRFD&SHIP_POINT-LINE4&^FS

FO40,287A0N,30,35FRFD&SHIP_POINT-LINE5&^FS

Points Assured.

Regards.

Viji.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,261

Hi,

Labels are the small sticker say the address stickers which you will put on the envelops which carries the mails to customer.

To create the lables you need to create as many main windows in one page restricted to 100 main windows. Put your code in the text elements of the main window. You will need to put code only in one window's element. Because the text are attached at the window level, not at the page window level.

To create labels in SAPSCRIPT, you will have to define multiple MAIN WINDOWS in the Page Window.. try the following steps..

Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.

1. Create a page window and assign it to a page.

2. Choose Edit --> Main windows.

A dialog box appears.

3. Enter values in the fields Area width and Area height in accordance with the input guidelines for main windows.

4. Enter values in the fields Spacing and Number in the Horizontal group if you want to use multiple columns. You can ignore the fields in the Vertical group.

5. Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the Horizontal and Vertical groups.

Also Check these links.

Regards,

Shiva Kumar

Hi All,

I am facing a problem in Printing a Label in SAPScript.

Kindly find the following code snippet.

Request to give the explaination of the below code.

FO40,37A0N,30,35FRFDSHIP FROM:^FS

FO40,87A0N,30,35FRFD&SHIP_POINT-LINE1&^FS

FO40,137A0N,30,35FRFD&SHIP_POINT-LINE2&^FS

FO40,187A0N,30,35FRFD&SHIP_POINT-LINE3&^FS

FO40,237A0N,30,35FRFD&SHIP_POINT-LINE4&^FS

FO40,287A0N,30,35FRFD&SHIP_POINT-LINE5&^FS

Points Assured.

Regards.

Viji.

4 REPLIES 4
Read only

Former Member
0 Likes
1,262

Hi,

Labels are the small sticker say the address stickers which you will put on the envelops which carries the mails to customer.

To create the lables you need to create as many main windows in one page restricted to 100 main windows. Put your code in the text elements of the main window. You will need to put code only in one window's element. Because the text are attached at the window level, not at the page window level.

To create labels in SAPSCRIPT, you will have to define multiple MAIN WINDOWS in the Page Window.. try the following steps..

Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.

1. Create a page window and assign it to a page.

2. Choose Edit --> Main windows.

A dialog box appears.

3. Enter values in the fields Area width and Area height in accordance with the input guidelines for main windows.

4. Enter values in the fields Spacing and Number in the Horizontal group if you want to use multiple columns. You can ignore the fields in the Vertical group.

5. Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the Horizontal and Vertical groups.

Also Check these links.

Regards,

Shiva Kumar

Read only

ritesh_dugad2
Active Participant
0 Likes
1,261

Hi,

Are you using Barone software to print labels?

You have to check the lines SHIP_POINT-LINE1/SHIP_POINT-LINE2/SHIP_POINT-LINE3/SHIP_POINT-LINE4/SHIP_POINT-LINE5. These have to be replaced by internal table fields coming from your print program inorder to display the text on the label.

FO40,37A0N,30,35FRFDSHIP FROM:^FS

FO40,87A0N,30,35FRFD&SHIP_POINT-LINE1&^FS

FO40,137A0N,30,35FRFD&SHIP_POINT-LINE2&^FS

FO40,187A0N,30,35FRFD&SHIP_POINT-LINE3&^FS

FO40,237A0N,30,35FRFD&SHIP_POINT-LINE4&^FS

FO40,287A0N,30,35FRFD&SHIP_POINT-LINE5&^FS

Try this. Hope it will help.

Read only

Former Member
0 Likes
1,261

Resolved.

Points awarded.

Regards,

Viji

Read only

0 Likes
1,261

Hi ..

Could You Let me know how did You that???

Regards,

Sg