Image in tcode se78.
Well I uploaded a logo through tcode se78.
The image was initially in .jpg format. I converted it into .bmp using paintbrush.
The background of the logo is white. But when I upload this logo into sap through se78 the background gets a light grey shade & is also reflected in print.
Now I don't want the grey shade & want the background of the logo to be white.
Kindly suggest a solution.
Hi All,
even i am getting same problem. I tried the same.
conveted 256 color bitmap and then uploadded it. not working. again back ground is grey.
Can any boady explainhow to seleve it.
REgards,
Kishan
Similar Messages
-
Uploading image file using tcode se78 occuring some Error
Hai Gurus
I am uploading image file using tcode se78 but while Uploading it giving some error i cant resolve the problem so any one help me plz
Error "Graphic LOGO could not be saved (2LOGO)"
Regards
SelvendranHai
Thanks
I had done in all method but i can't save it
error is coming ..so plz help me to upload the image
Error "Graphic LOGO could not be saved (2LOGO)"
Regards
Selvendran -
Finding the URL of the image stored in SE78
Hi experts,
I have a requirement where i need to retrieve the URL of the image stored in SE78. I stored an image with a name in SE78. Now if i give the image name as input, it should return the path of the image location as an URL format.
Is it possible to get the URL for the given image name?
Pls help me out..Hi,
My requirement is to display the image stored in SE78 in my HCM form. This form accepts the image URL as input.
So, i want to know how to retrieve the URL of that image stored in SE78.
Pls help me out. -
Hello,
I have to print fotographs on a list.
I understood that first the picture must be imported by SE78, but I have to do that in background. Therefore I wrote a little report for the import, and it works.
But the problem is that I need a BMP or TIF file to start the import, and our picturefiles are all in JPG format !
Is there any possibility to import JPG files ?
Please can someone help me ?
Regards, Carine.
Message was edited by: carine du boisfor uploading Tif files u can use program RSTXLDMC while for BMP images use Tcode SE78. Hope this works.
Moreover while uploading Tiff images make sure that these are converted from JPEG to TIFF Using Adobe Photoshop otherwise one gets error in TIFF vesion or so -
Problem in Uploading Transparent images in SE78
Hi,
I am trying to upload an image (Company Logo) with a transparent background in SE78. The file format at the time of upload is TIFF (since bitmap does not support transparency).
However I get an error message "Erroneous TIFF file". Can anyone help me out please, as we have a requirement to print this logo on a check using a laser printer.
Thanks and Regards,
AdityaHello All,
I got the solution to this problem.
You take an image and save it as a 256 colour bitmap (Using for example the windows Paint application)
Then you upload this image via transaction SE78 as a graphic.
<b>When you save the bitmap as a 256 colour BMP file</b>, then the white background stays as a "White/Transparent Background"...which means for a laser printer...it does not try to print a "White Area".
Instead, if you use a 24-bit high resolution bitmap, you could get a Creamy layer in the white area of the BMP and this is not desired if you are printing using a laser printer on a coloured paper
So use a 256 colour Bitmap for these "Transparent" logos
Regards,
Aditya -
Import image via SE78 - terrible quality + dimension loss
Hello,
When I import an image with transaction SE78, the resulting image in SAP looks really terrible with print preview. I thought it would perhaps only look bad with the preview, but in the generated PDF that uses the image, it looks just as bad.
While the original image was very sharp, it becomes very pixelated in SAP. Also the colours are deteriorated. The original image has a shadow going smoothly from dark to light grey, but in SAP it doesn't look smooth at all, it's just 2 shades of grey and that's it.
The dimensions are also (slightly) different. The original image was 3,88 x 29,70 cm, in SAP it's only 3.73 x 28.52 cm.
Is there any other way perhaps to import images that don't result in such a loss of quality and size? It is obviously very important that they are of good quality.
Thanks!Hello,
Thanks. I have used this before for HTML solutions, but how could I use the images from here in, for example, SmartForms? Is that possible?
The idea is to create a PDF file, so if there is a solution that doesn't involve SmartForms but gives a comparable result (with better images), that's good enough for me. -
I have a bmp image uploaded with se78.
Can anybody tell me how could I write that image into a word file using ole2?
ThanksHi All,
I have a similar requirement as mentioned in this thread. Images should have been loaded onto SAP server (could be Application server / SE78 / MIME etc) and they should be downloaded to Word using OLE.
Note that my requirement is not to load image / bmp files from presentation server to word file, rather the files should be from SAP server to word file.
Uploading the image / bmp onto SAP server is not the issue here, picking up a image from SAP and downloading the same to word using OLE is where I am ended with no clue.
Please let me know if anyone had come across this scenario.
Rgds,
Somu -
Image not printed in SapScript, only after page break
Hi,
I have a problem in printing an image (stored as text) in a sapscript. The image was uploaded correctly from a TIF file in tcode SE78. The image contains a signature and I need to print it at variable positions within the form. That is I need to print it in the MAIN window. The image does not get printed when a page break occurs when outputing the text element containing the picture. If the page break occurs when outputing any (other) text, the image is printed correctly (after that text).
Has anybody else encountered this problem? Could it be a sapscript bug?
Thx in advance.
Claudiu>
> Looks like the last page is not called !!! I can see data only on one page and it shows page 1 of 1.
>
> "make sure ST_TEMP is filled with data" how do I do this ?? My program line node has the data filled in the internal table it_temp and the loop node has the data transferred to st_temp for every row. How can I debug the program lines code ??
> > Have a break <username> in the program lines. and check it_temp has data in it.
> "use a command and call the last page at end of the loop on internal table"...how to do this ?
> > like program lines there is a "command line" do a little search on SDN for more info on how to use command lines for next page.
> -
IN SE78 : WHILE UPLOADING THE TIF FILE I AM GETTING THE ERROR
Hi ,
While uploading the drawing in se78 . iam getting the errror
"erroneous tif formate"
. PLz help me to upload the tif file thro se78.
even i removed the compression check box ,.
Thanks,
RaniHi
You can upload logo using SE78 or using program RSTXLDMC
or by using OAER
Steps for uploading Logo :-:
1. Goto the transaction OAER
2. Enter the class name as 'PICTURES'
3. Enter the class type as 'OT'
4. Enter the object key as the name of the logo you
wish to give
5. Execute
6. Then in the new screen select Standard doc. types
in bottom window
Click on the Screen icon
Now, it will ask for the file path where you have
to upload the logo
7. Now you can use this logo
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.
8) Use TCode SE78 to upload new pictures and logos.
look at Thread Dynamic Graph in smartforms
Refer the links also -
Re: Dinamic Graph in smartforms
How to get file perperties in Unix server
Regards
Selvapandian Arunachalam -
Difference between se78 and progra RSTXLDMC
Hi Experts,
i would like to upload a logo into script, i checked there are 2 options as mentioned in the sbject. which one is better.
Regards
Rama.Hi,
To print logos in SapScripts we can use either of the method:
RSTXLDMC is the standard program used for uploading the logo to script (to upload image in tiff format).
i.e Convert the logo to a TIFF file.
Use the program RSTXLDMC to convert the TIFF file to standard text.
Print this using the INCLUDE command:
INCLUDE ZLOGO OBJECT TEXT ID ST
OR
Upolad in the R3 using Se78 and use the Include statement in the script.
2)For bitmaps (*.bmp)
Go to transaction SE78
Choose BMAP under GRAPHICS
Choose Import Graphic (F5)
Select the image and upload
In SE71 choose Insert->Graphics and then choose the image for display
NOTE :Uploading .TIFF images with RSTXLDMC program is obsolete and sometimes
complicated, a better way is using TCode SE78 using .BMP files.
May it helps you.
Regards.
DS. -
How To: write a logo image in a list display report
I have a simple list report that I create with a bunch of write statements. How can I insert a Logo image on this report ?
I have my Logo image loaded in SE78 as a bitmap graphic.
Not sure if with the write statement, I can write out this logo on my report.
I would think this should be able to be done, just not sure how.
Thanks,
DavidHi David, check this code.
REPORT zdem_555 .
DATA: docking TYPE REF TO cl_gui_docking_container,
picture_control_1 TYPE REF TO cl_gui_picture,
url(256) TYPE c .
DATA: query_table LIKE w3query OCCURS 1 WITH HEADER LINE,
html_table LIKE w3html OCCURS 1,
return_code LIKE w3param-ret_code,
content_type LIKE w3param-cont_type,
content_length LIKE w3param-cont_len,
pic_data LIKE w3mime OCCURS 0,
pic_size TYPE i.
START-OF-SELECTION.
PERFORM show_pic.
WRITE : /'hello see the picture ........'.
*& Form show_pic
FORM show_pic.
DATA: repid LIKE sy-repid. repid = sy-repid.
CREATE OBJECT picture_control_1
EXPORTING parent = docking.
CHECK sy-subrc = 0.
CALL METHOD picture_control_1->set_3d_border
EXPORTING
border = 5.
CALL METHOD picture_control_1->set_display_mode
EXPORTING
display_mode = cl_gui_picture=>display_mode_stretch.
CALL METHOD picture_control_1->set_position
EXPORTING
height = 100
left = 700
top = 1
width = 200.
*CHANGE POSITION AND SIZE
IF url IS INITIAL.
REFRESH query_table.
query_table-name = '_OBJECT_ID'.
*CHANGE IMAGE NAME BELOW
query_table-value = 'BIKER'.
APPEND query_table.
CALL FUNCTION 'WWW_GET_MIME_OBJECT'
TABLES
query_string = query_table
html = html_table
mime = pic_data
CHANGING
return_code = return_code
content_type = content_type
content_length = content_length
EXCEPTIONS
object_not_found = 1
parameter_not_found = 2
OTHERS = 3.
IF sy-subrc ne 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-*msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'image'
subtype = cndp_sap_tab_unknown
size = pic_size
lifetime = cndp_lifetime_transaction
TABLES
data = pic_data
CHANGING
url = url
EXCEPTIONS
OTHERS = 1.
ENDIF.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = url.
ENDFORM. "show_pic -
HI experts ,
I am doing modification to customized sap script which is done by previous abaper.
There is a image had been attached in a window like this :
BITMAP &Z_SIGN1& OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 150
But when i searched in se78 i dont find Z_SIGN1.
Do you experts why there is a image Z_SIGN1 in se78.
But there is a similiar image but with different name DIR01.
How to find the Z_SIGN1 in sap.
Please guide me.
Thank you very much.
regards,
s.saravannanHI friend,
Just i m calling the image into the script ..
The moment i call the image can i change the name of the image.
is it possible.
regards,
mrsara27.... -
Module pool Image is not changeing
Hi
In my report Im calling a screen with Image. I have different images uploaded using SE78. But everytime same image is comming, not different. If I click on different ouput image the workarea is changing (WTAB-IMAGE) but the same image is comming. The code is below. I am unable to trace the bug. Please help.
REPORT ZKD_PIC_ON_SCREEN.
TYPES : BEGIN OF TTAB,
IMAGE TYPE CHAR70,
END OF TTAB.
DATA : ITAB TYPE STANDARD TABLE OF TTAB,
WTAB LIKE LINE OF ITAB.
START-OF-SELECTION.
" all image are different
WTAB-IMAGE = 'AERDE04-C'.
APPEND WTAB TO ITAB.
WTAB-IMAGE = 'AETDF07-C'.
APPEND WTAB TO ITAB.
WTAB-IMAGE = 'XPFTD01-C'.
APPEND WTAB TO ITAB.
WTAB-IMAGE = 'XPFTF02-C'.
APPEND WTAB TO ITAB.
LOOP AT ITAB INTO WTAB .
WRITE AT : /2 WTAB-IMAGE.
HIDE WTAB-IMAGE.
ENDLOOP.
AT LINE-SELECTION.
IF WTAB-IMAGE IS NOT INITIAL.
CALL SCREEN 700 STARTING AT 10 10 .
" created a Custom control name PICTURE_CONTAINER
ENDIF.
*& Module STATUS_0700 OUTPUT
* text
MODULE STATUS_0700 OUTPUT.
SET PF-STATUS '700'.
* SET TITLEBAR 'xxx'.
DATA: W_LINES TYPE I.
TYPES PICT_LINE(256) TYPE C.
DATA :
CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
EDITOR TYPE REF TO CL_GUI_TEXTEDIT,
PICTURE TYPE REF TO CL_GUI_PICTURE,
PICT_TAB TYPE TABLE OF PICT_LINE,
URL(255) TYPE C.
DATA: GRAPHIC_URL(255).
DATA: BEGIN OF GRAPHIC_TABLE OCCURS 0,
LINE(255) TYPE X,
END OF GRAPHIC_TABLE.
DATA: L_GRAPHIC_CONV TYPE I.
DATA: L_GRAPHIC_OFFS TYPE I.
DATA: GRAPHIC_SIZE TYPE I.
DATA: L_GRAPHIC_XSTR TYPE XSTRING.
CALL METHOD CL_GUI_CFW=>FLUSH.
CREATE OBJECT:
CONTAINER EXPORTING CONTAINER_NAME = 'PICTURE_CONTAINER',
PICTURE EXPORTING PARENT = CONTAINER.
CALL METHOD CL_SSF_XSF_UTILITIES=>GET_BDS_GRAPHIC_AS_BMP
EXPORTING
P_OBJECT = 'GRAPHICS'
P_NAME = WTAB-IMAGE " It is changeing but Image is not changing
P_ID = 'BMAP'
P_BTYPE = 'BCOL'
RECEIVING
P_BMP = L_GRAPHIC_XSTR
* EXCEPTIONS
* NOT_FOUND = 1
* INTERNAL_ERROR = 2
* others = 3
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
GRAPHIC_SIZE = XSTRLEN( L_GRAPHIC_XSTR ).
L_GRAPHIC_CONV = GRAPHIC_SIZE.
L_GRAPHIC_OFFS = 0.
WHILE L_GRAPHIC_CONV > 255.
GRAPHIC_TABLE-LINE = L_GRAPHIC_XSTR+L_GRAPHIC_OFFS(255).
APPEND GRAPHIC_TABLE.
L_GRAPHIC_OFFS = L_GRAPHIC_OFFS + 255.
L_GRAPHIC_CONV = L_GRAPHIC_CONV - 255.
ENDWHILE.
GRAPHIC_TABLE-LINE = L_GRAPHIC_XSTR+L_GRAPHIC_OFFS(L_GRAPHIC_CONV).
APPEND GRAPHIC_TABLE.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
TYPE = 'IMAGE'
SUBTYPE = 'X-UNKNOWN'
SIZE = GRAPHIC_SIZE
LIFETIME = 'T'
TABLES
DATA = GRAPHIC_TABLE
CHANGING
URL = URL.
CALL METHOD PICTURE->LOAD_PICTURE_FROM_URL
EXPORTING
URL = URL.
CALL METHOD PICTURE->SET_DISPLAY_MODE
EXPORTING
DISPLAY_MODE = PICTURE->DISPLAY_MODE_FIT_CENTER.
CLEAR : L_GRAPHIC_XSTR, URL, CONTAINER.
ENDMODULE. " STATUS_0700 OUTPUT
*& Module USER_COMMAND_0700 INPUT
* text
MODULE USER_COMMAND_0700 INPUT.
DATA : OK_CODE LIKE SY-UCOMM.
CASE OK_CODE .
WHEN 'OK'.
CLEAR OK_CODE .
LEAVE TO SCREEN 0.
WHEN 'CANC'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0700 INPUT
Edited by: KaushiK©Datta on Feb 25, 2009 11:24 AMTry to call:
CONTAINER->INVALIDATE_CACHE
Regards.
Jordi -
I upload an image on transaction SE78 for using with smartforms .
Now ,at this moment i need to download it from sap machine to a local machine. We lost the image on the local machineHi,
One smart solution.
May I know where is your image in SE78 or OAOR.
Any way where ever it is you click on that OBJECT ID to view it.
After you get the image in SAP system in keyboard press PRINT SCREEN then place in MS PAINTER.
you can edit it in any way. again re-load.
You can go through my idea.
Here it is very easy and can be manageable in any way.
Thanks.
The same issue I faced long back.and i solved in this way.
If you have any solution to download plsss place it in forum.
If this helps you make sure to award points.
Message was edited by: Deepak333 k -
Picture upload in background using TCode OAOH
I have a requirement to upload picture using Tcode -OAOH.
I'm trying to use call transaction in background mode.
Let me know how to give the picture file name.
Any suggestion on uploading picture using OAOH in background
Thanks in advanceHI
for uploading picture su have tcode se78 and program rstxldmc .
but se78 u use it for forms(smaretforms and scripts)
but remember tht for loading pics u need to have either .BMP or .JPEG fmt only
Maybe you are looking for
-
Bug while deleting values in form and it's parent member is dynamic calc
Hi, I'm having a problem that seems to be a bug. I am trying to delete the values of member A11 in the following hierarchy, in a Planning Form: A (Dynamic Calc) |_A1 (Dynamic Calc) |__A11 (Store) |_A2(Dynamic Calc) !_A21 (Store) However when I save t
-
SOA managed server and SOA infra not starting
Hi I have my database and listener up and running. I can also successfully start SOA Administration server. But I am unable to start SOA managed server. I can see SOA managed server getting started with WARNING and SOA infra always fails to start. I
-
Hi experts, the settings are done in sender JDBC channel is done as: Poll Interval: 1800 secs Availability Time: Daily: At 5:00:00 AM for 30 Minutes according to logic, the channel start polling at 5:00:00 and stop at 5:30:00. After that It will not
-
Photoshop video won't import into after effects
Hello, I've been trying to import a .psd file that has video into After Effects CC and I'm getting an error message: After Effects error: Problem with Photoshop document "xxxx". Quicktime is not installed or is too old of a version. This doesn't make
-
Images are desaturated after being worked on in Camera Raw
Ok here's what I did. I'm working on processing 100 Jpeg pictures and I loved how quick Camera Raw was so I did all the corrections in there and hit done. I later went back and opened them all again and saved all the changes. They looked great. I clo