title: Using SELECT-OPTIONS as an exporting parameters for class method?
body: <p>I'm currently having trouble with calling a method using a select option data type. It gives me the error: <code>S_NETWR</code> is not type-compatible with formal parameter <code>IN_NETWR</code>.</p>
  
  <p>I'm not sure what I need to do to allow for me to export them as a parameter. Sorry, I'm new to ABAP. Any help would be greatly appreciated.</p>
  
  <p>Snippet of source code: </p>
  
  <pre><code>"set the audit at $50,000
  lv_max = 50000.
  
  SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
  SELECT-OPTIONS: s_netwr FOR ekpo-netwr,
                  s_datvr FOR nast-datvr NO INTERVALS.
  SELECTION-SCREEN END OF BLOCK blk1.
  
  *sets last run date from tvarvc
  INITIALIZATION.
    PERFORM get_lastrun.
  
  CALL METHOD lcl_audit-&gt;get_po
    EXPORTING
      in_netwr = s_netwr
      in_datvr = s_datvr
    IMPORTING
      out_po   = it_po
      .
  </code></pre>
  
  <p><code>get_po</code> method from my class <code>zcl_audit_02</code>: </p>
  
  <pre><code>METHOD get_po.
  
    SELECT DISTINCT ekko~ebeln ekpo~netwr ekko~lifnr ekko~ekorg 
                    ekpo~werks ekko~ekgrp t024~eknam
    FROM ( ekpo
    INNER JOIN ekko
    ON ekko~ebeln = ekpo~ebeln
  
    INNER JOIN t024
    ON ekko~ekgrp = t024~ekgrp
  
    INNER JOIN nast
    ON nast~objky = ekko~ebeln )
  
    INTO TABLE out_po
    WHERE ekpo~netwr = in_netwr
    AND   nast~datvr = in_datvr.
  
    IF sy-subrc = 0.
      SORT out_po BY ebeln ASCENDING.
    ELSE.
      MESSAGE 'No Purchase Orders Found' TYPE 'I'.
    ENDIF.
  
  ENDMETHOD.
  </code></pre>
  
  <p>Thank you in advance!</p>