Canvas and blocks relation

Hi,
Does any one know how to find canvas and the block contents on that canvas?
I have a canvas and three blocks items are displayed. I want to find out the three block names of that canvas.
I know if there is a relationship I could find the previous and then the first block. But if there is no relationship how do you find the blocks name.
Thanks
Luksh

Look at the GET_BLOCK_PROPERTY and GET_ITEM_PROPERTY built-ins in the help documentation. There are these item properties you may be able to use to get want you want:
BLOCK_NAME
ITEM_CANVAS
ITEM_NAME
You will probably need to know the block names, then loop through the items in the block and get the canvas name using:
get_block_property('Block_Name', FIRST_ITEM)
get_block_property('Item_Name', LAST_ITEM)
get_item_property('Item_Name', NEXTITEM)
get_item_property('Item_Name', PREVIOUSITEM)
Other item properties are:
NEXT_NAVIGATION_ITEM
PREVIOUS_NAVIGATION_ITEM

Similar Messages

  • Stacked Canvas and No. of records display on the block?

    Any coding to re-size the "Stacked" canvas and no.of records displays on the block?
    Please advice,
    Amy

    u can set the view port and Width and height of the Stack canvas at runtime but not No of Records display....
    set_view_property .....VIEW_SIZE or Width / Height
    for canvas size use SET_CANVAS_PROPERTY
    Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • Master block content canvas and Detail Tabbed Canvas...

    Hi All,
    I am trying to create master block content canvas and then detail block on tabbed canvas.
    How i can view these two canvases together ?
    these two canvases opening in separately in layout editor...how i can show them both in one window..???
    Please some advice on this ..
    Thanks,

    Hi
    these two canvases opening in separately in layout editor...how i can show them both in one window..???it's just a matter of x & y issue ; pls increase the y position of the tab canvas to move it downward (straight lower down the content) minimize the tab w & h if necessary just for temporary adjustments form design.
    By this way u would control the design layout of the two canvases.
    Hope this helps...
    Regards,
    Amatu Allah

  • Contrast / Gamma Different in Canvas and Desktop Preview

    *The Confusion:*
    The contrast of my video differs between the Canvas Window and Desktop Preview.
    I assume the two are using different gamma settings. But I can't figure out what's going on, to know what those settings are and how to assess the final display picture.
    *Screen Grabs:*
    Here's a screen grab of the canvas, with the image at 100%. The screen grab does not show the full frame.
    - - - http://epokhecutmedia.com/images/gamma-ts-canvas.png
    Here's a full screen grab of image in Desktop Preview.
    - - - http://epokhecutmedia.com/images/gamma-ts-preview.png
    *What I've done:*
    I've gone through every gamma setting I know of and can't match the Canvas and Desktop Preview or make sense of the difference.
    Also, If I toggle between Display calibrations of 1.8 and 2.2 using the Display preferences in System Preferences, values in both the Canvas and Desktop Preview shift and still do not match.
    *Another seemingly related thing:*
    My Canvas window display jumps between different contrasts (possibly gamma values) automatically while I'm working.
    For example,
    - - - I'll have video frozen. I'll play it and the image with brighten across the mids with playback. However, after freezing it again it keeps the brighter value.
    - - - When I'm using filter, such as the 3-Way Color Corrector, when I click to drag a slider, the image with darken across the mids. Sometimes, as I drag, the canvas will erratically jump back and forth between the two values.
    *Why this is a problem:*
    I can't do basic exposure correction, because I don't know which is the accurate value to work with.
    edit by: FordPrefectRevisited, Screen Grabs added

    If I may re-open this thread, let me ask the question FordPrefect only alluded to:
    Given that I should be using a pro-level HD broadcast monitor to view everything, given that every piece of footage is different in the particulars, and given that the Canvas Window image is almost always different than any other playback system (Finder, QT, VLC Players, etc.), are there general exposure/gamma changes y'all make to account for the visual difference between the Canvas Window and other playback systems? If you're anything like me, you don't start from SCRATCH on every single edit... You have a few go-to filters with a few go-to settings, and then make minor adjustments according to the needs of the footage.
    For instance, in order to get the exported image close in exposure to the ideal Canvas Window image, I usually go: Effects - Video Filters - Quicktime - Brightness and Contrast - and then adjust the Brightness to 0.85 and it seems to get close.
    You guys have anything like that? Thanks for any help!

  • Corrupt block relative dba: 0x0041470c

    Corrupt block relative dba: 0x0041470c (file 1, block 83724)
    Fractured block found during buffer read
    Data in bad block:
    type: 6 format: 2 rdba: 0x0041470c
    last change scn: 0x0009.90b485ad seq: 0x1 flg: 0x04
    spare1: 0x0 spare2: 0x0 spare3: 0x0
    consistency value in tail: 0x00000000
    check value in block header: 0x3092
    computed block checksum: 0x19de
    Wed Oct 03 09:58:32 GMT-4 2012
    Reread of rdba: 0x0041470c (file 1, block 83724) found same corrupted data
    Wed Oct 03 09:58:32 GMT-4 2012
    Errors in file /opt/oracle/admin/IXP/bdump/ixp_smon_19661.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-08103: object no longer exists

    962800 wrote:
    Corrupt block relative dba: 0x0041470c (file 1, block 83724)
    Fractured block found during buffer read
    Data in bad block:
    type: 6 format: 2 rdba: 0x0041470c
    last change scn: 0x0009.90b485ad seq: 0x1 flg: 0x04
    spare1: 0x0 spare2: 0x0 spare3: 0x0
    consistency value in tail: 0x00000000
    check value in block header: 0x3092
    computed block checksum: 0x19de
    Wed Oct 03 09:58:32 GMT-4 2012
    Reread of rdba: 0x0041470c (file 1, block 83724) found same corrupted data
    Wed Oct 03 09:58:32 GMT-4 2012
    Errors in file /opt/oracle/admin/IXP/bdump/ixp_smon_19661.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-08103: object no longer exists
    Its not a corrupted block but a fractured block and also the object is not there anymore. So there is nothing that you are supposed to do.
    Aman....

  • Clear canvas and not form

    Hi,
    I am having 2 canvas both content canvas in one form.
    There are lov dropdowns to get the values and when queried we get result set in plsql table type.
    Both the canvas are identical and value from result set of one canvas get populate on the other canvas.(same lov selected values)
    can anybody tell how to clear the second canvas without exiting from the canvas so that if i want to select new lov i can be able to do that?
    what trigger can i use to clear only the values of the lov on the sceond canvas and not the whole form(like we use clear_form).
    Thanks,
    Mandar.

    canvas is not something which holds data. canvas holds items. you can either clear item or clear block or clear whole form to clear the data, but saying something like clear canvas is different. one canvas can hold data of 2-3 (or may be more) different blocks. you need to specifically check which item/block you want to clear and then clear it, either using clear_block or clear_item or may be manually assigning NULL value to each individual item. but there is nothing called clear_canvas.

  • Tab-Canvas and Stacked-Canvas (Forms 5.0)

    Is it possible to design a tab canvas that contains stacked-canvas? I can't create it!

    Yes - it is possible to design a tab canvas that contains stacked-canvas. Create a separate canvas with its own block and you can call go_block and the canvas/block will show. You can also call show_view but the canvas you call must be of the type stacked. (aside - a tab canvas seems to automatically act like a stacked canvas). I have used a canvas w/block that sits at the top of the screen by setting it to be only 60 points tall (and it is the first block in the list) then in a when-new-form-instance trigger I call show_view('tab canvas name') and have its viewport begin at 60, therefore the tab canvas fits right under the header canvas. You can then leave this to call other canvases/blocks and return and set up the same situation again. Sometimes I have gotten strange results where no matter what I do it will not show the tab canvas - at this point usually you recreate what won't show and it will then work.
    good luck.

  • Content canvas and  a stacked canvas moving when scroll through the details

    Dear Friends
    I have Mater and Details Block , and I have two canvas content canvas and a stacked canvas, and the a stacked canvas on top of content canvas , and I have set the horizontal and vertical scroll bar for the stacked canvas , my problem is that when I inquire and click on the details block which is on stacked canvas the header content canvas is moved up
    and what I want the header to be stable and not moving when scroll through the details .
    Best regards
    Jamil Alshaibani

    if the canvas is moved during runtime in general the problem is that is does not fit completly in the window. Try to adjust your window-size so that the whole layout fits into it.

  • CRM_SRV_MAP_PR_BADI and Block ID Fields

    Hi experts,
    I'm using an implementation of badi CRM_SRV_MAP_PR_BADI in R/3 to create a purchase requisiton, but I'v a problem with a pair of fields.
    The two fields are Block ID and the related free text.
    In the badi in ct_item (and ct_item_x) I filled fields REQ_BLOCKED and REASON_BLOCKING with '1' and a free text.
    When I go to check I find the first field setted as "Not Blocked" and the free text blank.
    Can you explain me how I've to do and what is wrong?
    thanks!
    Alessandro

    Hi,
    As far as my knowledge goes in this area, i have worked on this in my previous project with R/3 version being 4.7. We have had to manually maintain the configuration in the table that you are reffering to. So you would need to maintain the document type to be created and also assign the item categories acordingly.You will ofcourse need to configure the document types and item categories that are relevant to create a debit/credit memo in R/3. Also, you will need to map the CRM item categories to the R/3 credit/debit item categories.
    Hope this helps
    Shiloo

  • Corrupt block relative dba

    Dear:
    Running the CheckDB in the transaction DB13 and i get the following
    message of error:
    BR0976W Database message alert - level: ERROR, line: 16991, time: 2008-02-05 23.16.19, message:
    Corrupt block relative dba: 0x00c02702 (file 3, block 9986)
    Other Details :-
    OS :- Win 2003 server
    DB :- Oracle 10g
    So please help on this issue.
    Thanks.
    Regards.

    Hello,
    >> Corrupt block relative dba: 0x00c02702 (file 3, block 9986)
    you have to check, if the block 9986 in file 3 is allocated and used in an active segment.
    If it is an index ... you can easily rebuild it and the problem is gone... but if it is a table segment it is more complicated... but first check the block....
    > sqlplus "/ as sysdb"
    > alter system dump datafile 3 block 9986
    > cd /oracle/<SID>/saptrace/usertrace
    Take a look at the tracefile and check the seg/obj .. convert the hex value to a decimal ...after that query dba_objects;
    > sqlplus "/ as sysdba"
    > SELECT OBJECT_NAME FROM ALL_OBJECTS WHERE DATA_OBJECT_ID = <OBJN>;
    Regards
    Stefan

  • Replenishment Delivery and STO relation in SAP APO

    Dear SAP Gurus,
    I need to find a table (or function or BAPI) where I can relate the replenishment delivery with the STO (schedule line item) that generated the replenishment delivery. I know that this information is available in the table LIPS on the ECC side on fields LIPS-VGBEL and LIPS-VGPOS.
    We need this information for a customized report that uses pegging relationships to identify more critical products.
    The point is: On the source location we have the replenishment delivery as a demand in which we can identify pegging relationhips, on the target location the same document appears with quantity zero so we cannot identify pegging relationships but the STO that originated the mentioned replenishment delivery appears with the quantity and shows pegging relationships.
    We couldn't link on the APO side the replenishment delivery on the source location to the STO on the target location to build the report based on pegging relationships.
    Any idea on how to get the link?
    Thanks and BR
    Mauricio

    Dear gurus
    We have the STO return intercompany scenario with billing challenge.
    In the company A we use standard valuation and material ledger in three currencies - EUR USD and GBP.
    In the company B we use moving average valuation and material ledger in three currencies - EUR USD and GBP.
    When we had sold in STO from company A to B goods in standard intercompany scenario
    1. ME21N -> STO (NB) with transfer price (from B to A)
    2. VL10B -> Intercompany outbound delivery (NLCC) from A to B
    3. VF01 ->IV billing from A to B
    4. MIGO_GR with 101 movement type on B side
    the material ledger valuated the goods in e.g. 1USD, while the exchange rate was 1USD=0.57EUR.
    Now we have to return these goods. The exchange rate is 1USD=0.50EUR.
    The steps are as following:
    1. ME21N STO (NB) with flag R from B to A
    2. VL10B from A to B
    3. MIGO_GI with 161 goods movement
    The problem is that the material ledger remembers the value in USD and in the moving average of the current EUR and blocked the GI from B to A
    expected could not be done
    4. VF01 with credit IV billing.
    Is it a bug that could be solved?
    We already evaluated SAP notes OSS 430074 and 489543 without success.
    Kind regards,
    Eddie
    SAP SD Functional Analyst
    Visonic
    (C) +972-54-7805649
    (C UK) +972-54-6775-716
    (O) +972-3-6456-716
    www.visonic.com

  • Tabbed canvas and co-ordination units

    Hi All
    I am puzzled with this behaviour
    I have a form that has 1 content canvas and 1 tabbed canvas. The form was created with co-ordination using as character. When I run the form. I can see the content and the tabbed canvas.
    When I changed the co-ordination units to real/point. The tabbed canvas is not displayed. I tried changing the viewport x and y position and it did not help. When i pressed the next block key, I can see the tabbed canvas displayed at 0,0. What ever value I set in the viewport x/y value, is not helping me.
    If i convert the form back to character, it works fine.
    Any help is greatly appreciated.

    I am using 10g R2. Both my content canvas and tabbed canvas have raise on entry set to No and they are in the same window.
    I have the following property for the content canvas
    Viewport x 0
    Viewport y 0
    View width 450
    View height 438
    raise on entry No
    I have the following property for the tab canvas
    Viewport x 0
    Viewport y 180
    View width 450
    View height 240
    raise on entry No

  • J2ME Canvas and Form Objects

    I am currently in the process of converting an existing MIDP application which uses the standard high-level UI to implement menus and form objects.
    I am converting this to use the low-level UI with canvases to make the application look far more professional. There seem to be no decent tutorials realting to using the canvas to with relation to menus or user input.
    Is it possible to add the standard TextField and ChoiceGroup types into a canvas? If not, how are these implemented in existing MIDP applications that clearly use a canvas.
    Thanks for any help that you might be able to give,
    Dave

    umm abit of athread revivial but it seems that using j2me polish is more hard work than using standard j2me. This is because you need to know abit of xml and css to take full advantage of j2me polish.
    still is that the only way to create a form in a canvas?

  • Single List and Blocked List

    What is the difference between Single List and Blocked List. how REUSE_ALV_LIST_DISPLAY will work with single List and Blocked List.
    Please Help me.
    Regards
    vamsi.

    hi vamsi,
    to get single list u use FM's REUSE_ALV_LIST_DISPLAY or REUSE_ALV_GRID_DISPLAY and
    for blocked list u use the FM's REUSE_ALV_BLOCK_LIST_INIT,
    REUSE_ALV_BLOCK_LIST_APPEND &  REUSE_ALV_BLOCK_LIST_DISPLAY
    <b>check this code for List display....</b>
    REPORT  ZTEST_ALV1.
    **TABLES DECLN
    TABLES: VBRK,VBRP,T001.
    TYPE-POOLS: SLIS.
    TYPE-POOLS: ICON.
    ***DATA DECLN.
    DATA: V_VBELN LIKE VBRK-VBELN,
          V_MATNR LIKE VBRP-MATNR.
    CONSTANTS: C_USER_COMMAND TYPE SLIS_FORMNAME VALUE 'F_USER_COMMAND',
               C_PF_STATUS TYPE SLIS_FORMNAME VALUE 'F_SET_PF_STATUS'.
    **ALV RELATED TABLES.
    *--Field Catalog
    DATA:   IT_FIELDCAT TYPE STANDARD TABLE OF
                            SLIS_FIELDCAT_ALV  WITH HEADER LINE,
            IT_FIELDCAT1 TYPE STANDARD TABLE OF
                            SLIS_FIELDCAT_ALV WITH HEADER LINE ,
            WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
    *--Layout
           WA_LAYOUT TYPE SLIS_LAYOUT_ALV,
    *--Sort
           IT_SORT TYPE SLIS_T_SORTINFO_ALV,
           WA_SORT TYPE SLIS_SORTINFO_ALV  ,
    **-Structure for excluding function codes
           WA_EXTAB TYPE SLIS_EXTAB,
    **-To hold function codes to be excluded in ALV toolbar
           IT_EXTAB TYPE SLIS_T_EXTAB.
    ***INTERNAL TABLE DECLN.
    DATA: BEGIN OF IT_VBRK OCCURS 0,
          VBELN LIKE VBRK-VBELN,
          WAERK LIKE VBRK-WAERK,
          VKORG LIKE VBRK-VKORG,
          FKDAT LIKE VBRK-FKDAT,
          BUKRS LIKE VBRK-BUKRS,
          NETWR LIKE VBRK-NETWR,
          END OF IT_VBRK.
    DATA: BEGIN OF ITAB OCCURS 0,
          VBELN LIKE VBRP-VBELN,
          POSNR LIKE VBRP-POSNR,
          FKIMG LIKE VBRP-FKIMG,
          VRKME LIKE VBRP-VRKME,
          NETWR LIKE VBRP-NETWR,
          MATNR LIKE VBRP-MATNR,
          ARKTX LIKE VBRP-ARKTX,
          END OF ITAB.
    DATA: IT_VBRP LIKE ITAB OCCURS 0 WITH HEADER LINE.
    ***selection screen.
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_VBELN FOR VBRK-VBELN,
                    S_FKDAT FOR VBRK-FKDAT OBLIGATORY,
                    S_MATNR FOR VBRP-MATNR.
    SELECTION-SCREEN: END OF BLOCK B1.
    **INITIALIZATION.
    INITIALIZATION.
      S_FKDAT-LOW = SY-DATUM - 200.
      S_FKDAT-HIGH = SY-DATUM.
      APPEND S_FKDAT.
    ***AT SELECTION-SCREEN.
    AT SELECTION-SCREEN.
      IF NOT S_VBELN IS INITIAL.
        SELECT SINGLE VBELN FROM VBRK
               INTO V_VBELN
               WHERE VBELN IN S_VBELN.
        IF SY-SUBRC <> 0.
          MESSAGE E001(ZZ2).
        ENDIF.
      ENDIF.
      IF NOT S_MATNR IS INITIAL.
        SELECT SINGLE MATNR FROM MARA
               INTO V_MATNR
               WHERE MATNR IN S_MATNR.
        IF SY-SUBRC <> 0.
          MESSAGE E001(ZZ2).
        ENDIF.
      ENDIF.
    ***START-OF-SELECTION.
    START-OF-SELECTION.
      PERFORM GET_DATA_VBRK.
    ***END-OF-SELECTION.
    END-OF-SELECTION.
    *--Sort the Output Fields
    PERFORM SORT_FIELDS.
    *--Build Field catalog for the Output fields
      PERFORM GET_FIELD_CATALOG.
    ***MODIFY LAYOUT.
    PERFORM MODIFY_LAYOUT.
    *--Display ALV output
      PERFORM LIST_DISP  TABLES IT_VBRK
                               USING  C_USER_COMMAND.
    *&      Form  GET_DATA_VBRK
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DATA_VBRK.
      SELECT VBELN
             WAERK
             VKORG
             FKDAT
             BUKRS
             NETWR
             INTO TABLE IT_VBRK
             FROM VBRK
             WHERE VBELN IN S_VBELN
             AND FKDAT IN S_FKDAT.
    ENDFORM.                    " GET_DATA
    *&      Form  GET_FIELD_CATALOG
          text
    -->  p1        text
    <--  p2        text
    FORM GET_FIELD_CATALOG .
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          I_PROGRAM_NAME         = SY-REPID
          I_INTERNAL_TABNAME     = 'IT_VBRK'
          I_INCLNAME             = SY-REPID
        CHANGING
          CT_FIELDCAT            = IT_FIELDCAT[]
        EXCEPTIONS
          INCONSISTENT_INTERFACE = 1
          PROGRAM_ERROR          = 2
          OTHERS                 = 3.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " GET_FIELD_CATALOG
    *&      Form  SORT_FIELDS
          text
    -->  p1        text
    <--  p2        text
    FORM SORT_FIELDS .
      CLEAR WA_SORT.
      WA_SORT-SPOS = '01'.
      WA_SORT-FIELDNAME = 'VBELN' .
      WA_SORT-TABNAME   = 'IT_VBRK'.
      WA_SORT-UP        = 'X'.
      APPEND WA_SORT TO IT_SORT.
      CLEAR  WA_SORT.
      WA_SORT-SPOS = '02'.
      WA_SORT-FIELDNAME = 'POSNR' .
      WA_SORT-TABNAME   = 'IT_VBRP'.
      WA_SORT-UP        = 'X'.
      APPEND WA_SORT TO IT_SORT.
    ENDFORM.                    " SORT_FIELDS
    *&      Form  MODIFY_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM MODIFY_LAYOUT .
      WA_LAYOUT-DEFAULT_ITEM = 'X'.
      WA_LAYOUT-ZEBRA = 'X'.
      WA_LAYOUT-EXPAND_FIELDNAME = 'EXPAND'.
      WA_layout-colwidth_optimize = 'X'.
    ENDFORM.                    " MODIFY_LAYOUT
    *&      Form  LIST_DISP
          text
    -->  p1        text
    <--  p2        text
    FORM LIST_DISP  TABLES   P_IT_VBRK
                       USING    P_USER_COMMAND TYPE SLIS_FORMNAME.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM       = SY-REPID
          I_CALLBACK_PF_STATUS_SET = 'POPUP'
          I_CALLBACK_USER_COMMAND  = 'HANDLE_USER_COMMAND'
          IS_LAYOUT                = WA_LAYOUT
          IT_FIELDCAT              = IT_FIELDCAT[]
         IT_EXCLUDING             = IT_EXTAB[]
        TABLES
          T_OUTTAB                 = IT_VBRK
        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.                    " LIST_DISP
    *&      Form  POPUP
          text
         -->P_EXTAB    text
    FORM POPUP USING IT_EXTAB TYPE SLIS_T_EXTAB.
    *- Pf status
      SET PF-STATUS 'POPUP'.
    ENDFORM.                 " POPUP
    <b>and check this for <b>Block List</b>....</b>
    REPORT  ZTEST_ALV3.
    TABLES: SFLIGHT,SPFLI.
    TYPE-POOLS: SLIS.
    DATA: BEGIN OF ITAB OCCURS 0,
          CARRID LIKE SFLIGHT-CARRID,
          CONNID LIKE SFLIGHT-CONNID,
          FLDATE LIKE SFLIGHT-FLDATE,
          PRICE  LIKE SFLIGHT-PRICE,
          CURRENCY LIKE SFLIGHT-CURRENCY,
          CITYFROM LIKE SPFLI-CITYFROM,
          CITYTO LIKE SPFLI-CITYTO,
          END OF ITAB.
    DATA: V_REPID LIKE SY-REPID.
    ***FIELD CATALOG.
    DATA: ITAB_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
          WA_FLDCAT  TYPE SLIS_FIELDCAT_ALV.
    ***SORTING
    DATA:  ITAB_SORT TYPE SLIS_T_SORTINFO_ALV,
           WA_SORT TYPE SLIS_SORTINFO_ALV.
    ***events
    DATA: IT_EVENTS TYPE SLIS_T_EVENT WITH HEADER LINE,
    ***VARIANTS
          IT_VARIANT LIKE  DISVARIANT OCCURS 0 WITH HEADER LINE.
    FOR LAYOUT
    DATA: WA_LAYOUT TYPE SLIS_LAYOUT_ALV,
          IT_LAYOUT TYPE SLIS_LAYOUT_ALV OCCURS 0 WITH HEADER LINE.
    ****SELECTION-SCREEN
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME.
    SELECT-OPTIONS: S_CARRID FOR SFLIGHT-CARRID.
    SELECTION-SCREEN: END OF BLOCK B1.
    ****START-OF-SELECTION.
    START-OF-SELECTION.
    V_REPID = SY-REPID.
    PERFORM GET_DATA.
    ***END-OF-SELECTION.
    END-OF-SELECTION.
    PERFORM GET_FIELDCAT.
    *PERFORM GET_LAYOUT.
    PERFORM BLOCK_ALV.
    *&      Form  GET_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DATA .
    SELECT A~CARRID
           A~CONNID
           A~FLDATE
           A~PRICE
           A~CURRENCY
           B~CITYFROM
           B~CITYTO
           INTO TABLE ITAB
           FROM SFLIGHT AS A JOIN SPFLI AS B ON
           ACARRID = BCARRID
           WHERE A~CARRID IN S_CARRID.
    ENDFORM.                    " GET_DATA
    *&      Form  GET_FIELDCAT
          text
    -->  p1        text
    <--  p2        text
    FORM GET_FIELDCAT .
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = SY-REPID
       I_INTERNAL_TABNAME           = 'ITAB'
      I_STRUCTURE_NAME             =
      I_CLIENT_NEVER_DISPLAY       = 'X'
       I_INCLNAME                   = SY-REPID
      I_BYPASSING_BUFFER           =
      I_BUFFER_ACTIVE              =
      CHANGING
        CT_FIELDCAT                  = ITAB_FIELDCAT[]
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " GET_FIELDCAT
    *&      Form  BLOCK_ALV
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_ALV .
    PERFORM BLOCK_INIT.
    PERFORM BLOCK_APPEND.
    PERFORM BLOCK_DISPLAY.
    ENDFORM.                    " BLOCK_ALV
    *&      Form  BLOCK_INIT
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_INIT .
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
      EXPORTING
        I_CALLBACK_PROGRAM             = V_REPID.
    ENDFORM.                    " BLOCK_INIT
    *&      Form  BLOCK_APPEND
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_APPEND .
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        IS_LAYOUT                        = WA_LAYOUT
        IT_FIELDCAT                      = ITAB_FIELDCAT[]
        I_TABNAME                        = 'ITAB'
        IT_EVENTS                        = IT_EVENTS[]
      IT_SORT                          =
      I_TEXT                           = ' '
      TABLES
        T_OUTTAB                         = ITAB
    EXCEPTIONS
       PROGRAM_ERROR                    = 1
       MAXIMUM_OF_APPENDS_REACHED       = 2
       OTHERS                           = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " BLOCK_APPEND
    *&      Form  GET_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM GET_LAYOUT .
    WA_LAYOUT-DEFAULT_ITEM = 'X'.
    WA_LAYOUT-ZEBRA = 'X'.
    APPEND WA_LAYOUT TO IT_LAYOUT.
    ENDFORM.                    " GET_LAYOUT
    *&      Form  BLOCK_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_DISPLAY .
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    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.                    " BLOCK_DISPLAY
    hope this helps,
    do reward if it helps,
    priya.

  • Pavilion Dv5-1009el - Black screen and blink caps lock and block scorr

    Hi,
    I just replaced the motherboard of my pavilion that reported an error as object. The purchased motherboard is new and hp original.
    After having changed, I turn on the pc and work fine, i see the hp logo and enter to bios, after I turned off the pc without starting windows.
    I inserted the battery and powered on the pc and returns to the old error, the LED of caps lock and block Lock blinks...
    So I tried to update the bios from USB using winkey + B. The computer emits two beeps but does not read from any USB port and the LEDs go out for a while and then blink again.
    What can I do?
    Greetings,
    Enzo.

    Hi @shmurray,
    Welcome to the HP Support Forums!
    I understand you are getting a blink pattern on the Caps lock LED, when you turn on the notebook. I am happy to help you with this.
    I am including the page on the error codes for your reference: Blank Screen LED Error Codes
    From that document the pattern you are getting indicates a memory problem. You said that you have tested the memory. What exactly did you try?
    The document suggests reseating the RAM or trying a new set of RAM and then restarting the notebook. If you are still getting a memory problem after trying both of those things, ie a 3 blink code again, then it would likely suggest that there is a problem with the motherboard itself, either with the memory slot or one of the controllers related to memory.
    In that case I would suggest contacting the technical phone support number at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    If however reseating the memory or replacing it leads to a different error code or message please let me know, Although in that case the following may be helpful if you still have a blank screen.
    Troubleshooting Black Screen Displays with No Error Messages During Startup or Boot
    Here are some other sources I found that may be helpful to you.
    Resolving Problems with Notebook Displays (Windows 7 and Windows 8)
    I hope that this is helpful to you.
    Regards,
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

Maybe you are looking for

  • Adobe Connect 9 Add-in for Linux

    Hello, Are you planning on releasing the Linux add-in for adobe connect 9 anytime soon?. The 9 version has been released for a while now but there is no news about the Linux add-in, we have quite a few Linux users and they are already starting to com

  • HT201210 error 16, and cannot restore or update, plz help.

    my update was stopped in the middle, and next time i tried to restore and update, i cannot do any thing now, the error code (16) apprear all the times, my network, cable, windows, security, every thing is fine, plz help.

  • Mail notification as seen in Constant Gardener movie

    Hi In the movie the constant gardener, there is a pop-up application window with mail insignia on it, saying you have recieved new email, would you like to read it now or later? I know this has been asked before and some people have suggested: http:/

  • Price according to formulation

    hi Expert For make a one finished good I have 3 formulations, let assume for making product C, I need product A & B. below is my 3 formulations and price according to that Formulation A We used product A and B = 50 % , I have batch no 154 and price 1

  • Error deploying EAR - weblogic.management.ApplicationException:None

    Hello, When deploying a EAR, I get the following exception: [Deployer:149033]preparing application esb on <xxx-admin> [Deployer:149033]failed application esb on <xxx-admin> [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy appli