Shared Top Border

Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM ABAP Tips and Tricks Database

THE ultimate
ERP website

 

Forums | Vote for us |

Google    Other Search Options

Home arrow Sample Code arrow ABAP Reports arrow Refreshing Data on reports
Refreshing Data on reports PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Kevin Wilson   
Wednesday, 07 February 2007

Use this technique (calling RS_REFRESH_FROM_SELECTOPTIONS) to refresh data on your reports.

 

DATA: LO_REPID LIKE SY-REPID,
      LO_SELTAB LIKE RSPARAMS OCCURS 0 WITH HEADER LINE.

LO_REPID = SY-REPID.


CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
      EXPORTING
           CURR_REPORT     = LO_REPID
      TABLES
           SELECTION_TABLE = LO_SELTAB
      EXCEPTIONS
          NOT_FOUND       = 1
          NO_REPORT       = 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.

SUBMIT (SY-REPID) WITH SELECTION-TABLE LO_SELTAB.


Related Items:

 
< Prev   Next >

Google Search

Google Ads

Shared Bottom Border

Contact Us | Polls | Add URL | Contribute | Privacy | Terms | Feedback

Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum
GenieHoldings.COM, Inc. | Genie Press | WorkflowGenie | ESAGenie | ERPTopSites | ABAP Tips and Tricks | SAP Solutions Database

EDIGenie | Searching Survivor