on 02-20-2008 10:05 AM
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
Hello,
wow. That is really cool.
I have to learn very much.
I THANK YOU VERY MUCH!!!!!!!!!!!!!!!!!!!
Kind regards from Germany
gokselin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
thank you.
For me as a newcomer in abap I will try. But really thank you all for the hints.
Kind regards
goekselin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi goekselin acar ,
why dont u just remove the image in your smartform
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.