Write selections parameter in spool of report

Write selections parameter in spool of report


  DATA : li_tab TYPE TABLE OF trdir-name,
         infotab TYPE t_varinfo OCCURS 0 WITH HEADER LINE.

  CALL FUNCTION 'PRINT_SELECTIONS'
    EXPORTING
      mode      = li_tab
      rname     = sy-repid   "program name
      rvariante = ''         "variant name
    TABLES
      infotab   = infotab.

  LOOP AT infotab.
    WRITE / infotab-line.
  ENDLOOP.

About the author

fjourneau administrator

Hi, I'm Florian Journeau, SAP ABAP R3 Freelance, based in Toulouse, France. You want to know more about me, have a look on my CV : cv.fjourneau.net.

Leave a Reply