Friday, December 31, 2010
REPORT ztest_notepad. DATA:it_nfal TYPE STANDARD TABLE OF nfal WITH HEADER LINE. DATA:c1 TYPE cursor. DATA:flag TYPE c. DATA:no_of_lines TYPE i VALUE '1000'. START-OF-SELECTION. OPEN CURSOR:c1 FOR SELECT * FROM nfal. DO. IF flag NE 'X'. FETCH NEXT CURSOR c1 APPENDING TABLE it_nfal PACKAGE SIZE no_of_lines. IF sy-subrc <> 0. CLOSE CURSOR c1. flag = 'X'. ENDIF. ENDIF. IF flag = 'X'. EXIT. ENDIF. ENDDO.
Followers
Popular Posts
- ABAP - ALV Report example with steps
- ABAP - Step by step tutorial on Smart Forms - Template Node
- ABAP - Sending email with pdf attachment
- SAP Adobe Form - Steps to create simple ADOBE Form and calling it from ABAP Program
- SAP ABAP - CL_ABAP_CHAR_UTILITIES class usage
- ABAP - Multiple value selection from F4 help for SELECT-OPTIONS
- Execute ABAP Report using SUBMIT statement
- ABAP - Select all or Deselect all in ALV or Check box handling in ALV
- Web Dynpro ABAP ALV - ON_CLICK event
- ABAP - Dynamic WHERE clause
Wonderful blog & good post.Its really helpful for me, awaiting for more new post. Keep Blogging!
ReplyDeleteSAP Consultant