title: ABAP CALL TRANSACTION and fill variant field
body: <p>I used this bit of code the exact same way in a previous program and it worked. Now I am using it to apply to a transaction with a range available for the field I want to fill with the information clicked on the hotspot. It is not placing anything in the field when taken to ME2N view. Any suggestions?</p>
  
  <pre><code>FORM user_command USING r_ucomm LIKE sy-ucomm 
  rs_selfield TYPE slis_selfield.
  
   CASE r_ucomm.
   WHEN '&amp;IC1'.                                     
  
    IF rs_selfield-fieldname = 'EBELN'.
     READ TABLE itab_usr INTO wa_usr INDEX rs_selfield-tabindex.  
     SET PARAMETER ID 'BES' FIELD wa_usr-ebeln.
  
     CALL TRANSACTION 'ME2N'.
  
    ENDIF.
   ENDCASE.
  ENDFORM.
  </code></pre>