Dynamic picture insertion

Hi,
I am using crystal 2008 and i am trying to insert a picture into mu layout.
i want to insert a picture according to the picture path gievn in another report field.
The closest option is to use a hyperlink to the picture but that is no good because you only see the picture after clicking the hyperlink field and also the picture is opened in another window.
can someone tell me ho can i insert a picture dynamiclly using a given path?
Thanks, Udi

Hi Udi,
You can save the path of the image in the 'Graphic Location' of the image. Here's what you need to do:
1) Insert OLE object and select BMP
2) Place the blank OLE object window in the desired section
3) Right-click the image and select Format Graphic > Picture tab > and click on the formula icon beside 'Graphic Location'
4) For eg: if the image is located in a folder in C:/, the path should be
"C:/Images/Windows.jpg"
Please do not miss the quotes.
If the image is stored on a shared drive, then just use a UNC path to the image.
Hope this helps!
-Abhilas

Similar Messages

  • How can i create a button with a dynamic picture?

    How can i create a button with a dynamic picture using
    mcLoader.loadClip
    I did create one with it doesnt seem to be working. It loses
    all its
    functions (eg onPress onRelease)
    Thanks

    I solved thep roblem anyway creating a mc.. then creating
    another MC withing
    the first MC and i change the picture on the second MC. And i
    apply the
    propierities to the first MC , and works
    If i have troubles with mu sistem on the future I will use
    yours!
    Thanks!
    "the fleece" <[email protected]>
    escribi� en el mensaje
    news:e67i88$jlf$[email protected]..
    > the image loading will remove any properties or
    functions the mc had.
    >
    > you need to apply them in the onLoadInit function
    >
    > mclListener.onLoadInit = function(target_mc:MovieClip) {
    > target_mc.onRollOver=blah blah
    > };
    > var image_mcl:MovieClipLoader = new MovieClipLoader();
    > image_mcl.addListener(mclListener);
    > image_mcl.loadClip(blah, blahblah);
    >
    >

  • Crystal report could not show dynamic picture

    I develop crystal report which show dynamically picture in my PC but when I send it to server which has not be installed program just install asp.net framework 2.0 , it could not show dynamic picture.
    How should I do, please advise.

    I develop the report by using Crystal Reports XI so that I have to install the runtime of them as the detail in page of business object located at Business Objects - Crystal Reports Runtime Packages.mht
    Crystal Reports for Visual Studio .NET 2005 - Service Pack 1 (Updated Nov. 2007) will not show dynamic picture, right
    I have to install Crystal Reports XI - Service Pack 4 (Updated - November 2007) becuase it has more features than the package in VS2005 right
    Edited by: pasit chan on Nov 3, 2010 10:18 AM

  • How to dynamic field insert into intenal table?

    hi friends
    this is my urgent requirements .... how to dynamic field insert into internal table if it possible please tell me
    thanks & regards
    pauldharma

    Hi,
    Go through this
    REPORT  yusmm_text1  NO STANDARD PAGE HEADING
                         LINE-SIZE 199.
    T A B L E S
    TABLES: MARA,
            MAKT,
            THEAD.
    GLOBAL TYPE-POOLS
    TYPE-POOLS : SLIS.
       GLOBAL TYPES
    TYPES : BEGIN OF TP_FINAL,
           MATNR TYPE MARA-MATNR,
           BEGRU TYPE MARA-BEGRU,
           MTART TYPE MARA-MTART,
           MAKTX TYPE MAKT-MAKTX,
           SPRAS TYPE MAKT-SPRAS,
           LTXT(2000)  TYPE C ,
           SRNO TYPE N ,
          END OF TP_FINAL.
    TYPES : BEGIN OF TP_T002,
            SPRAS TYPE T002-SPRAS,
            LAISO TYPE T002-LAISO,
            SRNO TYPE N ,
            END OF TP_T002.
    TYPES : BEGIN OF TP_MARA_MAKT,
            MATNR TYPE MARA-MATNR,
            BEGRU TYPE MARA-BEGRU,
            MTART TYPE MARA-MTART,
            SPRAS TYPE MAKT-SPRAS,
            MAKTX TYPE MAKT-MAKTX,
           END OF TP_MARA_MAKT.
    Types: BEGIN OF tp_matnr,
           matnr TYPE mara-matnr,
           END OF tp_matnr.
       GLOBAL ELEMENTARY VARIABLES
    DATA : gv_date TYPE sy-datum.
    DATA : gv_repid TYPE sy-repid.
    DATA : g_var1(10) TYPE C.
    DATA : gv_index TYPE sy-tabix.
    DATA: gv_strg TYPE string,
          gv_strg1(2000) TYPE C.
    DATA : gv_lang TYPE sy-langu.
    DATA : g_v(3) TYPE N .
    DATA : gv_lines(3) TYPE N .
    DATA : gv_var(3) TYPE N .
    DATA : gv_var1(3) TYPE N.
    DATA: gv_str TYPE STRING.
    DATA: gv_str1 TYPE STRING.
    DATA : gv_li TYPE I,
           gv_lit TYPE I,
           gv_lin TYPE I.
    DATA: g_var11(3) TYPE N,
          gv_li1(3) TYPE N,
          g_var2(3) TYPE N.
    DATA : gv_i1 TYPE I.
    DATA : gv_i TYPE I.
    DATA: gl_lenght TYPE I.
       GLOBAL STRUCTURES
    DATA:   T_NEWTABLE TYPE REF TO DATA,
            T_NEWLINE  TYPE REF TO DATA,
            T_FLDCAT1   TYPE SLIS_T_FIELDCAT_ALV,
            T_FLDCAT   TYPE LVC_T_FCAT,
            WA_IT_FLDCAT TYPE LVC_S_FCAT,
            WA_IT_FLDCAT1 TYPE SLIS_FIELDCAT_ALV,
            WA_COLNO(2) TYPE N,
            WA_FLNAME(5) TYPE C,
            L_LT TYPE SLIS_LAYOUT_ALV.
       GLOBAL INTERNAL TABLES (WITH INCLUDE STRUCTURE)
    DATA : IG_MARA_MAKT TYPE STANDARD TABLE OF TP_MARA_MAKT,
           WG_MARA_MAKT TYPE TP_MARA_MAKT.
    DATA : IG_T002 TYPE STANDARD TABLE OF TP_T002,
           WG_T002 TYPE TP_T002.
    DATA : IG_FINAL TYPE STANDARD TABLE OF TP_FINAL,
           WG_FINAL TYPE TP_FINAL.
    data : IG_MATNR TYPE STANDARD TABLE OF TP_MATNR WITH HEADER  LINE,
           WG_MATNR TYPE TP_MATNR.
    DATA:BEGIN OF IG_THEAD OCCURS 0.
            INCLUDE STRUCTURE THEAD .
    DATA: END OF IG_THEAD.
    DATA:BEGIN OF IG_TLINE OCCURS 0.
            INCLUDE STRUCTURE TLINE  .
    DATA:END OF IG_TLINE.
    FIELD-SYMBOLS
    FIELD-SYMBOLS: <T_DYNTABLE> TYPE STANDARD TABLE,"Dynamic internal
                                                            "tablename
                   <FS_DYNTABLE>,  "Field symbol to create work area
                  <FS_FLDVAL> TYPE ANY.   " Field symbol to assign values
    COMPULSORY
    FIELD-SYMBOLS: <FS_DATA> TYPE REF TO DATA,
                   <FS_DATA1> TYPE REF TO DATA,
                   <FS_2>    TYPE STANDARD TABLE,
                   <FS_22>   TYPE STANDARD TABLE,
                   <FS_1>,
                   <FS_11>,
                   <F>,
                   <FA>,
                   <LWA_LINE_WA>,
                   <LWA_LINE_WA1>.
    ------- Create Dyn Table From FC
    DATA: LT_DATA        TYPE   REF TO DATA,
          LT_DATA1        TYPE   REF TO DATA,
          LWA_LINE       TYPE   REF TO  DATA,
          LWA_LINE1       TYPE   REF TO  DATA,
          LI_FIELD_CAT   TYPE   LVC_T_FCAT,
          LWA_FIELD_CAT  TYPE   LVC_S_FCAT.
       PARAMETERS & SELECT-OPTIONS
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_SPRAS FOR MAKT-SPRAS NO INTERVALS  DEFAULT 'EN'
                                                            OBLIGATORY ,
                     S_MATNR FOR MARA-MATNR,
                     S_MTART FOR MARA-MTART.
    PARAMETERS: GP_SIZE TYPE I DEFAULT '200'.
    SELECTION-SCREEN : END OF BLOCK B1.
       INITIALIZATION
    INITIALIZATION.
      gv_repid = sy-repid.
      gv_date = sy-datum.
    AT SELECTION-SCREEN
    AT SELECTION-SCREEN.
      IF GP_SIZE < 0.
       MESSAGE E002(00).
      ENDIF.
      IF GP_SIZE > 50000.
       MESSAGE W130(26) WITH TEXT-004.
        SET CURSOR FIELD 'gp_size'.
      ENDIF.
    START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM FIELDCAT.
      PERFORM LAYOUT.
      PERFORM DATA_FETCH.
      PERFORM READ_DATA_TO_FINAL.
      SORT ig_final BY matnr spras.
      gv_lin = gv_li.
      gv_li = gv_li - 2.
      LOOP AT ig_final INTO wg_final.
        ASSIGN COMPONENT 1 OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = 'Material Number'.
        ASSIGN COMPONENT 2 OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = 'Authorization Group'.
        g_VAR11 = wg_final-srno + 2.
        gv_li1 = gv_li1 + 2.
        MOVE : g_var11 TO gv_i1.
        ASSIGN COMPONENT g_var11 OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = 'MatDesc'.
        g_var2 = g_var11 + gv_lines.
        ASSIGN COMPONENT g_var2 OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = 'BasicData'.
        APPEND <LWA_LINE_WA1> TO <FS_22>.
        EXIT.
       ENDLOOP.
      LOOP AT ig_final INTO wg_final.
        AT NEW matnr.
          gv_index = sy-tabix.
          ASSIGN COMPONENT 1 OF STRUCTURE <LWA_LINE_WA> TO <F>.
          <F> = wg_final-matnr.
          ENDAT.
        AT NEW MATNR.
        GV_INDEX = SY-TABIX.
        ASSIGN COMPONENT 1 OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = wg_final-matnr.
         ENDAT.
        ASSIGN COMPONENT 2 OF STRUCTURE <LWA_LINE_WA> TO <F>.
        <F> = wg_final-begru.
        ASSIGN COMPONENT 2 OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = wg_final-begru.
        gv_var = wg_final-srno + 2.
        gv_li = gv_li + 2.
        MOVE : gv_var TO gv_i.
        ASSIGN COMPONENT gv_var OF STRUCTURE <LWA_LINE_WA> TO <F>.
        <F> = wg_final-maktx.
        ASSIGN COMPONENT gv_var OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = wg_final-maktx.
        gv_var1 = gv_var + gv_lines  .
        ASSIGN COMPONENT gv_var1 OF STRUCTURE <LWA_LINE_WA> TO <F>.
       <F> = wg_final-ltxt.
        ASSIGN COMPONENT gv_var1 OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = wg_final-ltxt.
        AT END OF matnr.
          APPEND <LWA_LINE_WA> TO <FS_2>.
          CLEAR <LWA_LINE_WA>.
        ENDAT.
        AT END OF matnr.
         APPEND <LWA_LINE_WA1> TO <FS_22>.
         CLEAR <LWA_LINE_WA1>.
        ENDAT.
      ENDLOOP.
      PERFORM display..
    *&      Form  data_fetch
          text
    -->  p1        text
    <--  p2        text
    FORM DATA_FETCH .
      SELECT matnr
              from mara up to gp_size rows
             appending corresponding fields of table ig_matnr
             where matnr in s_matnr
             and mtart in s_mtart.
    loop at ig_matnr.
      SELECT  MARA~MATNR
              MARA~BEGRU
              MARA~MTART
              MAKT~SPRAS
              MAKT~MAKTX FROM MARA INNER JOIN MAKT
        ON MARAMATNR = MAKTMATNR
       appending corresponding fields of TABLE ig_mara_makt  UP TO GP_SIZE
    ROWS
        WHERE makt~spras IN s_spras
        AND   mara~matnr IN s_matnr
        AND   mara~mtart IN s_mtart
        AND   mara~matnr EQ ig_matnr-matnr.
        endloop.
      IF sy-subrc = 0.
        SORT ig_mara_makt.
      ENDIF.
    ENDFORM.                    " data_fetch
    *&      Form  read_data_to_final
          text
    -->  p1        text
    <--  p2        text
    FORM READ_DATA_TO_FINAL .
      LOOP AT ig_mara_makt INTO wg_mara_makt .
        wg_final-MATNR = wg_mara_makt-MATNR.
        wg_final-BEGRU = wg_mara_makt-BEGRU.
        wg_final-MTART = wg_mara_makt-MTART.
        wg_final-SPRAS = wg_mara_makt-SPRAS.
        wg_final-MAKTX = wg_mara_makt-MAKTX.
        READ TABLE ig_t002 INTO wg_t002 WITH KEY spras = wg_final-spras.
        IF sy-subrc = 0.
          wg_final-srno = wg_t002-srno.
        ENDIF.
        CLEAR ig_thead[].
        ig_thead-TDOBJECT = 'MATERIAL'.
        ig_thead-TDNAME   = wg_final-matnr.
        ig_thead-TDID     = 'GRUN'.
        ig_thead-TDSPRAS  = wg_final-spras.
        CALL FUNCTION 'TEXT_READ'
          EXPORTING
            I_HEADER   = IG_THEAD
            I_READONLY = 'X'
          IMPORTING
            E_HEADER   = IG_THEAD
          TABLES
            T_LINES    = IG_TLINE[]
          EXCEPTIONS
            NOTFOUND   = 1.
        IF sy-subrc  EQ 0.
          LOOP AT  ig_tline.
            gv_strg = ig_tline-tdline.
            IF gv_strg1 <> ' '.
              CONCATENATE gv_strg1 ';' gv_strg INTO gv_strg1.
            ELSE.
              gv_strg1 = gv_strg.
            ENDIF.
          ENDLOOP.
          wg_final-ltxt = gv_strg1.
          APPEND wg_final TO ig_final.
          CLEAR wg_final.
          gv_strg1 = ' '.
        ELSE.
          APPEND wg_final TO  ig_final.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " read_data_to_final
    " read_data_to_final
    *&      Form  layout
          text
    -->  p1        text
    <--  p2        text
    FORM LAYOUT .
      CLEAR L_LT.
      L_LT-ZEBRA = 'X'.
      L_LT-COLWIDTH_OPTIMIZE = 'X'.
      L_LT-WINDOW_TITLEBAR = 'MATERIAL DETAILS'.
    ENDFORM.                    " layout
    *&      Form  fieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM FIELDCAT .
      SELECT SPRAS
               LAISO FROM t002 INTO  CORRESPONDING FIELDS OF TABLE ig_t002
          WHERE spras IN s_spras.
      DESCRIBE TABLE ig_t002 LINES gv_lines.
      LOOP AT ig_t002 INTO wg_t002.
        g_v = g_v + 1.
        Wg_t002-srno = g_v.
        MODIFY ig_t002 FROM wg_t002 TRANSPORTING SRNO.
      ENDLOOP.
      LOOP AT ig_t002 INTO wg_t002.
        CLEAR WA_IT_FLDCAT.
        MOVE SY-INDEX TO WA_COLNO.
        CONCATENATE 'MD-' wg_t002-LAISO
                          WA_COLNO
                         INTO WA_FLNAME.
        WA_IT_FLDCAT-FIELDNAME = WA_FLNAME.
        WA_IT_FLDCAT-DATATYPE = 'CHAR'.
        WA_IT_FLDCAT-SELTEXT = WA_FLNAME.
        WA_IT_FLDCAT-INTLEN = 250.
        WA_IT_FLDCAT-TABNAME = '<FS_2>'.
        APPEND WA_IT_FLDCAT TO T_FLDCAT.
        CLEAR wg_t002.
        ENDLOOP.
      LOOP AT ig_t002 INTO wg_t002.
        CLEAR WA_IT_FLDCAT.
        MOVE SY-INDEX TO WA_COLNO.
        CONCATENATE 'BD-' wg_t002-LAISO
                           WA_COLNO
                        INTO WA_FLNAME.
        WA_IT_FLDCAT-FIELDNAME = WA_FLNAME.
        WA_IT_FLDCAT-DATATYPE = 'CHAR'.
        WA_IT_FLDCAT-SELTEXT = WA_FLNAME.
        WA_IT_FLDCAT-INTLEN = 250.
        WA_IT_FLDCAT-TABNAME = '<FS_2>'.
        APPEND WA_IT_FLDCAT TO T_FLDCAT.
        CLEAR wg_t002.
        ENDLOOP.
      MOVE 'MATNR' TO WA_FLNAME.
      WA_IT_FLDCAT-FIELDNAME = WA_FLNAME.
      WA_IT_FLDCAT-DATATYPE = 'CHAR'.
      WA_IT_FLDCAT-SELTEXT = 'Material No'.
      WA_IT_FLDCAT-INTLEN = 18.
      WA_IT_FLDCAT-TABNAME = '<FS_2>'.
      INSERT WA_IT_FLDCAT INTO T_FLDCAT INDEX 1.
      MOVE 'BEGRU' TO WA_FLNAME.
      WA_IT_FLDCAT-FIELDNAME = WA_FLNAME.
      WA_IT_FLDCAT-DATATYPE = 'CHAR'.
      WA_IT_FLDCAT-SELTEXT = 'Authorization Group'.
      WA_IT_FLDCAT-INTLEN = 4.
      WA_IT_FLDCAT-TABNAME = '<FS_2>'.
      INSERT WA_IT_FLDCAT INTO T_FLDCAT INDEX 2.
      DESCRIBE TABLE T_FLDCAT LINES gv_li.
      ASSIGN LT_DATA TO <FS_DATA>.
    Creating the Dynamic Internal Table
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG           = T_FLDCAT         " Fieldcatalogue
        IMPORTING
          EP_TABLE                  = <FS_DATA>   " Dynamic Internal Table
        EXCEPTIONS
          GENERATE_SUBPOOL_DIR_FULL = 1
          OTHERS                    = 2.
    Assign Dyn Table To Field Sumbol
      ASSIGN <FS_DATA>->* TO <FS_1>.
    Assigning the Internal Table TYPE ANY to Standard internal Table
      ASSIGN <FS_1> TO <FS_2>.
    Creating a Workarea
      CREATE DATA LWA_LINE LIKE LINE OF <FS_2> .
    Assigning the Content to the workares as a Pointer
      ASSIGN LWA_LINE->* TO <LWA_LINE_WA>.
      LOOP AT T_FLDCAT INTO WA_IT_FLDCAT.
        WA_IT_FLDCAT1-FIELDNAME = WA_IT_FLDCAT-FIELDNAME.
        WA_IT_FLDCAT1-TABNAME =  WA_IT_FLDCAT-TABNAME.
        WA_IT_FLDCAT1-SELTEXT_L = WA_IT_FLDCAT-SELTEXT.
       WA_IT_FLDCAT1-REF_TABNAME = 'MARC'.
        APPEND WA_IT_FLDCAT1 TO T_FLDCAT1.
        CLEAR : WA_IT_FLDCAT,WA_IT_FLDCAT1.
      ENDLOOP.
      ASSIGN LT_DATA1 TO <FS_DATA1>.
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG           = T_FLDCAT         " Fieldcatalogue
        IMPORTING
          EP_TABLE                  = <FS_DATA1>  " Dynamic Internal table
        EXCEPTIONS
          GENERATE_SUBPOOL_DIR_FULL = 1
          OTHERS                    = 2.
    Assign Dyn Table To Field Sumbol
      ASSIGN <FS_DATA1>->* TO <FS_11>.
    Assigning the Internal Table TYPE ANY to Standard internal Table
      ASSIGN <FS_11> TO <FS_22>.
    Creating a Workarea
      CREATE DATA LWA_LINE1 LIKE LINE OF <FS_22> .
    Assigning the Content to the workares as a Pointer
      ASSIGN LWA_LINE1->* TO <LWA_LINE_WA1>.
    ENDFORM.                    " fieldcat
    *&      Form  show
          text
    -->  p1        text
    <--  p2        text
    FORM Display .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
       I_INTERFACE_CHECK                 = ' '
       I_BYPASSING_BUFFER                = ' '
       I_BUFFER_ACTIVE                   = ' '
         I_CALLBACK_PROGRAM                = GV_REPID
        I_CALLBACK_PF_STATUS_SET          = 'PF_STATUS_SET'
        I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
       I_CALLBACK_TOP_OF_PAGE            = ' '
       I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
       I_CALLBACK_HTML_END_OF_LIST       = ' '
       I_STRUCTURE_NAME                  =
       I_BACKGROUND_ID                   = ' '
       I_GRID_TITLE                      =
       I_GRID_SETTINGS                   =
        IS_LAYOUT                         = L_LT
         IT_FIELDCAT                       = T_FLDCAT1[]
       IT_EXCLUDING                      =
       IT_SPECIAL_GROUPS                 =
       IT_SORT                           =
       IT_FILTER                         =
       IS_SEL_HIDE                       =
       I_DEFAULT                         = 'X'
       I_SAVE                            = ' '
       IS_VARIANT                        =
       IT_EVENTS                         =
       IT_EVENT_EXIT                     =
       IS_PRINT                          =
       IS_REPREP_ID                      =
       I_SCREEN_START_COLUMN             = 0
       I_SCREEN_START_LINE               = 0
       I_SCREEN_END_COLUMN               = 0
       I_SCREEN_END_LINE                 = 0
       I_HTML_HEIGHT_TOP                 = 0
       I_HTML_HEIGHT_END                 = 0
       IT_ALV_GRAPHICS                   =
       IT_HYPERLINK                      =
       IT_ADD_FIELDCAT                   =
       IT_EXCEPT_QINFO                   =
       IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
       E_EXIT_CAUSED_BY_CALLER           =
       ES_EXIT_CAUSED_BY_USER            =
        TABLES
          T_OUTTAB                          = <FS_2>
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " display
    FORM PF_STATUS_SET USING RS_EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'DISPLAY' .
    ENDFORM. "PF_STATUS_SET
    *& Form Name: user_command *
    *& Form Desc: For Handling USER_COMMAND *
    FORM USER_COMMAND USING IF_UCOMM TYPE SY-UCOMM
                         IS_SELFIELD TYPE SLIS_SELFIELD.
      CASE IF_UCOMM.
        WHEN 'DOWNLOAD'.
          CALL FUNCTION 'POPUP_TO_CONFIRM'
            EXPORTING
      TITLEBAR                    = ' '
      DIAGNOSE_OBJECT             = ' '
              TEXT_QUESTION               = 'Data download to excel'
      TEXT_BUTTON_1               = 'Ja'(001)
      ICON_BUTTON_1               = ' '
      TEXT_BUTTON_2               = 'Nein'(002)
      ICON_BUTTON_2               = ' '
      DEFAULT_BUTTON              = '1'
      DISPLAY_CANCEL_BUTTON       = 'X'
      USERDEFINED_F1_HELP         = ' '
      START_COLUMN                = 25
      START_ROW                   = 6
      POPUP_TYPE                  =
    IMPORTING
      ANSWER                      =
    TABLES
      PARAMETER                   =
    EXCEPTIONS
      TEXT_NOT_FOUND              = 1
      OTHERS                      = 2
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
        BIN_FILESIZE                  =
              FILENAME                     = 'C:\Material-Text.xls'
             FILETYPE                      = 'ASC'
        APPEND                        = ' '
         WRITE_FIELD_SEPARATOR         = 'X'
        HEADER                        = '00'
         TRUNC_TRAILING_BLANKS         = 'X'
        WRITE_LF                      = 'X'
        COL_SELECT                    = ' '
        COL_SELECT_MASK               = ' '
         DAT_MODE                      = 'X'
       IMPORTING
         FILELENGTH                    = GL_LENGHT
            TABLES
              DATA_TAB                      = <FS_22>
      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.
          IF GL_LENGHT NE 0.
            MESSAGE S398(00) WITH 'DATA downloaded to EXCEL'.
          ENDIF.
    Thanks
      ENDCASE.
    ENDFORM.                    "user_command

  • Dynamic picture viewer

    Dynamic picture viewer.
    Please check out this url,
    http://www.discrete-properties.com/imageView/picView.htm
    it has the swf of the picture viewer, that I am trying to
    create, it also has alink to the source code, for anyone that is
    interested in helping.. thanks.
    problem 1... I want to speed up the animation, however to do
    this I would need to use +=20 instead of ++, however that causes
    problems for the animation of the picture border as it does not
    know when to stop the animation, as it is incrementing in 20, not
    by 1.
    problem 2... The masking image animation starts before the
    image has loaded that needs to be masked.
    problem 3... The masking animation does not always play.
    If you could take a look that would be great.. I am still
    fairly new to this and self taught so I apologies for how dirty the
    actionscripting is!!!!
    http://www.discrete-properties.com/imageView/picView.htm
    Thanks in advance.

    Make the FPS go up, that solves problem 1
    I don't know what you mean by problem 2 and 3...
    If you want the mast image animation to start before the
    image has loaded, I would suggest to make it "play()" as soon as
    the item is clicked, but you need to know how big to resize it. If
    you mean that there's a problem because it plays before it's
    loaded, then... there is no problem :/. I looked at it and it
    didn't play when it was loading.
    Mask animation is always playing :/, solves problem 3 xD
    (yay, another self-taught actionscript person!)

  • Is there a way to accomplish a dynamic image insertion linkage?

    I have a cell in my spreadsheet where I have inserted a graphic, let's say .../GRAPHICS/PICTURE-1.JPG for reference.
    I would like the image displayed in Numbers to change dynamically by virtue of my changing the contents of .../GRAPHICS/PICTURE-1.JPG (through renaming, of course).
    What I really want is a dynamic link, rather than having to manually reinsert the image. (No problem for PICTURE-1.JPG, but more than a minor annoyance when it gets to, say, PICTURE-23.JPG, right?)
    Thanks for any suggestions.
    -- Ranebo

    Hello
    I hope that the given script will fit your needs.
    I took care to comment many instructions.
    --(SCRIPT exchangePictures.app]
    Save the script as a Bundle Application
    In the bundle, create a folder whose name is the one of the iWork's document to change (stripped of its name extension)
    In this folder, store the "new" pictures in a subfolder named "New".
    CAUTION: as you wrote, YOU MUST check that new files dimensions are the same that the old ones.
    Drag and drop the icon of an iWork document on the script's icon.
    The "old" embedded files having a "replacement" in the folder "New" are duplicated in the folder "Old"
    and the replacement file is copied in the document's package.
    Yvan KOENIG (28 mars 2008)
    property permitted : {"com.apple.iwork.keynote.keynote", "com.apple.iwork.numbers.numbers", "com.apple.iwork.pages.pages"}
    property nouveau : "New"
    property ancien : "Old"
    -- ==================
    (* lignes exécutées si on double clique l'icône du script
    • lines executed if on double click the script's icon *)
    on run
    tell application "System Events" to set _ to choose file of type permitted
    my traiteFichier(_)
    end run
    -- ==================
    (* lignes exécutées si on glisse-dépose l'icône d'un document iWork sur l'icône du script
    • lines executed if we drag&drop the icon of an iWork document on the script's icon *)
    on open (sel)
    local theFile, ti
    set theFile to first item of sel
    tell application "System Events" to set ti to type identifier of theFile
    if ti is in permitted then my traiteFichier(theFile) (*
    if the dropped document is not a Pages or a Numbers one, exit. *)
    end open
    -- ==================
    on traiteFichier(theDoc) (*
    theDoc is an iWork's document *)
    set theDoc to theDoc as Unicode text
    tell application "System Events" to tell disk item theDoc
    set leNom to name (* document's name *)
    set nomExt to name extension (* document's name extension *)
    set liste to files (* the files stored in the document's package *)
    end tell
    set nomDossierDoc to (text 1 thru -(2 + (length of nomExt)) of leNom) & ":" (*
    the document's name minus the name extension *)
    tell application "System Events" to set myPath to (path to me) as Unicode text (*
    grab the script's pathname *)
    if myPath ends with "Script Editor.app:" then return (* The script can't be used from the Script Editor *)
    set DossierDoc to myPath & nomDossierDoc
    set DossierDocNew to DossierDoc & nouveau & ":"
    tell application "System Events"
    set dossierExiste to exists folder DossierDoc
    set newExiste to exists folder DossierDocNew
    end tell
    if (dossierExiste is true) and (newExiste is true) then (*
    the required folders are available *)
    set DossierDocOld to DossierDoc & ancien & ":"
    tell application "System Events"
    if not (exists folder DossierDocOld) then make new folder at end of folder DossierDoc with properties {name:ancien}
    end tell (*
    now we are sure that the folder DossierDocOld exists *)
    repeat with f in liste (*
    with every files stored in the documents's package *)
    set f to f as alias
    tell application "Finder" (*
    We must use Finder because at this time, System Events is unable to duplicate *)
    set nf to name of f
    if exists file (DossierDocNew & nf) then (*
    here we are sure that we have a replacement file *)
    try
    duplicate f to folder DossierDocOld with replacing (*
    stores a duplicate of the original file *)
    end try
    try
    duplicate file (DossierDocNew & nf) to (theDoc as alias) with replacing (*
    put the new file in the document's package *)
    end try
    end if -- exists file…
    end tell -- to Finder
    end repeat
    end if -- dossierExiste and newExiste
    end traiteFichier
    --[/SCRIPT]
    Yvan KOENIG (from FRANCE vendredi 28 mars 2008 19:51:15)

  • Problem in Dynamic ALV - inserting values in proper field of a table.

    Hi gurus,
    As per the user requirement I need to create a dynamic alv report. The fields will be display according to the period entered.
    I have already build the alv and it is working fine. But My questio is how can I append data into internal table in its proper field.
    suppose I have enter period 1 to 3 in selection screen. Then my table structure will be
    JAN |  FEB | MAR
    Upto this is is working fine, fields are generated dynamically , but how can I insert data only in perticular field.
    like
    itab-JAN = 001.
    itab-FEB = 002.
    itab-MAR = 003.
    append itab
    JAN |  FEB | MAR
    001    002   003
    Please give me a solution of that. waiting for reply.

    hI,
    loop at <dyn_table> assigning <wa>.
    lv_count = 001.
    *perform get_short_tet of month in a varibale say lv_var
    assign component LV_VAR of structure <wa> to <dyn_field1>.
    <dyn_field1> = lv_count.
    lv_count = lv_count + 1.
    endloop.
    Regards,
    mrunal
    Edited by: Mrunal Shyamkant Patki on Nov 5, 2009 10:53 AM
    Edited by: Mrunal Shyamkant Patki on Nov 5, 2009 10:54 AM

  • Dynamic picture in Smart forms

    hi all,
    i need to include the  picture of am employee dynamically in the smart form deponding on the personnel no selected .so each page will need to include the picture. how to create graphics node dynamically / assign the picture .
    can any one tell me the logic .
    thanks
    senthil

    Hi Senthil,
    Create a graphic node in the Smartform and under the tab  'General Attributes' fill the Name, Object and Id with variables (e.g. &NAME&, &OBJECT& and &ID&) and fill these parameters to get the picture you want at runtime.
    Regards,
    John.

  • Viewing Pictures inserted into Eudora from iPhoto '08

    I tried inserting (NOT attaching), by dragging-and-dropping, a photo I'd exported from iPhoto '08 into the text of an e-mail I was composing on Eudora v. 6.2.4. Cc's of the message to Hotmail and Yahoo addresses displayed the picture correctly, but a Cc back to Eudora showed only an icon which, when clicked, resulted in the message "Core Image Fun House cannot open files of this type". This was never a problem with iPhoto '06, and I did it all the time! (I tried again, this time first opening the picture in "Preview" and saving it as a .jpg file before insertion with the same result.) Is this another reason NOT to have bought iLife '08? Can Eudora users no longer display inserted images? (Bad enough that my web-site on iWeb '08 can no longer be read by 95% of the population—the ones who use only "Internet Explorer" and have probably never heard of "Firefox" or "Safari", nor want to!)

    Thanks for the response... this is getting a little closer. The files in question--since they were inserted, rather than attached-- are not, in fact, in the "Attachments" folder, but in the folders named "Parts Folder" and "Spool Folder" (also to be found in the "Eudora Folder"). (I've never quite understood these ones... something about outgoing vs. incoming, I thing! And they've usually been renamed to some code name.)
    It seems that the ones that wouldn't allow themselves to be displayed are listed (without a .jpg extender) as "Documents" and couldn't be opened by "Preview", the ones that did display were listed as "JPEG Image" and could be opened by "Preview". If I added a ".jpg" extender to the non-display ones, they did actually then open in Preview.
    At this point I've added and removed so many ".jpg" extenders to various files that I no longer recall where I'm at, so I'll take a bit of a time out, regroup, and report back. Hope this is all of some ultimate use to someone else out there, eventually!

  • Dynamic Picture/Image Not Working

    CR XI R1 - I believe it is the most recet service pack available (4?)
    VBScript is being used to query the database and provide the recordset data to the crystal report via a data definition file.  All other data displays properly on the report.
    The 'placeholder' image is one that says 'image not found'.  It "should" be getting replaced at runtime with the dynamic image specified in the graphic location formula but it is not and the image always remains the same.
    In the graphics location I have tried in multiple ways to enter a path with a http:// reference, a file:// reference, a local drive C: reference, and a reference relative to the report's current directory on the server.
    Nothing seems to work.
    Could someone help me understand the requirements of the graphics location field in crystal reports in order for it to dynamically locate the file at run time.?
    My current assumption is that the graphics location requires a path in text form (surrounded in quotes) to an image file to be returned.  I also am assuming it doesn't matter when the graphics location field evaluates itself relative to other fields/formulas - especially if the path is static.
    I should note that a static path entered and print previewed does switch the picture.

    Please disregard.  I believe I have solved the issue.  The crystal reports viewer on the server was version 9, not 11.  Changing it to 11 appears to have resolved the issue.

  • Dynamic texts inserted in SO10

    Hi
    Using SO10 I can create texts to be sent with a dynamic action. I can insert info type information for an employee like &P0001-BUKRS& to get the company code inserted in the text.
    This is all fine, but I would rather have the company name behind the code, which requires a look up in table T001-BUTXT.
    How can I make the connection between BUKRS and BUTXT to get the name displayed?
    Kind regards
    Aage Kold Jensen

    Hi Aage,
    So I have another suggestion for you:
    use a routine (F command in the Dynamic Actions),
    by which you update a field in RP50D structure.
    In SO10 you specify that field.
    Regards,
    Liran

  • Dynamic Picture Displaying in the Group Footer Section

    Hi all,
    I am building a sales quotation layout for SBO in crystal 2008.
    The layout has only one group. The first line in each group in considered to be a slaes tree father.
    For every group i need to display the picture of the "father" in the group footer  (one picture for every group).
    I get up to the stage when for each line in the detailes section i have a picture, but for all the lines other then the "father" line the picture is supressed.
    My problem is moving the displayed fahter picture from the detailes section to the group footer section. Every time i copy the picture field to the group footer nothing is displayed.
    Any idea?
    Thanks,
    Udi

    A group footer will dis[lay contents of the last record. You need to sort records to ensure that the last record contains link to your dynamic image.
    Ian

  • Dynamic Picture Counts

    In LR b4, the picture counts in the folders list were dynamically updated based on any filters applied (e.g 4 stars and higher), but this doesn't seem to work in v1.0. Is this something that was removed from v1 or am I missing a setting or something?

    this may happen if date is compounded or an attribute and you are not displaying the parent object
    Edited by: Ananda Theerthan on Feb 11, 2010 9:37 PM

  • Massive cursor after picture insert

    I have just inserted a picture into single column liquid site and am left with massive cursor which I can not remove. I wish to put text alongside the picture but am prevented from doing so.
    I can not see anything in the code which would suggest to someone like me with little knowledge how to remove it or what I have done to cause it to happen. I can type above and below it but not anywhere on the lines occupied by the picture the entire width of thepage. I tried pasting some text there and it still ends up underneath the picture not alongside. Any constructive help would be much appreciated.

    Hello Pziecina,
    Thanks for taking time to help me. I have just watched a video from Adobe on the different methods of inserting images. Each time the cursor was placed at the begining of a paragraph and in each instance the image was inserted but there was absolutely no text to the right of any of the images. I do not understand how to exactly place anything using only code. Also in many of the tutorials it says just drag the image to position it. I can not drag anything anywhere in my version of cs6. I am only building one site and am not going to give up. I can see from reading the forums and questions being asked that even experienced people have difficulty understanding what is going on.  I have made a half decent blank template page with header nav bar and footer but now can not even start to make the home page until I can fathom how to enter text and images alongside each other. It is so basic but I have read and read about positioning things acurately with code but have not yet found anything that I can understand.Thanks again.

  • AI CS6/picture insert problem

    See below picture showing, after we insert the picture, the file name should be showed but it didn't.
    This is the problem we faced and can you help us to solve this problem?
    If you are free can you help us to check on line? Please let us know your available time go on skype or any ...
    Thanks. Waiting your reply soon.

    I used File>Place and unckecked the link box and Embed *.psd,the file name should be showed but it didn't.
    But if I used File>Place and Embed *.jpg and *.tiff files, the file name can showed...

Maybe you are looking for

  • Windows 7 Freezes at "Completing Installation"

    So, I was installing windows 7 and everything was going great, fast, etc. Computer had just restarted, blah blah. Windows had said "Upgrading Registry and what not" and then when I got to the "Completing Installation" after about 5 minutes it just fr

  • Download all files from a specific application server directory to Local pc

    Hi Experts, I have a requirement of downloading all the files from an application server directory to a local pc. I know how to download a single file from an application server at a time provided the file name is known. But my requirement is to down

  • Short ring-like tone while iPhone is charging

    While using the wall a/c unit for charging, my iPhone emits a short ring every 5 minutes. It doesn't make this sound while charging through a USB connection. I've restarted the phone a few times, but still have this issue. This is a problem at night

  • How do I pass parameters to a report thru Report Viewer?

    hi, I am moving from Crystal Reports 8.5 to XI in VB6. How do I pass parameters to a report thru Report Viewer? Old VB code: crReport.ParameterFields(0) = "FrProp;" & Trim$(.FrProp) & ";TRUE" crReport.ParameterFields(1) = "ThProp;" & Trim$(.ThProp) &

  • 3D Parsing Error when viewing online?

    Having an issue with users trying to view PDFs created with Presenter over our website. Acrobat Version Created in: Acrobat Pro Extended 9.3.2 Acrobat Reader Version Viewed in: Acrobat Reader 9.3.2 When the file(s) are viewed over the web they fail t