cancel
Showing results for 
Search instead for 
Did you mean: 

SMARTFORM: No image

0 Kudos

Hello people,

I have a case:

I deleted an image with the Transactioncode SE78 which was using in my SmartForm. After that I wanted to test my SmartForm and I got a failure.

How can I tell my SmartForm that it should process even if it has no image more?

I thank you all for your hints.

Kind regards

goekselin

Accepted Solutions (0)

Answers (7)

Answers (7)

0 Kudos

Hello,

wow. That is really cool.

I have to learn very much.

I THANK YOU VERY MUCH!!!!!!!!!!!!!!!!!!!

Kind regards from Germany

gokselin

0 Kudos

Hi,

what do you mean with "SSFXSFBMP"?

I did that. I wrote as condition: G_NAME not equal ' '.

But it didn't function.

Edited by: goekselin acar on Feb 21, 2008 4:50 PM

Edited by: goekselin acar on Feb 21, 2008 4:51 PM

Former Member
0 Kudos

hi

SSFXSFBMP is table stores all logos there if what evever given logo name is not existing at the movement u can display .

write condition :

SSFXSFBMP-TDOBNAME ne '<logoname>

ok try it it will work

If it useful reward me .

thanks ,

Suresh

0 Kudos

Again.

I thank you all for your answers.

Now, I found the way how to add images dynamically.

My procedure:

1. I created 3 global variables:

- Image_Name TYPE TDOBNAME

- Image_ID TYPE TDIDGR

- Image_OBJECT TYPE TDOBJECT

2. I initialize the global varibales under tab Initialize:

Input Output

Image_Name Image_Name

Image_ID Image_ID

Image_OBJECT Image_OBJECT

3. Under Tab initialize with ABAP-Code:

Image_Name = 'Mylogo'.

Image_ID = 'GRAPHICS'

Image_OBJECT = 'BMAP'.

4. Create a Graphic-Node

Enter the global variables:

Name = &Image_Name&

Object = &Image_OBJECT&

ID = &Image_ID&

After you test your form you can see your image

I wanted to publish my procedure for all who would like to do it as the same way.

Kind regards

gokselin

Former Member
0 Kudos

Hi ,

you can write condition like SSFXSFBMP-NAME = ' ' in condition tab .it's will work because its check whetther that logo existing in document server or not .if logo exists its not displayed . if doesnot exists its will execute smartform and displays output .

if any clarification reply me .

if its useful reward me .

thanks,

Suresh

0 Kudos

thank you.

For me as a newcomer in abap I will try. But really thank you all for the hints.

Kind regards

goekselin

0 Kudos

At first,

I thank you all for the answers. Very kind of YOU.

Why the case:

I created a SmartForm for the customer with his logo. Only for the case. He deletes the logo from the server. Then I have the failure.

The logo is "dynamically" putted to the smartform.

Are these information enough.

It is my first time creating a post

with regards

goekselin

Former Member
0 Kudos

you can write a code for your logo window and ask it not to goto logo window for that customer

Former Member
0 Kudos

hi,

so now u don't need the logo right? if so u delete the graphic part from that window. Eventhough if u delete the logo window it won't harm ur smartform.

Regards.

pradeep

Former Member
0 Kudos

hi goekselin acar ,

why dont u just remove the image in your smartform