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

uploading image into scripts

Former Member
0 Likes
750

hi,

can any one pls tell me how to upload a image or logo on pagewindow as well as how to align the image.

Thanks in advance.

Ashok

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
713

hi

good

try this

The steps for including graphical elements in the layout set are as follows

The graphical element (like company logo) should be in valid graphic file format like .bmp or .jpg

Use appropriate software to convert the above file into a .TIFF file

Use report RSTXLDMC to upload this file as a text module in SAP

Execute the above program from the ABAP /4 editor

Enter the location of the .TIFF file on the PC

Specify BMON or BCOL as the raster image type

The SAP system suggests a name for the file ( like ZHEX-MARCO-* ). The * indicates the type of file. For e.g. if the file contains a logo then the name can be ZHEX-MACRO-LOGO

The ID should be ‘ST’ and give the logon language

Running the program will convert this .TIFF file into a text element

Incorporate this converted logo in the appropriate window under the appropriate text element by giving

INCLUDE ZHEX-MACRO-LOGO OBJECT TEXT ID ST in the first line

thanks

mrutyun^

7 REPLIES 7
Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
713

Hi ashok

Using Tc: se78 we can upload the image into scripts.

Regards,

kumar

Read only

Former Member
0 Likes
713

HI,

You can use standard text for that.

Define a standard text for ex. 'LOGO'and write the below code inside it:

BITMAP 'LOGO_NAME' OBJECT GRAPHICS ID BMAP TYPE BMON

and then include that text with its id at your desired window like this:

INCLUDE 'LOGO' OBJECT TEXT ID ST LANGUAGE EN

REWARD HELPFUL ANSWERS.

Regards,

Siddhesh Sanghvi

Read only

Former Member
0 Likes
713

Hi,

Check the link below:

http://sap-img.com/ts001.htm

It explains step-by-step process of uploading image in a sapscript.

Hope this helps.

Reward if helpful.

Regards,

Sipra

Read only

Former Member
0 Likes
713

Use RSTXLDMC to upload files

Read only

Former Member
0 Likes
714

hi

good

try this

The steps for including graphical elements in the layout set are as follows

The graphical element (like company logo) should be in valid graphic file format like .bmp or .jpg

Use appropriate software to convert the above file into a .TIFF file

Use report RSTXLDMC to upload this file as a text module in SAP

Execute the above program from the ABAP /4 editor

Enter the location of the .TIFF file on the PC

Specify BMON or BCOL as the raster image type

The SAP system suggests a name for the file ( like ZHEX-MARCO-* ). The * indicates the type of file. For e.g. if the file contains a logo then the name can be ZHEX-MACRO-LOGO

The ID should be ‘ST’ and give the logon language

Running the program will convert this .TIFF file into a text element

Incorporate this converted logo in the appropriate window under the appropriate text element by giving

INCLUDE ZHEX-MACRO-LOGO OBJECT TEXT ID ST in the first line

thanks

mrutyun^

Read only

0 Likes
713

hi.

thanks for answer.

could u pls tell me how to align the logo script on right side of the page or centre of the top cenere of the page.

thanks in advance

Ashok

Read only

Former Member
0 Likes
713

Hi,

Upload the Logo with SE78 or the RSXLDMC program. by this way we can upload the logo from the system to SAP. so the logo will be avialble in the SAP. after that goto SAP SCRIPT and goto window then Insert and Graphic then insert the logo ...

Regards

Sudheer