‎2009 Jan 08 6:31 AM
Hi ,
I want to know How to Modify HASHED TABLE?
Thanks & Regards,
Biswajit
‎2009 Jan 08 12:26 PM
Hi,
please check the below link. you can get a clear understanding for the same.
http://help.sap.com/saphelp_nw70/helpdata/EN/fc/eb35eb358411d1829f0000e829fbfe/content.htm
hope it helps.
‎2009 Jan 08 6:54 AM
Hello
Have a look at sample report ZUS_SDN_HASHED_ITAB.
*&---------------------------------------------------------------------*
*& Report ZUS_SDN_HASHED_ITAB
*&
*&---------------------------------------------------------------------*
*& Thread: Modify HASHED TABLE
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1190468"></a>
*&---------------------------------------------------------------------*
REPORT zus_sdn_hashed_itab.
DATA: gt_outtab TYPE HASHED TABLE OF vbak
WITH UNIQUE KEY vbeln,
gs_record TYPE vbak.
START-OF-SELECTION.
SELECT * FROM vbak INTO TABLE gt_outtab.
BREAK-POINT.
" Modify non-key attributes => possible
gs_record-ernam = syst-uname.
MODIFY gt_outtab FROM gs_record
TRANSPORTING ernam
WHERE ( table_line IS NOT INITIAL ).
BREAK-POINT.
" Modify 1st entry => not possible to change key
LOOP AT gt_outtab INTO gs_record.
gs_record-vbeln = '1234567890'.
MODIFY TABLE gt_outtab FROM gs_record.
EXIT.
ENDLOOP.
BREAK-POINT.
END-OF-SELECTION.
Regards
Uwe
‎2009 Jan 08 12:26 PM
Hi,
please check the below link. you can get a clear understanding for the same.
http://help.sap.com/saphelp_nw70/helpdata/EN/fc/eb35eb358411d1829f0000e829fbfe/content.htm
hope it helps.
‎2009 Jan 08 2:34 PM
HI,
Just go through these links:
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm
http://www.abapprogramming.net/2007/06/lesson-22-internal-table-operations.html
Hope this will help you:
Regards:
Alok