星期三, 一月 16, 2013

abap 执行本地SQL Native SQL

 exec sql.
 insert into test(code) valeus(
                      :pl_wa-Entity_Code,
                    );
      endexec.
      if sy-subrc ne 0.
        write:/,'fail!'.
      endif.
    commit work.