Logo in sapscript

Hi,
I want to add logo in my script form. i used se78 to import my logo and add in transport request. But when i called the logo in form i encountered dump error. stated that the logo does not exits etc...
can anyoe help me on this.
thanks so much.

Hi,
goto se78
click on GRAPHICS general graphics
you get bitmap images.
double click on it.
give the name there and select color bitmap image.
press f5(import)
in the field file name press f4
you can upload pictures from your pc.
**********to upload in your sap-script****
then go to se71.
go to page windows of your sap-script,
double click on the window you want to upload the picture
and press f9.
in the editor goto insert----->graphics.
then you select tab stores on document server
give the name of your image and select color or balckn white .
press enter
you get your image in your script
Regards,
Anirban

Similar Messages

  • How to include a logo in sapscript

    how to put a logo in sapscript and how to attach it with the tp

    Hi,
    U have a pust button Text Elements if u click on it, it takes u to the editor where we write code in script.
    There follow the menu path
    Insert ---> Graphics
    Now u get a Pop-up  Include Graphic . There u have two Tabs. In that select the Tab Stored on Document Server. Select the radio button Black and White or Color depending on ur requirment.
    Give the name of the logo which u what to insert. If u dont know then press F4 then u get the list of logos which are present on the application server.
    Best regards,
    raam

  • How to add Logo in SAPSCRIPT

    Hi frnds,
    How I will upload Logo in SAPSCRIPT?
    I have created Header window, Now I want to add Logo in Header Window.
    Regards.

    Hi,
    These are the steps to be followed for uploading graphics in R/3 system
    1. First save the file as BMP
    2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
    make it Zoom as 100% and save as *.TIFF
    3. Open SE38 and execute program RSTXLDMC
    4. Give your TIFF file path name
    5. Select Bcol (for Color)
    6. TEXT ID will be ZHEX-MACRO-*.
    7. Inplace of * write your own logo name (ZCOMPANYLOGO)
    8. Execute the program
    9. Now Goto SE71 create your ZFORM
    10. Create logo window
    11. Goto text element of logo window
    or
    In 4.6x :-
    1. Goto SE71 Change the mode to GRAPHICAL
    2. Choose the Graph Tabstrips
    3. Now type in some name for the LOGO WINDOW
    4. Press the IMPORT BUTTON and then IMPORT the BMP file from your DESKTOP
    5. The code will be written automatically. You just need to drag and drop wherever you want
    the graphics to be.
    regards,
    Munibabu.K

  • Adding logo with sapscript

    Hai, gurus,
    I am new to sapscript,
    and my problem is add a logo with uses RSTXLDMC executable program.
    how to add a logo in sapscript.
    Please Help Me.

    Hi,
    As you are new to SAP Script. The following links might be helpful to you.
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    http://www.supinfo-projects.com/fr/2005/forms_sapscript_en/introduction/

  • Dynamic logo in sapscripts

    hi all,
    How do i create dynamic logo in sapscripts. i need to change the logo depending upon the company code. and there are 10 company codes. i have done my logic but how do i keep my variable.
    my varaible: complogo.
    thanxs in advance.

    Hi hari,
    make an if-statement for burks. You have to insert
    the logos as stadart-text.
    do this in script
    IF &BUKRS& = '0001'
    INCLUDE Z00001 OBJECT TEXT ID ST
    ENDIF
    IF &BUKRS& = '0002'
    INCLUDE Z00002 OBJECT TEXT ID ST
    ENDIF
    regards, Dieter

  • Can we add logo to sapscript Form Result while coverting to PDF?

    Hi Expert,
                    My requirement is, I have to covert Form Result to PDF.but while converting  Form result to OTF , Can we Add logo to the OTF data? Can logo be saved in text format? only then we can add logo to OTF data probably.
    Please Help.
      Thanks in Advance

    As you have probably searched the forum, you saw that you can get the sapscript result as OTF.
    Graphics are automatically handled by SAP which stores them in the OTF (RD and BM lines).
    And then you convert OTF to PDF as usually.
    So, where is the question?

  • Urgent! Graphic-logo in Sapscript form!!!

    How to insert Graphic in SapScript form???
    i tried many ways. it doesnt work!!!

    Hi
    These are the steps to be followed for uploading graphics in R/3 system
    1. First save the file as BMP
    2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
    make it Zoom as 100% and save as *.TIFF
    3. Open SE38 and execute program RSTXLDMC
    4. Give your TIFF file path name
    5. Select Bcol (for Color)
    6. TEXT ID will be ZHEX-MACRO-*.
    7. Inplace of * write your own logo name (ZCOMPANYLOGO)
    8. Execute the program
    9. Now Goto SE71 create your ZFORM
    10. Create logo window
    11. Goto text element of logo window
    or
    In 4.6x :-
    1. Goto SE71 Change the mode to GRAPHICAL
    2. Choose the Graph Tabstrips
    3. Now type in some name for the LOGO WINDOW
    4. Press the IMPORT BUTTON and then IMPORT the BMP file from your DESKTOP
    5. The code will be written automatically. You just need to drag and drop wherever you want
    the graphics to be.
    Please note that in 4.6c onwards, you can also used Windows Bitmap file ( .BMP).
    Refer this thread:
    How to change SAP SCRIPT logos at runtime

  • Dynamic change of logo in SAPSCRIPT

    hi,
    can u tell me how to dynamically change the logo based on company code when creating an invoice.to be more clear when i creatE aN invoice with company code 1000, i should get one logo and for invoice with companycode 2000 the logo should change.how to do this in SAPSCRIPT.
    REGARDS,
    SANJAY

    Hello,
    Plz refer to this link.
    How to change SAP SCRIPT logos at runtime
    Best Regards, Murugesh AS

  • Add logo to SAPscript Lable

    Hi,
    I want to add a logo (.tiff format) into a lable created with sapscript. I use a zebra ZM series printer for printing. How do I go about to add this logo to the lable? The logo is already uploaded to SAP and converted to text.
    Thx,
    Hein

    in ur sapscript use this statement in the logo windows.
    /: BITMAP ZFORM_LOGO OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 075
    Not for a TIFF in standard text format you don't.  You would use the INCLUDE command, but I agree, I don't know why anyone would use a TIFF and standard texts anymore...

  • Logo on sapscript

    hello everyone ,
            I upload a graphics in Transaction SE78 , name ZXXXX. then I want to use it in sapscript .
    in sapscript , I write the follwing code there .
    /:BITMAP 'ZXXXX' OBJECT GRAPHICS ID BMAP TYPE BCOL
    and this command works ,  but the logo displays in the left of the window . However , I want to see it in the middle
    of the window . and I tried to add the default paragraph in the window , but it seems work for text , not for graphics .
    So , I need help .
    Kind Regards
    Nick

    Check your Window Alignment in Page Windows,
    Goto Pagewindows of the SAPScript in SE71,
    Select the Logo Window,
    Change the Left Margins and Width Margins according to your Requirement,
    Check the Output.
    If Possible Include your Logos in Constant Window types.
    Regards
    Bala Krishna

  • Sapscript logo inverted

    Hi. We were having problem with the printing of logo in sapscript. WHen we use LOCL the company logo is inverted. We had this problem when we replaced the printer we r using as LOCL. Please advise what to do. What are the possible solutions to this problem?

    <i>
    <b>Symptom</b>
    Graphics are printed upside down from the SAP System when printed on HP Deskjets via generic device type SAPWIN.
    <b>Other terms</b>
    SAPlpd SAPWIN
    <b>
    Reason and Prerequisites</b>
    error in the Windows printer drivers of HP
    <b>
    Solution</b>
    This HP printing issue is fixed in BJ 1100 driver version Armstrong R233-L, in BJ990, in BJ 2550, and in BJ4050.
    We certainly require answers to the below questions and a contact person with mail and phone address.
    HP standard print drivers are located at HP Website :
    http://www.hp.com/country/us/en/support.html?pageDisplay=drivers
    alternative :
    Point&Print drivers (aka wizard drivers) for several printer models can be found here:
    http://www.hp.com/cgi-bin/pond/pnp/
    Please be so kind and give us some feedback about the results.
    If the printer drivers didn't fix your problem, please be so kind and send us the following information:
    1. printer model
    2. a detailed description of the issue
    3. steps to reproduce (ie. Which transaction are they printing from?
    Can it be reproduced from SE78 with the logo only - if logo  related, etc.)
    4. which device type is used. In case of SAPwin, see below
    5. a copy of the intermediate saplpd output files
    To capture the SAPlpd files, please run SAPlpd from the command prompt BEFORE you start the print job. This is how to do it: at the command prompt, type "saplpd.exe -k" (without the quotation marks). When you print, two files will be created. You can find them in the directory where SAPlpd runs. On my PC, this is C:\Program Files\SAP\FrontEnd\SAPgui\SAPlpd The two files will have the same name except for the ".slp" extension of one of them.
    6. a hardcopy example of the print out
    7. if the issue is logo related, a copy of the logo for testing
    8. a copy of the printer's configuration and menu pages
    The printer's configuration and menu pages, We need the test pages from the printer which will tell us which firmware it has, which settings are used on the printer etc., not the screenshots from the SAP device setup.
    If you use SAPwin:
    9. which Windows version is used and which SP
    10. which driver - pcl5/pcl6/PostScript, and which version?
    The version number can be found here: Open the printers folder, open the printer properties, click the "About" tab (all the way to the right). At the top of the next screen you will see something like 60.xxxx.xxxx.xxxx. This is the driver version number. If you want to add more information, a driver test page will show the version numbers of the different files used.
    11. a copy of the intermediate saplpd output
    To capture the SAPlpd files, please run SAPlpd from the command prompt BEFORE you start the print job. This is how to do it: at the command prompt, type "saplpd.exe -k" (without the quotation marks). When you print, two files will be created. You can find them in the directory where SAPlpd runs. On my PC, this is C:\Program Files\SAP\FrontEnd\SAPgui\SAPlpd The two files will have the same name except for the ".slp" extension of one of them.
    12. a print-to-file from the Windows system
    13. Print out of a testpage (will contain some information about the file versions installed as well as whether it is PCL or PostSript
    </i>
    Regards,
    Rich Heilman

  • How to include the STANDARD TEXT Logo in SMARTFORM???

    Hai experts,
    Im able to get the standard text logo in SAPSCRIPT used follwing command in text editor.
    v_logo is dynamic variable.
    /:INCLUDE &V_LOGO& OBJECT TEXT ID ST LANGUAGE EN 
    But in smartforms im unable to get the Standard text logo used following steps...
    in Include text node
    A) Text name : &V_LOGO&  <
    B) Text object : TEXT            >
    C) Text ID      : ST                >
    D) Text Language : EN          >
    Why????
    What are the further steps needed??
    Rewards helpful answer is very useful..
    Thanks & rgds,
    Muru.P.

    HI
    http://www.sapmaterial.com/smartform_example.html
    http://www.sap-press.com/product.cfm?account=&product=H955&shoppingcart=003
    Tcode SE78 is used to import graphics into the SAP system. The transaction imports the graphics and stores it
    in the BDS (business transaction server) and then it can be displayed in the form.
    ·        To create the graphic node , call the context menu for that node in the tree structure and choose create-
    >graphic
    ·        Enter a name (LOGO) for the node and the description (Logo Graphic)
    ·        On the general attributes determine whether a colored or a black and white
    ·        On General Attributes use the fields object - GRPAHIC, id u2013 BMAP and name - &G_LOGO& to identify the
    graphic. &G_LOGO& is variable and therefore we can print company code specific logo. Program line preceding
    the graphic is required.
    Regards
    Pavan

  • Image Missing In PDF Converted from SapScript

    Hi Experts,
    I was supposed to convert SapScript into PDF for sending as an attachment with mail.
    When I am doing that the image (client's logo) in SapScript is not present in PDF file.
    Strange scenario here is that when I am downloading that same file to my hard disk then it is absolutely fine.
    I have used FM 'CONVERT_OTF_2_PDF' to get PDF table. Then I compressed the PDF table data using the follwoing code snippet:
    LOOP AT lt_pdftab INTO wa_pdftab.
    TRANSLATE wa_pdftab USING ' ~'.
    CONCATENATE wa_buffer wa_pdftab INTO wa_buffer.
    CLEAR wa_pdftab.
    ENDLOOP.
    TRANSLATE wa_buffer USING '~ '.
    DO.
    wa_record = wa_buffer.
    APPEND wa_record TO lt_record.
    CLEAR wa_record.
    SHIFT wa_buffer LEFT BY 255 PLACES.
    IF wa_buffer IS INITIAL.
    EXIT.
    ENDIF.
    ENDDO.
    I think in this above process only some thing is going wrong because when I am downloading PDF file using GUI_DOWNLOAD then I am passing directly internal table lt_pdftab & not lt_record. But on exporting lt_pdftab data as attachment with mail the PDF file is getting opened with error.
    Any help regarding the same is highly appreciated.
    Thanks,
    Shaurya Jain

    Hi,
    Just observe this Code:
    REPORT zsuresh_test.
    Variable declarations
    DATA:
    w_form_name TYPE tdsfname VALUE 'ZSURESH_TEST',
    w_fmodule TYPE rs38l_fnam,
    w_cparam TYPE ssfctrlop,
    w_outoptions TYPE ssfcompop,
    W_bin_filesize TYPE i, " Binary File Size
    w_FILE_NAME type string,
    w_File_path type string,
    w_FULL_PATH type string.
    Internal tables declaration
    Internal table to hold the OTF data
    DATA:
    t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    Internal table to hold OTF data recd from the SMARTFORM
    t_otf_from_fm TYPE ssfcrescl,
    Internal table to hold the data from the FM CONVERT_OTF
    T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
    This function module call is used to retrieve the name of the Function
    module generated when the SMARTFORM is activated
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = w_form_name
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    fm_name = w_fmodule
    EXCEPTIONS
    no_form = 1
    no_function_module = 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.
    Calling the SMARTFORM using the function module retrieved above
    GET_OTF parameter in the CONTROL_PARAMETERS is set to get the OTF
    format of the output
    w_cparam-no_dialog = 'X'.
    w_cparam-preview = space. " Suppressing the dialog box
    " for print preview
    w_cparam-getotf = 'X'.
    Printer name to be used is provided in the export parameter
    OUTPUT_OPTIONS
    w_outoptions-tddest = 'LP01'.
    CALL FUNCTION w_fmodule
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = w_cparam
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    output_options = w_outoptions
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    job_output_info = t_otf_from_fm
    JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    t_otf] = t_otf_from_fm-otfdata[.
    Function Module CONVERT_OTF is used to convert the OTF format to PDF
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    FORMAT = 'PDF'
    MAX_LINEWIDTH = 132
    ARCHIVE_INDEX = ' '
    COPYNUMBER = 0
    ASCII_BIDI_VIS2LOG = ' '
    PDF_DELETE_OTFTAB = ' '
    IMPORTING
    BIN_FILESIZE = W_bin_filesize
    BIN_FILE =
    TABLES
    otf = T_OTF
    lines = T_pdf_tab
    EXCEPTIONS
    ERR_MAX_LINEWIDTH = 1
    ERR_FORMAT = 2
    ERR_CONV_NOT_POSSIBLE = 3
    ERR_BAD_OTF = 4
    OTHERS = 5
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    To display File SAVE dialog window
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    EXPORTING
    WINDOW_TITLE =
    DEFAULT_EXTENSION =
    DEFAULT_FILE_NAME =
    FILE_FILTER =
    INITIAL_DIRECTORY =
    WITH_ENCODING =
    PROMPT_ON_OVERWRITE = 'X'
    CHANGING
    filename = w_FILE_NAME
    path = w_FILE_PATH
    fullpath = w_FULL_PATH
    USER_ACTION =
    FILE_ENCODING =
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    NOT_SUPPORTED_BY_GUI = 3
    others = 4
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
    presentation server
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE = W_bin_filesize
    filename = w_FULL_PATH
    FILETYPE = 'BIN'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = ' '
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = T_pdf_tab
    FIELDNAMES =
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    If helpful reward with points(Don't forget).

  • Color Logo 4.6 B

    Hello Friends,
    Is it possible to have Color Logos (Graphics) in the version 4.6B and 4.7C for SAPScript?
    P.S: Points will be awarded for deserving answers.

    Ya...It is possible.
    just create a window ... then goto the editor of that window
    Goto menu bar --insert --> graphics ... a pop up screen will come ... here can select a any available LOGO with F4 functionlity....
    ALso check this thread.
    Problem with Colored Logo in SAPSCRIPT (*** URGENT ***)

  • Uploding logo

    Hi everybody,
    I want to upload a logo to sapscript. I execute the program RSTXLDMC for uploading .tiff file. Image is currently .tiff file.When I execute the program:
    Error message displays as: TIFF FORMAT ERROR: No baseline for Tiff 6.0 file.
    How can I solve the problem?
    Thanks&Regards

    Hi,
    The problem is quite frequent with TIFF files. You need an Image Editing Software like Photoshop and using that save the file in the TIFF file format, this file format will then be understandable by SAP (RSTXLDMC).
    Thanks
    Anirban M.

Maybe you are looking for