cancel
Showing results for 
Search instead for 
Did you mean: 

smartform ( very urgent)

former_member190312
Active Participant
0 Kudos

Hi all,

i can see my company <b>LOGO & company address</b> in the SAP SCRIPT &

i want to put the same logo & address in smartform.

In script, they put like below

INCLUDE ZHEX-MACRO-LOGO_SHP OBJECT TEXT ID ST LANGUAGE EN

i tried to put a include text in smartform & i added

Text name -LOGO_SHP ,

text object - TEXT

text id - ST

lan - EN

BUT nothing is comming in output.

so, how can i get the same logo ( which is present in script ) in smartform ??

any correct answers will be rewarded?

Thanks

pabitra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

You can upload alogo in scripts through tcode SE78

You can upload the Bmp fiel to scripts and smartforms

In scripts you have to convert into tiff file and to use

see the following

SAP SCRIPT

To create a logo in SAP printouts just do the following

1. Save a Logo using Imaging, Paint shop Pro or Corel Draw as Tiff file.

2. Run program RSTXLDMC and enter the following parameters

Enter file name C:\COMPLOGO.TIF

UOM CM

Line width for text 132

Text name ZHEX-MACRO-COMPLOGO

Text ID ST

Text language = E

Number of Tiff gray levels (2,4,9) 2

3. Then Create a new window 'COMP' with attributes;

Window COMP description Company Logo

Left margin 7.00 CH window width 10.00 CH

Upper margin LN window height 8.00 LN

Finally in the text element, mention

/: INCLUDE 'ZHEX-MACRO-COMPLOGO' OBJECT TEXT ID ST LANGUAGE 'E'.

Please note that if object name is not indicated as 'ZHEX...’ the logo may not be printed!

You will not be able to see the logo in a test print. The same will be printed in actual printout.

SMARTFORM

1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)

2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description

3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures

4) Select any picture and set its Resolution in DPI

5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo

6) Set any other parameters if required, save and activate.

7) If there is only 1 Window in the forms, set it as Main Window in general attributes.

😎 Use TCode SE78 to upload new pictures and logos.

Go to transaction SE78.

Follow the path given below (on the left windows box) :-

SAPSCRIPT GRAPHICS --> STORED ON DOCUMENT SERVER --> GRAPHICS --> BMAP

Enter the name of the graphics file on the right side and Go to the menu GRAPHIC --> IMPORT

The program is RSTXLDMC, the logo needs to be save in .TIF format.

Use transaction SE78 to inmport graphics to SAP.

In the form painter, you can either include directly to the form using menu Edit->Graphic->Create or using the INCLUDE statement in a window.

To use an INCLUDE stanment, goto into the woindow script editor and use menu Include->Graphic. The include can look like this for a bitmap:

/: BITMAP MYLOGO OBJECT GRAPHICS ID BMAP TYPE BMON

look at Thread Dynamic Graph in smartforms

Refer the links also -

http://help.sap.com/saphelp_erp2004/helpdata/en/3d/a458c7a4ab2a4382c5b6bfe988edcd/frameset.htm

Go through these pdf docs....

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_FORMS.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYXXFORM/PYINT_FORMBUILDER.pdf

SAPScripts

Link for SAP Scripts (step by step procedure)

http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Create_A_SAPSCRIPT_Form/How_to_Create_SAPS...

http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf

http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf

http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf

http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf

http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf

http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-sub...

SAP SCRIPT FIELDS

http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm

scripts easy material

http://www.allsaplinks.com/sap_script_made_easy.html

Regards

Pavan

Former Member
0 Kudos

Hi,

The standard text logo can be created directly by uplodaing the file in your PC. So the corresponding logo need not exist in the system as a Graphic.

The simplest way will be to see the print preview of the std text ZHEX-MACRO-LOGO_SHP in SO10, take the screen shot of the logo and save it in your desktop as BMP file. Then upload this file through SE78 to get your graphic.

Regards,

KK