Hierarchical AVL list

Hi,
I have to display the standard report J_1AF004 in three different languages, spanish, english, portuguese based on user selection. How do i change the field catalog and top of page event. Please reply as soon as possible.
Regards,
RSB

HI
Check this sample
data : begin of it_mara occurs 0,
mark type flag,
matnr type matnr,
mtart type mtart,
meins type meins,
end of it_mara.
data : begin of it_mara1 occurs 0,
* mark type flag,
matnr type matnr,
mtart type mtart,
meins type meins,
end of it_mara1.
data : begin of it_mara2 occurs 0,
* mark type flag,
matnr type matnr,
mtart type mtart,
meins type meins,
end of it_mara2.
data : t_fieldcat type lvc_t_fcat,
t_fieldcat1 type lvc_t_fcat,
s_fieldcat like line of t_fieldcat.
data : s_layout type lvc_s_layo.
data : control type ref to cl_gui_custom_container,
grid type ref to cl_gui_alv_grid.
data: begin of wa ,
mark type flag,
matnr type matnr,
mtart type mtart,
meins type meins,
end of wa.
class lcl_events_box definition.
public section.
methods :
*Handler_Data_Changed for event Data_Changed of cl_gui_alv_grid
*imporTing er_data_changed,
Handler_User_Command for event User_Command of cl_gui_alv_grid
imporTing e_ucomm,
Handler_ToolBar for event ToolBar of cl_gui_alv_grid
importing E_object E_interactive.
endclass.
class lcl_events_box implementation.
method Handler_user_command.
PERFORM FORM_USERCOMMAND CHANGING E_UCOMM.
endmethod.
method Handler_ToolBar.
PERFORM FORM_TOOLBAR CHANGING E_OBJECT E_INTERACTIVE
E_OBJECT->MT_TOOLBAR.
endmethod.
ENDCLASS.
start-of-selection.
data : w_events type ref to lcl_events_box.
select matnr mtart meins from mara into corresponding fields of table
it_mara.
call screen 100.
*& Module pbo_module OUTPUT
* text
MODULE pbo_module OUTPUT.
if GRID is initial.
CREATE OBJECT CONTROL
EXPORTING
CONTAINER_NAME = 'CUST_CTRL'.
CREATE OBJECT GRID
EXPORTING
I_PARENT = CONTROL.
PERFORM BUILD_CATALOG.
PERFORM BUILD_CATALOG1.
PERFORM BUILD_LAYOUT.
CALL METHOD GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
IS_LAYOUT = s_layout
CHANGING
IT_OUTTAB = it_mara[]
IT_FIELDCATALOG = t_fieldcat.
CREATE OBJECT W_EVENTS.
SET HANDLER : W_EVENTS->HANDLER_TOOLBAR FOR GRID,
W_EVENTS->HANDLER_USER_COMMAND FOR GRID.
CALL METHOD GRID->SET_TOOLBAR_INTERACTIVE.
ELSE.
call method grid->refresh_table_display.
ENDIF.
ENDMODULE. " pbo_module OUTPUT
*& Form BUILD_CATALOG
FORM BUILD_CATALOG .
S_FIELDCAT-COL_POS = '1'.
S_FIELDCAT-FIELDNAME = 'MARK'.
S_FIELDCAT-CHECKBOX = 'X'.
S_FIELDCAT-eDIT = 'X'.
APPEND S_FIELDCAT TO T_FIELDCAT.
CLEAR S_FIELDCAT.
S_FIELDCAT-COL_POS = '2'.
S_FIELDCAT-FIELDNAME = 'MATNR'.
S_FIELDCAT-SCRTEXT_M = 'MATERIAL'.
APPEND S_FIELDCAT TO T_FIELDCAT.
S_FIELDCAT-COL_POS = '3'.
S_FIELDCAT-FIELDNAME = 'MTART'.
S_FIELDCAT-SCRTEXT_M = 'MATERL TYPE'.
APPEND S_FIELDCAT TO T_FIELDCAT.
S_FIELDCAT-COL_POS = '4'.
S_FIELDCAT-FIELDNAME = 'MEINS'.
S_FIELDCAT-SCRTEXT_M = 'UOM'.
APPEND S_FIELDCAT TO T_FIELDCAT.
ENDFORM. " BUILD_CATALOG
*& Form BUILD_LAYOUT
* text
* --> p1 text
* <-- p2 text
FORM BUILD_LAYOUT .
S_LAYOUT-ZEBRA = 'X'.
* S_LAYOUT-CWIDTH_OPT = 'X'.
S_LAYOUT-GRID_TITLE = 'Material Details'.
ENDFORM.
" BUILD_LAYOUT////////////////////////////////////
" USER_COMMAND_0100 INPUT
*& Form FORM_USERCOMMAND
* text
* <--P_E_UCOMM text
form FORM_USERCOMMAND changing p_e_ucomm.
CASE P_E_UCOMM.
WHEN 'INT1'.
DO.
READ TABLE IT_MARA INDEX SY-INDEX TRANSPORTING MARK MATNR.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
IF IT_MARA-MARK = 'X'.
read table it_mara into wa TRANSPORTING MATNR MTART MEINS .
MOVE-CORRESPONDING WA TO IT_MARA1.
READ TABLE IT_MARA1 TRANSPORTING MATNR MTART MEINS .
MOVE-CORRESPONDING IT_MARA1 TO IT_MARA2.
APPEND IT_MARA2.
CALL METHOD GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
IS_LAYOUT = s_layout
CHANGING
IT_OUTTAB = it_mara2[]
IT_FIELDCATALOG = t_fieldcat1.
* SET PARAMETER ID 'MAT' FIELD IT_MARA-MATNR.
* CALL TRANSACTION 'MM02'.
. ENDIF.
* ENDIF.
ENDDO.
ENDCASE.
endform. " FORM_USERCOMMAND
*& Form FORM_TOOLBAR
* text
* <--P_E_OBJECT text
* <--P_E_INTERACTIVE text
* <--P_E_OBJECT_>MT_TOOLBAR text
FORM FORM_TOOLBAR CHANGING P_E_OBJECT TYPE REF TO
CL_ALV_EVENT_TOOLBAR_SET
P_E_INTERACTIVE
MT_TOOLBAR TYPE TTB_BUTTON.
DATA WAL_BUTTON TYPE STB_BUTTON.
*WAL_BUTTON-ICON = ICON_status_reverse.
WAL_BUTTON-TEXT = 'GO'.
WAL_BUTTON-QUICKINFO = 'PROCEED'.
waL_button-FUNCTION = 'INT1'.
WAL_BUTTON-BUTN_TYPE = 0.
WAL_BUTTON-DISABLED = SPACE.
insert WAL_BUTTON INTO P_E_OBJECT->MT_TOOLBAR index 1.
endform. " FORM_TOOLBAR
*& Module PF-STATUS OUTPUT
* text
module PF-STATUS output.
set pf-status 'Z7PSTAT'.
endmodule. " PF-STATUS OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
module USER_COMMAND_0100 input.
CASE SY-UCOMM.
WHEN 'BACK'.
LEAVE PROGRAM.
WHEN 'CANCEL'.
LEAVE PROGRAM.
ENDCASE.
endmodule. " USER_COMMAND_0100 INPUT
*& Form BUILD_CATALOG1
* text
* --> p1 text
* <-- p2 text
form BUILD_CATALOG1 .
S_FIELDCAT-COL_POS = '1'.
S_FIELDCAT-FIELDNAME = 'MATNR'.
S_FIELDCAT-SCRTEXT_M = 'MATERIAL'.
APPEND S_FIELDCAT TO T_FIELDCAT1.
S_FIELDCAT-COL_POS = '2'.
S_FIELDCAT-FIELDNAME = 'MTART'.
S_FIELDCAT-SCRTEXT_M = 'MATERL TYPE'.
APPEND S_FIELDCAT TO T_FIELDCAT1.
S_FIELDCAT-COL_POS = '3'.
S_FIELDCAT-FIELDNAME = 'MEINS'.
S_FIELDCAT-SCRTEXT_M = 'UOM'.
APPEND S_FIELDCAT TO T_FIELDCAT1.
endform. " BUILD_CATALOG1
check the below link may be useful for you
http://www.sapdevelopment.co.uk/reporting/alvhome.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf
Simple ALV report
http://www.sapgenie.com/abap/controls/alvgrid.htm
http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
ALV
1. Please give me general info on ALV.
http://www.sapfans.com/forums/viewtopic.php?t=58286
http://www.sapfans.com/forums/viewtopic.php?t=76490
http://www.sapfans.com/forums/viewtopic.php?t=20591
http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
2. How do I program double click in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=11601
http://www.sapfans.com/forums/viewtopic.php?t=23010
3. How do I add subtotals (I have problem to add them)...
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=88401
http://www.sapfans.com/forums/viewtopic.php?t=17335
4. How to add list heading like top-of-page in ABAP lists?
http://www.sapfans.com/forums/viewtopic.php?t=58775
http://www.sapfans.com/forums/viewtopic.php?t=60550
http://www.sapfans.com/forums/viewtopic.php?t=16629
5. How to print page number / total number of pages X/XX in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
http://www.sapfans.com/forums/viewtopic.php?t=64320
http://www.sapfans.com/forums/viewtopic.php?t=44477
7. How can I set the cell color in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=52107
8. How do I print a logo/graphics in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=81149
http://www.sapfans.com/forums/viewtopic.php?t=35498
http://www.sapfans.com/forums/viewtopic.php?t=5013
9. How do I create and use input-enabled fields in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=84933
http://www.sapfans.com/forums/viewtopic.php?t=69878
10. How can I use ALV for reports that are going to be run in background?
http://www.sapfans.com/forums/viewtopic.php?t=83243
http://www.sapfans.com/forums/viewtopic.php?t=19224
11. How can I display an icon in ALV? (Common requirement is traffic light icon).
http://www.sapfans.com/forums/viewtopic.php?t=79424
http://www.sapfans.com/forums/viewtopic.php?t=24512
12. How can I display a checkbox in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=88376
http://www.sapfans.com/forums/viewtopic.php?t=40968
http://www.sapfans.com/forums/viewtopic.php?t=6919
Go thru these programs they may help u to try on some hands on
ALV Demo program
BCALV_DEMO_HTML
BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode
BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode
BCALV_GRID_DEMO Simple ALV Control Call Demo Program
BCALV_TREE_DEMO Demo for ALV tree control
BCALV_TREE_SIMPLE_DEMO
BC_ALV_DEMO_HTML_D0100
report zxyz.
TYPE-POOLS: slis.
DATA: BEGIN OF itab OCCURS 0,
vbeln TYPE vbeln,
expand,
END OF itab.
DATA: BEGIN OF itab1 OCCURS 0,
vbeln TYPE vbeln,
posnr TYPE posnr,
matnr TYPE matnr,
netpr TYPE netpr,
END OF itab1.
DATA: t_fieldcatalog TYPE slis_t_fieldcat_alv.
DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
s_fieldcatalog-col_pos = '1'.
s_fieldcatalog-fieldname = 'VBELN'.
s_fieldcatalog-tabname = 'ITAB'.
s_fieldcatalog-rollname = 'VBELN'.
s_fieldcatalog-outputlen = '12'.
APPEND s_fieldcatalog TO t_fieldcatalog.
CLEAR: s_fieldcatalog.
s_fieldcatalog-col_pos = '1'.
s_fieldcatalog-fieldname = 'VBELN'.
s_fieldcatalog-tabname = 'ITAB1'.
s_fieldcatalog-rollname = 'VBELN'.
s_fieldcatalog-outputlen = '12'.
APPEND s_fieldcatalog TO t_fieldcatalog.
CLEAR: s_fieldcatalog.
s_fieldcatalog-col_pos = '2'.
s_fieldcatalog-fieldname = 'POSNR'.
s_fieldcatalog-tabname = 'ITAB1'.
s_fieldcatalog-rollname = 'POSNR'.
APPEND s_fieldcatalog TO t_fieldcatalog.
CLEAR: s_fieldcatalog.
s_fieldcatalog-col_pos = '3'.
s_fieldcatalog-fieldname = 'MATNR'.
s_fieldcatalog-tabname = 'ITAB1'.
s_fieldcatalog-rollname = 'MATNR'.
APPEND s_fieldcatalog TO t_fieldcatalog.
CLEAR: s_fieldcatalog.
s_fieldcatalog-col_pos = '4'.
s_fieldcatalog-fieldname = 'NETPR'.
s_fieldcatalog-tabname = 'ITAB1'.
s_fieldcatalog-rollname = 'NETPR'.
s_fieldcatalog-do_sum = 'X'.
APPEND s_fieldcatalog TO t_fieldcatalog.
CLEAR: s_fieldcatalog.
DATA: s_layout TYPE slis_layout_alv.
s_layout-subtotals_text = 'SUBTOTAL TEXT'.
s_layout-key_hotspot = 'X'.
s_layout-expand_fieldname = 'EXPAND'.
SELECT vbeln UP TO 100 ROWS
FROM
vbak
INTO TABLE itab.
IF NOT itab[] IS INITIAL.
SELECT vbeln posnr matnr netpr
FROM vbap
INTO TABLE itab1
FOR ALL ENTRIES IN itab
WHERE vbeln = itab-vbeln.
ENDIF.
DATA: v_repid TYPE syrepid.
v_repid = sy-repid.
DATA: s_keyinfo TYPE slis_keyinfo_alv.
s_keyinfo-header01 = 'VBELN'.
s_keyinfo-item01 = 'VBELN'.
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = v_repid
is_layout = s_layout
it_fieldcat = t_fieldcatalog
i_tabname_header = 'ITAB'
i_tabname_item = 'ITAB1'
is_keyinfo = s_keyinfo
TABLES
t_outtab_header = itab
t_outtab_item = itab1
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.
Reward all helpfull answers
Regards,
Pavan

Similar Messages

  • Get the header in centre,make bold, change font in hierarchical alv  list

    Hi all
    I need to get the following header in the centre for hierarchical alv list:
    ex:
                                                                              General Ledger                       -
    want it to be bold
                                                                               July 2009                                -
      want to change font to be less than 1st  line
    Please help me to achieve this.
    I have  got the header in the middle using write statements in top of page.
    But am not able to get it bold and change the font.
    Thanking in advance.

    Hi all
    I need to get the following header in the centre for hierarchical alv list:
    ex:
                                                                    General Ledger   ( want it to be bold)
                                                                     July 2009            (want to change font to be less than 1st  line )
    Please help me to achieve this.
    I have  got the header in the middle using write statements in top of page.
    But am not able to get it bold and change the font.
    Thanking in advance.

  • How to create space between Header text of Hierarchical ALV List.

    hi,
    I am display data using Hierarchical ALV List.
    In Perform of field catalog, I am writing this code:
    PERFORM fill_catalogue USING :
         'CHKBX'      'T_HEADER' 20  'Sess Decision Box'(t19) 'X',
          'SESS_NO'    'T_HEADER' 11  'Session'(t20)           ' ' ,
          'SESS_STAT'  'T_HEADER'  4  'Status'(t39)            ' ',
          'HOLD_STAT'  'T_HEADER'  4  'HOLD'(t52)              ' ',
          'ICON'       'T_HEADER'  9  'Tracking'(t21)          ' ' ,
          'CREATE_DT'  'T_HEADER' 10  'Archiving Date'(t22)    ' '  ,
          'AGING'      'T_HEADER' 50  'Aging'(t23)             ' ',
          'OBJECT'     'T_HEADER' 12  'Archive Obj'(t24)       ' ',
          'HOLD_INFO'  'T_HEADER' 100 'Hold Reason'            ' ' ,
          'YFY_DATA'   'T_HEADER' 4  'Data Fiscal Year'(t48)  ' ' ,
          'COMMENTS'   'T_HEADER' 50  'Session Notes'(t26)     ' ' ,
          'DATATYPE'   'T_HEADER' 50  'Archive Object Description'(t25) ' ',
          'APPR_STAT'    'T_ITEM' 16  'Approval Status'(t29)   ' ',
          'DESTR_DT_REV' 'T_ITEM' 10  'New Date'(t30)          ' ',
          'REJCT_REASON' 'T_ITEM' 60  'Rejection Reason'(t31)  ' '  .
    At output of this program , there are two rows in HEADER details.
    I want text 'Session notes' of 2nd row  under 'Archiving Date' of 1st row.
    For this i have to create space between 'Data Fiscal Year' & 'Session notes' text.
    How i can do this.
    Regards,
    Mamta

    Hi,
    You can use TOP-OF-PAGE event and pass this event to Hierarchical ALV FM.
    Thanks,
    Kartavya Kaushik.

  • How to display two different hierarchical sequential lists in one o/p scree

    Hi Gurus,
    I have a requirement for displaying two hierarchical lists in one output screen. I have created my hierarchical sequential lists using
    function module : - 'REUSE_ALV_HIERSEQ_LIST_DISPLAY', but i dont know how to append my second hierarchical sequential list
    into this.
    Will it be easily possible through OO ABAP where i will have two containers at the screen and each container will display one hierarchical sequential list at the output screen. But i have no idea how to do this through OO ABAP.
    Please help...
    Thanks,
    Bhupender

    i want to display the records corresponding to the user details enterd
    in Text Fields in the same Frame by replacintg the previous display..1) Quit multi-posting.
    2) You where given an answer in your last posting on the topic.
    3) The code isn't formatted so don't expect us to read the code.

  • Problem in Hierarchical Sequential List

    Hi All,
    I am developing an Hierarchical ALV List using OOABAP. In the output list, I have a checkbox to be displayed. I have taken the cell type as "CHECKBOX", it is displaying as disabled. I searched some sites for the resolution, it is mentioned if we take cell type as "CHECKBOX_HOTSPOT" then it will be disabled.
    So I tried that as well. When I used that program is giving me a dump. Please find the dump below. Request you all to provide a faster solution for this.
    Thanks.
    Error analysis
        An exception occurred which is explained in detail below.
        The exception, which is assigned to class 'CX_SALV_METHOD_NOT_SUPPORTED', was
         not caught and
        therefore caused a runtime error.
        The reason for the exception is:
        Class COLUMNCLASS, method SET_CELL_TYPEMETHOD not supported for
        CL_SALV_HIERSEQ_TABLEOBJECT KEY
    Information on where terminated
        Termination occurred in the ABAP program "CL_SALV_COLUMN================CP" -
         in "RAISE_METHOD_ONLY_VALID_FOR".
        The main program was "ZZSMB004_FSE_FILLUP_TEST ".
        In the source code you have the termination point in line 95
        of the (Include) program "CL_SALV_COLUMN================CM01Q".
    SourceCde
              read table t_valid
                with key model  = if_salv_c_model=>table
                         object = if_salv_c_table_objects=>list
                transporting no fields.
              if sy-subrc ne 0.
                l_exit = abap_false.
              endif.
              l_key = text-k03.
          endcase.
        when if_salv_c_model=>hierseq.
          read table t_valid with key model = if_salv_c_model=>hierseq
            transporting no fields.
          if sy-subrc ne 0.
            l_exit = abap_false.
          endif.
          l_object = text-o03.
        when if_salv_c_model=>tree.
          read table t_valid with key model = if_salv_c_model=>table
            transporting no fields.
          if sy-subrc ne 0.
            l_exit = abap_false.
          endif.
          l_object = text-o04.
      endcase.
      check l_exit eq abap_false.
      raise exception type cx_salv_method_not_supported
        exporting
          class  = l_class
          method = l_method
          object = l_object
          key    = l_key.

    Hi Smitha ,
    After the Cell Style (you mean CELLTAB) that you have taken as checkbox.
    Now pass this while editing the cell styles.
              X_CELL-STYLE     = CL_GUI_ALV_GRID=>MC_STYLE_ENABLED.
    hope this helps.

  • HELP: Hierarchical expanding list nodes do not remain expanded

    h2. The Setup
    - Have a "hierarchical expanding" list on page zero
    - Set a child list item to be current for page 10
    h2. The Steps
    - Go to page 1, expand the hierarhical list, click on the child item
    - takes me to page 10
    h2. The Problem
    - The list collapses and only shows the top-level items
    - In other words, the child link that is supposed to be 'current' for page 10 is hidden
    h2. The Solution?
    Any thoughts on how to solve either using the baked in hierarchical expanding list template, or modifying it?
    Related thread: Re: Lists - hierarchical expanding

    Hi Michael,
    Have a look at: making the tree nodes which are clicked into bold
    That describes what I have done here: http://apex.oracle.com/pls/apex/f?p=33642:293
    This uses a Tree item but you might be able to use it for a multi-level list item. In the code (which is shown near the end of the thread) jQuery is used to find the correct "node", highlight it, then traverse up through the tree ensuring that all parent nodes are "open" (ie, expanded).
    Andy

  • Hierarchical Expanding List respecting open level

    I am running into a perplexing problem.. I am trying to use a Hierarchical Expanding List as a page 0 menu in a side region. Works great EXCEPT for the fact the current link is CLOSED in the list when you click on the page called by the link.
    Does anyone have some javascript that can go through and reopen the currently open link/page?
    Thank you,
    Tony Miller
    LuvMuffin Software

    Bump to see if ANYONE is awake..

  • Hierarchical expanding list contracts when link is klicked

    I've got a hierarchical expanding list (a menu) with parent and child entries located on page zero.
    Two things are wrong with it.
    1. I dont want the parent entries (the ones that are displayed from the start) to be links. If I klick the + -sign next to them the list expands and show the child entries that are links to different pages. But if i klick the parent entries I get kicked to the login screen. I've set the parent entries to have Target type: -no target- but it doesn't work.
    2 When I klick a child entry I'm linked to the right page but the hierarchical expanding list contracts... I'd like it to be expanded the way it was when I cklicked the link.
    Could this be realated to the fact that it's located on page zero??? I've had some problems with page 0 before... But shouldn't you put a meny on page zero?
    I would appreciate any help you could give me.
    Edited by: andypandy on 2009-jun-16 06:21

    I've moved the menu from page zero to another page temporarily but it still misbehaves. Anyone have any ideas??
    Regards
    Andreas

  • ALV hierarchical sequential list through oops

    Hi ,
    How to display ALV hierarchical sequential list through oops concept.
    I looking for a method which is replacement for FM 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'  in oops. if you can provide the sample code with that method will be really useful.
    Thanks,
    Shrinivas

    Hi Shrinivas,
    Check out these demo programs that are provided in SAP.
    BALVHD01
    BALVHD01_GROUP
    <b>Reward points if this is helpful.</b>
    Kiran

  • Migrate Hierarchical Task Lists ("Create" Transaction WPSTLH1)

    I am new to Data Migration and I have been creating some LSMWs using IBIP and have working General and Equipment Task List load programs.
    however the requirement is to migrate Hierarchical Task Lists too. 
    there seems to be no standard functions to do this, and the way you activate the screen in the transaction WPSTLH1 makes it not suitable for a screen recording (due to the use of mouse to activate the screen)
    has anyone successfully created this type of migration objects?
    or will i have to write ABAP to do this part?

    found program RWPSTLH_DINP that seems to do the trick!

  • Should I Avoid LR4 and Get LR3 Because of My Huge Hierarchical Keyword List?

    I abandoned LR2 several years ago because it crashed from my hierarchical list of 12,000 keywords. (Botanical and common names and other terms.) I have been using CS5/Camera Raw/Bridge to manage and edit my images. The hierarchical list is necessary for my stock photo business.
    I will soon be needing to compare and edit images for a book publication and gallery show and I am thinking I may need to return to LR so I can work more effciently.  I do not care about not exporting some keywords or synonyms etc.  I think (right now anyway) that it is fine that all keywords associated with the images get exported for my stock submissions. I  ususally check off only the sub-keywords or sub-sub-sub keywords.
    Here are my questions:
    1) Is LR 3 able to handle my huge list of hierarchical keywords which is now larger than 12,000 words?
    2) Should I upgrade to LR3 and not to LR4 to avoid the keyword mess I have been reading about but don't understand very well?
    3) Is it possible to even upgrade to LR3 now that LR4 is released?
    3)  Would LR4 handle my keywords better or worse than LR2?  Than LR3?
    4) Is there a work efficiency reason to upgrade to CS6 without using any version of LR and continue using Bridge and Camera Raw as I have been?
    5) Is there anything else I have not thought to ask? I am somewhat technically challenged and dread learning new software, having been burned in the past with ExpressionsMedia disaster and LR2 which crashed etc.
    Thanks for any and all input from the forum!

    I try to answer your questions. I also have a large list of hierarchical keywords (funny ... also botanical names) but not as much as you have.
    1) I think that Lr3 is able to handle your list of keywords. I have not heard from anybody that there is a limit to the number of keywords that Lr is able to handle.
    2) There seem to be some keyword issues in Lr4. My keywords were perfectly fine in Lr3 but after upgrading to Lr4 some of my keywords were not populated, meaning that the keywords themselves were listed in the keyword list but the image count showed 0. I still have my Lr3 catalog so was able to check (with Lr3) that, indeed, in Lr3 all the keywords in question were populated with the correct number of images. Fortunately there were not too many of these not-populated keywords, so I corrected the issue manually.
    Since correct keywords are mandatory for your stock business, you are right in hesitating to upgrade to Lr4. In my opinion, the improvements that Lr4 offers over Lr3 are mainly in areas that are - probably - not so important to a stock business: improvements in the Develop Module and new Process Version, the Book Module, the map Module. On the other hand I would think that image management is paramount for you and in this area Lr4 is not much different than Lr3.
    3) You will not be able to get an upgrade to Lr3 from Adobe now that Lr4 has been released. So you had to find a 3rd party vendor (B&H? Amazon?) who still sells Lr3.
    4) Apart from the issue described above, I don't see any difference in keyword handling between Lr3 and Lr4. Lr2 is too far back for me - I don't remember.
    5) My suggestion for you would be: You have to upgrade at some point. The longer you wait, the more difficult the transition will be because the differences of future versions to Lr2 will become greater. Since at the moment version 4.1 is in the works (there have been two RCs (Release candidates) of version 4.1 already), maybe it would be wise to wait until the final 4.1 version is out. maybe the keyword issues have been fixed.
    6) You can "upgrade" to Lr4 and still have Lr2 on your system. All the Lr versions are stand-alone versions, not "plug-ins" for the previous versions. So you can have two (or more) different Lr versions on your system. So I would suggest that you upgrade to Lr 4.1 (once this version is out) but leave Lr2 on your system. When you Lr4 you will be asked if you want to upgrade your Lr catalog to Lr4 and you have the option of saving the Lr4 catalog as a different file, so that your Lr2 catalog is still available for Lr2 (Lr2 will not be able to work with the Lr4 catalog!). That way, if anything is amiss in Lr4 you can go back to Lr2 and work from there.

  • Hierarchical ALV list with control of printout and Excel download

    Hello everybody,
    i have to write a program, that has to generate a hierarchical master/client list. The list should
    have the same functionality, that a standard ALV Grid
    offers (sorting, grouping, OLE export to Excel). The printout must show a new sheet for every master group.
    ALV grid does not allow to display hierarchical lists. The ALV hierarchical list and blocklist view switches to
    text mode with no "single click Excel activation". I have tried to implement the &XXL ok_code, but in text mode, there is no chance to activate this single-table functionality.
    Another possibility seems to be ALV tree, but there is no
    possibility to control the printout (new sheet at group level) and the given practice, to load child nodes at selection, is not acceptable for my kind of program (all childs have to be expanded and the printout must contain a dialog to print i.e. a "from to group" selection).
    Does anyone have an idea, to solve this problem in an easy object oriented way? my only thought at this time is, to use a standard ABAP list and to integrate Excel via document office integration. This gives me the fullcontrol about printout and export, but it needs far more time then ALV.
    Another possibility may be, to develop a custom control, based on VS with Flexgrid, Singray or ComponentOne tools, but ich have to go as near as possible to SAP standard, without using 3rd party programming systems or controls.
    I'm glad about tip's!
    Greets from germany
    Jens

    Jens,
    Take a look at this for ideas:
    REPORT Zsandbox_prog .
    INCLUDE OLE2INCL.
    field-symbols: <Val> type any.
    data: row_cnt type i.
    types:  begin of t_Excel,
              Material_Info(20),
              Sugg_Price(20),
              Cost(20),
              Comments(100),
            end of t_Excel.
    data: r_Excel type t_Excel.
    data: i_Excel type table of t_Excel with header line.
    constants: xlCenter type i value '-4108',
               xlBottom type i value '-4107',
               xlLeft   type i value '-4131',
               xlRight  type i value '-4152'.
    constants: xlContinuous type i value '1',
               xlInsideVertical type i value '11',
               xlThin type i value '2',
               xlLandscape type i value '2',
               xlPortrait type i value '1',
               xlLetter type i value '1',
               xlLegal type i value '5',
               xlThick type i value '4',
               xlNone type i value '-4142',
               xlAutomatic type i value '-4105'.
    DATA: hExcel TYPE OLE2_OBJECT,      " Excel object
          hWorkBooks TYPE OLE2_OBJECT,  " list of workbooks
          hWorkbook TYPE OLE2_OBJECT,   " workbook
          hSheet TYPE OLE2_OBJECT,      " worksheet object
          hRange TYPE OLE2_OBJECT,      " range object
          hRange2 TYPE OLE2_OBJECT,      " range object
          hBorders TYPE OLE2_OBJECT,    " Border object
          hInterior TYPE OLE2_OBJECT,   " interior object - for coloring
          hColumn TYPE OLE2_OBJECT,     "column
          hCell TYPE OLE2_OBJECT,       " cell
          hFont TYPE OLE2_OBJECT,       " font
          hSelected TYPE OLE2_OBJECT,   " range object
          hPicture TYPE OLE2_OBJECT,    "picture object
          hLogo TYPE OLE2_OBJECT.       "Logo object
    SELECTION-SCREEN BEGIN OF BLOCK b1.
      SELECTION-SCREEN skip 1.
      parameter: wraptext as checkbox.
    SELECTION-SCREEN END OF BLOCK b1.
      row_cnt = 1.
      Perform Build_Dummy_Vals.
      Perform Start_Excel.
      Perform Build_Header_Line using row_cnt.
      Perform Pass_Records using row_cnt.
      Perform Release_Excel.
    FORM Build_Dummy_Vals .
      data: matnum(5) type n.
      data: baseprice(3) type n.
      do 5 times.
        matnum = matnum + 50.
        clear r_Excel.
        concatenate 'Material ' matnum into r_Excel-material_info
          separated by space.
        r_excel-Sugg_Price = baseprice * matnum.
        r_excel-Cost = ( baseprice * matnum ) / 2.
        concatenate 'Comments for Material ' matnum into r_excel-Comments
          separated by space.
        append r_excel to i_Excel.
      enddo.
    ENDFORM.                    " Build_Dummy_Vals
    Form Start_Excel.
      CREATE OBJECT hExcel 'EXCEL.APPLICATION'.
      PERFORM ERR_HDL.
    get list of workbooks, initially empty
      CALL METHOD OF hExcel 'Workbooks' = hWorkbooks.
      PERFORM ERR_HDL.
      add a new workbook
      CALL METHOD OF hWorkbooks 'Add' = hWorkbook.
      PERFORM ERR_HDL.
    Get Worksheet object.
      get property of hWorkbook 'ActiveSheet' = hSheet.
    EndForm.
    FORM Build_Header_Line using p_row_cnt.
      data: l_range(30).
      data: row_start(10).
      PERFORM Fill_The_Cell USING p_row_cnt 1 1 'Material'.
      PERFORM Fill_The_Cell USING p_row_cnt 2 1 'Suggested Price'.
      PERFORM Fill_The_Cell USING p_row_cnt 3 1 'Cost'.
      PERFORM Fill_The_Cell USING p_row_cnt 4 1 'Comments'.
      Perform Format_Column using 1 15 xlCenter ' ' xlCenter 0.
      Perform Format_Column using 2 10 xlCenter ' ' xlCenter 1.
      Perform Format_Column using 3 35 xlCenter ' ' xlCenter 0.
      if WrapText = 'X'.
        Perform Format_Column using 4 35 xlLeft ' ' xlCenter 1.
      else.
        Perform Format_Column using 4 100 xlLeft ' ' xlCenter 0.
      endif.
    Build the range object.
      row_start = p_row_cnt.
      concatenate 'A' row_start ':D' row_start into l_range.
      condense l_range no-gaps.
    Set row color to yellow.
      CALL METHOD OF hExcel 'RANGE' = hRange EXPORTING #1 = l_range.
      call method of hRange 'Interior' = hInterior.
      set property of hInterior 'ColorIndex' = 6.  "yellow
      p_row_cnt = p_row_cnt + 1.
    ENDFORM.                    " Build_Header_Line
    FORM Format_Column  USING    p_ColNum
                                 p_ColWidth
                                 p_ColHAlign
                                 p_ColFormat
                                 p_ColVAlign
                                 p_WrapText.
      CALL METHOD OF hExcel 'COLUMNS' = hColumn
        EXPORTING #1 = p_ColNum .           "column number
      SET PROPERTY OF hColumn 'HorizontalAlignment' = p_ColHAlign.
      SET PROPERTY OF hColumn 'VerticalAlignment' = p_ColVAlign.
      SET PROPERTY OF hColumn 'ColumnWidth' = p_ColWidth.
      SET PROPERTY OF hColumn 'WrapText' = p_WrapText.
    ENDFORM.                    " Format_Column
    Form Pass_Records using p_row_cnt.
      data: col_cnt type i.
      data: l_range(30).
      data: row_start(10).
      col_cnt = 1.
    *Pass the internal table values to the spreadsheet.
      loop at i_Excel into r_Excel.
        do 4 times.
          assign component sy-index of STRUCTURE r_excel TO <Val>.
          PERFORM Fill_The_Cell USING p_row_cnt col_cnt 0 <Val>.
          col_cnt = col_cnt + 1.      "increment column
        enddo.
    Build the range object.
        row_start = p_row_cnt.
        concatenate 'A' row_start ':D' row_start into l_range.
        condense l_range no-gaps.
      Set row color to yellow.
        CALL METHOD OF hExcel 'RANGE' = hRange EXPORTING #1 = l_range.
        call method of hRange 'Interior' = hInterior.
        set property of hInterior 'ColorIndex' = 7.  "yellow
        p_row_cnt = p_row_cnt + 1.    "increment row
        col_cnt = 1.                  "reset column to A (ie. col 1)
      endloop.
    EndForm.
    FORM Release_Excel .
      SET PROPERTY OF hExcel  'Visible' = 1.
      FREE OBJECT hExcel.
      PERFORM ERR_HDL.
    ENDFORM.                    " Release_Excel
          FORM Fill_The_Cell                                            *
       Sets cell at coordinates i,j to value val boldtype bold          *
       BOLD --> 1 = true, set bold ON    0 = false, set bold OFF
    FORM Fill_The_Cell USING I J BOLD TheValue.
      CALL METHOD OF hExcel 'Cells' = hCell EXPORTING #1 = I #2 = J.
      PERFORM ERR_HDL.
      SET PROPERTY OF hCell 'Value' = TheValue.
      PERFORM ERR_HDL.
      GET PROPERTY OF hCell 'Font' = hFont.
      PERFORM ERR_HDL.
      SET PROPERTY OF hFont 'Bold' = BOLD.
      PERFORM ERR_HDL.
    ENDFORM.
    FORM ERR_HDL.
      IF SY-SUBRC <> 0.
        message i000(zz) with 'OLE Automation error: ' SY-SUBRC.
        exit.
      ENDIF.
    ENDFORM.                    " ERR_HDL

  • Hierarchical alv list field catalog

    hi, i am diplaying a hierarchical list through ooalv.
    i am using the cl_salv_hierseq_table=>factory method.
    CALL METHOD cl_salv_hierseq_table=>factory
      EXPORTING
        t_binding_level1_level2 = lt_binding
      IMPORTING
        r_hierseq               = gr_table
      CHANGING
        t_table_level1          = T_HEADER
        t_table_level2          = T_ITEM.
    Could anyone please tell me how do i pass a FIELD CATALOG in the above function.
    I checked the parameters of the above function and it has only 4 parameters
    as used above.

    When you create the ALV using the SALV OM, system creates the Field Catalog and some default setting based on the table columns. So, change any of the column properties, you have to get the Column object and process the column.
    Check the program SALV_DEMO_HIERSEQ_COLUMN.
    Regards,
    Naimesh Patel

  • ODI Extract data to HFM by using hierarchies / member lists in filters

    Hi all,
    is it possible to use member lists or Account hierarchies in Account filter and Entity filter of LKM HFM Data to SQL?
    In example:
    ACCOUNT_FILTER=AccList (where AccList is a list)
    or
    ACCOUNT_FILTER=AccX.* (where Acc is a parent account and we want all its children)
    ODI Version 10.1.3.6.5
    Thanks

    HI SH,
    in last patch 10.1.3.6.7 it's possible to use hierarchy with account like AccountParent.* but not member lists.
    In any case, we have extracted members from a HFM member list to staging table and then convert it to a string in order to use in the KM options.
    Regards

  • How to maintain the state(opened/closed) of a Hierarchical expanding list

    Hi,
    I've created a list with template "hierarchical expanding". When I click on the list node to go to a page, page related to the node appears but the tree doesn't remain expanded. It always shrinks back to the highest level.
    Please suggest a solution.
    Regards,
    Gaurav.

    Hi,
    use a setPropertyListener to save the row key of this select item and then restore this key as the current selected key.
    Frank
    Ps.: I don't ask why you call clearForRecreate() on the iterator. I am sure you have a reason.

Maybe you are looking for

  • I have an iPhone 4 8gb and I have about 6gb other that is taking up space but I dont know what it is. What do I do?

    I only have 300 pictures and 2 videos, only 50 songs, I always clear my data and cookies, and history on safari, and I always delete my texting and imessaging conversations, and I clear my calling history. I also redownloaded all my apps BUT I still

  • My download stops after 25 %

    I have tried downloading Flash player and haven't had any problem with it until now. When I am about to download the latest version it just stops after 25% and won't keep on loading. I have tried turning the computer on and off, I have closed all oth

  • Oracle database firewall netwok configuration

    plz if have any document for network configuration of database firewall plz share i have three servers one for client,dbfw and database respectivly . three machines are on different vlans. DBFW machines have four ethernet ports.

  • LR2.1 + CS4 Photoshop Save & Save As Weird behavior

    Have been using CS4 and LR 2.1 with no problems until now. Today I noticed something weird in Photoshop CS4 and saving files. If I open a raw file as smart object from LR 2.1, edit file choose SaveAs rename file and save file as PSD, the new SaveAs f

  • HRFORMS / Smarforms

    Hi All, We need to customize the the standard time statement in Tcode HRFORMS - SAP_TIMESLIP. This custom form will be used in ESS. Is there a need to write an ABAP code for data retrieval on custom fields or can it be done the way it (data extractio