Logo for smartforms

Dear All
     Can I use a logo in my smartforms, which i have created in <b>oaer</b> transaction for the alv reports , with out creating it in <b>se78</b> again. kindly give ur suggestions.
Regards
Bunty.

Hai Bunty
you can upload BMP files through Tcode SE78
also check the following
First Download it to your PC and then Upload it again with Different name.
For Download you need to use the Class CL_SSF_XSF_UTILITIES
in this class you have to call the method GET_BDS_GRAPHIC_AS_BMP
to get the image in xstring format .
now download that to PC using GUI_DOWNLOAD and then upload it with Different name.
Regards
Sreeni

Similar Messages

  • Background colour in logo for  smartforms

    I need to  attach  one logo with in Smartforms .I am having a bmp image  file with proper  white background .
    But , when i am uploading  the same thru se78  to be used in the smartform , the preview of the same in se78  is  coming with grey background  and correspondingly the smartform output is also coming with grey background  for logo .
    Is there any way to edit the grey background shade of the uploaded logo to  white  ?
    Thanks  in advance .

    Thanks Kishan .
    Changing the settingsof the bmp image  to 256-bitmap image before uploading  and using it in the form resolves the  issue .
    I have one more  concern regarding uploading tiff images . How to go about that  throuh se78 ?

  • How to upload a  logo in smartforms

    can anybody tell me how to upload logo in Smartorms

    Hi,
    Inserting Logo in SmartForm
    Follow the given steps in order to add a logo,
    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) User TCode SE78 to upload new pictures and logos.
    or----
    u can
    Try executing program RSTXLDMC program. There also you can upload a graphic.
    Run RSTXLDMC
    Enter file name C:\MAIL\COMPLOGO.TIF
    Resolution for Tiff file
    Absolute X-position
    Absolute Y-position
    Absolute positioning
    Reserved height
    Shift to right
    UOM = CM
    Text title
    Line width for text = 132
    Text name ZHEX-MACRO-COMPLOGO
    Text ID ST
    Text language = E
    Postscript scaling
    Width & Height according to PS scaling
    Number of Tiff gray levels (2,4,9) 2
    Then Create a new window 'COMP' with attributes;
    Window COMP description Company Logo
    Window type CONST
    Left margin 7.00 CH window width 10.00 CH
    Upper margin LN window height 8.00 LN
    Finally u can make use of the text name and text id to print the logo.
    Please note that if object name is not indicated as 'ZHEX...', the logo may not be printed !
    Go thru this,
    http://www.zebra.com/id/zebra/na/en/documentlibrary/misc/sap_smartforms_technical.File.tmp/SAPSmartFormsVersion3.pdf
    Refer these threads,
    How to upload logo in Smartforms.
    logo insertion in smartform..
    Regards,
    Padmam.

  • 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

  • Printers for smartforms

    Hi Gurus,
    Can you tell me the what are the printers are support for smartforms?
    Because my client has changes the printer,then the smartforms is not printing the Barcodes are support?
    Regards
    Kiran

    Hi
    For printing Barcodes we have to use special Barcode printers
    where as for printing general smartforms we can use any general printer
    but some times certain printers won't accept all fonts and doesn't print the logos barcodes properly, then you have to change the printer settings
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Duplex printing for smartform

    Hi,
    Has anyone worked on Duplex printing for smartform? If yes, please tell me the procedure/steps that need to be taken for the same.
    Thanks
    Regards

    Hi,
    You can select Duplex printing in th epage properties of a page (D = Duplex)
    The printer STARTS duplex printing from that page. This means that the printer triggers a pagefeed on that exact moment and starts printing on a new page. So when you have 1 page that stretches over more that one sheet of paper this means trouble. after every page the flow of the program starts a new Duplex print (thus feeding the current sheet and starts at a new page) this results in a new sheet of paper every page. this is not what you want.
    You can solve this by creating 2 pages and set their respective NEXT PAGE to each other. Page 1 you set to DUplex, pagae 2 you leave blank..
    But notice that when you select duplex printing most (if not all) printers start printing on the backside of the paper. When you use pre-printed (logo) paper, you will find that it prints the front on the back etc.
    This can sometimes be corrected (if needed) by sending prescribe commands to the printer directly.
    Good luck!
    Joris

  • Enter Logo in Smartform

    Hi All,
    Can anybody guide me to enter logo in Smartform.
    I want to print one logo on inspection setup print program.
    Please suggest me the steps to do the same.
    Regards,
    Deepak.

    Hi,
    Inserting Logo in SmartForm
    Follow the given steps in order to add a logo,
    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) User TCode SE78 to upload new pictures and logos.
    or----
    u can
    Try executing program RSTXLDMC program. There also you can upload a graphic.
    Run RSTXLDMC
    Enter file name C:\MAIL\COMPLOGO.TIF
    Resolution for Tiff file
    Absolute X-position
    Absolute Y-position
    Absolute positioning
    Reserved height
    Shift to right
    UOM = CM
    Text title
    Line width for text = 132
    Text name ZHEX-MACRO-COMPLOGO
    Text ID ST
    Text language = E
    Postscript scaling
    Width & Height according to PS scaling
    Number of Tiff gray levels (2,4,9) 2
    Then Create a new window 'COMP' with attributes;
    Window COMP description Company Logo
    Window type CONST
    Left margin 7.00 CH window width 10.00 CH
    Upper margin LN window height 8.00 LN
    Finally u can make use of the text name and text id to print the logo.
    Please note that if object name is not indicated as 'ZHEX...', the logo may not be printed !
    Please reward points if useful.
    Regards
    rose

  • Logo for Script

    Hello All,
    Now that I have found the form, (thanks for helping on that) - further.
    I have to find why a wrong logo is being printed on the form.
    Where are the logo files stored?
    There is a Logo Window which has this code :
    IF &T001-BUKRS& = 'BDC'                           
    INCLUDE ZHEX-MACRO-BEEB-300-BMON OBJECT TEXT ID ST
    ELSE                                              
    INCLUDE ZHEX-MACRO-300BMON OBJECT TEXT ID ST      
    ENDIF

    Hi
    For Scripts Logos can be on desktop or anywhere on your SAP system, we convert them to .tiff files.
    for smartforms check the Transaction SE78 for
    Graphics .
    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.
    Reward points for useful Answers
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • How transfer logo from smartform (development server ) to quality server?

    hi can anyone tell me how transfer logo in smartform (from development server ) to quality server?

    Hi,
    Logos are not transported. You need to create it in all systems individually.Transports cannot carry image files!! Although you know how to create logos but still for your reference this very popular link:
    http://www.sap-img.com/basis/changing-the-sapgui-logo-on-the-right-hand-side.htm
    Regards.
    Shiva  Kumar

  • Searching program for smartform

    Hello Expert
    How can I seach a program for smartform zxyz
    Eg VA01 enter the order no and all the relavent data
         and when enter the output will display the the smartform zxyz
    Thanks
    Monto

    Well Atish and Experts
    Thanks for your suggestion, I can see the program name also in smarform
    and clicking the function /bcdwb/sf00000053 when double click i can see my smartform name as FORM TYPE TDSFNAME VALUE 'Z_DELIVERY_NOTE',
    (Note: Z_delivery_note is a smartform)
    Now I have 2 logs for Quality Assurance , currently I can one logo .
    but management need only those log to be display with the condition of logo to be display when the order type = ZOR (Sales order)
           Sales organization = 'OMAN'
             Division = 11
               sales ofice = TWMB
    then the DNV logo should display
    esle
                SAI logo should display at the bottom
    So how can Write a condition to display the logo or is there any way
    regards
    Monto  
    FUNCTION /1BCDWB/SF00000053.
    ""Global interface:
    *"       IMPORTING
    *"             VALUE(ARCHIVE_INDEX) TYPE  TOA_DARA OPTIONAL
    *"             VALUE(ARCHIVE_INDEX_TAB) TYPE  TSFDARA OPTIONAL
    *"             VALUE(ARCHIVE_PARAMETERS) TYPE  ARC_PARAMS OPTIONAL
    *"             VALUE(CONTROL_PARAMETERS) TYPE  SSFCTRLOP OPTIONAL
    *"             VALUE(MAIL_APPL_OBJ) TYPE  SWOTOBJID OPTIONAL
    *"             VALUE(MAIL_RECIPIENT) TYPE  SWOTOBJID OPTIONAL
    *"             VALUE(MAIL_SENDER) TYPE  SWOTOBJID OPTIONAL
    *"             VALUE(OUTPUT_OPTIONS) TYPE  SSFCOMPOP OPTIONAL
    *"             VALUE(USER_SETTINGS) TYPE  TDBOOL DEFAULT 'X'
    *"             REFERENCE(IS_DLV_DELNOTE) TYPE  LEDLV_DELNOTE
    *"       EXPORTING
    *"             VALUE(DOCUMENT_OUTPUT_INFO) TYPE  SSFCRESPD
    *"             VALUE(JOB_OUTPUT_INFO) TYPE  SSFCRESCL
    *"             VALUE(JOB_OUTPUT_OPTIONS) TYPE  SSFCRESOP
    *"       EXCEPTIONS
    *"              FORMATTING_ERROR
    *"              INTERNAL_ERROR
    *"              SEND_ERROR
    *"              USER_CANCELED
    DATA: %INPUT     TYPE SSFCOMPIN,
          %RESULT_OP TYPE SSFCRESOP,
          %RESULT_PD TYPE SSFCRESPD,
          %RESULT_CL TYPE SSFCRESCL,
          %TABDEF    LIKE LINE OF %TABDEFS,
          %ARCTAB    TYPE TSFDARA,
          BEGIN OF %FULLNAME,
            FORM TYPE TDSFNAME VALUE 'Z_DELIVERY_NOTE',
            VARI TYPE TDVARIANT,
            ACTV TYPE TDBOOL VALUE 'X',
          END OF %FULLNAME.
    TYPES: T_XDF_ELEM(255)     TYPE C,
           T_XDF_ATTR(255)     TYPE C.
    DATA:  %IMPORT_PARAMETER   TYPE TABLE OF RSIMP WITH HEADER LINE,
           %CHANGING_PARAMETER TYPE TABLE OF RSCHA WITH HEADER LINE,
           %TABLES_PARAMETER   TYPE TABLE OF RSTBL WITH HEADER LINE,
           %EXPORT_PARAMETER   TYPE TABLE OF RSEXP WITH HEADER LINE,
           %EXCEPTION_LIST     TYPE TABLE OF RSEXC WITH HEADER LINE.
    DATA:  %XDF_TABLE          TYPE TSFIXML,
           %XDF_LENGTH         TYPE I.
    DATA:  %XDF_DOCUMENT       TYPE REF TO IF_IXML_DOCUMENT,
           %XDF_PARAMETER      TYPE REF TO IF_IXML_ELEMENT,
           %L_NAME             TYPE STRING,
           %L_VALUE            TYPE STRING,
           %L_OBJECT           TYPE STRING,
           %L_DATE             TYPE STRING,
           %L_TIME             TYPE STRING,
           %L_FLAT             TYPE C,
           %RC                 TYPE SY-SUBRC.
    FIELD-SYMBOLS: <%DATA_OBJECT> TYPE ANY.
    CLASS CL_IXML DEFINITION LOAD.
    CONSTANTS: %C_XDF_ROOT_ELEMENT TYPE T_XDF_ELEM VALUE 'XDF',
         %C_XDF_ATTR_TYPE        TYPE T_XDF_ATTR VALUE 'TYPE',
         %C_XDF_ATTR_TIMESTAMP   TYPE T_XDF_ATTR VALUE 'TIMESTAMP',
         %C_XDF_ATTR_OBJ         TYPE T_XDF_ATTR VALUE 'OBJECT'.
    DATA:  %XDF_FACTORY      TYPE REF TO IF_IXML,
           %XDF_ROOT_ELEMENT TYPE REF TO IF_IXML_ELEMENT.
    DATA:  %L_GETSTATE    TYPE DDTYPEGET,
           %L_TYPE        TYPE DDTYPEKIND,
           %L_TYPE_NAME   TYPE TYPENAME,
           %L_TYPE_CH     LIKE RS38L-IMPORT_TYP,
           %L_DDIC_OBJ    TYPE DDTYPES OCCURS 0 WITH HEADER LINE,
           %L_DD02L_STATE TYPE DD02L   OCCURS 0 WITH HEADER LINE,
           %L_DD04L_STATE TYPE DD04L   OCCURS 0 WITH HEADER LINE,
           %L_DD40L_STATE TYPE DD40L   OCCURS 0 WITH HEADER LINE,
           %L_XMLOUTPUT   TYPE SSFXMLOUT,
           %L_SFSY        TYPE SFSY.
    TYPE-POOLS: ABAP.
    DATA: %XDF2_IXML        TYPE REF TO IF_IXML,
          %XDF2_DOCUMENT    TYPE REF TO IF_IXML_DOCUMENT,
          %XDF2_SRC_OBJECTS TYPE ABAP_TRANS_SRCBIND_TAB,
          %XDF2_SRC_OBJECT  LIKE LINE OF %XDF2_SRC_OBJECTS.
    DEFINE XDF2_APPEND_SRC_OBJECT.
      %XDF2_SRC_OBJECT-NAME  = '&1'.
      TRANSLATE %XDF2_SRC_OBJECT-NAME TO UPPER CASE.
      GET REFERENCE OF &2 INTO %XDF2_SRC_OBJECT-VALUE.
      APPEND %XDF2_SRC_OBJECT TO %XDF2_SRC_OBJECTS.
    END-OF-DEFINITION.
    DEFINE XDF_GET_DDIC_INFO.
      CLEAR %L_DDIC_OBJ.
      CLEAR %L_DDIC_OBJ.
      IF NOT &2 IS INITIAL.
        %L_TYPE_NAME = &2.
      ELSEIF NOT &1-TYP IS INITIAL.
        %L_TYPE_NAME = &1-TYP.
      ELSEIF NOT &1-LINE_OF IS INITIAL.
        %L_TYPE_NAME = &1-LINE_OF.
      ELSEIF NOT &1-TABLE_OF IS INITIAL.
        %L_TYPE_NAME = &1-TABLE_OF.
      ELSE.
        CLEAR %L_TYPE_NAME.
      ENDIF.
      CALL FUNCTION 'DDIF_TYPEINFO_GET'
           EXPORTING TYPENAME = %L_TYPE_NAME
           IMPORTING TYPEKIND = %L_TYPE.
      %L_DDIC_OBJ-TYPENAME = %L_TYPE_NAME.
      %L_DDIC_OBJ-TYPEKIND = %L_TYPE.
      IF NOT %L_DDIC_OBJ IS INITIAL.
        COLLECT %L_DDIC_OBJ.
      ENDIF.
    END-OF-DEFINITION.
    DEFINE XDF_CREATE_DATA_STREAM.
      CLEAR: %L_OBJECT, %L_DATE, %L_TIME, %L_NAME, %L_TYPE_NAME,
             %L_VALUE.
      IF &3 = 'T'.
        IF NOT &2 IS INITIAL.
          %L_TYPE_NAME = &2.
        ELSEIF NOT &1-TYP IS INITIAL.
          %L_TYPE_NAME = &1-TYP.
        ENDIF.
        IF NOT %L_TYPE_NAME IS INITIAL.
          %L_TYPE_CH = %L_TYPE_NAME.
          CALL FUNCTION 'RS_TYPE_EXISTENCE_CHECK'
               EXPORTING
                 TYPE = %L_TYPE_CH
               IMPORTING
                 STRUCTURE_IS_FLAT = %L_FLAT
               EXCEPTIONS
                 OTHERS = 1.
        ENDIF.
        IF %L_FLAT NE 'X'.
          CONCATENATE &1-PARAMETER '[]' INTO %L_NAME.
        ELSE.
          %L_NAME = &1-PARAMETER.
        ENDIF.
      ELSE.
        %L_NAME = &1-PARAMETER.
      ENDIF.
      IF NOT &2 IS INITIAL.
        ASSIGN (%L_NAME) TO <%DATA_OBJECT>
               CASTING TYPE (&2).
        %L_TYPE_NAME = &2.
      ELSEIF NOT &1-TYP IS INITIAL.
        ASSIGN (%L_NAME) TO <%DATA_OBJECT>
               CASTING TYPE (&1-TYP).
        %L_TYPE_NAME = &1-TYP.
      ELSEIF NOT &1-LINE_OF IS INITIAL.
        ASSIGN (%L_NAME) TO <%DATA_OBJECT>.
        %L_TYPE_NAME = &1-LINE_OF.
      ELSEIF NOT &1-TABLE_OF IS INITIAL.
        ASSIGN (%L_NAME) TO <%DATA_OBJECT>.
        %L_TYPE_NAME = &1-TABLE_OF.
      ELSE.
        ASSIGN (%L_NAME) TO <%DATA_OBJECT>.
        CLEAR %L_TYPE_NAME.
      ENDIF.
      IF &3 EQ 'T'.
        %L_NAME = &1-PARAMETER.
      ENDIF.
      CALL FUNCTION 'SDIXML_DATA_TO_DOM'
           EXPORTING
                 NAME        = %L_NAME
                 DATAOBJECT  = <%DATA_OBJECT>
           IMPORTING
                 DATA_AS_DOM = %XDF_PARAMETER
           CHANGING
                 DOCUMENT    = %XDF_DOCUMENT
           EXCEPTIONS
                 OTHERS      = 1.
      %L_NAME  = %C_XDF_ATTR_TYPE.
      %L_VALUE = %L_TYPE_NAME.
      CALL METHOD %XDF_PARAMETER->SET_ATTRIBUTE
           EXPORTING NAME      = %L_NAME
                        VALUE     = %L_VALUE
           RECEIVING RVAL      = %RC.
      CLEAR %L_DDIC_OBJ.
      READ TABLE %L_DDIC_OBJ WITH KEY TYPENAME = %L_TYPE_NAME.
      CASE %L_DDIC_OBJ-TYPEKIND.
        WHEN 'S'.
          READ TABLE %L_DD02L_STATE WITH KEY TABNAME = &1-TYP.
          %L_DATE = %L_DD02L_STATE-AS4DATE.
          %L_TIME = %L_DD02L_STATE-AS4TIME.
          %L_OBJECT = 'TABL'.
        WHEN 'E'.        " data elements
          READ TABLE %L_DD04L_STATE WITH KEY ROLLNAME = &1-TYP.
          %L_DATE = %L_DD04L_STATE-AS4DATE.
          %L_TIME = %L_DD04L_STATE-AS4TIME.
          %L_OBJECT = 'DTEL'.
        WHEN 'L'.        " table types
          READ TABLE %L_DD40L_STATE WITH KEY TYPENAME = &1-TYP.
          %L_DATE = %L_DD40L_STATE-AS4DATE.
          %L_TIME = %L_DD40L_STATE-AS4TIME.
          %L_OBJECT = 'TTYP'.
        WHEN OTHERS.
          CLEAR: %L_DATE, %L_TIME, %L_OBJECT.
      ENDCASE.
      %L_NAME  = %C_XDF_ATTR_OBJ.
      CALL METHOD %XDF_PARAMETER->SET_ATTRIBUTE
           EXPORTING NAME      = %L_NAME
                     VALUE     = %L_OBJECT
           RECEIVING RVAL      = %RC.
      %L_NAME  = %C_XDF_ATTR_TIMESTAMP.
      CONCATENATE %L_DATE %L_TIME INTO %L_VALUE.
      CALL METHOD %XDF_PARAMETER->SET_ATTRIBUTE
           EXPORTING NAME      = %L_NAME
                     VALUE     = %L_VALUE
           RECEIVING RVAL      = %RC.
      CALL METHOD %XDF_ROOT_ELEMENT->APPEND_CHILD
           EXPORTING NEW_CHILD = %XDF_PARAMETER
           RECEIVING RVAL      = %RC.
      CHECK %RC = 0.
    END-OF-DEFINITION.
    CLEAR DOCUMENT_OUTPUT_INFO.
    CLEAR JOB_OUTPUT_INFO.
    CLEAR JOB_OUTPUT_OPTIONS.
    %L_SFSY = SFSY.
    CLEAR SFSY.
    SFSY-PAGE = %L_SFSY-PAGE.
    SFSY-FORMPAGES = %L_SFSY-FORMPAGES.
    SFSY-JOBPAGES = %L_SFSY-JOBPAGES.
    SFSY-XDF = %L_SFSY-XDF.
    SFSY-XDF2 = %L_SFSY-XDF2.
    CLEAR INTSFSY.
    IF CONTROL_PARAMETERS-NO_OPEN = SPACE.
       CALL FUNCTION 'SSF_CREATE_COMPOSER_INPUT'
            EXPORTING
                 ARCHIVE_PARAMETERS = ARCHIVE_PARAMETERS
                 USER_SETTINGS      = USER_SETTINGS
                 MAIL_SENDER        = MAIL_SENDER
                 MAIL_RECIPIENT     = MAIL_RECIPIENT
                 MAIL_APPL_OBJ      = MAIL_APPL_OBJ
                 OUTPUT_OPTIONS     = OUTPUT_OPTIONS
                 CONTROL_PARAMETERS = CONTROL_PARAMETERS
            IMPORTING
                 INPUT              = %INPUT.
      IF OUTPUT_OPTIONS-XSFCMODE = SPACE.
        %INPUT-XSF        = ' '.
        %INPUT-XSFOUTMODE = ' '.
        %INPUT-XSFOUTDEV  = ' '.
        %INPUT-XSFACTION  = ' '.
        %INPUT-XSFFORMAT  = ' '.
      ENDIF.
      CALL FUNCTION 'SSFCOMP_OPEN'
           EXPORTING  INPUT  = %INPUT
           IMPORTING  RESULT = %RESULT_OP
           EXCEPTIONS OTHERS = 1.
      IF SY-SUBRC <> 0.
        %VARIANT = SPACE.
        PERFORM %RAISE.
      ENDIF.
      JOB_OUTPUT_OPTIONS = %RESULT_OP.
    ENDIF.
    IF SFSY-XDF = 'X'.
      CALL FUNCTION 'FUNCTION_IMPORT_INTERFACE'
           EXPORTING
                FUNCNAME           = '/1BCDWB/SF00000053'
                INACTIVE_VERSION   = SPACE
           TABLES
                IMPORT_PARAMETER   = %IMPORT_PARAMETER
                CHANGING_PARAMETER = %CHANGING_PARAMETER
                TABLES_PARAMETER   = %TABLES_PARAMETER
                EXPORT_PARAMETER   = %EXPORT_PARAMETER
                EXCEPTION_LIST     = %EXCEPTION_LIST
           EXCEPTIONS
                OTHERS             = 1.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      %L_GETSTATE-TBHD = %L_GETSTATE-TBFD = %L_GETSTATE-DTEL = 'X'.
      %L_GETSTATE-TTHD = %L_GETSTATE-TTFD = 'X'.
      LOOP AT %IMPORT_PARAMETER.
        XDF_GET_DDIC_INFO %IMPORT_PARAMETER
                          %IMPORT_PARAMETER-DBFIELD.
      ENDLOOP.
      LOOP AT %CHANGING_PARAMETER.
        XDF_GET_DDIC_INFO %CHANGING_PARAMETER
                          %CHANGING_PARAMETER-DBFIELD.
      ENDLOOP.
      LOOP AT %TABLES_PARAMETER.
        XDF_GET_DDIC_INFO %TABLES_PARAMETER
                          %TABLES_PARAMETER-DBSTRUCT.
      ENDLOOP.
      CALL FUNCTION 'DD_TYPEINFO_GET'
           EXPORTING  GETSTATE    = %L_GETSTATE
           TABLES     DDTYPES_TAB = %L_DDIC_OBJ[]
                      DD02L_TAB   = %L_DD02L_STATE[]
                      DD04L_TAB   = %L_DD04L_STATE[]
                      DD40L_TAB   = %L_DD40L_STATE[].
      %XDF_FACTORY = CL_IXML=>CREATE( ).
      %XDF_DOCUMENT = %XDF_FACTORY->CREATE_DOCUMENT( ).
      %L_NAME = %C_XDF_ROOT_ELEMENT.
      %XDF_ROOT_ELEMENT
           = %XDF_DOCUMENT->CREATE_ELEMENT( NAME = %L_NAME ).
      CALL METHOD %XDF_DOCUMENT->APPEND_CHILD
           EXPORTING  NEW_CHILD  = %XDF_ROOT_ELEMENT
           RECEIVING  RVAL       = %RC.
      CHECK %RC = 0.
      LOOP AT %IMPORT_PARAMETER.
        XDF_CREATE_DATA_STREAM %IMPORT_PARAMETER
                               %IMPORT_PARAMETER-DBFIELD 'I'.
      ENDLOOP.
      LOOP AT %CHANGING_PARAMETER.
        XDF_CREATE_DATA_STREAM %CHANGING_PARAMETER
                               %CHANGING_PARAMETER-DBFIELD 'C'.
      ENDLOOP.
      LOOP AT %TABLES_PARAMETER.
        XDF_CREATE_DATA_STREAM %TABLES_PARAMETER
                               %TABLES_PARAMETER-DBSTRUCT 'T'.
      ENDLOOP.
      CALL FUNCTION 'SSFCOMP_XDF_OUTPUT'
           EXPORTING  DOCUMENT = %XDF_DOCUMENT
           EXCEPTIONS OTHERS   = 1.
    ELSEIF SFSY-XDF2 = 'X'.
      %XDF2_IXML     = CL_IXML=>CREATE( ).
      %XDF2_DOCUMENT = %XDF2_IXML->CREATE_DOCUMENT( ).
      XDF2_APPEND_SRC_OBJECT ARCHIVE_INDEX ARCHIVE_INDEX.
      XDF2_APPEND_SRC_OBJECT ARCHIVE_INDEX_TAB ARCHIVE_INDEX_TAB.
      XDF2_APPEND_SRC_OBJECT ARCHIVE_PARAMETERS ARCHIVE_PARAMETERS.
      XDF2_APPEND_SRC_OBJECT CONTROL_PARAMETERS CONTROL_PARAMETERS.
      XDF2_APPEND_SRC_OBJECT MAIL_APPL_OBJ MAIL_APPL_OBJ.
      XDF2_APPEND_SRC_OBJECT MAIL_RECIPIENT MAIL_RECIPIENT.
      XDF2_APPEND_SRC_OBJECT MAIL_SENDER MAIL_SENDER.
      XDF2_APPEND_SRC_OBJECT OUTPUT_OPTIONS OUTPUT_OPTIONS.
      XDF2_APPEND_SRC_OBJECT USER_SETTINGS USER_SETTINGS.
      XDF2_APPEND_SRC_OBJECT IS_DLV_DELNOTE IS_DLV_DELNOTE.
      XDF2_APPEND_SRC_OBJECT JOB_OUTPUT_INFO JOB_OUTPUT_INFO.
      CALL TRANSFORMATION ID
           SOURCE (%XDF2_SRC_OBJECTS)
           RESULT XML %XDF2_DOCUMENT.
      CALL FUNCTION 'SSFCOMP_XDF2_OUTPUT'
        EXPORTING
          DOCUMENT = %XDF2_DOCUMENT
        EXCEPTIONS
          OTHERS   = 1.
    ELSE.
      %FULLNAME-VARI = %VARIANT.
      %VARIANT = SPACE.
      IF %HEADER IS INITIAL.
        IMPORT HEADER   TO %HEADER
               REFTAB   TO %REFTAB
               DOCSTRUC TO %DOCSTRUC
               TABDEF   TO %TABDEFS
               FROM DATABASE STXFCONTR(SF) ID %FULLNAME.
        IF SY-SUBRC <> 0.
          CALL FUNCTION 'SSFRT_SET_ERROR_PARAMETERS'
               EXPORTING I_FORM      = 'Z_DELIVERY_NOTE'.
          CALL FUNCTION 'SSFRT_WRITE_ERROR'
               EXPORTING I_ERRNUMBER = SSF_ERR_NO_RUNTIME_OBJECT
                         I_MSGID     = 'SSFCOMPOSER'
                         I_MSGNO     = '002'
                         I_MSGV1     = 'Z_DELIVERY_NOTE'.
          PERFORM %RAISE.
        ENDIF.
        SELECT SINGLE SDATE STIME FROM D010SINF
          INTO (%HEADER-SDATE, %HEADER-STIME)
          WHERE PROG    = '/1BCDWB/SAPLSF00000053'
            AND R3STATE = 'A'.
        IF SY-SUBRC <> 0.
          CLEAR: %HEADER-SDATE,
                 %HEADER-STIME.
        ENDIF.
      ENDIF.
      LOOP AT %TABDEFS INTO %TABDEF.
        CALL FUNCTION 'SSFCOMP_TABLE_DEFINITION'
             EXPORTING  CPI    = %HEADER-CPI
                        LPI    = %HEADER-LPI
             CHANGING   TABDEF = %TABDEF
             EXCEPTIONS OTHERS = 1.
        IF SY-SUBRC <> 0. PERFORM %RAISE. ENDIF.
      ENDLOOP.
      CALL FUNCTION 'SSFRT_SET_REFERENCES'
           EXPORTING I_REFTAB = %REFTAB .
      CALL FUNCTION 'SSFRT_SET_LANGUAGES'
           EXPORTING I_CONTROL_PARAMETERS = CONTROL_PARAMETERS
                     I_MASTERLANGUAGE     = 'E'
                     I_THRULANG           = ' '
                     I_INSTALL_LANG       = ' '
           IMPORTING O_LANGUAGES          = %LANGUAGES.
      %HEADER-LANGU = %LANGUAGES-LANGU1.
      %WEXIT = SPACE.
      PERFORM %GLOBAL_CLEAR.
      PERFORM %GLOBAL_INIT.
      CLEAR %ARCTAB.
      IF ARCHIVE_INDEX_TAB[] IS INITIAL.
        APPEND ARCHIVE_INDEX TO %ARCTAB.
      ELSE.
        %ARCTAB = ARCHIVE_INDEX_TAB.
      ENDIF.
      CALL FUNCTION 'SSFCOMP_PROCESS_DOCUMENT'
           EXPORTING  HEADER           = %HEADER
                      DOCSTRUC         = %DOCSTRUC
                      STARTPAGE        = CONTROL_PARAMETERS-STARTPAGE
                      ARCHIV_INDEX_TAB = %ARCTAB
                      MAIL_APPL_OBJECT = MAIL_APPL_OBJ
           IMPORTING  RESULT           = %RESULT_PD
           EXCEPTIONS OTHERS           = 1.
      IF SY-SUBRC <> 0. PERFORM %RAISE. ENDIF.
      DOCUMENT_OUTPUT_INFO = %RESULT_PD.
    ENDIF.
    IF CONTROL_PARAMETERS-NO_CLOSE = SPACE.
      CALL FUNCTION 'SSFCOMP_CLOSE'
           IMPORTING  RESULT = %RESULT_CL
           EXCEPTIONS OTHERS = 1.
      IF SY-SUBRC <> 0. PERFORM %RAISE. ENDIF.
      JOB_OUTPUT_INFO = %RESULT_CL.
    ENDIF.
    ENDFUNCTION.

  • Printing LOGO on smartform based on Printer

    Hi All,
      I want to print LOGO on my smartform(PO) based on a Printer which i am using.If i use one perticular printer(PRIMO) i should get the LOGO and for other Printers it should not appear.Will it be possibel to control the printing based on a printer condition? if yes please suggest me where i can add these conditions.
    If u need any further information please revert back to me.Thanks in Advance.
    Best regards,
    Shanker.

    Hi,
    Based on the device type in OUTPUT_OPTIONS in smartforms interface find out the printer name and write logic for printing appropriate LOGO in smartform.
    Regards,
    Raju.

  • Ipod touch 1st gen is frozen, all I see is Apple logo for 10 secs and then screen goes black. What's wrong with it?

    My ipod touch (1st gen) is frozen and does not respond. All I can see is the Apple logo for around 10 seconds and then screen returns to black. What is wrong?

    Did you already try to connect in recovery mode and restore? iPhone and iPod touch: Unable to restore

  • Design logo for MSI Mobile Workstation (Congrats to all contest winners )

    •Object : Design logo for MSI Mobile Workstation
    •Eligibility : Open to all creative artists
    •Deadline : Dec. 19, 2013.
    •Prizes :
    Winner will be selected by MSI Jury. Facebook fans can vote for their favorite artwork from Dec. 20, 2013 to Feb. 5, 2014. Announcement of the winners: on Feb. 6, 2014 via MSI workstation website, facebook page and by direct contact to winner’s email address; therefore please provide your real name and valid email address. Contest winners will receive notice of his or her win within thirty (30) working days after the event ends. MSI reserves the right to change the prizes to any products which have equivalent market value. Should the winners fail to abide by the terms and conditions of these Complete Official Rules, MSI reserves itself the right not to pay the Grand Prize winner for his/her submitted and accepted pieces of art, and shall disengage itself from all commitments relating to the winners and their prizes, in its discretion.
    o1st prize : MSI Chosen Logo, picked by MSI Jury.
    o2nd prize : Facebook fans favorite pick, calculated by Facebook “likes” each logo receives.
    o3rd to 5th prizes : Winner of the week, pick one winner bi-weekly by MSI jury & MSI partners.
    P.S
    1、MSI reserves the right to amend the Rules of the Event without further notice or interpretation, but will make a public announcement in advance.
    2、MSI Mobile Workstation Facebook: https://www.facebook.com/msiworkstation
    3、MSI Mobile Workstation official site: http://workstations.msi.com/

    [MSI Workstation Announcement]
    Thanks everyone's contribution! The final round winner announcement is released today. Congrats to all contest winners
    1st: No. 67 Carbon Fiber MSI: completely represents MSI Workstation spirit with high quality design element under the contest design guideline
    2nd: No. 209 MSI Core Shield: with almost 8k strong Facebook fans like power
    3rd: No. 135 Empowered Your Victory
    4th: No. 150 MSI Firebird
    5th: No. 10 The Hive
    MSI will contact all contest winners after the contest finishes. All contest winners must provide a correct ID copy and sign an intellectual property rights guarantee letter guaranteeing originality and non-infringement of submitted work to MSI after MSI announces contest winners. MSI reserves the right to not select a winner if the winner cannot provide the above mentioned documents. Further question please refer to: http://event.msi.com/nb/2013/logo/

  • My iphone 3g stays on the apple logo for about 4 minutes then flashes white and goes back to the apple screen, it repeats untill battery is flat,  every now and then im lucky enough to get it to turn on but not very often and then it freezes and repeats??

    hello my name is kirstie, i updated to firmware 4.2.1 .....my iphone 3g stays on the apple logo for about 4 minutes then flashes white and goes back to the apple screen, it repeats untill battery is flat,  every now and then im lucky enough to get it to turn on but not very often and then it freezes and repeats the same problem?? (if i turn the phone off my pressing the two buttons it wont keep rebooting, its only when i leave it after turning it on)
    I have reset the phone, full firmware restore, even downgraded back from firmware 4.2.1 to .3.1.3 official by using dfu mode and still doesnt fix.
    (i correctly got out of dfu mode after the downgrade)
    i can enter dfu mode and recovery, and update through itunes with no problem, but it doesnt fix the problem,
    i have searched and found no answer to this problem, every option availible to try that i know of i have tried and failed. i dont care about preserving my content i just want a fix. i have a good understanding how to operate software on a computer and shouldnt be too confused by any advice given, so plz even if the answer is very complex i wish to try anything, please help me to get my iphone working.

    Anyone have any suggestions? or is everyone else just as clueless as me !

  • How can i upload two different logos for 2 sub sites [which falls under one super site ] in share point 2013 ?

    hello,
    How can i upload two different logos for 2 sub sites [which falls under one super site ] in share point 2013 ?
    thanks,
    Jay

    Hi,
    I understand that it applied first logo to all other sub sites.
    Please make sure that you change the logos in the subsites.
    If we change the logo in the root site, the logos in the subsites will be changed at the same time.
    However, we can change the logo in the subsites separately.
    We can go to a subsite, click the Site Sitting-> Look and Feel-> Title, description, and logo->Insert Logo->select a picture, then it will has a different logo than the root site.
    Then go to the other subsite, click the Site Sitting-> Look and Feel-> Title, description, and logo->Insert Logo-> select another picture, then it will has a different logo that the first subsite.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • Como removo zoom photo do Facebook no FireFox

    O Facebook tem um malware, q eu não sabia ser, chamado Zoom Photo. Sempre escapo deles, mas este me foi enviado um convite de pessoa confiável. Inicialmente ele cumpre o q promete - amplia as imagens - mas depois comecei a receber feeds de q EU havia

  • Microphone sound recording,saving,playing flv file is saved but not working

    Please help me,           While recording the flv is saved inside applications/stream/samples/audio.flv. But it is not working properly. Mycode stop();          var count:Number          = 0;       var timestamp:Date    = new Date();       var nc:Net

  • Mac won't sleep

    I set up one of the Hot Corners to Sleep the Display. When I put the cursor in the corner the screen go black for only a second then goes back on. Also if I put the computer to sleep after about a minute it goes back on. I have try setting up a new u

  • Sales org wise PGI Completion delivery

    Hi Gurus,            I need to  fetch last four days pgi completion delivery(exclude delivery reversed ) in sales org wise. in vbfa table sales org is not given, in which table it reflect, pls give solution this. Thanks and regards G.vendhan

  • Vendor hierarchy full process

    i would love to know all about vendor hierarchy,including customizations please help.