Application Development 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: 

IMAGE IN SAPSCRIPTS

Former Member
0 Kudos

Hi.

I am trying to insert a image in a sapscripts using the code

INCLUDE &T024E-TXKOP& OBJECT TEXT ID ADRS LANGUAGE &EKKO-SPRAS& PARAGRAPH FT

INCLUDE 'ZGOCCO' OBJECT TEXT ID ST PARAGRAPH FT

where ZGOCCO is the name of the image, but the image does not appear.

How i can solve it.

Thanks.

6 REPLIES 6

sreeramkumar_madisetty
Active Contributor
0 Kudos

Hi

Check the Image type whether that image having diffrent file types.?

Regards,

Sreeram

Former Member
0 Kudos

Hi

Try this

<b>INCLUDE ZGOCCO OBJECT TEXT ID ST PARAGRAPH FT</b>

<b>remove the quotes for ZGOCCO</b>

and make sure that image is available

Regards Rk

kiran_k8
Active Contributor
0 Kudos

Andres,

1.Frist Check whether you have uploaded the logo in se78.

2.Even though if you have uploaded in Development but checking the same in Quality it won't work.We need to upload the logos again in Quality and Production.

K.Kiran.

Former Member
0 Kudos

Hi.

How i can check the image tipe.

0 Kudos

HI

Just check the <b>sapscript-subrc </b> value after execution of this include statement in debugging

The INCLUDE command returns a status code in the SAPSCRIPT-SUBRC symbol:

if the value is

0: the text include was successful.

1: the command could not be executed because it contained syntax errors.

2: the rules governing the text to be included were not followed (see above).

This value cannot occur if the command is used in a SAPscript form.

4: the specified text could not be found.

just check this value and find out the reason first

Regards Rk

0 Kudos

goto search--->type the image name like xyz.bmp and press enter

if the image exists it will show the path

to find out the image type

type *.bmp and search

*.gif and search again

it shows the list of all images....