ABAP function group???Tomcat library??????????????????
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ABAP function group???Tomcat library??????????????????相关的知识,希望对你有一定的参考价值。
?????????group ?????? ons view module java?????? ?????? ????????? ??????
ABAP
ABAP help????????????**LOAD-OF-PROGRAM"?????????????????????????????????
This event keyword defines the program constructor of an executable program, a module pool, a function group, or a subroutine pool. The program constructor is an event block whose event is raised by the ABAP-runtime environment when one of the executable programs mentioned above is loaded into the internal session.
???Function group?????????????????????function group??????????????????function module?????????????????????????????????ABAP program????????????internal session????????????ABAP???????????????LOAD-OF-PROGRAM, ???????????????????????????????????????????????????
????????????????????????ZTOMCAT???function group??????LOAD-OF-PROGRAM???????????????????????????
????????????report???Report 2???????????????
REPORT ZJERRY_RE2.
call FUNCTION ???ZTEST_FM_1???.
Report 1:
CALL FUNCTION ???ZTEST_FM_1???.
SUBMIT zjerry_re2 AND RETURN.
???????????????report1???????????????????????????????????????
??????????????????
LOAD-OF-PROGRAM??????????????????????????????ABAP help???????????????????????????
When a program is called using SUBMIT or using a transaction code, a new internal session is opened in every call and the event block is executed once in every call.
??????program??????SUBMIT??????????????????????????????????????????????????????internal session???????????????session???LOAD-OF-PROGRAM??????????????????
????????????????????????????????????SUBMIT( calling programs?????????????????????Internal Session???
Tomcat ??????????????????????????????
??????pom.xml??????????????????gson??????????????????ABAPer??????????????????????????????Java???????????????Google?????????gson API???
??????war??????????????????????????????WEB-INF/lib???????????????
????????????????????????Web??????????????????gson, ??????????????????WEB-INFlib?????????????????????gson???jar?????????
????????????????????????Tomcat???????????????gson.jar??????????????????????????????
????????????????????????Tomcat??????????????????Tomcat????????????Web???????????????????????????ClassLoader????????????????????????WEB-INFlib??????????????????????????????????????????????????????????????????
??????????????????????????????????????????????????????????????? [tomcat-installation-directory]/common/lib???????????????????????????stackoverflow????????????.
???????????????Jerry??????????????????????????????????????????"?????????"???????????????????????????:
以上是关于ABAP function group???Tomcat library??????????????????的主要内容,如果未能解决你的问题,请参考以下文章
ABAP系列SAP ABAP 关于FUNCTION-POOL的理解