Dynamic assign div size for picture

After having had my website up for some time i have received
some feedback from users.
I have both landscape and portrait photos in the same
gallery.
I can get the automatic size adjustments by setting the width
to auto to the div that wraps around the image.
However this is done with a penalty of being slow and
sometimes the rendering stops midway.
So what i was wondering is if there is a way to use the data
in the xml file to specify the size of the div wrapping the photo?
Reason is that i want to be able to make the background black
to get more of a contrast to the photo.
But when the photo goes from landscape to portrait i am stuck
with a big black area to the right of the photo due to fixed size
on the div.
Here is the website as reference: www.kanonphoto.com

Yes the picture div is the one i mean.
When it stops rendering it will show the picture, however the
resizing of the divs will halt so that a portion of the div to the
right will not collapse enough.
This is in Firefox 2.0 and IE 7.0.
So instead of letting the browser do the thinking i was
considering getting the size directly from the xml file and set the
size to the picture div.
By doing that i can also center the text above the photo
regardless on how big or small the photo is.

Similar Messages

  • I want to set a maximum size for pictures when FF shows websites. How can i do that? NO I DONT MEAN "HOW TO ZOOM".

    I have FF 34 but this problem has been there for a lot of earlier versions. On many webpages there are pictures that cover my whole screen, and I want to set maximum size for showing images on webpages.
    I ONLY wanr to change the maximum size of the images, AND IAM NOT asking about how to zoom the webpage.

    Do you want to hide large images or merely make them smaller by setting a max-width and max-height?
    You would probably have to use JavaScript (bookmarklet) to achieve this reliably.
    There are bookmarklets to make large images fit in the window to avoid a horizontal scroll bar
    You can try this code in the <b>userContent.css</b> file (adjust the max-width accordingly).
    *http://kb.mozillazine.org/userContent.css
    <pre><nowiki>img { max-width: 1024px !important; height: auto !important; }</nowiki></pre>
    The customization files userChrome.css (user interface) and userContent.css (websites) are located in the <b>chrome</b> folder in the Firefox profile folder.
    *http://kb.mozillazine.org/Editing_configuration
    *Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
    *Use a plain text editor like Notepad to create a (new) userContent.css file in the chrome folder (file name is case sensitive)
    *Paste the code in the userContent.css file in the editor window
    *Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userContent.css.<br>Otherwise Windows may add a hidden .txt file extension and you end up with a not working userContent.css.txt file

  • Dynamically assign series names for SVG Chart

    I have created a line chart with 5 series in it. I would like the legend name for each series to be dynamically assigned (as a value from a field in the database). Is this possible?
    Ideally, i'd also like the number of series to be variable too. Is this possible?

    Hi,
    I am trying to use the code you gave me above (which normally works fine). But when I put it in the query below with 3 ' (3 quotes) it fails.
    Any ideas?
    Thanks
    Owen
    return
    'SELECT null link, month label, sumamt "'||:P4_FY||'"
    FROM
    SELECT
    month
    , CASE
    WHEN MONTH = '''JUN''' THEN 1
    WHEN MONTH = '''JUL''' THEN 2
    WHEN MONTH = '''AUG''' THEN 3
    WHEN MONTH = '''SEP''' THEN 4
    WHEN MONTH = '''OCT''' THEN 5
    WHEN MONTH = '''NOV''' THEN 6
    WHEN MONTH = '''DEC''' THEN 7
    WHEN MONTH = '''JAN''' THEN 8
    WHEN MONTH = '''FEB''' THEN 9
    WHEN MONTH = '''MAR''' THEN 10
    WHEN MONTH = '''APR''' THEN 11
    WHEN MONTH = '''MAY''' THEN 12
    END AS SORT_ORDER
    , sumamt
    FROM
    Select month
    , sum(DEAL_VALUE_SUM) sumamt
    from my_deals
    where country = :P8_COUNTRY
    and FY = :P8_FY
    group by month))
    ORDER BY SORT_ORDER';

  • How to setup a default size for new divs in fluid grid layout in dreamweaver?

    Hi,
    how to setup a default size for a new divs in fluid grid layout in dreamweaver? I don't need the default size for new divs as a 100% width, I need them 13.69% as a one coulmn width only (7 coulmns fluid grids layout for desktop size 1000w).
    This problem I've faced when I intended to insert dozens of fluid grid divs in the layout.

    Sorry, I don't believe that you have had a good look at the Foundation framework. I'll now hold your hand while we go through the basics.
    Here is the specific page http://foundation.zurb.com/docs/components/grid.html
    The default values are
    Em-base : 16px
    Row width: 62.5em (62.5em x 16px = 1000px)
    Columns per row: 12
    These and other default values can be changed. The fact of the matter is that if you stipulate a section width of 2 or 3 or 12 columns, the widths will automatically be calculated for you.
    In your case, if you want 7 columns, all you need to do is change the number of columns per row and the rest is done for you.

  • I need to save some pictures from iPhoto to a SDHC photo card for a digital frame and was wondering if there is a way to shrink or compress file size for each picture as I have already cropped the pictures? Thank you

    I need to save some pictures from iPhoto to a SDHC photo card for a digital frame and was wondering if there is a way to shrink or compress file size for each picture as I have already cropped the pictures? Thank you

    Yes, you do this when you export the images from the Library.
    File -> Export
    in the Size section, you don't need images larger than the frame size, so you can specify that and in the Jpeg Quality you can select the amount of compression used.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • Best size for facebook marketing picture?

    Hello,
    has anyone experience with designing a facebook post / timeline picture for marketing purpose? If yes, what is the best size for desktop and mobile and how would you do the fill.
    In my opinion it should be a size that fills a large part of the users screen so they must see. For the content I think a teaser and then a click to the webpage for more info.
    I'm curious what other designers do or would do.
    Thanks,
    Jorik

    Hi Jorik,
    Facebook will actually resize any photo you post to fit the timeline. With that said, even if you upload an extremely large screensaver image 1600x1200px, it will appropriately fit and scale it according to the window size. This will also scale appropriately on mobile devices. Generally speaking, that means the larger your image the better. This is because when displayed on a desktop or large screen, you can still view it at a high resolution, but when scaled down to a mobile device, it won't make a difference. Note the maximum photo upload size is 2048x2048px.
    One other thing to note, is that Timeline previews the image as more square and vertical. This means that if you have a landscape photo or very wide photo, the two sides will probably not be visible in the preview. So for marketing purposes, aim important content in the center of the composition. If you want your marketing content to PERFECTLY fit the Timeline post displayed on Facebook, you would want to design an image 404x404px.
    For more Facebook Dimensions, check out this website: Facebook Timeline Image Sizes Made Easy
    Hope it helps!
    Clarice

  • How to dynamically assign jpeg file to a picture widget?

    Hi..
    I have a path of a image with me. I want to dynamically assign the image to the picture widget.
    Anyone know how to do this??
    thnaks,
    natarak

    Are you using Mail or a 3rd party email client? 

  • Best Picture Sizes For 8.5 by 11 Book

    i need to resize all my photos from around 1500 x 1500 px to ????? on another computer that has photoshop on it (i cant belive iPhoto wont let you resize a jpeg). All the pictures are to large for the book i am making
    whats a good size for the jpeg's to be for a 8.5 x 11 book???
    thanks
    brad
    ps is there any basic free photo editing software out there that will let me just resize a jpeg?

    Brad:
    For a book use the largest pixel dimensions available. Do not resize down. If you need to downsize a photo for use outside of iPhoto use the File->Export->File Export menu option and you'll be able to set the pixel dimension and the amount of jpg compression (quality) for the exported file.
    For batch resizing outside of iPhoto Resize! is a very good app and it's free.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Recommended Image Size for Contact Pictures?

    Hi All,
    I want to edit up some family members to attach thier images to my iPhone contacts... Does anyone know what the preferred resolution size is for the iPhone for optimal appearance?
    I've tried to do this with outlook before, and I hate the way it dithers the images to a low quality.... I'm hoping that the iPhone doesn't do this and so I wanted to experiment with how they would appear...
    But instead of making the images just any random size, I wanted to crop them to the preferred image/pixel size so that my photoshopped images look like what I expect them to show up like...
    If you could advise with the documented or known pixel resolution size used by the iPhone it would be appreciated!

    Thanks, but I don't believe that the contacts come up full screen do they?
    Usually there is a optimal image size for certain things like contact photos and I am just trying to help ensure that all my photos are the same size and don't vary...
    I might be a little carried away with how I am formatting them, but just hoping someone already knows this answer!

  • How to assign transport request for Dynamic selection in SE36

    Hi Friends,
    Please guide me how to transport or assign a request for the changes made in BRF selecion view.
    I have assigned and added BKPF-XREF1_HD field for FB03 transaction. Its working fine as per user requirement.
    I am facing probelm to assing a transport request for that. I didn't find any transport menu in se36.
    So please provide me how to assign a TR which need to import into Production client.
    If I have to assign or create a program (standard), then please provide me the program name.
    Please reply.
    Thanks & Regards
    Sankar.
    Edited by: sankar babu on Jul 29, 2010 12:27 PM

    Moderator message - Cross post locked
    Total Questions:  283 (131 unresolved)
    Please also close your old posts and assign po1nts to helpful answers.
    Rob
    Edited by: Rob Burbank on Jul 29, 2010 9:50 AM

  • Optimal Size of Pictures for each format?

    I know there is no one answer for this, but I'm trying to create Photoshop templates for myself to make using images with Muse easier to deal with while working with clients. If they are going to be changing out photos with in-browser editing, it would be good to have a specific size that fits well for the full width of each format. Ideally they could do this sizing themselves. Maybe there is a cheap program for them to re-size pics.
    I'm wondering what others are doing for standard (not retina) websites as far as optimum sizes for each format for screen width photos. Love the idea that I can get 3 completely different looks! Worth the work.

    Thanks. That solves my problem of clients being able to re-size. However, I would love to hear ideas about sizes for full screen width pics for the three formats. Ex: Should I have a photo at 2000 pixels for a desktop? Should I match the screen resolution? Have I missed some documentation that goes over this? If I guess too large, loading time is increase. Too small and resolution suffers. I would love for Muse admin to comment on this. I could be the only idiot that is missing the obvious. If so, let me know.

  • Is there a recommended (maximum) size for a catalog?

    I'm loading all my photos into PSE9 Organizer on my new MacBook Pro and was wondering if there is a recommended maximum size for a catalog? On my PC I separated my catalogs by year. My 2011 folder contains over 11,000 photos and is 71GB. Is that pushing the limits for efficiency or could I combine years?

    One catalog for all of your photos makes sense. Alternatively, as Ken said, catalogs by relatively non-overlapping subject matter areas make sense. I still see no scenario where catalogs by years makes sense, unless you can honestly say that you can remember the years of all of your 68000 photos.
    Tags and albums let you organize in ways that are nearly impossible using folders. If your daughter is named Jennifer, for example, and you assign the Jennifer tag to all photos that contain her image, then later when you want to search for pictures of Jennifer, you simply click the tag and boom, there are the photos instantaneously. You don't need to know what folder the photos are in, nor do you need to know what date the photos were taken. If you want photos of Jennifer over the years at Christmas, this is a simple search once you tag the photos, and nearly impossible using folders. The possibilites are endless. You let PSE remember where the photos are, so you don't have to. You let PSE do the searching, instead of you searching the folders.

  • Create dynamic report or query for piece count

    Hi abaper's
    This is a very straight forward requirement. so please give me code
    First you have to get the corresponding plant from table T320 for the given warehouse numbers in the selection screen. 
    1.     Get the sum of order qty of sales orders from the sales order tables      for the given warehouse(Plant), distribution channel and the give date      range.
    2.     Get the confirmed transfer orders qty from the TO master table where      TO confirmation date is in the given date range and WH number.
    3.     Get the total PGIed qty from the delivery master table where PGI'ed      date in the given date range, shipping point is in the corresponding      plant of the WH and for the given distribution channel.
    As you are going to use the major tables please try to write the select commands effectively to avoid further performance issues.

    How to improve the performance fo this code.....this very urgent.
    & Issue Number          : 22199                                    &
    & Programmer            : Anjaneyulu.Pabba                         &
    & Transport Number      : D01K962471                               &
    & Date of Creation      : 19/03/2008                               &
    & Description           : Dynamic report or query for piece count  &
    & Requested By          : Parvati.Polisetty                        &
    REPORT  ZR_SD_PIECE_COUNT_ALV no standard page heading
                                  line-size 255
                                  line-count 65.
                          TABLES DECLARATION
    *TABLES: T320,   "Assignment IM Storage Location to WM Warehouse Number
          VBAK,   "Sales Document: Header Data
          VBAP,   "Sales Document: Item Data
          TVKOV,  "Org. Unit: Distribution Channels per Sales Organization
          LTAK,   "WM transfer order header
          LTAP,   "Transfer order item
          LIKP,   "SD Document: Delivery Header Data
          LIPS.   "SD document: Delivery: Item data
                          TYPE-POOLS DECLARATION
    TYPE-POOLS: SLIS .
         Internal Table Declaration
    DATA : BEGIN OF TY_T320,
            WERKS TYPE WERKS_D,
            LGNUM TYPE LGNUM,
           END OF TY_T320.
    DATA : BEGIN OF TY_VBAK,
            VBELN  TYPE VBELN_VA,
            VTWEG  TYPE VTWEG,
            WERKS  TYPE WERKS_D,
            KWMENG TYPE KWMENG,
            VSTEL  TYPE VSTEL,
           END OF TY_VBAK.
    DATA : BEGIN OF TY_LTAK,
            LGNUM TYPE LGNUM,
            TANUM TYPE TANUM,
            VISTA TYPE LTAP_VISTA,
           END OF TY_LTAK.
    DATA : BEGIN OF TY_LIKP,
            VBELN TYPE VBELN_VL,
            WERKS TYPE WERKS_D,
            LFIMG TYPE LFIMG,
           END OF TY_LIKP.
    DATA : BEGIN OF TY_ITAB ,
    LGNUM  TYPE LGNUM,    "Warehouse Number / Warehouse Complex
    WERKS  TYPE WERKS_D,  "Plant
    VBELN  TYPE VBELN_VA, "Sales Document
    VTWEG  TYPE VTWEG,   "Distribution Channel
    KWMENG TYPE KWMENG,  "Cumulative order quantity in sales units
    TANUM  TYPE TANUM ,     "Transfer Order Number
    VISTA  TYPE LTAP_VISTA, "Source actual quantity in alternative
                                                 unit of measure
    LFIMG  TYPE LFIMG,  "Actual quantity delivered (in sales units)
    END OF TY_ITAB .
    DATA: T_T320 LIKE STANDARD TABLE OF TY_T320 INITIAL SIZE 0 WITH HEADER
                                                                   LINE,
          T_VBAK LIKE STANDARD TABLE OF TY_VBAK INITIAL SIZE 0 .
    DATA: T_LTAK LIKE STANDARD TABLE OF TY_LTAK INITIAL SIZE 0 WITH HEADER
                                                                    LINE.
    DATA :T_LIKP LIKE STANDARD TABLE OF TY_LIKP INITIAL SIZE 0 WITH HEADER
                                                                    LINE.
    DATA:T_ITAB LIKE STANDARD TABLE OF TY_ITAB INITIAL SIZE 0 WITH HEADER
                                                                   LINE .
    *&      Fieldcatalog Declaration
    DATA : T_FCAT TYPE SLIS_T_FIELDCAT_ALV,
           W_FCAT TYPE SLIS_FIELDCAT_ALV.
    DATA : W_LAYOUT TYPE SLIS_LAYOUT_ALV.
    ********Global Data Declaration***
    DATA :G_REPID        LIKE SY-REPID,
         G_EXIT(1)      TYPE C,
         GX_VARIANT     LIKE DISVARIANT,
         X_SAVE,                          "for Parameter I_SAVE
         GS_VARIANT TYPE DISVARIANT.      "for parameter IS_VARIANT
    data: g_lgnum type t320-lgnum,
          g_vtweg type vbak-vtweg,
          g_erdat type vbak-erdat.
    *&      Selection-Screen
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_LGNUM FOR  g_lgnum, "Warehouse Number
                    S_VTWEG FOR g_vtweg, "Distribution Channel
                    S_ERDAT FOR g_erdat ."Date on which the record was
    **********"created
    SELECTION-SCREEN END OF BLOCK B1 .
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    PARAMETER: P_VARI LIKE DISVARIANT-VARIANT.  "Layout
    SELECTION-SCREEN END OF BLOCK B2.
    *&       INITIALIZATION EVENT
    INITIALIZATION.
      CLEAR GS_VARIANT.
    'gs_variant' must at least contain the report-id to allow
    saving a variant.
      G_REPID = SY-REPID.
    § 2.At least field REPORT of this structure has to be filled!
      GS_VARIANT-REPORT = G_REPID.
    § 3.Determine saving options.
      X_SAVE = 'A'.   "The user may save all types of variants
    *******Validating selection-screen values**********************
    getting F4 value for display variant field
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI.
      PERFORM F4_FOR_VARIANT.
    ****validation of F4 value of display variant
    AT SELECTION-SCREEN.
      PERFORM PAI_OF_SELECTION_SCREEN.
    *&      Start-Of-Selection
    START-OF-SELECTION.
    *****Subroutine to  select Plant from T320
      PERFORM FIND_PLANT .
    *****Subroutine to select Order Quantity from VBAP
      PERFORM ORDER_QUANTITY .
    *****Subroutine to select Transfer Order Quantity from LTAK and LTAP
      PERFORM TRANSFER_ORDER_QUANTITY.
    *****Subroutine to select TDelivery Quantity from  LIKP and LIPS
      PERFORM DELIVERY_QUANTITY.
    *&      End-Of-Selection
    END-OF-SELECTION.
    *****Subroutine for Fieldcatalog
      PERFORM FIELDCATALOG .
    *****Subroutine for Final Output
      PERFORM DISPLAY_OUTPUT .
    *&     Subroutine Implementaion
    *&      Form  FIND_PLANT
          text
    -->  p1        text
    <--  p2        text
    FORM FIND_PLANT .
      SELECT  WERKS
              LGNUM
              FROM T320
              INTO  TABLE T_T320
              WHERE LGNUM IN S_LGNUM.
    ENDFORM.                    " FIND_PLANT
    *&      Form  order_quantity
          text
    -->  p1        text
    <--  p2        text
    FORM ORDER_QUANTITY .
      SELECT VK~VBELN
             VK~VTWEG
             VP~WERKS
             VP~KWMENG
             VP~VSTEL
             INTO TABLE T_VBAK FROM VBAK AS VK
             INNER JOIN  VBAP AS VP
             ON VKVBELN = VPVBELN
             FOR ALL ENTRIES IN T_T320
             WHERE VK~VTWEG IN S_VTWEG
             AND   VK~ERDAT IN S_ERDAT
             AND   VP~WERKS = T_T320-WERKS.
    ENDFORM.                    " order_quantity
    *&      Form  Transfer_order_quantity
          text
    -->  p1        text
    <--  p2        text
    FORM TRANSFER_ORDER_QUANTITY .
      SELECT LK~LGNUM
             LK~TANUM
             LP~VISTA
             INTO TABLE T_LTAK FROM LTAK AS LK
             INNER JOIN LTAP AS LP
             ON LKLGNUM = LPLGNUM
             WHERE LK~KQUIT = 'X'
             AND   LK~BDATU IN S_ERDAT
             AND   LK~LGNUM IN S_LGNUM.
    ENDFORM.                    " Transfer_order_quantity
    *&      Form  Delivery_QUANTITY
          text
    -->  p1        text
    <--  p2        text
    FORM DELIVERY_QUANTITY .
      SELECT  VBELN WERKS LFIMG FROM LIPS
              INTO TABLE T_LIKP
              FOR ALL ENTRIES IN T_T320
              WHERE WERKS = T_T320-WERKS
              AND ERDAT IN S_ERDAT
              AND VTWEG IN S_VTWEG.
    ENDFORM.                    " Delivery_QUANTITY
    *&      Form  fieldcatalog
          text
    -->  p1        text
    <--  p2        text
    FORM FIELDCATALOG .
      W_FCAT-COL_POS       = '1' .
      W_FCAT-FIELDNAME     = 'LGNUM' .
      W_FCAT-REF_TABNAME   = 'T320'.
      W_FCAT-REF_FIELDNAME = 'LGNUM' .
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      W_FCAT-COL_POS       = '2' .
      W_FCAT-FIELDNAME     = 'VTWEG' .
      W_FCAT-REF_TABNAME   = 'VBAK'.
      W_FCAT-REF_FIELDNAME = 'VTWEG' .
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      W_FCAT-COL_POS       = '3' .
      W_FCAT-FIELDNAME     = 'KWMENG' .
      W_FCAT-REF_TABNAME   = 'VBAP'.
      W_FCAT-REF_FIELDNAME = 'KWMENG' .
    *w_fcat-seltext_m     = '# of Orders'.
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      W_FCAT-COL_POS       = '4' .
      W_FCAT-FIELDNAME     = 'VISTA' .
      W_FCAT-REF_TABNAME   = 'LTAP'.
      W_FCAT-REF_FIELDNAME = 'VISTA' .
    *w_fcat-seltext_m     = '# of Pcs Picked'.
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      W_FCAT-COL_POS       = '5' .
      W_FCAT-FIELDNAME     = 'LFIMG' .
      W_FCAT-REF_TABNAME   = 'LIPS'.
      W_FCAT-REF_FIELDNAME = 'LFIMG' .
    *w_fcat-seltext_m     = '# of Pcs Shipped'.
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
    W_FCAT-COL_POS       = '6' .
    W_FCAT-FIELDNAME     = 'TANUM' .
    W_FCAT-REF_TABNAME   = 'LTAK'.
    W_FCAT-REF_FIELDNAME = 'TANUM' .
    **w_fcat-seltext_m     = '# of Pcs Shipped'.
    APPEND W_FCAT TO T_FCAT.
    CLEAR W_FCAT.
    W_FCAT-COL_POS       = '7' .
    W_FCAT-FIELDNAME     = 'WERKS' .
    W_FCAT-REF_TABNAME   = 'T320'.
    W_FCAT-REF_FIELDNAME = 'WERKS' .
    **w_fcat-seltext_m     = '# of Pcs Shipped'.
    APPEND W_FCAT TO T_FCAT.
    CLEAR W_FCAT.
    ENDFORM.                    " fieldcatalog
    *&      Form  display_output
          text
    -->  p1        text
    <--  p2        text
    FORM DISPLAY_OUTPUT .
      LOOP AT T_T320 INTO TY_T320.
        TY_ITAB-WERKS = TY_T320-WERKS.
        TY_ITAB-LGNUM = TY_T320-LGNUM.
        READ TABLE T_VBAK INTO TY_VBAK WITH KEY WERKS = TY_T320-WERKS.
        IF SY-SUBRC = 0.
        TY_ITAB-VBELN  = TY_VBAK-VBELN.
        TY_ITAB-VTWEG  = TY_VBAK-VTWEG.
        TY_ITAB-KWMENG = TY_VBAK-KWMENG + ty_itab-kwmeng.
        ENDIF.
        READ TABLE T_LTAK INTO TY_LTAK WITH KEY LGNUM = TY_T320-LGNUM.
        IF SY-SUBRC = 0.
        TY_ITAB-TANUM = TY_LTAK-TANUM.
        TY_ITAB-VISTA = TY_LTAK-VISTA + ty_itab-vista.
        ENDIF.
        READ TABLE T_LIKP INTO TY_LIKP WITH KEY WERKS = TY_T320-WERKS.
        IF SY-SUBRC = 0.
        TY_ITAB-LFIMG = TY_LIKP-LFIMG + ty_itab-lfimg.
        ENDIF.
        APPEND TY_ITAB TO T_ITAB.
      ENDLOOP.
    Function Module for Displaying Final Output ********
      W_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM = SY-CPROG
          IS_LAYOUT          = W_LAYOUT
          IT_FIELDCAT        = T_FCAT[]
        TABLES
          T_OUTTAB           = T_ITAB.
    ENDFORM.                    " display_output
    *&      Form  f4_for_variant
          text
    -->  p1        text
    <--  p2        text
    FORM F4_FOR_VARIANT .
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
          IS_VARIANT = GS_VARIANT
          I_SAVE     = X_SAVE
        IMPORTING
          E_EXIT     = G_EXIT
          ES_VARIANT = GX_VARIANT
        EXCEPTIONS
          NOT_FOUND  = 2.
      IF SY-SUBRC = 2.
        MESSAGE ID SY-MSGID TYPE 'S'      NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        IF G_EXIT = SPACE.
          P_VARI = GX_VARIANT-VARIANT.
        ENDIF.
      ENDIF.
    ENDFORM.                    " f4_for_variant
    *&      Form  pai_of_selection_screen
          text
    -->  p1        text
    <--  p2        text
    FORM PAI_OF_SELECTION_SCREEN .
      IF NOT P_VARI IS INITIAL.
        MOVE GS_VARIANT TO GX_VARIANT.
        MOVE P_VARI TO GX_VARIANT-VARIANT.
        CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
          EXPORTING
            I_SAVE     = X_SAVE
          CHANGING
            CS_VARIANT = GX_VARIANT.
        GS_VARIANT = GX_VARIANT.
      ELSE.
        PERFORM VARIANT_INIT.
      ENDIF.
    ENDFORM.                    " pai_of_selection_screen
    *&      Form  variant_init
          text
    -->  p1        text
    <--  p2        text
    FORM VARIANT_INIT .
      CLEAR GS_VARIANT.
      GS_VARIANT-REPORT = G_REPID.
    ENDFORM.                    " variant_init

  • Default size for logo in 8.8

    What is the default size for a logo(picture) in 8.8 (on SBO print layout)?

    In a PLD, you can drag a Picture Box, and assign an image to the picture. Now in the Properties Window -> Format Tab -> Picture Size, set this to 'Fit Field Size Non-Proportionally'.
    This setting will adjust the size of the image to the size of the Picture Box, that is placed in the PLD.

  • L need help with textedit, I inserted a picture then the cursor went from small to the size of picture and l need to write a header next to the picture not at the bottom of it. can anyone help please?

    Can anyone tell me how to make cursor smaller after inserting picture so that l can add somethimg right next to it instead of bottom of picture. Meaning the next line is too low

    AFAIK, you can't. The nature of TextEdit is that it allows the picture to be treated as a character and adjusts the cursor size for that line.
    You need a app that supports transparent overlays.

Maybe you are looking for

  • Save as Excel file

    Hi! Why when I save a report as excel file the columns are united?? It not respect the layout of report?  Thank you Bye

  • Auto-Anchor Controller's Best Practice

    Hi All, I got confused with this setup. I have 2 Wlc's.One is the internal controller and another one configured for the anchor controller (different subnet-DMZ zone) for guest traffic. Where do i configure DHCP assignment for this users..? Should Pr

  • Help my printer is gone from printer utility!!!

    Hope someone can help. Apple recently switched out my HD, only to have to replace it again 2 weeks later. I lost everything and am trying to get up & running again. I re0installed my epson R2400 printer driver (with CD) but for some reason there is n

  • Error ibtsta: (1) set gpib(0), status 0X8100 returned when 0X100 expected

    During install of a GPIB-ENET/100 device and the associated NI-488.2 v1.4 software and running the ibtsta utility (to check for proper software install) I recieve multiple errors the first of which is: (1) set gpib(0), status 0X8100 returned when 0X1

  • Gaming issues after iOS 7.0.6 update on iPhone 4S

    Recently I updated my iPhone 4S to ios7.0.6 from ios5 and there are few very annoying problems. Firstly the games that ran smooth on ios5 are lagging in gameplay. Also the games crash and close does very frequently. For eg I play dead trigger 2 and i