Friday, December 24, 2010
Function Module RS_COVERPAGE_SELECTIONS is used to print user input on selection screen to report.
REPORT zpwtest. TABLES : mara . DATA: BEGIN OF mtab_sel_options OCCURS 0, flag(1) TYPE c, olength TYPE x, line LIKE rsvar-infoline, END OF mtab_sel_options. PARAMETERS p_matnr TYPE mara-matnr. SELECT-OPTIONS : s_matnr FOR mara-matnr . *&----------------------------------------------------------&* * Start of Selection *&----------------------------------------------------------&* START-OF-SELECTION. CALL FUNCTION 'RS_COVERPAGE_SELECTIONS' EXPORTING report = sy-repid variant = '' no_import = 'X' TABLES infotab = mtab_sel_options EXCEPTIONS error_message = 1 variant_not_found = 2 OTHERS = 3. LOOP AT mtab_sel_options. WRITE: / mtab_sel_options-line. ENDLOOP.
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
0 comments:
Post a Comment
Your useful comments, suggestions are appreciated.Your comments are moderated.